summary refs log tree commit diff
path: root/doc/packages/opengl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/packages/opengl.xml')
-rw-r--r--doc/packages/opengl.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/packages/opengl.xml b/doc/packages/opengl.xml
new file mode 100644
index 0000000000000..fcb624736b092
--- /dev/null
+++ b/doc/packages/opengl.xml
@@ -0,0 +1,9 @@
+<section xmlns="http://docbook.org/ns/docbook"
+         xmlns:xlink="http://www.w3.org/1999/xlink"
+         xml:id="sec-opengl">
+ <title>OpenGL</title>
+
+ <para>
+ Packages that use OpenGL have NixOS desktop as their primary target. The current solution for loading the GPU-specific drivers is based on <literal>libglvnd</literal> and looks for the driver implementation in <literal>LD_LIBRARY_PATH</literal>. If you are using a non-NixOS GNU/Linux/X11 desktop with free software video drivers, consider launching OpenGL-dependent programs from Nixpkgs with Nixpkgs versions of <literal>libglvnd</literal> and <literal>mesa_drivers</literal> in <literal>LD_LIBRARY_PATH</literal>. For proprietary video drivers you might have luck with also adding the corresponding video driver package.
+ </para>
+</section>
\ No newline at end of file