NVIDIA: Difference between revisions

imported>User
m offload mode
imported>User
deprecate bumblebee
Line 13: Line 13:


'''Mostly useful for laptops'''. There are currently two solutions available under NixOS:
'''Mostly useful for laptops'''. There are currently two solutions available under NixOS:
=== Bumblebee ===
Unofficial solution.
* Pros:
** works out of the box, just start the game via the ''primusrun'' or ''optirun'' wrapper
** works under existing X11 server
* Cons:
** some performance penalties, running under wayland decreases performance even more
** things like Vulkan, CUDA and OpenCL are problematic to configure
Use option <syntaxHighlight lang="nix">hardware.bumblebee.enable = true;</syntaxHighlight>


=== Nvidia PRIME ===
=== Nvidia PRIME ===
Line 106: Line 92:
}
}
</nowiki>}}
</nowiki>}}
=== Bumblebee ===
Deprecated solution.
Use option <syntaxHighlight lang="nix">hardware.bumblebee.enable = true;</syntaxHighlight>


== non-NixOS case ==
== non-NixOS case ==