Hi everyone, this is my first post.
I'm new to BSDs and am running 12.1 RELEASE but having some difficulty getting FreeBSD to run under VirtualBox. For some reason, the vboxvideo driver is not used in X.
I reviewed and followed the handbook regarding VirtualBox guests:
But it seems to be outdated as it references /etc/X11/xorg.conf. My understanding is that 1) xorg.conf files are deprecated in general (though with some specific exceptions) and that 2) one is supposed to put such files in /usr/local/etc/X11/xorg.conf.d/
I reviewed the instructions on this page:
And it says if you want to force a video driver to be used then it should be placed in
/usr/local/etc/X11/xorg.conf.d
I placed the following information in a file named driver-vboxvideo.conf which I copied from the Handbook section on VirtualBox guests:
Unfortunately, when that file exists, X will not load. If I move the file elsewhere then X will load but I will not be able to use seamless mode or have the display resize to the window size.
I experimented a bit with 11.X Release and did not have these issues. Is it possibly related to python 2.7? I had to manually edit the Makefile to get virtualbox-ose-additions to build at all.
Any idea what is happening?
Here is the output of kldstat:
I'm new to BSDs and am running 12.1 RELEASE but having some difficulty getting FreeBSD to run under VirtualBox. For some reason, the vboxvideo driver is not used in X.
I reviewed and followed the handbook regarding VirtualBox guests:
Chapter 24. Virtualization
Virtualization software allows multiple operating systems to run simultaneously on the same computer
www.freebsd.org
But it seems to be outdated as it references /etc/X11/xorg.conf. My understanding is that 1) xorg.conf files are deprecated in general (though with some specific exceptions) and that 2) one is supposed to put such files in /usr/local/etc/X11/xorg.conf.d/
I reviewed the instructions on this page:
Chapter 5. The X Window System
This chapter describes how to install and configure Xorg on FreeBSD, which provides the open source X Window System used to provide a graphical environment
www.freebsd.org
And it says if you want to force a video driver to be used then it should be placed in
/usr/local/etc/X11/xorg.conf.d
I placed the following information in a file named driver-vboxvideo.conf which I copied from the Handbook section on VirtualBox guests:
Code:
Section "Device"
Identifier "Card0"
Driver "vboxvideo"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox Graphics Adapter"
EndSection
Unfortunately, when that file exists, X will not load. If I move the file elsewhere then X will load but I will not be able to use seamless mode or have the display resize to the window size.
I experimented a bit with 11.X Release and did not have these issues. Is it possibly related to python 2.7? I had to manually edit the Makefile to get virtualbox-ose-additions to build at all.
Any idea what is happening?
Here is the output of kldstat:
Code:
Id Refs Address Size Name
1 18 0xffffffff80200000 2448ef8 kernel
2 1 0xffffffff82649000 3a99a8 zfs.ko
3 2 0xffffffff829f3000 a5b8 opensolaris.ko
4 1 0xffffffff82c19000 2ef63 vboxguest.ko
5 1 0xffffffff82c48000 2668 intpm.ko
6 1 0xffffffff82c4b000 b50 smbus.ko
7 1 0xffffffff82c4c000 88d8 tmpfs.ko