Graphics: Difference between revisions
m →OpenGL: Changed wording, as NixOS 24.11 has been released now. |
|||
(One intermediate revision by one other user not shown) | |||
Line 22: | Line 22: | ||
== OpenGL == | == OpenGL == | ||
{{Note|<code>hardware.opengl</code> | {{Note|<code>hardware.opengl</code> was renamed to <code>hardware.graphics</code> in NixOS 24.11.}} | ||
Userspace-level graphics support is provided through OpenGL. The kernel module is used just for interfacing with the hardware, the OpenGL driver is what Wayland (or the X server) actually uses for rendering. | Userspace-level graphics support is provided through OpenGL. The kernel module is used just for interfacing with the hardware, the OpenGL driver is what Wayland (or the X server) actually uses for rendering. | ||
Line 76: | Line 76: | ||
To verify VDPAU support and view supported codecs: <code>nix shell nixpkgs#vdpauinfo -c vdpauinfo</code> | To verify VDPAU support and view supported codecs: <code>nix shell nixpkgs#vdpauinfo -c vdpauinfo</code> | ||
Note that VDPAU will not be able to detect the correct drive to use in most Wayland enviroments, as there is no DRI2 support. The driver will always fall back to <code>nvidia</code> if it wasn't set using <code>VDPAU_DRIVER</code>.<ref>[https://gitlab.freedesktop.org/vdpau/libvdpau/-/blob/2afa3f989af24a922692ac719fae23c321776cdb/src/vdpau_wrapper.c#L129]</ref> | |||
== See also == | == See also == |