The xf86-video-vmware- and xf86-input-vmmouse packages / ports enable VMware users to automatically have a functional desktop when installing the xorg package. The xf86-video-vmware driver is one of the hardcoded Xserver drivers that are tried at Xserver start, and it backs off if not run on a VMware platform. Autodetection support for vmmouse+devd has just been filed as a bug. Meanwhile there should be no harm in including it in the Xorg port. Thanks, Thomas Hellström vmware
Hi! Almost no drivers are included in the default install of x11-drivers, see list below. kbd_drv.so : x11-drivers/xf86-input-keyboard mouse_drv.so : x11-drivers/xf86-input-mouse scfb_drv.so : x11-drivers/xf86-video-scfb vesa_drv.so : x11-drivers/xf86-video-vesa I'm not sure I want to include this driver, since it's easy to install separately, and adding it would clutter up installs for all non VMWare use cases. I have to think this over some.
It might be nice to include it by default in x11/xorg-drivers though, what do you think? No one is forced to use it, but when xorg-drivers is installed, the VESA drivers are put in, which works for pretty much any 'bare metal' installation, and for an extra 300kB or so, I'm not sure it would upset anyone? https://reviews.freebsd.org/D23240
Today, xorg-driver only installs the bare minimum of drivers by default, which means, keyboard, mouse, vesa and scfb (vesa but when running with EFI, basically). I'm not sure if we want to change these defaults.
I understand where you're coming from-- if we take the view that xorg-drivers installs everything needed for pretty much *any* computer to run X, then we should imagine that it is a reasonable expectation that vmware machines also work with xorg-drivers. If you're still not a fan, perhaps instead we could have a meta-port specifically for vmware machines, so that in the vmware docs they suggest installing this port and all the recommended stuff gets installed. That means we don't have to recommend the user install about ten ports at the start.
Is xf86 video vmware even relevant? Shouldn't modesetting just work with vmwgfx in the kernel? Also someone should write an evdev driver for the vmmouse.
I haven't tested in a while, but I never saw vmwgfx working with freebsd. Besides, xf86-video-vmware enables things like guest autofit, overlay support and superior xrender speeds compared to modesetting.
The x11-drivers/xorg-drivers port allows X11 to run in a bare-bones sense, just as it does on a bare metal machine. In that sense, this is how xorg-drivers is meant to work; a bare minimum install to check for base functionality. Perhaps you could add the vmware drivers to open-vm-tools port? I'm happy to look at facilitating that if you let me know.
(In reply to Chris Rees from comment #7) Just to clarify, I mean, the drivers work with VMWare too.