nomadbsd / NomadBSD

Livesystem based on FreeBSD
http://nomadbsd.org
BSD 2-Clause "Simplified" License
361 stars 42 forks source link

VMware support #82

Open probonopd opened 3 years ago

probonopd commented 3 years ago

Hello @mrclksr, have you ever considered supporting VMware in initgfx/NomadBSD?

initgfx

In helloSystem we are installing the xf86-video-vmware package but it seems we need to do something in initgfx_config as well to make it use xf86-video-vmware.

Possibly changing vesa to vmware in /usr/local/etc/X11/xorg.conf.d/10-video-initgfx.conf if $(/sbin/sysctl -n kern.vm_guest) is vmware might do the trick?

Or did you already look into this and came to the conclusion that it would not work?

Reference: https://github.com/helloSystem/hello/issues/101#issuecomment-786145644

NomadBSD

In addition to using xf86-video-vmware in initgfx you might want to have an equivalent of init_vbox for VMware, too.

Possibly

https://github.com/helloSystem/ISO/blob/27a62c7da82a9aefc8bc2a67434d2d14236618fa/overlays/uzip/furybsd-live-settings/files/usr/local/bin/furybsd-init-helper#L25-L29

is of interest and could be adopted for NomadBSD.

mrclksr commented 3 years ago

Hi @probonopd,

I don't have access to VMware, but it should be trivial to add support to initgfx. There shouldn't even be the need for a Xorg config file, just like VirtualBox. What's the output of pciconf -lv | grep -B3 display and kenv smbios.system.product in VMware?

probonopd commented 3 years ago

Thanks @lxm2021 for providing this information:

mrclksr commented 3 years ago

Thanks to both of you :)