GLXBadFBConfig

Questions about Wine on Linux
Locked
crispy_cat
Newbie
Newbie
Posts: 1
Joined: Sun Nov 28, 2021 1:35 am

GLXBadFBConfig

Post by crispy_cat »

When attempting to run games through Heroic Games Launcher, I keep getting the same error message in the logs

Code: Select all

[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching Turkey...
[cli] INFO: Environment overrides: WINEPREFIX=/home/crispycat/.wine
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
00fc:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented
00fc:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented
00fc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00fc:fixme:nvcuda:load_functions Wine cannot find the libcuda library, CUDA support is disabled.
00fc:fixme:msg:ChangeWindowMessageFilter c049 00000001
00fc:fixme:dwmapi:DwmAttachMilContent (00010072) stub
0108:fixme:gdi:GdiEntry13 stub
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  264
  Current serial number in output stream:  264
When attempting to find this online, I saw that it was a known problem with MESA, and to try the following code

Code: Select all

export MESA_GL_VERSION_OVERRIDE=4.5
The only problem is, i'm still trying to figure out the command line, and merely typing this into the terminal does nothing, or it isin't helping. I've tried all three versions, stable, development, and staging. Any suggestions are appreciated.

Code: Select all

crispycat@fido:~$ export MESA_GL_VERSION_OVERRIDE=4.5
crispycat@fido:~$ wine --version
wine-6.22 (Staging)

crispycat@fido:~$ hostnamectl
   Static hostname: fido
         Icon name: computer-desktop
           Chassis: desktop
  Operating System: Ubuntu 20.04.3 LTS
            Kernel: Linux 5.11.0-40-generic
      Architecture: x86-64
crispycat@fido:~$ 


jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: GLXBadFBConfig

Post by jkfloris »

What graphics card do you have?

Code: Select all

inxi -G
The only problem is, i'm still trying to figure out the command line, and merely typing this into the terminal does nothing, or it isin't helping.
There are two ways to use an environment variable:

Code: Select all

(replace "program.exe" with the name of the program)

# In this way, the variable works for all programs started in the terminal.
export MESA_GL_VERSION_OVERRIDE=4.5
wine program.exe

# or only for one program (in this example "wine")
MESA_GL_VERSION_OVERRIDE=4.5 wine program.exe
If this makes no difference, then there is a problem somewhere else.
Locked