CentOS 7.9 / GeForce RTX 4080 : Major opcode of failed request: 156 (NV-GLX)

Hello,

I use the following configuration :

- 2x NVIDIA GeForce RTX 4080 based graphic cards
- VGA Xeon E3-1200 v3 IGP
- CentOS 7.9 / kernel 3.10.0-1160.114.2.el7.x86_64
- NVIDIA drivers tested
	○ NVIDIA-Linux-x86_64-550.67.run
	○ NVIDIA-Linux-x86_64-525.147.05.run
	○ 550.54.15-1.el7 from "cuda-rhel7-x86_64" repository
	○ "nouveau" driver is Blacklisted
	○ Option "AllowNVIDIAGPUScreens" used.
	○ Loading or not "glamoregl" driver

The monitor is connected to VGA IGP connector, NVIDIA boards are used as PRIME render offload.


xrandr --listproviders

Providers: number : 3
Provider 0: id: 0x3a1 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x36f cap: 0x0 crtcs: 4 outputs: 7 associated providers: 0 name:NVIDIA-G1
Provider 2: id: 0x1b8 cap: 0x0 crtcs: 4 outputs: 7 associated providers: 0 name:NVIDIA-G0


Problem : When I try to use NVIDIA board, there are the folloging errors :

__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (NV-GLX)
Minor opcode of failed request: 6 ()
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 33

__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (NV-GLX)
Minor opcode of failed request: 6 ()
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 33

Any help ?

Thanks in advance.

Best regards,

Lionel

I suspect your primary graphics is some server graphics chip with a driver not supporting prime.

Hello,

Thanks for answer,

PRIME render offload seems to work well with Debian 12.x.
I stop searching for making it work with CentOS 7.9.

Best regards,
Lionel