Hey! I’m using laptop with intel iGPU and nvidia 1050Ti dGPU. Trying to get suse-prime to work. (Trying to run switch emulator yuzu but it cant detect my graphics card)
First I tried automatic nvidia driver installation, followed by suse-prime installation, but when i use prime-select boot nvidia and log out, i get black screen.
Tried WaylandEnable=false inside /etc/gdm/custom.conf but still black screen.
Tried following a thread on the forum
switcherooctl list give no output
Uninstalled nvidia drivers through Yast and reinstalled g06 drivers, no difference.
Found something else
Force use of Xorg as follows:
temporarily edit Grub to boot to init 3
remove nouveau drivers (by full zypper removal or blacklisting in /etc/modprobe.d)
install nvidia drivers as expected (https://en.opensuse.org/SDB:NVIDIA_drivers)
edit /etc/gdm/custom.conf to uncomment (set) WaylandEnable=false
reboot
but im unsure how to follow step 1. I am first time linux user.
installed suse-prime and bbswitch-kmp-default packages
executed # xrandr --listproviders to see that booth cards (Intel and Nvidia) are detected
executed # glxinfo | grep 'OpenGL renderer string' to see that Intel is in use
executed # prime-select boot nvidia
→ the system rebooted into a black screen with a cursor in the upper left corner. But no reaction to cursor
→ simply hitting CTRL+ALT+DEL brought up the login screen immediately
verified via # glxinfo | grep 'OpenGL renderer string' that Nvidia is used
The system is running stable, had already several Nvidia and Kernel updates and no issues so far. No tinkering with any configs necessary…
I don’t use the offload approach as i want to have the Nvidia card permanently in use.
As you are using Gnome with Wayland, you should first boot up with Intel and make sure that you are using X11 instead of Wayland. This is described in the Troubleshooting section: https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime#Troublehooting
GNOME and Wayland don’t play well… hybrid graphics is disabled. I prefer to use switcheroolctl on GNOME as it has Prime Render Offload dbus integration. Likewise bbswitch is unsupported… Finally better battery life if just running on the iGPU and use the dGPU on demand.
Wayland runs fine on my Intel/Intel and AMD/AMD setups, Desktop has Nvidia/Nvidia with Xorg. No luck with Intel (ARC)/Nvidia (Quadro).
i remember at some point xrandr --listprovidersshowed both cards but at the moment its showing 0 cards. not sure what i messed up;
i guess i didnt try ctrl+alt+delete.
Im starting to understand what these words mean.
I realised Xorg is something i can choose in the login screen so I did.
No clue how snapper works so I restarted with a clean install of openSuse
Followed the instructions step by step. prime-select confirms nvidia for the next boot, but after I boot in its still Intel. This time im gonna hold off on tinkering;
loginctl show-session 1 | grep Type says Type=x11
btw, whats the difference between doc.opensuse and en.opensuse
reinstalled go6 drivers, gonna try to install the kernel drivers manually now
inxi -Fz
restarted 10000 times trying every combination of kernel and drivers. unsuccessfull. gspx is newer than gsp. nvm, gspx is the open source kernel. we need closed source. tried blacklisting nouveau using dracut from here . Still no luck.
maybe secure boot is the problem
maybe dual booting windows is the problem
so long video games; i enjoyed playing while i could
@kavser Just tested here, did you add via YaST bootloader the kernel option nvidia_drm.modeset=1 and also remove and lock suse-prime. I think if want to use suse-prime then it may be nosimplefb=0.
No suse-prime (uninstalled and locked so it doesn’t install);
Nvidia driver install failed because of some key-pair mishap , so installed via zyp (easy way) nvidia-utils-G06 installed seperately for nvidia-settings
@kavser If you install switcherooctl and enable the service, then if you right click on any desktop icon, there is the option to run with the dedicated gpu and use intel for all the rest…