Hello, I just installed Tumbleweed yesterday on my Dell XPS 9700. I have a Intel CometLake-H GT2 as my iGPU and a TU106M [GeForce RTX 2060 Max-Q] as my dGPU. I would like to use prime-select intel to be able to turn off my Nvidia card completely when I am at school/work.
However, when I run sudo prime-select intel and log in and out, it brings me to a tty and then freezes. When I reboot and run sudo /usr/sbin/prime-select get-current it says that I’m using offload. When I run nvidia-smi when not running any graphically intensive programs it tells me that the nvidia card has a perf of P8, and is using 3 W/65 W, so if I’m not mistaken it’s not completely turned off. Is this normal for SUSEPrime? I would prefer if this didn’t happen as my battery life is limited.
I installed bbswitch along with running zypper install-new-recommends --repo repo-non-free to install the recommended nvidia drivers for my GPU. When I run if [ ! -s /etc/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf ]; then cp 09-nvidia-modprobe-bbswitch-G04.conf /etc/modprobe.d && dracut -f fi
it spits out cp: cannot stat '09-nvidia-modprobe-bbswitch-G04.conf': No such file or directory
My xorg.conf.d folder looks like this:
I’m fairly new to working with nvidia drivers on linux so please bear with me. My ultimate goal is to be able to use prime-select intel and prime-select nvidia properly, going to the GUI instead of a tty.
I’m trying to figure out nvidia drivers too(but for eGPU) so I’m not very experienced here, but I noticed that your commands mention G04 and your GPU is a 2000 series. G04 is for Fermi series(400/500 series) whereas G06 is for 700 series and newer. Perhaps you’re using the wrong driver?
You mixed some heavily outdated (2017!) instructions from different places. Not sure why the github page lists wrong commands.
The way to get suse-prime running on openSUSE is straight forward and described here: https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime
This instruction worked flawlessly on my Optimus setup.
I’m curious if you are able to revert all the wrong settings you have done and can get to a clean state to start with.
It appears that I had the MicroOS repos installed automatically during the system installation for whatever reason. I went ahead with option 1. Could this be what’s causing the problem?
No that is not the cause. The MicrOS repos contain the same packages like the Tumbleweed one. But the MicroOS repo on a Tumbleweed system is an old issue what got fixed some time ago. As you rolled back to an old snapshot, this minor cosmetic issue appeareded again on your system. Solution 1 was the right choice.
Small hint: If you have terminal output and you want to post it here, simply copy it from the terminal and put it in </> preformatted text tags in the forum editor. First hit the </> button and then place the terminal output between the tags.
Thanks for your help!
After running zypper install-new-recommends --repo repo-non-free I installed the suse-prime and bbswitch-kmp-default packages, and then ran prime-select boot intel and rebooted. When I did so, openSUSE brought me to a black screen. When I rebooted again, I got into the GUI and ran /usr/sbin/prime-select get-current and got
Driver configured: intel
[bbswitch] NVIDIA card is ON
So it’s set to Intel but the Nvidia card is still on for some reason. I’m not sure how to get it to turn off properly.
Thank you!
Should I install all three packages I had in the above image? Would this fix the issue where prime-select get-current says that the NVIDIA card is on even in Intel mode?
If nvidia-smi only works when the NVIDIA card is running, does that mean that the card is actually off right now despite what prime-select get-current says?
Unfortunately I am still having the same problem in my original message, but worse. I ran prime-select boot intel, rebooted, and now when I boot into Tumbleweed my system appears to freeze up and I get this screen:
Rebooting again leads to the same screen. Trying to restore from a previous snapshot does not help. When I ran prime-select boot nvidia before this it worked fine. Any idea what to do?