Author: eelco
Date: Mon Aug  8 15:16:42 2011
New Revision: 28395
URL: https://svn.nixos.org/websvn/nix/?rev=28395&sc=1

Log:
* Use the VESA driver.  It seems to work better now.  In particular,
  it doesn't turn blue backgrounds into yellow (see
  e.g. http://hydra.nixos.org/build/1232626/download/1/screen.png).

Modified:
   nixos/trunk/modules/virtualisation/qemu-vm.nix

Modified: nixos/trunk/modules/virtualisation/qemu-vm.nix
==============================================================================
--- nixos/trunk/modules/virtualisation/qemu-vm.nix      Mon Aug  8 15:01:41 
2011        (r28394)
+++ nixos/trunk/modules/virtualisation/qemu-vm.nix      Mon Aug  8 15:16:42 
2011        (r28395)
@@ -298,7 +298,7 @@
       
   virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
 
-  virtualisation.qemu.options = [ "-usbdevice tablet" ];
+  virtualisation.qemu.options = [ "-vga std" "-usbdevice tablet" ];
   
   # Mount the host filesystem via CIFS, and bind-mount the Nix store
   # of the host into our own filesystem.  We use mkOverride to allow
@@ -365,8 +365,9 @@
   # When building a regular system configuration, override whatever
   # video driver the host uses.
   services.xserver.videoDriver = mkOverride 50 null;
-  services.xserver.videoDrivers = mkOverride 50 [ "cirrus" "vesa" ];
+  services.xserver.videoDrivers = mkOverride 50 [ "vesa" ];
   services.xserver.defaultDepth = mkOverride 50 0;
+  services.xserver.resolutions = mkOverride 50 [ { x = 1024; y = 768; } ];
   services.xserver.monitorSection =
     ''
       # Set a higher refresh rate so that resolutions > 800x600 work.
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to