Hi Marco

On 10 August 2011 22:36, Marco Maggesi <[email protected]> wrote:
> I tried again but I still have problem with the X11 integration.
> The kernel module is loaded, but apparently there is a problem with the Xorg 
> module.
> This is the relevant portion of the /var/log/X.0.log file:
>
> [    17.950] (II) LoadModule: "vboxvideo"
> [    17.950] (II) Loading 
> /nix/store/gxfk2bxk5z98k2kwnvp2apznr7gaz4wy-VirtualBox-GuestAdditions-4.1.0/lib/xorg/modules/drivers/vboxvideo_drv.so
> [    18.067] (II) Module vboxvideo: vendor="Oracle Corporation"
> [    18.067]    compiled for 1.5.99.901, module version = 1.0.1
> [    18.067]    Module class: X.Org Video Driver
> [    18.067]    ABI class: X.Org Video Driver, version 7.0
> [    18.067] (EE) module ABI major version (7) doesn't match the server's 
> version (8)

I've posted about this previously.  It turns out that the virtualbox
builder needs to know the version of the Xorg server used in order to
install the correct driver .so

   # Install Xorg drivers
   ensureDir $out/lib/xorg/modules/{drivers,input}
   install -m 644 lib/VBoxGuestAdditions/vboxvideo_drv_18.so
$out/lib/xorg/modules/drivers/vboxvideo_drv.so
   install -m 644 lib/VBoxGuestAdditions/vboxmouse_drv_18.so
$out/lib/xorg/modules/input/vboxmouse_drv.so

For the current Xorg version 1.9.5 the files to install should be
vboxvideo_drv_19.so instead.

In addition the vboxmouse driver isn't added to the generated xorg.conf

I'm not sure how to programmatically solve either of these

cheers
Rohan
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to