Created attachment 150562 [details] Xorg.log files Host System: 9.3 (amd64). Installed VirtualBox virtualbox-ose-4.3.12_1 using PKGng. Created two Virtual Machines: FreeBSD 9.3 and FreeBSD 10.1 using ISO. Installed Xorg, KDE on both using PKGng. Compiled (on virtual machines) and installed Virtual Box extensions. Set up X as described in FreeBSD documentation. Modified xorg.conf to use vboxdriver as in notes. Started VM, then ran startx. On FreeBSD 9.3 VM X started, no problems. On FreeBSD 10.1, X did not start. Identical xorg.conf files on both systems. The Xorg.log files appear to be largely similar until the AIGLX support is reached. On 9.3 you have: [ 32.844] (EE) AIGLX error: dlopen of /usr/local/lib/dri/vboxvideo_dri.so failed (Cannot open "/usr/local/lib/dri/vboxvideo_dri.so") [ 32.844] (EE) AIGLX: reverting to software rendering [ 33.730] (II) AIGLX: Loaded and initialized swrast On 10.1 you have: [ 34.552] (EE) AIGLX error: dlopen of /usr/local/lib/dri/vboxvideo_dri.so failed ( Cannot open "/usr/local/lib/dri/vboxvideo_dri.so") And then X dies. Attached are the two Xorg.log.0 files, one from 9.3 and the other from 10.1
Fix Summary and assign.
> virtualbox-ose-4.3.12_1 Please note the current version is 4.3.20. > Cannot open "/usr/local/lib/dri/vboxvideo_dri.so" This means emulators/virtualbox-ose-additions was not compiled with OPENGL option. However, it is not a fatal error. > And then X dies. Attached are the two Xorg.log.0 files, one from 9.3 and the other from 10.1 I don't see anything wrong from the log. How did you start X? Did you do startx?
The VBoxVideo driver is not (yet) compatible with NEW_XORG, which is on by default in 10.x but not in 9.x. You need to disable AIGLX in xorg.conf: Section "ServerFlags" Option "AIGLX" "off" EndSection
Tried this and it worked. Thanks!
(In reply to Dag-Erling Smørgrav from comment #3) > The VBoxVideo driver is not (yet) compatible with NEW_XORG, which is on by > default in 10.x but not in 9.x. You need to disable AIGLX in xorg.conf: > > Section "ServerFlags" > Option "AIGLX" "off" > EndSection This option won't be necessary any more after r375294.