NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.22k stars 14.21k forks source link

NixOS-16.03 under virtualbox: xorg: no screens found #16641

Closed basvandijk closed 8 years ago

basvandijk commented 8 years ago

I'm running NixOS-16.03 at revision: 2f1174b6d0959dee542b6e76c2ca88232dffc7af under virtualbox on OS X. After performing a minor NixOS upgrade about a month a go it occasionally happens that xorg can't find a device. I get this about 1 out of 3 times when booting my machine. My colleague (who's using the the same configuration and nixpkgs version) is less lucky because he never gets a working xorg anymore.

I tried upgrading virtualbox on OS X to the latest 5.0.24 but that doesn't help.

Here are the relevant logs:

journalctl -b 0 -u display-manager:

-- Logs begin at Tue 2014-11-04 19:38:48 CET, end at Fri 2016-07-01 13:16:00 CEST. --
Jul 01 13:08:58 systemd[1]: Starting X11 Server...
Jul 01 13:08:58 systemd[1]: Started X11 Server.
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm' - xterm
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm + xmonad' - xterm + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'none + xmonad' - none + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm' - xterm
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm + xmonad' - xterm + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'none + xmonad' - none + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/yxphnsija17jc4dl6w1f8qa5yfq203g0-xauth-1.0.9/bin/xauth:  file /var/run/slim.auth does not exist
Jul 01 13:08:59 display-manager-start[582]: X.Org X Server 1.17.4
Jul 01 13:08:59 display-manager-start[582]: Release Date: 2015-10-28
Jul 01 13:08:59 display-manager-start[582]: X Protocol Version 11, Revision 0
Jul 01 13:08:59 display-manager-start[582]: Build Operating System: Linux 3.14.58 x86_64
Jul 01 13:08:59 display-manager-start[582]: Current Operating System: Linux roel.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
Jul 01 13:08:59 display-manager-start[582]: Kernel command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git init=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
Jul 01 13:08:59 display-manager-start[582]: Build Date: 07 June 2016  10:36:50PM
Jul 01 13:08:59 display-manager-start[582]:  
Jul 01 13:08:59 display-manager-start[582]: Current version of pixman: 0.34.0
Jul 01 13:08:59 display-manager-start[582]:         Before reporting problems, check http://wiki.x.org
Jul 01 13:08:59 display-manager-start[582]:         to make sure that you have the latest version.
Jul 01 13:08:59 display-manager-start[582]: Markers: (--) probed, (**) from config file, (==) default setting,
Jul 01 13:08:59 display-manager-start[582]:         (++) from command line, (!!) notice, (II) informational,
Jul 01 13:08:59 display-manager-start[582]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jul 01 13:08:59 display-manager-start[582]: (++) Log file: "/var/log/X.0.log", Time: Fri Jul  1 13:08:59 2016
Jul 01 13:08:59 display-manager-start[582]: (++) Using config file: "/nix/store/b2w86h7kx421pi7x24hhqdkn2znprgll-xserver.conf"
Jul 01 13:08:59 display-manager-start[582]: (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: Fatal server error:
Jul 01 13:08:59 display-manager-start[582]: (EE) no screens found(EE)
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: Please consult the The X.Org Foundation support
Jul 01 13:08:59 display-manager-start[582]:          at http://wiki.x.org
Jul 01 13:08:59 display-manager-start[582]:  for help.
Jul 01 13:08:59 display-manager-start[582]: (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: (EE) Server terminated with error (1). Closing log file.
Jul 01 13:09:00 systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 13:09:00 systemd[1]: display-manager.service: Unit entered failed state.
Jul 01 13:09:00 systemd[1]: display-manager.service: Failed with result 'exit-code'.
Jul 01 13:09:00 systemd[1]: display-manager.service: Service hold-off time over, scheduling restart.
Jul 01 13:09:00 systemd[1]: Stopped X11 Server.

/var/log/X.0.log:

[     9.178] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[     9.178] X Protocol Version 11, Revision 0
[     9.178] Build Operating System: Linux 3.14.58 x86_64 
[     9.178] Current Operating System: Linux roel.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
[     9.178] Kernel command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git init=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
[     9.178] Build Date: 07 June 2016  10:36:50PM
[     9.178]  
[     9.178] Current version of pixman: 0.34.0
[     9.178]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     9.178] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.178] (++) Log file: "/var/log/X.0.log", Time: Fri Jul  1 13:09:05 2016
[     9.178] (++) Using config file: "/nix/store/b2w86h7kx421pi7x24hhqdkn2znprgll-xserver.conf"
[     9.178] (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
[     9.178] (==) ServerLayout "Layout[all]"
[     9.178] (**) |-->Screen "Screen-virtualbox[0]" (0)
[     9.178] (**) |   |-->Monitor "<default monitor>"
[     9.178] (**) |   |-->Device "Device-virtualbox[0]"
[     9.178] (==) No monitor specified for screen "Screen-virtualbox[0]".
    Using a default monitor configuration.
[     9.178] (**) |-->Input Device "VBoxMouse"
[     9.178] (**) Option "DontZap" "on"
[     9.178] (**) Option "AllowMouseOpenFail" "on"
[     9.178] (==) Automatically adding devices
[     9.178] (==) Automatically enabling devices
[     9.178] (==) Automatically adding GPU devices
[     9.178] (**) FontPath set to:
    /nix/store/w3dm3kxwypg3c8vxdhas4rq12h5274zf-terminus-font-4.40/share/fonts/terminus,
    /nix/store/rc7glsm04bv1gq9x7rp4xgc5d2pj8kmj-font-bh-ttf-1.0.3/lib/X11/fonts/TTF,
    /nix/store/bvp77xp9q21hbj072zdws6wfr4w8yv04-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/glkl0mlnk805hxcjab84d4ck18jxprkc-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
    /nix/store/mbw76v6abg11m920wwq99xw9w9ck0mjf-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/l765xy49qm8h60dljnsxffbxg4vzbmc3-font-misc-misc-1.1.2/lib/X11/fonts/misc,
    /nix/store/4nhncig549mjcga773sv49y1wpmg1s5d-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
    /nix/store/mhc53l5s92ii45m8m4vijfyigfxj6zcb-unifont-8.0.01/share/fonts,
    /nix/store/awsydg3cli87v575cg5kh7bnzapw6c9g-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/r6p9c07kbhqd3l77lcl78gmsk50p9fyp-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[     9.178] (**) ModulePath set to "/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib,/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/xorg/modules/drivers,/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/dri,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/drivers,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions,/nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input"
[     9.178] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.178] (II) Loader magic: 0x80cb80
[     9.178] (II) Module ABI versions:
[     9.178]    X.Org ANSI C Emulation: 0.4
[     9.178]    X.Org Video Driver: 19.0
[     9.178]    X.Org XInput driver : 21.0
[     9.178]    X.Org Server Extension : 9.0
[     9.180] (EE) systemd-logind: failed to get session: PID 834 does not belong to any known session
[     9.180] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.185] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[     9.185] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     9.185] (II) "glx" will be loaded by default.
[     9.185] (II) LoadModule: "glx"
[     9.185] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions/libglx.so
[     9.187] (II) Module glx: vendor="X.Org Foundation"
[     9.187]    compiled for 1.17.4, module version = 1.0.0
[     9.187]    ABI class: X.Org Server Extension, version 9.0
[     9.187] (==) AIGLX enabled
[     9.187] (II) LoadModule: "vboxvideo"
[     9.187] (II) Loading /nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/xorg/modules/drivers/vboxvideo_drv.so
[     9.187] (II) Module vboxvideo: vendor="Oracle Corporation"
[     9.187]    compiled for 1.17.0, module version = 1.0.1
[     9.187]    Module class: X.Org Video Driver
[     9.187]    ABI class: X.Org Video Driver, version 19.0
[     9.187] (**) Load address of symbol "VBOXVIDEO" is 0x7f5a5a8692e0
[     9.187] (II) LoadModule: "vboxmouse"
[     9.187] (WW) Warning, couldn't open module vboxmouse
[     9.187] (II) UnloadModule: "vboxmouse"
[     9.187] (II) Unloading vboxmouse
[     9.187] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     9.187] (II) VBoxVideo: guest driver for VirtualBox: vbox
[     9.187] (++) using VT number 7

[     9.189] (II) vboxvideo: kernel driver found, not loading.
[     9.189] (EE) No devices detected.
[     9.189] (EE) 
Fatal server error:
[     9.189] (EE) no screens found(EE) 
[     9.189] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[     9.189] (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
[     9.189] (EE) 
matthewbauer commented 8 years ago

I've been having the same problem. For me, it will break even trying to switch from tty7 to tty1 and back. I think this is related to #16321.

I think the issue has to do with kernel compatibility see https://www.virtualbox.org/ticket/7536.

matthewbauer commented 8 years ago

I think we may just need to update VirtualBox to 5.0.22:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/virtualbox/default.nix#L21

basvandijk commented 8 years ago

I've upgraded virtualbox and the guest-additions to 5.0.24 but the problem remains.

For me xorg also crashes when switching from tty7 to tty1 and back. This is the log at the time of the crash:

Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Assertion failed!
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: rc
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: at vboxEnableVbva (/mnt/tinderbox/add-5.0/src/VBox/Additions/x11/vboxvideo/vbva.c:221)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Failed to enable screen update reporting for at least one virtual monitor.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Fatal server error:
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE) Assertion(EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Please consult the The X.Org Foundation support
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]:          at http://wiki.x.org
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]:  for help.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:20 bas.van.dijk.lumi display-manager-start[590]: (EE) Server terminated with error (1). Closing log file.
Ptival commented 8 years ago

I'm using VirtualBox 5.0.24 and nixos-unstable. I have had the same issue (X crashes when loading vboxmouse) and needed to turn off the guest option to be able to run X.

Would love a fix for this!

georgewhewell commented 8 years ago

I am having the same problem and can confirm that setting virtualisation.virtualbox.guest.enable to false allows X to start again.

timsears commented 8 years ago

I am running nixos 16.03 under virtual box 5.0.24 r108355 (the latest version as of this weekend) and setting virtualisation.virtualbox.guest.enable = false in /etc/configuration.nix not work for me.

Ptival commented 8 years ago

@timsears what do you mean by "not work"?

For me:

zmthy commented 8 years ago

It seems like virtualisation.virtualbox.guest.enable needs to be set to true if the VM uses UEFI to boot, otherwise you get a different crash when launching X:

(II) VESA(0): initializing int10
(EE) VESA(0): V_BIOS address 0x0 out of range
...
(EE) Screen(s) found, but none have a usuable configuration.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)

There are references to this problem for other operating systems around the web.

My experience was that setting it to false allowed it to launch correctly on the first reboot, and then it consistently crashed every boot after that.

Kniniurb commented 8 years ago

For me it worked setting virtualisation.virtualbox.guest.enable=false.

atcol commented 8 years ago

I am suffering from this issue.

No screens found and Failed to load module "vboxmouse" (module does not exist)" ifvirtualisation.virtualbox.guest.enable=true_or_false`.

I'm running NixOS 16.03.1011.6317da4 (Emu) on VirtualBox 5.0.24.

vrthra commented 8 years ago

For me, setting virtualisation.virtualbox.guest.enable=false and running nixos-rebuild switch did not fix the issue. Running 16.03.1028.0546a4a (Emu) on VirtualBox 5.0.20-4.4.14. The vboxmouse.so is entirely absent.

timsears commented 8 years ago

@Ptival by "not work" I mean that X won't start on boot sending me to a console to log in. Can't start X after logging in either. The log errors look similar to those posted by basvandijk several days ago. The critical error seems to be "device not found". A nearly identical setup works fine under VMware Fusion.

matthewbauer commented 8 years ago

Okay so I've been going through NixOS versions:

Version Works?
16.03.900.87fe38f yes
16.03.923.9e959ce yes
16.03.931.2f1174b no
16.03.941.af412f2 no
16.03.948.a96c308 no
16.03.973.8bf31d7 no

So it looks like it was introduced between 9e959ce6441a3309c2f3e7b07c62f7c681e8eb6f...2f1174b6d0959dee542b6e76c2ca88232dffc7af.

I'm thinking it's from updating virtualbox from 5.0.14 to 5.0.20...

cc @7c6f434c

The issues may have been fixed in 5.0.22, I'm trying to build with that now. I'm also seeing a note at https://www.virtualbox.org/wiki/Downloads

After the 5.0.16 release, the Guest Additions were updated to support Linux guests with X.Org Server running without root privileges and to fix certain 3D acceleration-related issues. If you experience regressions, please report them in our bugtracker and try to use the 5.0.16 Additions.

For now, I'd say f9e2b4c, 76ebea5, and b984ab1 should be reverted on the 16.03 channel. On unstable, we can experiment with getting 5.0.24 and see if that fixes the problem.

mimame commented 8 years ago

I have this problem too so for testing GUI applications I'm doing port-forwarding and starting ssh with -X. I hope that this comment be useful for someone.

basvandijk commented 8 years ago

@matthewbauer upgrading virtualbox to 5.0.24 doesn't help for me.

basvandijk commented 8 years ago

Downgrading virtualbox to 5.0.12 works for me.

basvandijk commented 8 years ago

The problem doesn't seem to have anything to do with the vboxmouse module not being able to load. The following is /var/log/X.0.log after successfully starting xorg after the downgrade to 5.0.12. You can still see the vboxmouse module failing to load but this time we don't get the:

(II) vboxvideo: kernel driver found, not loading.
[     2.064] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[     2.064] X Protocol Version 11, Revision 0
[     2.064] Build Operating System: Linux 3.14.58 x86_64 
[     2.064] Current Operating System: Linux bas.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
[     2.064] Kernel command line: BOOT_IMAGE=(hd0,msdos2)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/fw89d6j9v9ida0xvykrsh1zlvl7bxagb-nixos-system-bas.van.dijk.lumi-16.03pre-git init=/nix/store/fw89d6j9v9ida0xvykrsh1zlvl7bxagb-nixos-system-bas.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
[     2.064] Build Date: 07 June 2016  10:36:50PM
[     2.064]  
[     2.064] Current version of pixman: 0.34.0
[     2.064]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     2.064] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.064] (++) Log file: "/var/log/X.0.log", Time: Sun Jul 10 12:43:20 2016
[     2.068] (++) Using config file: "/nix/store/5ia5zg2xgz81h46lyiiy3cczn1hy0chb-xserver.conf"
[     2.068] (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
[     2.069] (==) ServerLayout "Layout[all]"
[     2.069] (**) |-->Screen "Screen-virtualbox[0]" (0)
[     2.069] (**) |   |-->Monitor "<default monitor>"
[     2.069] (**) |   |-->Device "Device-virtualbox[0]"
[     2.069] (==) No monitor specified for screen "Screen-virtualbox[0]".
    Using a default monitor configuration.
[     2.069] (**) |-->Input Device "VBoxMouse"
[     2.069] (**) Option "DontZap" "on"
[     2.069] (**) Option "AllowMouseOpenFail" "on"
[     2.069] (==) Automatically adding devices
[     2.069] (==) Automatically enabling devices
[     2.069] (==) Automatically adding GPU devices
[     2.083] (**) FontPath set to:
    /nix/store/w3dm3kxwypg3c8vxdhas4rq12h5274zf-terminus-font-4.40/share/fonts/terminus,
    /nix/store/rc7glsm04bv1gq9x7rp4xgc5d2pj8kmj-font-bh-ttf-1.0.3/lib/X11/fonts/TTF,
    /nix/store/bvp77xp9q21hbj072zdws6wfr4w8yv04-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/glkl0mlnk805hxcjab84d4ck18jxprkc-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
    /nix/store/mbw76v6abg11m920wwq99xw9w9ck0mjf-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/l765xy49qm8h60dljnsxffbxg4vzbmc3-font-misc-misc-1.1.2/lib/X11/fonts/misc,
    /nix/store/4nhncig549mjcga773sv49y1wpmg1s5d-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
    /nix/store/mhc53l5s92ii45m8m4vijfyigfxj6zcb-unifont-8.0.01/share/fonts,
    /nix/store/awsydg3cli87v575cg5kh7bnzapw6c9g-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
    /nix/store/r6p9c07kbhqd3l77lcl78gmsk50p9fyp-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[     2.083] (**) ModulePath set to "/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib,/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/xorg/modules/drivers,/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/dri,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/drivers,/nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input"
[     2.083] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.083] (II) Loader magic: 0x80cb80
[     2.083] (II) Module ABI versions:
[     2.083]    X.Org ANSI C Emulation: 0.4
[     2.083]    X.Org Video Driver: 19.0
[     2.083]    X.Org XInput driver : 21.0
[     2.083]    X.Org Server Extension : 9.0
[     2.086] (EE) systemd-logind: failed to get session: PID 634 does not belong to any known session
[     2.086] (II) xfree86: Adding drm device (/dev/dri/card0)
[     2.088] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[     2.088] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.088] (II) "glx" will be loaded by default.
[     2.088] (II) LoadModule: "glx"
[     2.093] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions/libglx.so
[     2.106] (II) Module glx: vendor="X.Org Foundation"
[     2.106]    compiled for 1.17.4, module version = 1.0.0
[     2.106]    ABI class: X.Org Server Extension, version 9.0
[     2.106] (==) AIGLX enabled
[     2.106] (II) LoadModule: "vboxvideo"
[     2.106] (II) Loading /nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/xorg/modules/drivers/vboxvideo_drv.so
[     2.107] (II) Module vboxvideo: vendor="Oracle Corporation"
[     2.107]    compiled for 1.17.0, module version = 1.0.1
[     2.107]    Module class: X.Org Video Driver
[     2.107]    ABI class: X.Org Video Driver, version 19.0
[     2.107] (**) Load address of symbol "VBOXVIDEO" is 0x7f2341797340
[     2.107] (II) LoadModule: "vboxmouse"
[     2.110] (WW) Warning, couldn't open module vboxmouse
[     2.110] (II) UnloadModule: "vboxmouse"
[     2.110] (II) Unloading vboxmouse
[     2.110] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     2.110] (II) VBoxVideo: guest driver for VirtualBox: vbox
[     2.110] (++) using VT number 7

[     2.130] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.0.12r104815
[     2.130] (II) Loading sub module "ramdac"
[     2.130] (II) LoadModule: "ramdac"
[     2.130] (II) Module "ramdac" already built-in
[     2.130] (II) Loading sub module "fb"
[     2.130] (II) LoadModule: "fb"
[     2.130] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libfb.so
[     2.131] (II) Module fb: vendor="X.Org Foundation"
[     2.131]    compiled for 1.17.4, module version = 1.0.0
[     2.131]    ABI class: X.Org ANSI C Emulation, version 0.4
[     2.131] (II) Loading sub module "shadowfb"
[     2.131] (II) LoadModule: "shadowfb"
[     2.131] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libshadowfb.so
[     2.132] (II) Module shadowfb: vendor="X.Org Foundation"
[     2.132]    compiled for 1.17.4, module version = 1.0.0
[     2.132]    ABI class: X.Org ANSI C Emulation, version 0.4
[     2.132] (II) Loading sub module "vgahw"
[     2.132] (II) LoadModule: "vgahw"
[     2.133] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libvgahw.so
[     2.133] (II) Module vgahw: vendor="X.Org Foundation"
[     2.133]    compiled for 1.17.4, module version = 0.1.0
[     2.133]    ABI class: X.Org Video Driver, version 19.0
[     2.133] (II) Loading sub module "dri2"
[     2.133] (II) LoadModule: "dri2"
[     2.133] (II) Module "dri2" already built-in
[     2.133] (II) VBoxVideo(0): Creating default Display subsection in Screen section
    "Screen-virtualbox[0]" for depth/fbbpp 24/32
[     2.133] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[     2.133] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[     2.133] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[     2.133] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.133] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[     2.133] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.134] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[     2.134] (==) VBoxVideo(0): RGB weight 888
[     2.134] (==) VBoxVideo(0): Default visual is TrueColor
[     2.134] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[     2.134] (==) VBoxVideo(0): DPI set to (96, 96)
[     2.134] (--) Depth 24 pixmap format is 32 bpp
[     2.879] (II) VBoxVideo(0): [DRI2] Setup complete
[     2.879] (II) VBoxVideo(0): [DRI2]   DRI driver: vboxvideo
[     2.914] (II) VBoxVideo(0): Requested monitor count: 1
[     2.915] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[     2.915] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[     2.915] (II) VBoxVideo(0): Printing probed modes for output VGA-0
[     2.915] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz Pb)
[     2.915] (II) VBoxVideo(0): Modeline "2560x1600"x60.0  247.26  2560 2562 2564 2566  1600 1602 1604 1606 (96.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "2560x1440"x60.0  222.63  2560 2562 2564 2566  1440 1442 1444 1446 (86.8 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "2048x1536"x60.0  190.04  2048 2050 2052 2054  1536 1538 1540 1542 (92.5 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1920x1600"x60.0  185.59  1920 1922 1924 1926  1600 1602 1604 1606 (96.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1920x1080"x60.0  125.50  1920 1922 1924 1926  1080 1082 1084 1086 (65.2 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1600x1200"x60.0  116.21  1600 1602 1604 1606  1200 1202 1204 1206 (72.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1680x1050"x60.0  106.82  1680 1682 1684 1686  1050 1052 1054 1056 (63.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1400x1050"x60.0   89.08  1400 1402 1404 1406  1050 1052 1054 1056 (63.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1024x768"x60.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "640x480"x60.0   18.84  640 642 644 646  480 482 484 486 (29.2 kHz b)
[     2.915] (II) VBoxVideo(0): Output VGA-0 connected
[     2.915] (II) VBoxVideo(0): Using exact sizes for initial modes
[     2.915] (II) VBoxVideo(0): Output VGA-0 using initial mode 800x600
[     2.915] (II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[     2.915] (II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     2.919] (==) VBoxVideo(0): DPMS enabled
[     2.919] (--) RandR disabled
[     2.926] (EE) AIGLX error: dlopen of /run/opengl-driver/lib/dri/vboxvideo_dri.so failed (/run/opengl-driver/lib/dri/vboxvideo_dri.so: cannot open shared object file: No such file or directory)
[     2.926] (EE) AIGLX: reverting to software rendering
[     3.032] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     3.032] (II) AIGLX: Loaded and initialized swrast
[     3.032] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     3.032] (II) VBoxVideo(0): Setting screen physical size to 211 x 158
[     3.162] (II) LoadModule: "vboxmouse"
[     3.162] (WW) Warning, couldn't open module vboxmouse
[     3.162] (II) UnloadModule: "vboxmouse"
[     3.162] (II) Unloading vboxmouse
[     3.162] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     3.162] (EE) No input driver matching `vboxmouse'
[     3.165] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[     3.165] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     3.165] (**) Power Button: Applying InputClass "Keyboard catchall"
[     3.165] (II) LoadModule: "evdev"
[     3.165] (II) Loading /nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input/evdev_drv.so
[     3.168] (II) Module evdev: vendor="X.Org Foundation"
[     3.168]    compiled for 1.17.4, module version = 2.10.1
[     3.168]    Module class: X.Org XInput Driver
[     3.168]    ABI class: X.Org XInput driver, version 21.0
[     3.168] (II) Using input driver 'evdev' for 'Power Button'
[     3.168] (**) Power Button: always reports core events
[     3.168] (**) evdev: Power Button: Device: "/dev/input/event4"
[     3.168] (--) evdev: Power Button: Vendor 0 Product 0x1
[     3.168] (--) evdev: Power Button: Found keys
[     3.168] (II) evdev: Power Button: Configuring as keyboard
[     3.168] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event4"
[     3.168] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     3.168] (**) Option "xkb_rules" "evdev"
[     3.168] (**) Option "xkb_model" "pc104"
[     3.168] (**) Option "xkb_layout" "us"
[     3.168] (WW) Option "xkb_variant" requires a string value
[     3.168] (**) Option "xkb_options" "eurosign:e"
[     3.183] (II) config/udev: Adding input device Sleep Button (/dev/input/event5)
[     3.183] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[     3.183] (**) Sleep Button: Applying InputClass "Keyboard catchall"
[     3.183] (II) Using input driver 'evdev' for 'Sleep Button'
[     3.183] (**) Sleep Button: always reports core events
[     3.183] (**) evdev: Sleep Button: Device: "/dev/input/event5"
[     3.183] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[     3.183] (--) evdev: Sleep Button: Found keys
[     3.183] (II) evdev: Sleep Button: Configuring as keyboard
[     3.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input6/event5"
[     3.183] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[     3.183] (**) Option "xkb_rules" "evdev"
[     3.183] (**) Option "xkb_model" "pc104"
[     3.183] (**) Option "xkb_layout" "us"
[     3.183] (WW) Option "xkb_variant" requires a string value
[     3.183] (**) Option "xkb_options" "eurosign:e"
[     3.183] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[     3.183] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[     3.183] (**) Video Bus: Applying InputClass "Keyboard catchall"
[     3.183] (II) Using input driver 'evdev' for 'Video Bus'
[     3.183] (**) Video Bus: always reports core events
[     3.183] (**) evdev: Video Bus: Device: "/dev/input/event3"
[     3.183] (--) evdev: Video Bus: Vendor 0 Product 0x6
[     3.183] (--) evdev: Video Bus: Found keys
[     3.183] (II) evdev: Video Bus: Configuring as keyboard
[     3.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input4/event3"
[     3.183] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[     3.183] (**) Option "xkb_rules" "evdev"
[     3.183] (**) Option "xkb_model" "pc104"
[     3.183] (**) Option "xkb_layout" "us"
[     3.183] (WW) Option "xkb_variant" requires a string value
[     3.183] (**) Option "xkb_options" "eurosign:e"
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event0)
[     3.184] (**) VirtualBox mouse integration: Applying InputClass "evdev pointer catchall"
[     3.184] (II) Using input driver 'evdev' for 'VirtualBox mouse integration'
[     3.184] (**) VirtualBox mouse integration: always reports core events
[     3.184] (**) evdev: VirtualBox mouse integration: Device: "/dev/input/event0"
[     3.184] (--) evdev: VirtualBox mouse integration: Vendor 0x80ee Product 0xcafe
[     3.184] (--) evdev: VirtualBox mouse integration: Found 1 mouse buttons
[     3.184] (--) evdev: VirtualBox mouse integration: Found absolute axes
[     3.184] (--) evdev: VirtualBox mouse integration: Found x and y absolute axes
[     3.184] (--) evdev: VirtualBox mouse integration: Found absolute touchscreen
[     3.184] (II) evdev: VirtualBox mouse integration: Configuring as touchscreen
[     3.184] (**) evdev: VirtualBox mouse integration: YAxisMapping: buttons 4 and 5
[     3.184] (**) evdev: VirtualBox mouse integration: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.184] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input0/event0"
[     3.184] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: TOUCHSCREEN, id 9)
[     3.184] (II) evdev: VirtualBox mouse integration: initialized for absolute axes.
[     3.184] (**) VirtualBox mouse integration: (accel) keeping acceleration scheme 1
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration profile 0
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js0)
[     3.184] (II) No input driver specified, ignoring this device.
[     3.184] (II) This device may have been added with another device file.
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse0)
[     3.184] (II) No input driver specified, ignoring this device.
[     3.184] (II) This device may have been added with another device file.
[     3.185] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event2)
[     3.185] (**) VirtualBox USB Tablet: Applying InputClass "evdev pointer catchall"
[     3.185] (II) Using input driver 'evdev' for 'VirtualBox USB Tablet'
[     3.185] (**) VirtualBox USB Tablet: always reports core events
[     3.185] (**) evdev: VirtualBox USB Tablet: Device: "/dev/input/event2"
[     3.236] (--) evdev: VirtualBox USB Tablet: Vendor 0x80ee Product 0x21
[     3.236] (--) evdev: VirtualBox USB Tablet: Found 9 mouse buttons
[     3.236] (--) evdev: VirtualBox USB Tablet: Found scroll wheel(s)
[     3.236] (--) evdev: VirtualBox USB Tablet: Found relative axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found absolute axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found x and y absolute axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found absolute touchscreen
[     3.236] (II) evdev: VirtualBox USB Tablet: Configuring as touchscreen
[     3.236] (II) evdev: VirtualBox USB Tablet: Adding scrollwheel support
[     3.236] (**) evdev: VirtualBox USB Tablet: YAxisMapping: buttons 4 and 5
[     3.236] (**) evdev: VirtualBox USB Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.236] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input3/event2"
[     3.236] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: TOUCHSCREEN, id 10)
[     3.236] (WW) evdev: VirtualBox USB Tablet: touchpads, tablets and touchscreens ignore relative axes.
[     3.236] (II) evdev: VirtualBox USB Tablet: initialized for absolute axes.
[     3.236] (**) VirtualBox USB Tablet: (accel) keeping acceleration scheme 1
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration profile 0
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[     3.236] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js1)
[     3.236] (II) No input driver specified, ignoring this device.
[     3.236] (II) This device may have been added with another device file.
[     3.236] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse1)
[     3.236] (II) No input driver specified, ignoring this device.
[     3.236] (II) This device may have been added with another device file.
[     3.236] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[     3.236] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[     3.236] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard catchall"
[     3.236] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[     3.236] (**) AT Translated Set 2 keyboard: always reports core events
[     3.236] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event1"
[     3.236] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[     3.236] (--) evdev: AT Translated Set 2 keyboard: Found keys
[     3.236] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[     3.236] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input1/event1"
[     3.236] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[     3.236] (**) Option "xkb_rules" "evdev"
[     3.236] (**) Option "xkb_model" "pc104"
[     3.236] (**) Option "xkb_layout" "us"
[     3.236] (WW) Option "xkb_variant" requires a string value
[     3.236] (**) Option "xkb_options" "eurosign:e"
[     3.238] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event6)
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[     3.238] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event6"
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.238] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event6"
[     3.238] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[     3.238] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[     3.238] (II) No input driver specified, ignoring this device.
[     3.238] (II) This device may have been added with another device file.
basvandijk commented 8 years ago

I also reported this issue upstream.

timsears commented 8 years ago

I just tried out the new release candidate for virtualbox 5.1. Same error occurs.

matthewbauer commented 8 years ago

@timsears are you using the updated guest additions or just the updated client? It's not exactly obvious but I think the error is entirely with VirtualBox Guest Additions not the actual VirtualBox client.

I'm thinking we should just revert everybody back to 5.0.12 until VirtualBox team has figured out all of the issues.

timsears commented 8 years ago

Based on @matthewbauer comment above I note the following found here

Guest Additions update for Linux guests. After the 5.0.16 release, the Guest Additions were updated to support Linux guests with X.Org Server running without root privileges and to fix certain 3D acceleration-related issues. If you experience regressions, please report them in our bugtracker and try to use the 5.0.16 Additions:

It looks like one might need to override config.boot.kernelPackages used in nixpkgs/nixos/modules/virtualisation/virtualbox-guest.nix.

Anybody have a suggestion on an easy way to do that?

atcol commented 8 years ago

I have this working on VirtualBox Version 5.0.24 r108355, using a fresh VirtualBox VM and NixOS install from the nixos-minimal-16.03.1028.0546a4a-x86_64-linux ISO.

nixos-version reports 16.03.1028.0546a4a.

I set virtualisation.virtualbox.guest.enable = true;, enabled i3 via services.xserver.windowManager.i3.enable = true;, as well as kdm and kde4 (just to give me options).

I also installed wget, vim, i3status, dmenu, stack and nodejs via environment.systemPackages = with pkgs; section.

I had some proxy issues so had to use the following when doing a nixos-rebuild at one point as I was suffering from still waiting for errors:

export http_proxy=http://myproxy:3128 NIX_REMOTE= nix-build -A system "<nixos>" nixos-rebuild switch

where myproxy is a Cntlm installation on the host (Windows 7). Instructions taken from here.

matthewbauer commented 8 years ago

@atc- are you able to switch terminals without the video driver crashing? For instance, press "Ctrl-Alt-F1" to switch to tty1 then press "Ctrl-Alt-F7" to switch back to tty7. For every Guest Additions after 5.0.16, this seems to crash the vbox video driver.

atcol commented 8 years ago

Yes, that causes issues, but I rarely if ever have to do it. Once I'm in X I start using it normally. If I want to switch to a TTY I logout then use the "Console session" menu option.

basvandijk commented 8 years ago

Note that upstream is reporting that I probably don't have the modesetting X.Org driver installed which should be required.

I see that @edolstra removed the modesetting driver in https://github.com/NixOS/nixpkgs/commit/18e067ac808d5559aac21468c877e704fda1ae50 with the explanation that it's part of xorg-server now.

I'm running X.Org X Server 1.17.4. I'm going to find out if the modesetting driver really is part of 1.17.4.

matthewbauer commented 8 years ago

I wonder if the fact that we set "virtualbox" as the video driver is overriding any of the modesetting?

https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/virtualbox-guest.nix#L52

matthewbauer commented 8 years ago

I don't understand why they need "modesetting" enabled all of a sudden... Maybe? this patch will fix things...

https://github.com/NixOS/nixpkgs/compare/master...matthewbauer:patch-1

dguibert commented 8 years ago

This patch fixes the issue (for me at least).

makefu commented 8 years ago

@matthewbauer patch solved the issue for me as well.

basvandijk commented 8 years ago

That patch also solves it for me. Thanks @matthewbauer!

matthewbauer commented 8 years ago

Okay can we close this issue now?

vrthra commented 8 years ago

This is merged to the channel 16.03 right? I still have the same issue after nixos-rebuild switch --upgrade. Anything I can check?

Nixos Version: 16.03.1111.f231b2b

matthewbauer commented 8 years ago

It's not in that version but should be in the next version.

https://github.com/NixOS/nixpkgs/commits/f231b2b

We can wait to confirm that.

vrthra commented 8 years ago

Ah OK, when would it get refereshed here?

matthewbauer commented 8 years ago

This is the job if you're looking for the .ova file:

http://hydra.nixos.org/job/nixos/release-16.03/nixos.ova.x86_64-linux

It's being blocked on a gnutls update right now: 94eec8fe776230850892db5897593bfaaa265b89

basvandijk commented 8 years ago

I'm closing the issue since it's fixed. Thanks to all involved!

Ptival commented 8 years ago

Hmmm, I might be doing something wrong somewhere, but for some reason, I am having the same issue in 99f63b4, even though it has the fix from 802a700...

If I have time I will try to bisect this.

Ptival commented 8 years ago

Ok, found it. 07fc652 breaks it again for me. Most likely the line mentioning modesetting.

This works for me: https://github.com/Ptival/nixpkgs/commit/249217136aa3e03af13064c621ca4ce066c35536

STRML commented 8 years ago

This is still broken via the 16.03 ova, 16.03.1299.a8e0739, and latest unstable. Same error as in the original post.

matthewbauer commented 8 years ago

Yeah, we should reopen this. There's no "modesetting" entry in xorg server any more. I think commit 22088b4b25119083d8adfc055073f563b9cd8115 might be introducing this.