Nvidia prime or Xorg issue? X Error of failed request: BadMatch (invalid parameter attributes)

trying to open a game with lutris’ wine and it gives me this error.

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  155 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  654
  Current serial number in output stream:  655

how to fix this problem? or give me some hints to debug it.

output of prime-run glxinfo -B


name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 3072 MB
    Total available memory: 3072 MB
    Currently available dedicated video memory: 3009 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 525.116.04
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 525.116.04
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 525.116.04
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

using Linux 6.1.31-gentoo

It was X issue. fixed it by using wayland.

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