···178178 Core Next</link> (GCN) GPUs are supported through either radv, which is
179179 part of <package>mesa</package>, or the <package>amdvlk</package> package.
180180 Adding the <package>amdvlk</package> package to
181181- <xref linkend="opt-hardware.opengl.extraPackages"/> makes both drivers
182182- available for applications and lets them choose. A specific driver can
183183- be forced as follows:
181181+ <xref linkend="opt-hardware.opengl.extraPackages"/> makes amdvlk the
182182+ default driver and hides radv and lavapipe from the device list. A
183183+ specific driver can be forced as follows:
184184185185 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
186186 pkgs.<package>amdvlk</package>
···191191 pkgs.driversi686Linux.<package>amdvlk</package>
192192 ];
193193194194- # For amdvlk
195195- <xref linkend="opt-environment.variables"/>.VK_ICD_FILENAMES =
196196- "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json";
197197- # For radv
194194+ # Force radv
195195+ <xref linkend="opt-environment.variables"/>.AMD_VULKAN_ICD = "RADV";
196196+ # Or
198197 <xref linkend="opt-environment.variables"/>.VK_ICD_FILENAMES =
199198 "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
200199 </programlisting>
···2626, wayland
2727, wayland-protocols
2828, enableAlsa ? stdenv.isLinux
2929-, alsaLib
2929+, alsa-lib
3030# Enabling Cocoa seems to currently not work, giving compile
3131# errors. Suspected is that a newer version than clang
3232# is needed than 5.0 but it is not clear.
···8484 pango
8585 OpenGL
8686 ] ++ lib.optionals enableAlsa [
8787- alsaLib
8787+ alsa-lib
8888 ] ++ lib.optionals enableX11 [
8989 libXext
9090 libXv
···11-# alsaLib vorbis-tools python can be made optional
11+# alsa-lib vorbis-tools python can be made optional
2233{ lib, stdenv, fetchurl, python, tcl, tk, vorbis-tools, pkg-config, xlibsWrapper }:
44