r600/TURKS/crocus/Sandy Bridge: Problem with Dolphin emulator "X Error of failed request: GLXBadFBConfig" and OpenGL < 4.6
Summary
It looks that the old bug #3969 (closed) is back. I can confirm this error in conjunction with the dolphin emulator 5.0-16391 (and the OpenGL renderer) running under Wine 8.6.
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 0 ()
Serial number of failed request: 8951
Current serial number in output stream: 8951
Note, this occurs with my Radeon HD 6770M GPU as well as with my Intel HD 2000 iGPU.
Unfortunately the proposed workaround of #3969 (closed) by adding MESA_GL_VERSION_OVERRIDE=4.5 does not work in this case.
Addition (31.05.2023): This works for whatever reason when MESA_GL_VERSION_OVERRIDE=4.6 is set. This is true even for the Intel iGPU which is only GL3.3/DX10 compliant.
Edit (24.04.2023): Interestingly this problem does not occurs with every OpenGL application. I think this is a relevant difference from old bug #3969 (closed) where every OpenGL app was affected. For example, I am still able to run the Playstation 1 emulator PCSX-Redux natively on Linux or via Wine.
System information
inxi -b
System:
Host: iMac-tmp Kernel: 5.15.0-70-generic x86_64 bits: 64
Desktop: KDE Plasma 5.24.7 Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
Type: Desktop System: Apple product: iMac12,2 v: 1.0
serial: <superuser required>
Mobo: Apple model: Mac-942B59F58194171B v: iMac12,2
serial: <superuser required> UEFI: Apple v: IM121.88Z.004F.B00.1804101150
date: 04/10/18
CPU:
Info: quad core Intel Core i5-2400 [MCP] speed (MHz): avg: 1600
min/max: 1600/3400
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
driver: i915 v: kernel
Device-2: AMD Whistler [Radeon HD 6730M/6770M/7690M XT] driver: radeon
v: kernel
Device-3: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo
Display: x11 server: X.Org v: 1.21.1.4 driver: X:
loaded: ati,modesetting,radeon unloaded: fbdev,vesa gpu: radeon
resolution: 2560x1440~60Hz
OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.15.0-70-generic LLVM 15.0.7)
v: 4.5 Mesa 23.2.0-devel (git-483639d 2023-04-24 jammy-oibaf-ppa)
Network:
Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k
Drives:
Local Storage: total: 1.14 TiB used: 146.81 GiB (12.6%)
Info:
Processes: 231 Uptime: 3d 8h 46m Memory: 15.6 GiB used: 4.13 GiB (26.5%)
Shell: Bash inxi: 3.3.13
If applicable
- Wine version 8.6
Regression
This worked fine with older Mesa versions.
Log files as attachment
It is not possible to record an apitrace because the emulation cannot be started.
Any extra information would be greatly appreciated
More information can be found in the Wine HQ Forums: OpenGL does not initialize - GLXBadFBConfig