Difference between revisions of "Configure Graphics Cards"
Add PRIME, clean optimus.
imported>Cscs m |
imported>Cscs (Add PRIME, clean optimus.) |
||
Line 213: | Line 213: | ||
For Optimus laptops or dual GPU hardware with intel and nvidia GPUs, you have three options to utilize the card driver usage at your preference or your hardware capabilities. | For Optimus laptops or dual GPU hardware with intel and nvidia GPUs, you have three options to utilize the card driver usage at your preference or your hardware capabilities. | ||
'''[[# | '''[[#PRIME]] (mhwd default)''' | ||
'''[ | '''[[#Bumblebee]]''' | ||
'''[[Optimus Manager]]''' | '''[[Optimus Manager]]''' | ||
Line 279: | Line 279: | ||
After forum [https://forum.manjaro.org/t/display-does-not-go-to-powersave/84004/5 issue] | After forum [https://forum.manjaro.org/t/display-does-not-go-to-powersave/84004/5 issue] | ||
==PRIME== | |||
PRIME is a technology used to manage hybrid graphics found on recent desktops and laptops (Optimus for NVIDIA, AMD Dynamic Switchable Graphics for Radeon). PRIME GPU offloading and Reverse PRIME is an attempt to support muxless hybrid graphics in the Linux kernel. PRIME detects both cards and automatically selects Intel card by default, using Nvidia, when called, for more demanding applications. | |||
For an application to use the Nvidia card, prepend the application command with prime-run. For example: | |||
prime-run glxspheres64 | |||
prime-run gimp | |||
If you want to specifically run some application with the nvidia driver, you may edit that application's .desktop file "Exec" property, or run it in terminal like this | |||
Exec=prime-run firefox | |||
Some applications (usually games like steam) may have an embedded option to specify the command line, where it is preferred to use this way. | |||
For example, in Steam, select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. | |||
Click the SET LAUNCH OPTIONS... button and specify for the command line options followed by the default launch hook %command%. | |||
prime-run %command% | |||
For "reverse-prime" see '''[https://wiki.archlinux.org/index.php/PRIME#Reverse_PRIME Reverse Prime]''' | |||
And for more info: '''[https://forum.manjaro.org/t/howto-set-up-prime-with-nvidia-proprietary-driver/40225 Prime]''' | |||
==Bumblebee== | |||
Bumblebee configuration is mainly developed to help minimize laptop battery consumption, since Nvidia usually consumes significant power, while Intel cards are more power efficient. So, bumblebee detects both cards and automatically selects Intel card by default and can use the Nvidia for more demanding applications. | |||
For an application to use the Nvidia card, prepend the application command with optirun ir primusrun. For example: | |||
optirun glxspheres64 | |||
primusrun inkscape | |||
If you want to specifically run some application with the nvidia driver, you may edit that application's .desktop file "Exec" property, or run it in terminal like this | |||
Exec=primusrun chromium | |||
Some applications (usually games like steam) may have an embedded option to specify the command line, where it is preferred to use this way. | Some applications (usually games like steam) may have an embedded option to specify the command line, where it is preferred to use this way. | ||
For example, in Steam, select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. | For example, in Steam, select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. | ||
Click the SET LAUNCH OPTIONS... button and specify | Click the SET LAUNCH OPTIONS... button and specify for the command line options followed by the default launch hook %command%. | ||
primusrun %command% | |||
If you have problems with a bumblebee setup, refer to this [https://forum.manjaro.org/t/bumblebee-troubleshooting-20181229/40584 Forum Tutorial] for advice. | If you have problems with a bumblebee setup, refer to this [https://forum.manjaro.org/t/bumblebee-troubleshooting-20181229/40584 Forum Tutorial] for advice. |