Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Testing - Trixie] Weird issue around Vulkan, Radeon RX580

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
Kurt2024
Posts: 2
Joined: 2024-04-29 09:04

[Testing - Trixie] Weird issue around Vulkan, Radeon RX580

#1 Post by Kurt2024 »

For the use of a D(igital) A(udio) W(orkstation) (which is in the Beta phase of the current update) I need to run Vulkan...
The point is, that after a lot of trial and error I know Vulkan is working on my machine, but ... vulkaninfo complains about libvulkan_virtio.so (terminating with error status -3) and... when I start this DAW software (Bitwig Studio btw, vers. 5.2 beta) my system immediately crashes completely (performs a reboot and... one time it even messed up my boot partition as a consequence (which I managed to 'repair' quickly, but... strange anyway).

My investigation so far told me, that the graphics chip ("Ellesmere") isn't mentioned in the Debian graphics drivers info... and my guess is, that it is only partly compatible, making several graphics functions fail (some of which will be used by Vulkan).
Does anyone have experiences about graphics (anyway a tedious topic in Linux - what even me as a Linux user on the long way of "learning" know since a very long time...), because interestingly most of my software runs perfectly and GOverlay tells me, that Vulkan does communicate with the GPU.

Does anyone here has made own experiences, found solutions or has ideas, where I could find further sources for more 'experiments'?
Does anyone know exactly, which drivers I should have installed and which I need to avoid (because from an older experience I know, that 'wrong' drivers or software can mess up a lot in a Linux system, hence mustn't be installed)

Addendum
I have investigated meanwhile using quite some sources and found out, that...
although the "friends" of AMD seem to believe, that generally amdgpu support is added to Linux kernels, it seems to me, that at least RX 580 Ellesmere seem to be either not inserted at all or isn't supported fully (which is my personal guess).
So instead of praising a company to the blue sky it might help to identify AMD's efforts, which support officially - at least officially in case of RX 580 - only Linux distros coming from 3 stock corporations, which are RedHat, SUSE and Canonical - period.
Btw if AMD's support would be that "voluntary" why is it even after installing free as well as unfree firmware of AMD impossible to run this GPU failure-free in an elsewhere average AMD-CPU system on Debian (bookworm initially, later changed to testing - which currenty is Trixie)?

Guys,... interesting remark though:
After changing "Bookworm" to "Testing" (and after apt-get update and dist-upgrade of course...) the graphics card at least started working halfway usable (it detected my 2 displays). But...
Vulkan support still is a serious problem... as a consequence of several hard crashes of the (Debian testing) system before I had to re-install Debian (because after some removing and installing of lib's (and hard crashes... :roll: ) and such... even apt stopped working correctly - which let me re-install Debian.

As mentioned I need Vulkan support for running Bitwig Studio DAW, which (allegedly) demands (Windows) DX11 - level Vulkan support (again allegedly to remove graphical processing load from the CPU).
I have read though some "rumor"-like statements, that Debian sid might even support this *#!RX580 card out of the box, ... but this is something I want to make sure before, because as this PC is used for other work as well I refuse to risk "killing" this Debian installation as well... although a new system is installed quite quick: I needs some time and ... it simply is an unnecessary time waste if somebody knows it better (and might have made some experiences already).

User avatar
sunrat
Administrator
Administrator
Posts: 6615
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 120 times
Been thanked: 509 times

Re: [Testing - Trixie] Weird issue around Vulkan, Radeon RX580

#2 Post by sunrat »

The wiki lists several other packages you should install - https://wiki.debian.org/AtiHowTo
For better help you should provide system and hardware info:

Code: Select all

inxi -CGSxxz
would be adequate. You may need to install inxi.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Kurt2024
Posts: 2
Joined: 2024-04-29 09:04

Re: [Testing - Trixie] Weird issue around Vulkan, Radeon RX580

#3 Post by Kurt2024 »

This is the output of inxi...

Code: Select all

root@debian:~# inxi -CGSxxz
System:
  Kernel: 6.7.12-amd64 arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Console: pty pts/0 DM: GDM3 Distro: Debian GNU/Linux trixie/sid
CPU:
  Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ rev: 0 cache:
    L1: 1024 KiB L2: 8 MiB L3: 64 MiB
  Speed (MHz): avg: 2275 high: 3400 min/max: 2200/5083 boost: disabled cores: 1: 2200 2: 2200
    3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 3400 9: 2200 10: 2200 11: 2200 12: 2200 13: 2200
    14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200 21: 2200 22: 2200 23: 2200
    24: 2200 25: 2200 26: 2200 27: 3400 28: 2200 29: 2200 30: 2200 31: 2200 32: 2200
    bogomips: 217195
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine
    driver: amdgpu v: kernel arch: GCN-4 pcie: speed: 8 GT/s lanes: 16 ports: active: DP-1,DP-2
    empty: DP-3,DVI-D-1,HDMI-A-1 bus-ID: 09:00.0 chip-ID: 1002:67df temp: 50.0 C
  Display: server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 compositor: gnome-shell driver:
    X: loaded: amdgpu unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu tty: 208x32
  Monitor-1: DP-1 model: Samsung U32J59x res: 3840x2160 dpi: 140 diag: 800mm (31.5")
  Monitor-2: DP-2 model: HP 27xq res: 2560x1440 dpi: 109 diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast gbm: drv: radeonsi
    surfaceless: drv: radeonsi inactive: wayland,x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 23.3.5-1 note: console (EGL sourced)
    renderer: AMD Radeon RX 580 Series (radeonsi polaris10 LLVM 17.0.6 DRM 3.57 6.7.12-amd64),
    llvmpipe (LLVM 17.0.6 256 bits)
  API: Vulkan v: 1.3.280 surfaces: N/A device: 0 type: discrete-gpu driver: N/A
    device-ID: 1002:67df device: 1 type: cpu driver: N/A device-ID: 10005:0000
Additional info (what I suspect to show more of the "real problem" here (output of vulkaninfo):

Code: Select all

root@debian:~# vulkaninfo
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
'DISPLAY' environment variable not set... skipping surface info
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.

Post Reply