summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-01-19 22:24:58 +0100
committerAlyssa Ross <hi@alyssa.is>2024-01-19 22:26:40 +0100
commit3d4bf3dd797a55e659012372709e6e2a56948181 (patch)
tree68a037cb8cde8b72804fc05d2c0d8d33504b9553
parentc71bdc460fdedd9e55b64bdb8f93d03e3fb6d9ad (diff)
downloadspectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar.gz
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar.bz2
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar.lz
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar.xz
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.tar.zst
spectrum-3d4bf3dd797a55e659012372709e6e2a56948181.zip
vm: disable CONFIG_DRM_FBDEV_EMULATION
This fixes an empty crosvm GPU display being displayed when a wayland
client in the VM disconnects, for example if a foot window is closed.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
-rw-r--r--img/app/default.nix1
-rw-r--r--vm/sys/net/default.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/img/app/default.nix b/img/app/default.nix
index d467d4f..20c3ff3 100644
--- a/img/app/default.nix
+++ b/img/app/default.nix
@@ -53,6 +53,7 @@ let
 
   kernel = (linux_latest.override {
     structuredExtraConfig = with lib.kernel; {
+      DRM_FBDEV_EMULATION = lib.mkForce no;
       EROFS_FS = yes;
       EXPERT = yes;
       FONTS = lib.mkForce unset;
diff --git a/vm/sys/net/default.nix b/vm/sys/net/default.nix
index fe4f348..eb34fb2 100644
--- a/vm/sys/net/default.nix
+++ b/vm/sys/net/default.nix
@@ -61,6 +61,7 @@ let
 
   kernel = (linux_latest.override {
     structuredExtraConfig = with lib.kernel; {
+      DRM_FBDEV_EMULATION = lib.mkForce no;
       EROFS_FS = yes;
       EXPERT = yes;
       FONTS = lib.mkForce unset;