···178 Core Next</link> (GCN) GPUs are supported through either radv, which is
179 part of <package>mesa</package>, or the <package>amdvlk</package> package.
180 Adding the <package>amdvlk</package> package to
181- <xref linkend="opt-hardware.opengl.extraPackages"/> makes both drivers
182- available for applications and lets them choose. A specific driver can
183- be forced as follows:
184185 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
186 pkgs.<package>amdvlk</package>
···191 pkgs.driversi686Linux.<package>amdvlk</package>
192 ];
193194- # For amdvlk
195- <xref linkend="opt-environment.variables"/>.VK_ICD_FILENAMES =
196- "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json";
197- # For radv
198 <xref linkend="opt-environment.variables"/>.VK_ICD_FILENAMES =
199 "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
200 </programlisting>
···178 Core Next</link> (GCN) GPUs are supported through either radv, which is
179 part of <package>mesa</package>, or the <package>amdvlk</package> package.
180 Adding the <package>amdvlk</package> package to
181+ <xref linkend="opt-hardware.opengl.extraPackages"/> makes amdvlk the
182+ default driver and hides radv and lavapipe from the device list. A
183+ specific driver can be forced as follows:
184185 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
186 pkgs.<package>amdvlk</package>
···191 pkgs.driversi686Linux.<package>amdvlk</package>
192 ];
193194+ # Force radv
195+ <xref linkend="opt-environment.variables"/>.AMD_VULKAN_ICD = "RADV";
196+ # Or
0197 <xref linkend="opt-environment.variables"/>.VK_ICD_FILENAMES =
198 "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
199 </programlisting>
···21 # Runtime dependencies;
22 # A few additional ones (e.g. Node) are already shipped together with the
23 # AppImage, so we don't have to duplicate them here.
24- alsaLib, dbus-glib, fuse, gnome, gtk3, libdbusmenu-gtk2, libXdamage, nss, udev
25}:
2627let
···54 ];
5556 buildInputs = [
57- alsaLib
58 dbus-glib
59 fuse
60 gtk3
···21 # Runtime dependencies;
22 # A few additional ones (e.g. Node) are already shipped together with the
23 # AppImage, so we don't have to duplicate them here.
24+ alsa-lib, dbus-glib, fuse, gnome, gtk3, libdbusmenu-gtk2, libXdamage, nss, udev
25}:
2627let
···54 ];
5556 buildInputs = [
57+ alsa-lib
58 dbus-glib
59 fuse
60 gtk3
···4, ninja
5, pkg-config
6, gettext
7-, alsaLib
8, acpid
9, bc
10, ddcutil
···34 ];
3536 buildInputs = [
37- alsaLib
38 acpid # for systems with ACPI for lid events, AC/Battery plug in/out etc
39 bc # for the Everything module calculator mode
40 ddcutil # specifically libddcutil.so.2 for backlight control
···4, ninja
5, pkg-config
6, gettext
7+, alsa-lib
8, acpid
9, bc
10, ddcutil
···34 ];
3536 buildInputs = [
37+ alsa-lib
38 acpid # for systems with ACPI for lid events, AC/Battery plug in/out etc
39 bc # for the Everything module calculator mode
40 ddcutil # specifically libddcutil.so.2 for backlight control
···26, wayland
27, wayland-protocols
28, enableAlsa ? stdenv.isLinux
29-, alsaLib
30# Enabling Cocoa seems to currently not work, giving compile
31# errors. Suspected is that a newer version than clang
32# is needed than 5.0 but it is not clear.
···84 pango
85 OpenGL
86 ] ++ lib.optionals enableAlsa [
87- alsaLib
88 ] ++ lib.optionals enableX11 [
89 libXext
90 libXv
···26, wayland
27, wayland-protocols
28, enableAlsa ? stdenv.isLinux
29+, alsa-lib
30# Enabling Cocoa seems to currently not work, giving compile
31# errors. Suspected is that a newer version than clang
32# is needed than 5.0 but it is not clear.
···84 pango
85 OpenGL
86 ] ++ lib.optionals enableAlsa [
87+ alsa-lib
88 ] ++ lib.optionals enableX11 [
89 libXext
90 libXv