nouveau OpenGL, OpenCL, Zink: glxinfo + clpeak cannot start: undefined symbol: amdgpu_va_get_start_addr [GeForce RTX 3090 + Radeon RX 580 + Ryzen 7 5700G (Vega8)]
System information
- OS: Fedora Linux 39 (Workstation Edition)
- GPU: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
- Kernel version: Linux fedora 6.9.0-0.rc0.20240315gte5eb28f6.205.vanilla.fc39.x86_64 #1 (closed) SMP PREEMPT_DYNAMIC Fri Mar 15 06:31:05 UTC 2024 x86_64 GNU/Linux
- Mesa version: 24.1.0-devel (
glxinfo
can not start !) - Xserver version (if applicable): wayland (X.Org X Server 1.20.14, X Protocol Version 11, Revision 0, Build Operating System: 6.6.9-100.fc38.x86_64))
- Desktop manager and compositor: KDE Plasma, kwin_wayland
timothy@fedora:~/packages/GravityMark_1.82_linux$ inxi -GSC -xx
System:
Host: fedora Kernel: 6.9.0-0.rc0.20240315gte5eb28f6.205.vanilla.fc39.x86_64
arch: x86_64 bits: 64 compiler: gcc v: 2.40-14.fc39
Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 39 (Workstation Edition)
CPU:
Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 1552 high: 4648 min/max: 400/4673 cores: 1: 400 2: 400
3: 400 4: 400 5: 400 6: 400 7: 3710 8: 4647 9: 400 10: 3718 11: 400 12: 400
13: 3714 14: 4648 15: 400 16: 400 bogomips: 121608
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire driver: amdgpu v: kernel arch: GCN-4 pcie: speed: 2.5 GT/s
lanes: 8 ports: active: none empty: DP-1, DP-2, DVI-D-1, HDMI-A-1,
HDMI-A-2 bus-ID: 01:00.0 chip-ID: 1002:67df temp: 33.0 C
Device-2: NVIDIA GA102 [GeForce RTX 3090] vendor: ASUSTeK driver: nouveau
v: kernel arch: Ampere pcie: speed: 2.5 GT/s lanes: 8 ports:
active: DP-6,DP-8 empty: DP-3, DP-4, DP-5, DP-7, DP-9, HDMI-A-3, HDMI-A-4
bus-ID: 02:00.0 chip-ID: 10de:2204
Device-3: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Gigabyte driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
lanes: 16 ports: active: none empty: HDMI-A-5 bus-ID: 0c:00.0
chip-ID: 1002:1638 temp: 41.0 C
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
compositor: kwin_wayland driver: X: loaded: amdgpu,modesetting
unloaded: fbdev,vesa dri: nouveau,radeonsi gpu: amdgpu,nouveau,amdgpu
d-rect: 2160x1920 display-ID: 0
Monitor-1: DP-6 pos: primary,left res: 1080x1920 size: N/A
Monitor-2: DP-8 pos: right res: 1080x1920 size: N/A
API: EGL Message: No EGL data available.
API: OpenGL Message: No GL data available.
API: Vulkan v: 1.3.275 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: N/A device-ID: 10de:2204 device: 1
type: discrete-gpu driver: N/A device-ID: 1002:67df device: 2
type: integrated-gpu driver: N/A device-ID: 1002:1638 device: 3 type: cpu
driver: N/A device-ID: 10005:0000
Describe the issue
I installed the daily kernel for Fedora 39 (@kernel-vanilla repository) 6.9.0-rc0, and I compiled drm lib and mesa from source (drm installed under /usr/local/
, mesa installed under my user directory $HOME/packages/mesa/install/
)
when I run glxinfo -B
I get the following error:
timothy@fedora:~/packages/GravityMark_1.82_linux$ glxinfo -B
name of display: :1
MESA-LOADER: failed to open nouveau: /home/timothy/packages/mesa/install/lib64/dri/nouveau_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /home/timothy/packages/mesa/install/lib64/dri, suffix _dri)
failed to load driver: nouveau
MESA-LOADER: failed to open zink: /home/timothy/packages/mesa/install/lib64/dri/zink_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /home/timothy/packages/mesa/install/lib64/dri, suffix _dri)
MESA-LOADER: failed to open nouveau: /home/timothy/packages/mesa/install/lib64/dri/nouveau_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /home/timothy/packages/mesa/install/lib64/dri, suffix _dri)
failed to load driver: nouveau
MESA-LOADER: failed to open swrast: /home/timothy/packages/mesa/install/lib64/dri/swrast_dri.so: undefined symbol: amdgpu_va_get_start_addr (search paths /home/timothy/packages/mesa/install/lib64/dri, suffix _dri)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
It's not only glxinfo
that shows these errors, it is pretty much any OpenGL application.
The same happens if I run clpeak
:
timothy@fedora:~/packages/GravityMark_1.82_linux$ NOUVEAU_ENABLE_CL=1 RUSTICL_ENABLE=nouveau clpeak
clpeak: symbol lookup error: /home/timothy/packages/mesa/install/lib64/gallium-pipe/pipe_radeonsi.so: undefined symbol: amdgpu_va_get_start_addr
timothy@fedora:~/packages/GravityMark_1.82_linux$
Do you know how the symbol amdgpu_va_get_start_addr
can be missing from nouveau_dri.so
?!
There is no error in dmesg (attached).
Regression
glxinfo
works fine with stock Mesa 23.3.6 provided by default in Fedora 39
Log files as attachment
- Output of
dmesg
https://pastebin.com/Wi5pi03f
Any extra information would be greatly appreciated
GSP-RM is enabled on the kernel command line. Vulkan (NVK) works nicely. But Zink shows the same error as native OpenGL.