Sapphire Radeon Nitro R9 390 8GB and vulkan

need help with verifying Vulkan support. the issue came up when trying to run path of exiles via lutrus. I’m having shading and glitching errors but it does run. im trying to run it through Vulkan but in lutrus it shows this for my system graphics

[Graphics]
Vendor:          X.Org
OpenGL Renderer: AMD HAWAII (DRM 2.50.0, 5.7.14-1-MANJARO, LLVM 10.0.1)
OpenGL Version:  4.5 (Compatibility Profile) Mesa 20.1.5
OpenGL Core:     4.5 (Core Profile) Mesa 20.1.5
OpenGL ES:       OpenGL ES 3.2 Mesa 20.1.5
Vulkan:          Not Supported

Says Vulkan is NOT supported
When i look up that graphic card family support i get the following
Source Radeon Rx 300 series - Wikipedia

GPU series- Volcanic island
Vulkan 1.2 (with mesa 20.0)

is there any way to verify if it is installed properly?
any other things i can try?

PC info

inxi -Fza

System:    Kernel: 5.7.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=7cca64bd-2b23-436e-a24d-07819efcff73 rw quiet 
           nmi_watchdog=0 apparmor=1 security=apparmor udev.log_priority=3 
           Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: Z170 PRO GAMING v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 3805 
           date: 05/16/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech K850 Performance Wireless Keyboard serial: <filter> 
           charge: 100% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i5-6600K bits: 64 type: MCP arch: Skylake-S family: 6 model-id: 5E (94) 
           stepping: 3 microcode: D6 L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28009 
           Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds status: Vulnerable: No microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT disabled 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Hawaii PRO [Radeon R9 290/390] vendor: PC Partner Limited driver: radeon 
           v: kernel alternate: amdgpu bus ID: 01:00.0 chip ID: 1002:67b1 
           Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: radeon FAILED: ati unloaded: modesetting 
           alternate: fbdev,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 3840x1200 s-dpi: 96 s-size: 1016x317mm (40.0x12.5") s-diag: 1064mm (41.9") 
           Monitor-1: DisplayPort-1 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8") diag: 611mm (24.1") 
           Monitor-2: DisplayPort-2 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8") diag: 611mm (24.1") 
           OpenGL: renderer: AMD HAWAII (DRM 2.50.0 5.7.14-1-MANJARO LLVM 10.0.1) v: 4.5 Mesa 20.1.5 direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:a170 
           Device-2: Advanced Micro Devices [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X] 
           vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 1002:aac8 
           Device-3: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-5:4 chip ID: 046d:082d 
           serial: <filter> 
           Sound Server: ALSA v: k5.7.14-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           chip ID: 8086:15b8 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 15.73 TiB used: 442.95 GiB (2.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: A-Data model: SX8200PNP size: 953.87 GiB block size: physical: 512 B logical: 512 B 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 42AZS6AC scheme: GPT 
           ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB block size: physical: 512 B logical: 512 B 
           speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT 
           ID-3: /dev/sdb vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB block size: physical: 4096 B logical: 512 B 
           speed: 6.0 Gb/s rotation: 5425 rpm serial: <filter> rev: 0001 scheme: GPT 
           ID-4: /dev/sdc type: USB vendor: Western Digital model: WD My Book 25EE size: 7.28 TiB block size: physical: 4096 B 
           logical: 512 B serial: <filter> rev: 4004 scheme: GPT 
           ID-5: /dev/sdd type: USB vendor: SanDisk model: Cruzer Glide size: 14.32 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 121.09 GiB size: 118.19 GiB (97.60%) used: 16.96 GiB (14.4%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /home raw size: 832.27 GiB size: 818.21 GiB (98.31%) used: 87.34 GiB (10.7%) fs: ext4 dev: /dev/nvme0n1p3 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A gpu: radeon temp: 29 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 237 Uptime: 59m Memory: 7.72 GiB used: 2.58 GiB (33.4%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           Packages: pacman: 1347 lib: 379 flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

And

mhwd -l

> 0000:01:00.0 (0300:1002:67b1) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

the radeon - driver does not offer vulkan. You need to switch to the amdgpu driver, but your card only has experimental support for that, which means you might run into smaller issues with that driver.

The wiki shows what to do:
https://wiki.archlinux.de/title/AMDGPU

as your card is a Sea Islands card, you need to add those kernel parameters to your grub config: radeon.cik_support=0 amdgpu.cik_support=1

1 Like

Thanks for that info
my card is actually a Radeon R9 390. here is the link to it https://smile.amazon.com/gp/product/B00ZGL8CYY/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

is my card not Volcanic island which would not need the grub edits?

there is theses libraries

vulkan-icd-loader
vulkan-radeon
lib32-vulkan-icd-loader
lib32-vulkan-radeon

1 Like

if it would not need the grub edits, it would use amdgpu by default. This list is the best for checking which card is which generation and it says Sea Islands for R9 390:
https://wiki.gentoo.org/wiki/AMDGPU

those libraries are automatically installed with the video-linux mhwd-option, but they only work when using the amdgpu - driver.

1 Like

i was able to resolve this…
I was missing vulkan-radeon and lib32-vulkan-radeon

installed those

I dont know how i missed it but i found this on the arch AMDGPU troubleshooting section
https://wiki.archlinux.org/index.php/AMDGPU#R9_390_series_poor_performance_and/or_instability

I went ahead and added the kernel parameters Via GRUB
after a reboot i am now on AMDGPU and Vulcan now shows correctly in lutris

Thanks @BS86 and @stephane

@ninjaijr

Tip: using this environment variable helped stopped stuttering for me

RADV_PERFTEST=aco

You can use it in Lutris. I use it on Steam personally.

Aco will be enabled by default after Mesa 20.2 gets released end of this month / next month.

1 Like

That is the default since mesa 20.1 :wink: No need to set that variable anymore.
Ok, seems like they postponed that decision to mesa 20.2 … It was already planned for 20.1 and I thought it is active already …

that helped…ty

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.