Bug 2081093 - Defaulting to wayland causes mame to crash
Summary: Defaulting to wayland causes mame to crash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL2
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 18:06 UTC by Julian Sikorski
Modified: 2022-05-08 02:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-08 02:03:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Julian Sikorski 2022-05-02 18:06:15 UTC
Description of problem:
SDL2-2.0.22-2.fc35 defaults to wayland, which causes mame to crash hard on startup. While there are upstream bugs about this, mame is not ready for wayland:
https://github.com/bkaradzic/bgfx/issues/2416
https://github.com/mamedev/mame/issues/5693

Version-Release number of selected component (if applicable):
2.0.22-2.fc35

How reproducible:
always

Steps to Reproduce:
1. dnf install mame
2. run mame

Actual results:
Segfault

Expected results:
Mame runs

Additional info:
mame runs with -video soft or -video opengl, but window decoration is missing.

Comment 1 Julian Sikorski 2022-05-03 00:15:55 UTC
I have now managed to submit a PR for mame so that it defaults to the x11 videodriver on Linux:
https://github.com/mamedev/mame/pull/9676
With this change mame can keep working with the default config if you decide to keep wayland the default.

Comment 2 Neal Gompa 2022-05-03 15:13:59 UTC
(In reply to Julian Sikorski from comment #1)
> I have now managed to submit a PR for mame so that it defaults to the x11
> videodriver on Linux:
> https://github.com/mamedev/mame/pull/9676
> With this change mame can keep working with the default config if you decide
> to keep wayland the default.

The intent is to keep Wayland the default, as it's the default for several months: https://src.fedoraproject.org/rpms/SDL2/c/adf5181d820ce35e08278903de99b3cc7b9d530c?branch=rawhide

Comment 3 Julian Sikorski 2022-05-03 15:31:43 UTC
Thanks for confirming. As you saw, the PR got merged and I am building a mame update including the changes from the PR.

Comment 4 Fedora Update System 2022-05-03 21:03:06 UTC
FEDORA-2022-4f48985ac7 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4f48985ac7

Comment 5 Fedora Update System 2022-05-03 21:03:24 UTC
FEDORA-2022-1ec7d5e34d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1ec7d5e34d

Comment 6 Fedora Update System 2022-05-04 06:24:13 UTC
FEDORA-2022-d7be26f27b has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d7be26f27b

Comment 7 Fedora Update System 2022-05-04 12:42:20 UTC
FEDORA-2022-4f48985ac7 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-4f48985ac7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4f48985ac7

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

Comment 8 Fedora Update System 2022-05-04 14:10:59 UTC
FEDORA-2022-1ec7d5e34d has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-1ec7d5e34d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1ec7d5e34d

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

Comment 9 Fedora Update System 2022-05-04 14:40:33 UTC
FEDORA-2022-d7be26f27b has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d7be26f27b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d7be26f27b

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

Comment 10 Fedora Update System 2022-05-08 01:05:44 UTC
FEDORA-2022-4f48985ac7 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-05-08 01:48:14 UTC
FEDORA-2022-1ec7d5e34d has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2022-05-08 02:03:30 UTC
FEDORA-2022-d7be26f27b has been pushed to the Fedora 34 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.