mesa: Enable virgl driver

This gets NixOS tests requiring X11 to work on aarch64:

https://nix-cache.s3.amazonaws.com/log/nj4dwi3wkxx0cxv230ii4a99yz71b4km-vm-test-run-keymap-neo.drv
This commit is contained in:
Tuomas Tynkkynen 2018-05-26 18:03:44 +03:00
parent db215a62b7
commit 164601faa2

View File

@ -34,10 +34,10 @@ else
let
defaultGalliumDrivers =
if stdenv.isAarch32
then ["nouveau" "freedreno" "vc4" "etnaviv" "imx"]
then ["virgl" "nouveau" "freedreno" "vc4" "etnaviv" "imx"]
else if stdenv.isAarch64
then ["nouveau" "vc4" ]
else ["svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
then ["virgl" "nouveau" "vc4" ]
else ["virgl" "svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
defaultDriDrivers =
if (stdenv.isAarch32 || stdenv.isAarch64)
then ["nouveau"]