When starting the PCem virtual machine using the Wayland session, PCem stupidly crashes. Reproducible: Always Steps to Reproduce: 1. Create emulated VM on PCem. 2. Launch it. 3. Crash! Actual Results: Emulated VM is crashed. Expected Results: Emulated VM is normal starting and working.
I can't repro this on my end, can you share a bit more about your setup?
(In reply to Davide Cavalca from comment #1) > I can't repro this on my end, can you share a bit more about your setup? CPU: Ryzen 3 4300U. RAM: 8 GB DDR4 3200 MHz. GPU: Radeon iGPU. Fedora version: 38. Graphic protocol: Wayland. DE: GNOME 44. Secure Boot: disabled. TPM 2.0: enabled. Boot method: UEFI.
Ok I managed to get this to repro when booting a 486 VM with S3 video. This looks the same as https://bugzilla.redhat.com/show_bug.cgi?id=2170952 and it boils down to pcem not really supporting wayland. There's some discussion upstream in https://github.com/sarah-walker-pcem/pcem/issues/128 for a related issue. I will push an updated to build forcing pcem to x11 for the time being, in the meantime you can workaround this by setting the SDL_VIDEODRIVER=x11 and GDK_BACKEND=x11 environment variables before running pcem.