OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

openmandriva can't start with vmware gpu #2863

Open usama-makhzoum opened 1 year ago

usama-makhzoum commented 1 year ago

OpenMandriva version: 4.3 ROCKS Describe the bug: boot hangs, can't start anything inside qemu while choosing vmware as vga option Steps to reproduce: start inside qemu using -vga vmware Observed behavior: hang, even in recovery or console mode Expected behavior: normal booting process Additional comment: I have the package libdri64-drm-vmwgfx installed

benbullard79 commented 1 year ago

Basically here I am describing what I have done so far in case it may help. I can boot Cooker and ROME isos in Qemu with some variation of this command:

$ qemu-system-x86_64 -enable-kvm Path_to.iso -drive file=/Data1/QemuVMs/iso-test.img -m 2G -cpu host -smp 2 -M pc -vga virtio -display sdl,gl=on -usb -usbdevice mouse -usbdevice keyboard -audio pa,model=hda

But there is an additional trick. Any older isos (made before # 1526) you have to boot to cli. Then remove x11-driver-input-vmmouse. Then startx and do what you want, install if you want.

I boot the installed system with this:

$ qemu-system-x86_64 -enable-kvm -drive file=/Data1/QemuVMs/iso-test.img -m 2G -cpu host -smp 2 -M pc -vga virtio -display sdl,gl=on -usb -usbdevice mouse -usbdevice keyboard -audio pa,model=hda

I have not tried it yet but this should work with 4.3/Rock.

I don't know vmware and can not help with that. OM devs, as far as I know, won't touch vmware because of the license. I could be wrong about this next bit but I would not think anyone expects OM isos to work in Qemu with vmware gpu.

Note: I am not expert on Qemu, I just learned how to do this in last few days from info from OM devs and youtube video. Knowledge wise I am a user that has been around Mandriva since 2008 and OM since it began.

Note-2: These are the Qemu packages I have installed:

$ rpm -qa | grep 7.2.0-0.rc2.1
vgabios-7.2.0-0.rc2.1.noarch
sgabios-7.2.0-0.rc2.1.noarch
seabios-7.2.0-0.rc2.1.noarch
qemu-img-7.2.0-0.rc2.1.znver1
ipxe-7.2.0-0.rc2.1.noarch
qemu-common-7.2.0-0.rc2.1.znver1
qemu-ui-spice-core-7.2.0-0.rc2.1.znver1
qemu-char-spice-7.2.0-0.rc2.1.znver1
qemu-ui-opengl-7.2.0-0.rc2.1.znver1
qemu-ui-egl-headless-7.2.0-0.rc2.1.znver1
qemu-ui-spice-app-7.2.0-0.rc2.1.znver1
qemu-device-display-qxl-7.2.0-0.rc2.1.znver1
qemu-audio-alsa-7.2.0-0.rc2.1.znver1
qemu-audio-dbus-7.2.0-0.rc2.1.znver1
qemu-audio-oss-7.2.0-0.rc2.1.znver1
qemu-audio-pa-7.2.0-0.rc2.1.znver1
qemu-audio-sdl-7.2.0-0.rc2.1.znver1
qemu-block-curl-7.2.0-0.rc2.1.znver1
qemu-block-dmg-7.2.0-0.rc2.1.znver1
qemu-block-iscsi-7.2.0-0.rc2.1.znver1
qemu-block-nfs-7.2.0-0.rc2.1.znver1
qemu-block-ssh-7.2.0-0.rc2.1.znver1
qemu-device-display-virtio-gpu-7.2.0-0.rc2.1.znver1
qemu-device-display-virtio-gpu-pci-7.2.0-0.rc2.1.znver1
qemu-device-display-virtio-vga-7.2.0-0.rc2.1.znver1
qemu-ui-curses-7.2.0-0.rc2.1.znver1
qemu-ui-dbus-7.2.0-0.rc2.1.znver1
qemu-ui-gtk-7.2.0-0.rc2.1.znver1
qemu-ui-sdl-7.2.0-0.rc2.1.znver1
qemu-system-x86-core-7.2.0-0.rc2.1.znver1
qemu-system-x86-7.2.0-0.rc2.1.znver1
qemu-user-7.2.0-0.rc2.1.znver1
qemu-7.2.0-0.rc2.1.znver1

The host system in this case is Cooker znver1. I have done this on Cooker and ROME hosts.

benbullard79 commented 1 year ago

I started the beginning of a how to or tutorial on this here.

omakuta commented 1 year ago

This issue has been mentioned on OMA forum. There might be relevant details there:

https://forum.openmandriva.org/t/using-qemu-in-rome-and-cooker/4713/2