8
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 21 Jul 2023
8 points (100.0% liked)
Linux 101 stuff. Questions are encouraged, noobs are welcome!
1060 readers
12 users here now
Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.
founded 1 year ago
MODERATORS
my case is
In the case of laptops with integtrated graphics + nvidia graphics (soldered) (so called “optimus laptops”)
I thought
optimus laptops
is old kind of laptop. Newer laptop, like mine (Surface Book 2) use another thing callPrime offload
might be same thing? IDKwhen I want to run apps with nvidia gpu, I will have to use environment variables, ex
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia osu
It's the same thing. Prime offload is a tool made specifically for these optimus laptops (NVIDIA) and other switchable graphics systems (laptops with AMD GPUs)
Unless you have a solid reason to use Wayland, I strongly recommend to use Xorg instead. It works better with switchable graphics, and I think that you will be able to offload your games with it without the need to restart SDDM. In your Arch system, follow the installation instructions for the optimus-manager. Since you're using SDDM instead of GDM, it should work without the need of any tweaks.
I'm not sure if you're aware, but if you wish you can load the entire desktop environment with the dedicated GPU. It's more practical since you don't have to setup your games to be launched through the prime offload command. The caveat is that it uses more power, a downside if you use the laptop unplugged.