Laptop - dual GPU Intel + NVIDIA RTX 4090 - NVIDIA Not powering off

Hello everyone, I have a fresh OpenSuste installation.
The problem is that NVIDIA card is not powering off when not in use. I can tell that because laptop has an orange light on when NVIDIA card is powered on.

Previously I had Fedora 40 and everything worked fine out of the box but one day, after an update, graphical interface stopped working.

Laptop is MSI Vector GP78 HX 13 V

Thank you in advance.

@jaraf Hi and welcome to the Forum :smile:
That depends on what your using suse-prime and offload, switcherooctl? What desktop environment? A number of applications will use the likes of Nvidia and AMD as a compute node, chrome gpu acceleration, libreoffice, some teminal applications like alacritty. You should be able to install nvtop and observe…

Hello, thank you for the welcome and for your answer.

I am using Plasma 6.

I have suse-prime and i am trying to do offloading.

This is a list of commands i found to do a diagnose

zypper se suse-prime
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                                                       | Type
--+---------------------------+-------------------------------------------------------------------------------+--------
i | plasma5-applet-suse-prime | Plasma 5 applet for controlling SUSE Prime                                    | package
i | suse-prime                | GPU (nvidia/intel) selection for NVIDIA optimus laptops with bbswitch support | package

prime-select service check
prime-select: service is set correctly

prime-select get-current
No driver configured.

prime-select log-view

##SUSEPrime logfile##
[ 09:40:25 ] Boot: setting-up  card
[ 09:40:25 ] HotSwitch: completed!
[ 10:11:48 ] Boot: setting-up  card
[ 10:11:48 ] HotSwitch: completed!
[ 23:41:20 ] Boot: setting-up  card
[ 23:41:20 ] HotSwitch: completed!
[ 00:05:50 ] Boot: setting-up  card
[ 00:05:50 ] HotSwitch: completed!
[ 07:23:23 ] Boot: setting-up  card
[ 07:23:23 ] HotSwitch: completed!
[ 07:27:28 ] user_logout_waiter: started
[ 07:29:21 ] Boot: setting-up  card
[ 07:29:21 ] HotSwitch: completed!
[ 09:49:57 ] Boot: setting-up  card
[ 09:49:57 ] HotSwitch: completed!
[ 10:42:20 ] Boot: setting-up  card
[ 10:42:20 ] HotSwitch: completed!
[ 20:10:16 ] Boot: setting-up  card
[ 20:10:16 ] HotSwitch: completed!
[ 20:12:07 ] Boot: setting-up  card
[ 20:12:07 ] HotSwitch: completed!
[ 20:15:28 ] Boot: setting-up  card
[ 20:15:28 ] HotSwitch: completed!
[ 20:47:07 ] Boot: setting-up  card
[ 20:47:07 ] HotSwitch: completed!
[ 20:56:49 ] Boot: setting-up  card
[ 20:56:49 ] HotSwitch: completed!
/var/log/prime-select.log lines 1-28/28 (END)

zypper se bbswitch
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...

S | Name                 | Summary                      | Type
--+----------------------+------------------------------+--------
  | bbswitch             | Bumblebee ACPI kernel module | package
  | bbswitch-kmp-default | Bumblebee ACPI kernel module | package

NVIDIA prooietary drivers installed.

 zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                          | Type    | Version                 | Arch   | Repository
---+-------------------------------+---------+-------------------------+--------+--------------
i  | kernel-firmware-nvidia        | package | 20240519-1.1            | noarch | repo-oss
i  | libnvidia-egl-wayland1        | package | 1.1.13-1.3              | x86_64 | repo-oss
i  | nvidia-compute-G06            | package | 550.90.07-23.1          | x86_64 | repo-non-free
i  | nvidia-compute-G06-32bit      | package | 550.90.07-23.1          | x86_64 | repo-non-free
i+ | nvidia-compute-utils-G06      | package | 550.90.07-23.1          | x86_64 | repo-non-free
i+ | nvidia-driver-G06-kmp-default | package | 550.90.07_k6.9.3_1-23.1 | x86_64 | repo-non-free
i+ | nvidia-drivers-G06            | package | 550.90.07-23.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06                 | package | 550.90.07-23.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06-32bit           | package | 550.90.07-23.1          | x86_64 | repo-non-free
i+ | nvidia-utils-G06              | package | 550.90.07-23.1          | x86_64 | repo-non-free
i  | nvidia-video-G06              | package | 550.90.07-23.1          | x86_64 | repo-non-free
i  | nvidia-video-G06-32bit        | package | 550.90.07-23.1          | x86_64 | repo-non-free
i+ | openSUSE-repos-MicroOS-NVIDIA | package | 20240516.5431918-2.1    | x86_64 | repo-oss

lsmod |grep nvidia
nvidia_drm            122880  2
nvidia_modeset       1605632  3 nvidia_drm
nvidia_uvm           6684672  0
nvidia              60579840  36 nvidia_uvm,nvidia_modeset
video                  77824  4 msi_wmi,xe,i915,nvidia_modeset

And i found this too.

dmesg | grep nvidia
[    6.369220] [ T1673] nvidia: loading out-of-tree module taints kernel.
[    6.369225] [ T1673] nvidia: module license 'NVIDIA' taints kernel.
[    6.369227] [ T1673] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    6.369228] [ T1673] nvidia: module license taints kernel.
[    6.480005] [ T1673] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[    6.480719] [ T1673] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[    6.480820] [ T1673] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    6.542351] [ T1809] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    6.609462] [ T1809] nvidia-uvm: Loaded the UVM driver, major device number 511.
[    6.656474] [ T1921] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.90.07  Fri May 31 09:30:47 UTC 2024
[    6.662363] [ T1921] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    8.213214] [ T1921] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[    8.213369] [ T1921] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

xrandr --listproviders
Providers: number : 0

But i have Steam installed and i can play games.

@jaraf You might want to peruse these three threads for users with similar hardware, I do have my doubts about suse-prime and newer hardware and would suggest looking at switcherooctl instead;

  1. https://forums.opensuse.org/t/atomic-modeset-error-22-after-latest-nvidia-update-on-tumbleweed/175455
  2. https://forums.opensuse.org/t/nvidia-kernel-module-not-found/175600
  3. https://forums.opensuse.org/t/how-to-switch-to-the-nvidia-dgpu-in-tumbleweed/175576

But it could also be your hardware setup, as in manufacturer specific, I do have a laptop with dual AMD gpu graphics and desktops with dual graphics.

Do you also have nosimplefb=1 in your kernel command line options cat /proc/cmdline

SOLVED!!!

Followed this steps:

prime-select unset
prime-select service restore

reboot, but no changes

prime-select intel

Got a message saying that i need to install bbswitch to save energy

Install bbswitch

zypper in bbswitch

reboot and SOLVED

prime-select get-current
Driver configured: intel
[bbswitch] NVIDIA card is OFF

And laptop’s orange light turned white.

This was my goal.

Thank you!!!

Thread can be closed.

@jaraf Interesting, just be aware this can break on a kernel update if the kmp does not build. There was some discussion on the Factory Mailing list about it’s support/removal from the distribution.

Glad it’s working for you :smile:

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