hello
hello copied to clipboard
Support VMWare Graphic drivers.
I am use the VMWare to try Hello System. but the screen resolution only good for 1024x768. I can see the open-vm-tools already installed. but why the screen resolution can not fit the windows. I have (1920x1080) screen.
Edit the file /usr/local/etc/X11/xorg.conf.d/10-video-initgfx.conf,
Change the "vesa" to "vmware";
Then, edit the file /etc/rc.conf, disable the auto detect.
initgfx_enable = "YES" change to initfx_enable = "NO"
Reboot, the vmware driver should be loaded correctly.
Does it work as intended with NomadBSD without the need for manual intervention? We are using initgfx
which is from NomadBSD, hence the question.
I have checked the initglx code, it does not detect VMware PCI information, only virtual box. So when running in VMware, it can not correctly set the proper config file, may ask them to add support for VMware.
And , each time when boot up , initglx will delete the previous config file and generate a new one , I have tested it , I reboot, the file I edited was replaced by the initglx.
And , there is no need to detect VGA every time when system reboot.
I think NomadBSD tend to be running on USB drive, so they using initglx to detect VGA every time when system reboot.
This can be improved in Hello system , I think.
I have checked the
initgfx_config
code, it does not detect VMware PCI information, only virtual box.
I have opened a ticket for VMware support in initgfx
.
there is no need to detect VGA every time when system reboot
Since helloSystem (unlike NomadBSD) is running from a truly read-only Live medium, we need to detect graphics each time the Live system boots. (This is not true for the installed system.) Doing so should add only a few seconds to the Live boot process, so should be almost negligible. On the installed (not Live) system, we do not detect graphics each time the installed system boots. Only if the GPU does not match /var/initgfx_config.id
.
Hello @netroby @lxm2021
According to he initgfx
author,
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
andkenv smbios.system.product
in VMware?
Can you please post this information? Thank you very much.
Not sure if this is applicable to the VMWare situation, but in Parallels I am able to get almost full and native resolution by adding this to /boot/loader.conf
efi_max_resolution="1080p"
Does running /usr/local/bin/vmware-user-suid-wrapper
change the situation?
It looks like this is supposed to be started by /usr/local/etc/xdg/autostart/vmware-user.desktop
but nothing in helloSystem currently does anything with /usr/local/etc/xdg/autostart/
.
For the future: adding efi_max_resolution="1080p"
to /boot/loader.conf
and changing Maximum resolution of any one monitor
settings in virtual machine settings to 1920 x 1080
worked for me (VMware)