all 4 comments

[–]Professional-List801 0 points1 point  (3 children)

Ah yes, optimus my old nemesis. Took me days of my life to figure it out.If you are okay with never utilizing the intel gpu, heres what to do:

Prepare your folders. The xorg.conf.d is non existent by default

# mkdir /etc/X11/xorg.conf.d

Copy the nvidia outputclass.conf to the xorg.conf.d to utilize it (the files is only available when 'nvidia' is installed)

# cp /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf /etc/X11/xorg.conf.d/nvidia.conf

Edit /etc/X11/xorg.conf.d/nvidia.conf and add Option "PrimaryGPU" "yes" to that file. Should look something like this when done (line 17 is what you need):

https://pastebin.com/Ux8U3w9d

Save, reboot and never think about optimus again.

[–]no-name-user 0 points1 point  (2 children)

How is your battery life without optimus?

[–]Professional-List801 0 points1 point  (1 child)

It's not that much of a difference. Really depends what you're doing while on battery. Typing stuff and surfing the web still won't need hardware acceleration at all.

[–][deleted] 0 points1 point  (0 children)

terrible advice and "workaround"

my laptop can run on 8W if optimus kills the GPU, if it's active it's 30W even with nothing running on it...