Revision 26 as of 2017-06-15 11:08:57

Clear message
Edit Info Other
Login
Howto/

Optimus

Introduction

With Fedora 25 and later, NVIDIA Optimus devices are automatically detected.

This Howto is a subset of the main documentation, please read the NVIDIA Howto first.

PRIME Synchronization

With Xorg server 1.19 (Fedora 25 and later), this feature allows buffer sharing between the Intel and the NVIDIA card. This is not enabled by default because it doesn't work for all cases.

sudo grubby --update-kernel=ALL --args="nvidia-drm.modeset=1"

Then you need to reboot with nvidia-drm modeset enabled

randr --output <output> --set "PRIME Synchronization" 1

If everything works as appropriate, you should consider to edit /etc/default/grub and add the nvidia-drm.modeset=1 option to the GRUB_CMDLINE_LINUX_DEFAULT variable. If something didn't get right. You can recover using e from the grub2 edit menu at boot time and manually remove that option. Then on the next boot, use:

sudo grubby --update-kernel=ALL --remove-args="nvidia-drm.modeset=1"

Known limitation

Please note that NVIDIA currently only support "outputsource" and not "offloadsink". It means that you cannot disable the dGPU (nvidia). The current workaround is to reboot onto the free Software version using an alternative boot option menu.

Proprietary/FLOSS switch

At this time, this can be done by manually removing "rd.driver.blacklist=nouveau modprobe.blacklist=nouveau" from the grub2 cmdline. The plan is to have a grub2 menu to have the choice. Please see Bugzilla [RFE] Switcher for Xorg nvidia/FOSS config

FAQ

References