You are not logged in.

#1 2023-08-06 19:27:07

PetchPotch
Member
Registered: 2023-05-27
Posts: 7

Update Broke GLX [Resolved]

Before Updating, I was able to Run my OpenGL Game Engine Project but after updating it just throws this in the terminal

X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  21 (X_GLXGetFBConfigs)
  Serial number of failed request:  24
  Current serial number in output stream:  24

Even with a sample GLX window, it throws the same error.

Last edited by PetchPotch (2023-08-06 21:47:25)

Offline

#2 2023-08-06 20:05:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,686

Offline

#3 2023-08-06 20:30:53

PetchPotch
Member
Registered: 2023-05-27
Posts: 7

Re: Update Broke GLX [Resolved]

Offline

#4 2023-08-06 20:44:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,686

Re: Update Broke GLX [Resolved]

[  7593.371] (--) PCI:*(0@0:2:0) 8086:5917:17aa:39b0 rev 7, Mem @ 0x92000000/16777216, 0xa0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  7593.371] (--) PCI: (1@0:0:0) 10de:1d10:17aa:39b0 rev 161, Mem @ 0x93000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00004000/128

This is a hybrid setup, you're running on intel and the relevant GLX module is loaded, but there's no support for the nvidia chip and the config doesn't look like you disabled it either.
Please elaborate on your optimus approach and whether you're trying to DRI_PRIME or prime-run the glx clients you tested.

glxinfo -B
unset DRI_PRIME
glxinfo -B
DRI_PRIME=1 glxinfo -B

Offline

#5 2023-08-06 21:11:52

PetchPotch
Member
Registered: 2023-05-27
Posts: 7

Re: Update Broke GLX [Resolved]

Please elaborate on your optimus approach and whether you're trying to DRI_PRIME or prime-run the glx clients you tested.

For the most part, The Nvidia Card isn't used during normal desktop usage, everything just runs on integrated graphics.
and for running the clients on the card part, DRI_PRIME and prime-run also just throw the same error but difference with prime-run is that it returns a different value as opposed to the usual 24 in the previous errors.

X Error of failed request:  GLXBadFBConfig
 Major opcode of failed request:  152 (GLX)
 Minor opcode of failed request:  21 (X_GLXGetFBConfigs)
 Serial number of failed request:  19
 Current serial number in output stream:  19

Here's the glxinfo

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
    Version: 23.1.5
    Accelerated: yes
    Video memory: 7727MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.2

Offline

#6 2023-08-06 21:22:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,686

Re: Update Broke GLX [Resolved]

What exactly is "my OpenGL Game Engine Project" and "a sample GLX window"?
32bit code?

I assume glxgears runs fine?

Offline

#7 2023-08-06 21:36:44

PetchPotch
Member
Registered: 2023-05-27
Posts: 7

Re: Update Broke GLX [Resolved]

What exactly is "my OpenGL Game Engine Project" and "a sample GLX window"?

The Sample Window is just This.

I assume glxgears runs fine?

yeah.

Last edited by PetchPotch (2023-08-06 21:38:15)

Offline

#8 2023-08-06 21:47:05

PetchPotch
Member
Registered: 2023-05-27
Posts: 7

Re: Update Broke GLX [Resolved]

ok after some tinkering, it just works now, odd.

Offline

Board footer

Powered by FluxBB