After i installed opensuse tumbleweed i installed the nvidia drivers with
zypper install nvidia-glG05
.
I use this script to run games with the nvidia prime render offload.
#! /bin/sh
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"
this worked perfectly fine in the beginning but after doing an update it stopped working, i have had the same issue on opensuse leap 15.2.
Running glxgears with the render ofload script gives me this error
protocol specified
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 26
Current serial number in output stream: 27
nvidia-settings gives this
protocol specified
No protocol specified
No protocol specified
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
When i got this same issue on opensuse leap 15 i did a new install to fix it but the issue has returned, i really wish to permanently fix this and not have to do a new install anytime i update and the drivers break again.
Errors and warnings from /var/log/Xorg.0.log
15.673] (II) Initializing extension MIT-SCREEN-SAVER
16.250] (EE) evdev: TPPS/2 IBM TrackPoint: Unable to query fd: Inappropriate ioctl for device
16.282] (EE) PreInit returned 2 for "TPPS/2 IBM TrackPoint"
201.326] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 15ms, your system is too slow
294.605] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
3520.477] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
3771.019] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
3784.709] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
3784.709] (EE) event8 - USB Optical Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
4187.309] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
4486.875] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
6437.812] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
11368.116] (EE) event8 - USB Optical Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
13389.289] (EE) event11 - Corsair Corsair K65 Gaming Keyboard: client bug: event processing lagging behind by 30ms, your system is too slow
13396.350] (EE) event11 - Corsair Corsair K65 Gaming Keyboard: client bug: event processing lagging behind by 15ms, your system is too slow
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
14.506] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
14.506] (WW) Ignoring unrecognized extension "XFree86-DGA"
Here is the render offload guide from nvidia https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html
I didn’t do any of the xorg configurations because it worked right out of the box.
prime-select nvidia doesn’t work either.