OpenGL GLX extension not supported by display

I was trying to run Steam (which I’ve ran before, a while back) and now when I try to launch it, it will update Steam, then when it’s done it gives me a GUI popup that says “OpenGL GLX extension not supported by display” and it won’t launch. Some DuckDuckGo’ing shows old results, and my errors aren’t lining up with the older posts.

Please open console, enter glxinfo | grep OpenGL and post the output here.

Anyway, if you’re using mesa driver then you probably just need to override the GL compatibility context with MESA_GL_VERSION_OVERRIDE=4.5 when launching your steam / games.

first command gives Error: couldn't find RGB GLX visual or fbconfig

I don’t know if it’s a mesa driver. I did run this earlier

lspci -nnnk | grep "VGA\|'Kern'\|3D\|Display" -A2

which resulted in

04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4) Subsystem: Lenovo Device [17aa:3801] Kernel driver in use: amdgpu

So it’s a laptop? You may want to reinstall mesa (AMD card use mesa) and glvnd, just make sure pacman / pamac is downloading new packages and not using the one in your hard drive.

BTW, please post inxi -G output.

It is a laptop.

Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
driver: amdgpu v: kernel
Display: x11 server: X.Org 1.21.1.3 driver: loaded: amdgpu,ati
unloaded: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: N/A v: N/A

Can you post inxi -Fxz and pacman -Ss mesa && pacman -Ss glvnd.

Skipping some of the outputs, but both below. I do have my mesa version ‘frozen’ because it was freezing a lot, and I stuck it to a version that would keep the whole system from hanging.

System:
Kernel: 5.10.98-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
Desktop: KDE Plasma 5.23.5 Distro: Manjaro Linux base: Arch Linux
Battery:
ID-1: BAT1 charge: 10.1 Wh (38.7%) condition: 26.1/30.0 Wh (86.9%)
volts: 7.1 min: 7.4 model: LENOVO BASE-BAT status: Discharging
CPU:
Info: quad core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen rev: 0 cache: L1: 384 KiB L2: 2 MiB
L3: 4 MiB
Speed (MHz): avg: 1580 high: 1903 min/max: 1600/2000 boost: enabled
cores: 1: 1722 2: 1903 3: 1544 4: 1596 5: 1550 6: 1368 7: 1590 8: 1368
bogomips: 31949
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Lenovo driver: amdgpu v: kernel bus-ID: 04:00.0
Display: x11 server: X.Org 1.21.1.3 driver: loaded: amdgpu,ati
unloaded: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: N/A v: N/A direct render: N/A
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 04:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
bus-ID: 04:00.5
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 04:00.6
Sound Server-1: ALSA v: k5.10.98-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.45 running: no
Network:
Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel bus-ID: 01:00.0
Sensors:
System Temperatures: cpu: 47.1 C mobo: N/A gpu: amdgpu temp: 47.0 C
Fan Speeds (RPM): N/A

xtra/glu 9.0.2-2 [installed]
Mesa OpenGL Utility library
extra/libva-mesa-driver 21.3.5-1 [installed]
VA-API implementation for gallium
extra/mesa 21.3.5-1 [installed: 21.1.4-1]
An open-source implementation of the OpenGL specification
extra/mesa-demos 8.4.0-7 [installed]
Mesa demos
extra/mesa-utils 8.4.0-7 [installed]
essential Mesa utilities
extra/mesa-vdpau 21.3.5-1 [installed]
Mesa VDPAU drivers
extra/opencl-mesa 21.3.5-1
OpenCL support for AMD/ATI Radeon mesa drivers
extra/vulkan-intel 21.3.5-1 [installed]
Intel’s Vulkan mesa driver
extra/vulkan-mesa-layers 21.3.5-1
Mesa’s Vulkan layers
extra/vulkan-radeon 21.3.5-1 [installed]
Radeon’s Vulkan mesa driver
community/adriconf 2.5.0-1
GUI tool to configure Mesa drivers by setting options and writing them to the standard drirc file
community/i810-dri 7.11.2-11
Mesa DRI drivers for Intel i810
community/mach64-dri 7.11.2-11
Mesa DRI drivers for ATI Mach64
community/mga-dri 7.11.2-11
Mesa DRI drivers for Matrox
community/r128-dri 7.11.2-11
Mesa DRI drivers for ATI Rage128
community/savage-dri 7.11.2-11
Mesa DRI drivers for S3 Sraphics/VIA Savage
community/sis-dri 7.11.2-11
Mesa DRI drivers for SiS
community/tdfx-dri 7.11.2-11
Mesa DRI drivers for 3dfx
community/unichrome-dri 7.11.2-11
Mesa DRI drivers for S3 Graphics/VIA Unichrome
multilib/lib32-glu 9.0.2-2 [installed]
Mesa OpenGL utility library (32 bits)
multilib/lib32-libva-mesa-driver 21.3.5-1 [installed]
VA-API implementation for gallium (32-bit)
multilib/lib32-mesa 21.3.5-1 [installed]
An open-source implementation of the OpenGL specification (32-bit)
multilib/lib32-mesa-demos 8.4.0-3 [installed]
Mesa demos (32-bit)
multilib/lib32-mesa-utils 8.4.0-3
essential Mesa utilities (32-bit)
multilib/lib32-mesa-vdpau 21.3.5-1 [installed]
Mesa VDPAU drivers (32-bit)
multilib/lib32-opencl-mesa 21.3.5-1
OpenCL support for AMD/ATI Radeon mesa drivers (32-bit)
multilib/lib32-vulkan-intel 21.3.5-1 [installed]
Intel’s Vulkan mesa driver (32-bit)
multilib/lib32-vulkan-mesa-layers 21.3.5-1
Mesa’s Vulkan layers (32-bit)
multilib/lib32-vulkan-radeon 21.3.5-1 [installed]
Radeon’s Vulkan mesa driver (32-bit)
extra/libglvnd 1.4.0-1 [installed]
The GL Vendor-Neutral Dispatch library
multilib/lib32-libglvnd 1.4.0-1 [installed]
The GL Vendor-Neutral Dispatch library

Just to be clear, you stuck on mesa 21.1.4-1 because mesa 21.3.5-1 makes your laptop crash a lot? Then you might want to try to downgrade the rest of your mesa libraries. A version mismatch between them might cause this trouble. But before that, can you run glxgears and glxgears32, just to make sure if one of your libs is working because you do have a desktop.

PS:
If mesa 21.3.5-1 does crash you laptop a lot, I guess that’s a different problem. You better solve that instead of downgrading your libs.

glxgears: Error: couldn't get an RGB, Double-buffered visual
glxgears32 isn’t installed.

warning: mesa: ignoring package upgrade (21.1.4-1 => 21.3.5-1) is what happens every time I upgrade. It had been an intermittent problem see this whole thread, and this one. I never got resolution to the cursor freezing, it is happening less and less these days.

I’m afraid to upgrade mesa as I’d prefer a stable experience over being able to play Steam ha

Have you tried disabling DPM with mesa 21.3.5? If you haven’t, boot with amdgpu.dpm=0 and do some crash test. Your games or apps will run slower, but just ignore that for now. If that works, boot again with amdgpu.runpm=0 (replace the amdgpu.dpm=0 paremeter with that) and do some crash test. If that works, make that parameter permanent.

Edit:
That upgrade warning shows probably because you have set pacman to ignore that package before.

glxgears32 error shows because you need to install lib32-mesa-utils

how do I ‘boot with’ those parameters?

When you’re booting your laptop, right after bios welcoming/boot screen, press Esc key. You will presented with a Grub screen. Press “e” to edit boot parameter. Look a bit at the bottom for the words “quiet” and or “apparmor” , add that parameter right next to “quiet” (within the quote marks) and press F10 to continue. Make sure you’re not overwriting anything else. If you done something wrong, that new parameter will revert back when you reboot.

Edit:
I have to said it again, you really need to update your mesa to 21.3.5 -1 or rool back the rest of them to 21.1.4-1 to match their version. A mismatching package or partial upgrades is not a good thing to have.

Updated mesa against my better judgement, but after a reboot it works. We’ll see if it freezes or not. Thanks for the help.

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