SirDice and zebity
This worked with a FreeBSD 13.1 install on KVM with a Dell R620 with a Zotac 25w video card host running debian 11.6.
When reading how to do the install I wondered what changes exactly zebity made.
One peculiar thing I noticed is with other VM's I can freely move between the VM window and my regular desktop but with FreeBSD it captures the mouse and you need to hit Ctrl-Alt to move the mouse out of the VM window. I disabled moused in /etc/rc .conf
moused_enable="NO" # Treat non-default mice as enabled unless
moused_nondefault_enable="NO" # Treat non-default mice as enabled unless
VM driver installation and configuration
pkg update && pkg upgrade
pkg install nano xinit git autoconf automake xorg-macros m4 pkgconf libtool python
I was not able to use git fetch for some reason so downloaded and extracted the tar.gz file.
Xorg video driver for the QXL virtual GPU
gitlab.freedesktop.org
tar xfzv xf86-video-qxl-master.tar.gz
cd xf86-video-qxl-master
./autogen.sh
make
make install
<reboot>
I didn't seem to be able to get it working at first so after fiddling found the following works.
Xorg -configure
I tested with
X -config xorg.conf.new
Which gave me a black screen but didn't crash so copied the config to /etc/X11
cp xorg.conf.new /etc/X11/xorg.conf
Testing with startx brought X with twm and a few xterm windows but running xrandr crashed X
startx
The host is a Dell R620 with a 25 watt Zotac card, the only card that seems to work withthe R620 albeit with a bowed BUT successfully latched case.
I used xrandr on the host to get some possible resolutions and edited /etc/X11/xorg.conf
nano /etc/X11/xorg.conf
The driver showed up in the Device Section as Driver "qxl"
The Display SubSections should look as below, note the first Mode will be the Modes is default on startup.
I used slightly lower for default for testing since I am not able to resize with xrandr and not sure of the behavior once i have a wm working.
I added the Mode lines to all of the color depth SubSections, here are some of them.
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1600x900" "1920x1080" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x900" "1920x1080" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x900" "1920x1080" "1440x900" "1280x800" "1024x768"
EndSubSection
This all seemed to work at the specified resolution so continued with install and configuration of lightdm and xfce