## Please edit system and help pages ONLY in the master wiki! ## For more information, please see MoinMoin:MoinDev/Translation. ## page was renamed from Howto/NVIDIA_Optimus ## page was renamed from Howto/nVidia_Optimus ##master-page:Unknown-Page ##master-date:Unknown-Date #acl -All:write Default #format wiki #language en <> == Introduction == NVIDIA Optimus is a technology that allows an Intel integrated GPU and discrete NVIDIA GPU to be built into and accessed by a laptop. <
> With Fedora 25 and later, NVIDIA Optimus devices are automatically detected with GDM/Gnome. They will run with output source and not with offload sync by default. With Fedora 29 , along NVIDIA driver 435.17+ and xorg-x11-server 1.20.5-9 (add additional patches), it's now possible to have full Optimus support (with offload sync only with glx). Starting with NVIDIA driver 440.26+ render offload works with EGL. With Fedora 30 and later, the official fedora xorg-x11-server packages has the needed patches, (so there is no need to use the copr repository). Using NVIDIA 440.31+ will advertise full optimus support (GL/EGL) using a stable driver release. It's not needed to use the previous copr repository that can be disabled using: {{{ dnf config-manager --set-disable copr:copr.fedorainfracloud.org:kwizart:xorg-x11-server_nvidia }}} This Howto is a subset of the main documentation, please read the [[Howto/NVIDIA|NVIDIA]] Howto first. == Known limitation == Full Optimus Support can be achieved with xorg-x11-server 1.20.5-9 from official fedora packages (for Fedora 30 and later). This package has patches backported that have lander in xorg-x11-server master branch (that will become xorg 1.21). == NVIDIA PRIME Support == On Fedora 30 and later, with NVIDIA driver 440.31+, there is nothing else to be done beyound normal driver installation. But you can opt-in to enable Dynamic Power Management until this is set as the default in the NVIDIA driver. {{{ sudo -s dnf update cat > /etc/modprobe.d/nvidia.conf < --set "PRIME Synchronization" 1 }}} == Proprietary/FLOSS switch == At this time, this can be done by manually editing "rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1" from the grub2 cmdline. And replace by "rd.driver.blacklist=nvidia,nvidia_drm,nvidia_modeset modprobe.blacklist=nvidia,nvidia_drm,nvidia_modeset" The plan is to have a grub2 menu to have the choice. Please see [[https://bugzilla.rpmfusion.org/show_bug.cgi?id=4315|Bugzilla [RFE] Switcher for Xorg nvidia/FOSS config]] == FAQ == *Q: Why there is no nvidia-prime package ? *A: nvidia-prime is not something from NVIDIA despite the name. It's a collection of integration scripts made by canonical for Ubuntu. Better to avoid using custom scripts and to have the driver to setup appropriately if on Optimus hardware or single GPU setup. With Fedora 25 and later, everything is automatically setup. == References == * http://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html * http://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/dynamicpowermanagement.html * https://devtalk.nvidia.com/default/topic/957814/linux/prime-and-prime-synchronization/ * https://devtalk.nvidia.com/default/topic/925605/linux/nvidia-364-12-release-vulkan-glvnd-drm-kms-and-eglstreams/ ---- CategoryHowto