mhwd and Hyper-V
I've been using Manjaro (mostly i3 and Deepin flavors) for some time as a virtual machine running on Hyper-V (on WS2016). From my experience with Linux VMs in Hyper-V, I know what a hassle graphics configuration can be. I've tried several drivers for Manjaro through mhwd
but with not much luck (video-catalyst
works but is buggy AF).
Choosing drivers under installation or using mhwd
with defaults to install graphics drivers leads only to installing the video-vesa
configuration, as it's the only recognized for 00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA
.
Though this makes lightdm
start up as intended, it does not allow for configuring the resolution through xrandr/settings or by changing the grub
configuration, i.e. adding video=hyperv_fb:<resolution>
to the kernel line. No matter the resolution, it only stays at 1024x768 (or lower) with the video-vesa
driver.
The solution is - for me - to run:
-
mhwd -r pci video-vesa
to remove video-vesa pamac install xf86-video-fbdev
- (change grub settings)
update-grub
- reboot
I don't know if this is an issue others have had, but I've tried to find this specific in community posts. My only good source is the Hyper-V page on the Arch wiki. As Manjaro is supposed to be a user friendly alternative, I think this issue should be documented and be readily available through the Manjaro wiki or in other docs.
Ideally, this should maybe be possible to configure in the installer or in mhwd (to choose drivers for Hyper-V). What do you think?