I just installed the last OpenSuse Tumbleweed on my computer, and I noticed that OpenSuse is using my integrated Intel graphical card by default.
This prevent me to use dual screen, dans my NVidia GeForce RTX is really more interesting to use.
How can I force OpenSuse to use only my NVidia card, so I can have good performances and use my dual screen ? Which command lines can I use to do that ?
@Nilsson84 Hi and welcome to the Forum
What is your Laptop/Desktop model?
When you say dual screen, what do you mean, perhaps you can show the output from inxi -GSaz.
There are a multitude of different ways to use both gpuās depending on the hardware setup and you use case for applications, eg suse-prime or switcherooctl, BIOS settings etcā¦
There are also a number of recent Forum threads on dual graphics you may wish to peruse.
Thanks for your answer ! My laptop model is Dell G7 17, below you can find more informations : Operating System: openSUSE Tumbleweed 20240628 KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.6-1-default (64-bit) Graphics Platform: X11 Processors: 12 Ć IntelĀ® Coreā¢ i7-10750H CPU @ 2.60GHz Memory: 15.4 Gio of RAM Graphics Processor: Mesa IntelĀ® UHD Graphics Manufacturer: Dell Inc. Product Name: G7 7700
Since I tried the command prime-select nvidia, I donāt see my second screen any more in the System configuration any more Anyway, here is the output of the command inixi -GSaz : Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915
@Nilsson84 This is the issue Dell driver: N/A which is a result of suse-prime, which from Forum experience doesnāt seem to work well with the RTX gpuās and also harware quirks. A quick fix it to remove suse-prime and lock, look at using switcherooctl instead and also look at setting some module parameters for the Nvidia gpuā¦
I just followed the steps to install switchrootctl instead of suse-prime. Unfortunately, I donāt see the option Launch Using Integrated or Dedicated Graphics Card. Moreover, after uninstalling suse-prime, I saw my second screen in Display configuration - although I cannot extend my desktop to this second screen.
After installing switchrootctl, it is like the OS doesnāt detect my second screen anymore.
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.
It seems worth emphasizing that the page malcolmlewis linked earlier seems to indicate that switcheroo ONLY works with wayland, not X11.
FWIW I use suse-prime set to nvidia with an RTX gpu + intel integrated, and dual monitors with an external monitor, and it works fine for me.
I did used to have problems with prime-select being flaky, but have not had any problems in quite some time. But what I used to have to do was some kind of silly dance involving running āprime-select unsetā before running āprime-select nvidiaā and rebooting. Iām sorry I donāt remember the exact steps of the dance, but it seemed that prime-select set commands did not always āstickā and some combination of doing it multiple times āfixedā something. Recheck using glxinfo | grep 'OpenGL renderer string' after running prime-select or rebooting to make sure it is still as expected.
Not true. switcherooctl works with X11 and wayland. Using it here on an Optimus laptop with Plasma X11. If you use Plasma with X!! you donāt have the right click menu (as in Gnome), but can easily invoke switcherooctl from the command line / application starter.