Nvidia: Difference between revisions
imported>Vodkabot2 mNo edit summary |
imported>Vodkabot2 No edit summary |
||
Line 21: | Line 21: | ||
* Pros: out of box experience, just start the game via ''primusrun'' or ''optirun'' wrapper | * Pros: | ||
** out of box experience, just start the game via ''primusrun'' or ''optirun'' wrapper | |||
** works under existing X11 server | |||
* Cons: some performance penalty | * Cons: | ||
** some performance penalty | |||
** Things like Vulkan, CUDA and OpenCL are problematic to configure | |||
=== Nvidia PRIME === | === Nvidia PRIME === | ||
Line 44: | Line 48: | ||
Like with Bumblebee, start the game via ''primerun.sh''. | Like with Bumblebee, start the game via ''primerun.sh''. | ||
* Pros: better performance, | * Pros: | ||
** better performance | |||
** Vulkan, CUDA and OpenCL work, though CUDA needs an additional device creation rule https://github.com/NixOS/nixpkgs/blob/05e375d7103ac51e2da917965c37246c99f1ae4f/nixos/modules/hardware/video/nvidia.nix#L72 | |||
* Cons: there are still some rough edges noted on the top of script | * Cons: | ||
** there are still some rough edges noted on the top of script | |||
** launches new X11 server | |||
== non-NixOS case == | == non-NixOS case == |