Hi all.
Three years ago I had a lot of help (for which I’m forever glad) from this forum to make my notebook’ discreet gpu card work properly: it was the " nVidia + Cuda + Bumblebee + Codecs: “Recipe” not working on openSUSE 15.2" topic.
It worked nicely since then (even leading to the introduction of GPU usage at my workplace, however there are no “optimus and likes” issues), but unfortunately 2 weeks ago the HD from that notebook failed.
15.2 days have already passed, so I’m now using the latest version of openSUSE. However, as mentioned in the " Cuda + Nvidia + bumblebee + codecs “safe” way" topic, the path for bumblebee became way too rocky.
As such, I tried the most simple thing to have cuda working: installed the opensuse 15.5 with nomodeset enabled, disabled the nvidia drivers repository and included the official cuda repository for just then install both cuda and the drivers from there, removed nomodeset and finally rebooted.
Unfortunately, it didn’t work, and I’m needing help to make it work.
Here follows some commands outputs to better show what is happening:
#> nvidia-settings
(nvidia-settings:18205): Gtk-WARNING **: 23:44:19.780: Theme parsing error: gtk.css:1552:16: '-gtk-icon-size' is not a valid property name
(nvidia-settings:18205): Gtk-WARNING **: 23:44:19.780: Theme parsing error: gtk.css:1555:16: '-gtk-icon-size' is not a valid property name
ERROR: NVIDIA driver is not loaded
(nvidia-settings:18205): GLib-GObject-CRITICAL **: 23:44:19.853: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:18205): CRITICAL **: 23:44:19.854: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed
along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will
continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the
README for possible values and descriptions.
~> sudo lspci |grep -i nvidia
[sudo] senha para root:
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
johannes@localhost:~> sudo lspci |grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
johannes@localhost:~> glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
~> sudo dmesg |grep -i nvidia
[ 0.867089] integrity: Loaded X.509 cert 'Local build for nvidia-gfxG05 460.27.04 on 2020-12-19: 5f561852256111ea49325f56d3536fbc4df207c7'
[ 0.867217] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 535.113.01 on 2023-10-14: 32bbe269ba024978f081426f683e391d8766de43'
[ 0.867344] integrity: Loaded X.509 cert 'Local build for nvidia-gfxG05 470.199.02 on 2023-10-18: b9e5454edc90705ad2a09efccc7ff3958cc13da6'
[ 12.120230] audit: type=1400 audit(1697767772.048:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=899 comm="apparmor_parser"
[ 12.120233] audit: type=1400 audit(1697767772.048:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=899 comm="apparmor_parser"
~> __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep "OpenGL renderer"
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: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 47
Current serial number in output stream: 48
~> __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia nvidia-settings
(nvidia-settings:2181): Gtk-WARNING **: 14:43:40.622: Theme parsing error: gtk.css:1552:16: '-gtk-icon-size' is not a valid property name
(nvidia-settings:2181): Gtk-WARNING **: 14:43:40.622: Theme parsing error: gtk.css:1555:16: '-gtk-icon-size' is not a valid property name
ERROR: NVIDIA driver is not loaded
(nvidia-settings:2181): GLib-GObject-CRITICAL **: 14:43:40.697: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:2181): CRITICAL **: 14:43:40.699: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed
along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will
continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the
README for possible values and descriptions.
~> ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 100
-> no CUDA-capable device is detected
Result = FAIL
Also, there are no /proc/driver/nvidia/version and /dev/nvi* files…
Does anybody have any idea on how to solve this? Thanks a lot in advance!