GBM fails with EGL on AMD Kaveri

On an AMD Kaveri chip, I’m having a weird issue with EGL not loading correctly, even though glxgears (radeonsi) and vkcube (radv) run fine.

I have added these kernel flags to force the amdgpu kernel driver.

radeon.cik_support=0 amdgpu.cik_support=1

Here is the output from eglinfo:

eglinfo -B
GBM platform:
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.8.5-301.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

inxi

System:
  Kernel: 6.8.5-301.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-34.fc40
  Desktop: KDE Plasma v: 6.1.5 Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: MSI product: MS-7969 v: 1.0
    serial: <superuser required>
  Mobo: MSI model: A68HI AC (MS-7969) v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: 1.3 date: 04/13/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus
    charge: 55% (should be ignored) status: discharging
CPU:
  Info: quad core model: AMD A10-7800 Radeon R7 12 Compute Cores 4C+8G
    bits: 64 type: MT MCP arch: Steamroller rev: 1 cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 1403 high: 1417 min/max: 1400/3500 boost: enabled cores:
    1: 1397 2: 1400 3: 1400 4: 1417 bogomips: 27946
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: GCN-2 bus-ID: 00:01.0
  Display: wayland server: Xwayland v: 24.1.2 compositor: kwin_wayland
    driver: N/A resolution: 1600x900
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.7 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.6 DRM 3.57 6.8.5-301.fc40.x86_64)
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland devices: 2
Audio:
  Device-1: AMD Kaveri HDMI/DP Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:01.1
  Device-2: AMD FCH Azalia vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2
  API: ALSA v: k6.8.5-301.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.8 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus-ID: 01:00.0
  IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    bus-ID: 4-2:2
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 989.17 GiB used: 7.93 GiB (0.8%)
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
    temp: 34 C
  ID-2: /dev/sdb vendor: Kingston model: DataTraveler 3.0 size: 57.66 GiB
    type: USB
Partition:
  ID-1: / size: 50 GiB used: 3.83 GiB (7.7%) fs: btrfs dev: /dev/sda4
  ID-2: /boot size: 1.9 GiB used: 334.5 MiB (17.2%) fs: ext4 dev: /dev/sda2
  ID-3: /boot/efi size: 511 MiB used: 19 MiB (3.7%) fs: vfat dev: /dev/sda1
  ID-4: /home size: 681.01 GiB used: 299.2 MiB (0.0%) fs: btrfs
    dev: /dev/sda6
  ID-5: /tmp size: 100 GiB used: 3.47 GiB (3.5%) fs: btrfs dev: /dev/sda5
  ID-6: /var/log size: 100 GiB used: 3.47 GiB (3.5%) fs: btrfs
    dev: /dev/sda5
  ID-7: /var/tmp size: 100 GiB used: 3.47 GiB (3.5%) fs: btrfs
    dev: /dev/sda5
Swap:
  ID-1: swap-1 type: zram size: 6.72 GiB used: 0 KiB (0.0%) dev: /dev/zram0
  ID-2: swap-2 type: partition size: 48 GiB used: 0 KiB (0.0%)
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 39.1 C mobo: N/A gpu: amdgpu temp: 33.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 6.72 GiB used: 2.7 GiB (40.2%)
  Processes: 295 Uptime: 48m Init: systemd target: graphical (5)
  Packages: 12 Compilers: N/A Shell: Bash v: 5.2.26 inxi: 3.3.34

You can see it actually loads the radeonsi driver, but gbm fails right at the beginning.

At this point just trying to ascertain if I missed something simple or if this is due to some of the recent Mesa changes (which broke a lot of linking)?

You do not seem to be running up to date software.
Does the latest kernel and mesa work better?

@barryascott really silly oversight on my part, but same issue even with 6.10.10

System:
  Kernel: 6.10.10-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.5 Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: MSI product: MS-7969 v: 1.0
    serial: <superuser required>
  Mobo: MSI model: A68HI AC (MS-7969) v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: 1.3 date: 04/13/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus
    charge: 55% (should be ignored) status: discharging
CPU:
  Info: quad core model: AMD A10-7800 Radeon R7 12 Compute Cores 4C+8G
    bits: 64 type: MCP arch: Steamroller rev: 1 cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 1398 high: 1400 min/max: 1400/3500 boost: enabled cores:
    1: 1400 2: 1400 3: 1397 4: 1397 bogomips: 27949
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: GCN-2 bus-ID: 00:01.0
  Display: wayland server: Xwayland v: 24.1.2 compositor: kwin_wayland
    driver: N/A resolution: 1600x900
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.7 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.6 DRM 3.57 6.10.10-200.fc40.x86_64)
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland devices: 2
Audio:
  Device-1: AMD Kaveri HDMI/DP Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:01.1
  Device-2: AMD FCH Azalia vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2
  API: ALSA v: k6.10.10-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.8 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus-ID: 01:00.0
  IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    bus-ID: 4-2:2
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 989.17 GiB used: 10.68 GiB (1.1%)
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
  ID-2: /dev/sdb vendor: Kingston model: DataTraveler 3.0 size: 57.66 GiB
    type: USB
Partition:
  ID-1: / size: 50 GiB used: 3.66 GiB (7.3%) fs: btrfs dev: /dev/sda4
  ID-2: /boot size: 1.9 GiB used: 334.5 MiB (17.2%) fs: ext4 dev: /dev/sda2
  ID-3: /boot/efi size: 511 MiB used: 19 MiB (3.7%) fs: vfat dev: /dev/sda1
  ID-4: /home size: 681.01 GiB used: 314.9 MiB (0.0%) fs: btrfs
    dev: /dev/sda6
  ID-5: /tmp size: 100 GiB used: 6.36 GiB (6.4%) fs: btrfs dev: /dev/sda5
  ID-6: /var/log size: 100 GiB used: 6.36 GiB (6.4%) fs: btrfs
    dev: /dev/sda5
  ID-7: /var/tmp size: 100 GiB used: 6.36 GiB (6.4%) fs: btrfs
    dev: /dev/sda5
Swap:
  ID-1: swap-1 type: zram size: 6.72 GiB used: 0 KiB (0.0%) dev: /dev/zram0
  ID-2: swap-2 type: partition size: 48 GiB used: 0 KiB (0.0%)
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 52.0 C mobo: 42.0 C gpu: amdgpu temp: 36.0 C
  Fan Speeds (rpm): cpu: 857 fan-2: 1718 fan-3: 0
  Power: 12v: N/A 5v: N/A 3.3v: 3.34 vbat: 3.25
Info:
  Memory: total: 8 GiB note: est. available: 6.72 GiB used: 1.97 GiB (29.3%)
  Processes: 294 Uptime: 4m Init: systemd target: graphical (5)
  Packages: 23 Compilers: N/A Shell: Bash v: 5.2.26 inxi: 3.3.34

corresponding eglinfo

GBM platform:
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 18.1.6, DRM 3.57, 6.10.10-200.fc40.x86_64)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.1.7
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

It is an old system with an old GPU. I wonder if it lacks features that you are trying to enable?
Did these features work on old Fedora?

1 Like

It worked on Ubuntu 22.04 which is what i was using previously (same kernel flags).
Which is why i’m a bit confused. I still have the old OS, so I’ll confirm now.

The code that matters is split between the kernel and mesa.
Do you know what kernel and mesa version you used that worked?

I see reports of old code being removed from both when its not supportable or seems to be not used.

Are in a position to test on newer Ubuntu? I wonder if it still works for a 24.xx ubuntu?

1 Like

HAH, so yeah it’s broken on Ubuntu 22.04 (5.15.0-107) too.
I guess I thought because glxgears and vkcube run fine (and they do on fedora and ubuntu), that EGL would be fine too.

The question is, where do I log the bug report? with Mesa?

Mesa’s not a bad place to start.
But I wonder if you need to show a version of mesa where it last worked.

1 Like

That could be a rabbit hole, but i can try, I will atleast provide the version on ubuntu which is very behind fedora’s. So its probably quite old. But the mesa folks are quite nice.

Just for anyone else, theres already an open bug.
I clearly didn’t search well enough before opening the discussion.

The Mesa/AMD devs don’t seem to think its an issue, and its because the device is already in use by kwin.