Bug 2212225 - PCem crashed when launch a VM on Wayland.
Summary: PCem crashed when launch a VM on Wayland.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcem
Version: 38
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Davide Cavalca
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2170952
TreeView+ depends on / blocked
 
Reported: 2023-06-04 21:19 UTC by Egor Gavrilov
Modified: 2024-01-28 03:08 UTC (History)
1 user (show)

Fixed In Version: pcem-17-11.fc40 pcem-17-11.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-25 22:57:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sarah-walker-pcem pcem issues 128 0 None open wxWidget Issues under Wayland 2023-06-27 09:27:40 UTC
Github sarah-walker-pcem pcem pull 222 0 None open Workaround Wayland issues by forcing X11 for now 2023-06-27 09:27:40 UTC

Description Egor Gavrilov 2023-06-04 21:19:31 UTC
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.

Comment 1 Davide Cavalca 2023-06-26 07:47:16 UTC
I can't repro this on my end, can you share a bit more about your setup?

Comment 2 Egor Gavrilov 2023-06-26 08:17:45 UTC
(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.

Comment 3 Davide Cavalca 2023-06-27 09:01:32 UTC
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.

Comment 4 Fedora Update System 2024-01-25 22:55:37 UTC
FEDORA-2024-d33783d53a has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-d33783d53a

Comment 5 Fedora Update System 2024-01-25 22:57:15 UTC
FEDORA-2024-d33783d53a has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-01-26 04:31:00 UTC
FEDORA-2024-d09ea07053 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-d09ea07053

Comment 7 Fedora Update System 2024-01-27 02:34:28 UTC
FEDORA-2024-d09ea07053 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d09ea07053`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d09ea07053

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-01-28 03:08:48 UTC
FEDORA-2024-d09ea07053 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.