Bug 1823234 - dolphin fails to initialize video backend under wayland
Summary: dolphin fails to initialize video backend under wayland
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dolphin-emu
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeremy Newton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-12 23:19 UTC by Wade Berrier
Modified: 2020-04-25 03:00 UTC (History)
1 user (show)

Fixed In Version: dolphin-emu-5.0.11819-5.fc32 dolphin-emu-5.0.10474-6.fc30 dolphin-emu-5.0.11617-7.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-25 02:21:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wade Berrier 2020-04-12 23:19:22 UTC
Description of problem: dolphin currently has a bug of failing to run if running under wayland.


Version-Release number of selected component (if applicable): 5.0.11617-3.fc31


How reproducible: every time (although it seems once it started while running under wayland??)


Steps to Reproduce:
1. log into gnome using wayland
2. open dolphin
3. configure video backend (vulkan or opengl)
4. start game

Actual results:

"fails to initialize backend"

Expected results:

The game should run

Additional info:

The upstream support is still being worked on:

https://bugs.dolphin-emu.org/issues/11807

Until then, I was able to set the environment variable:

    export QT_QPA_PLATFORM=xcb

But, it would be nice if the emulator ran out of the box on wayland instead of waylands users having to dig and debug what's going on.

Not sure if this can be done at compile time, or if a shell wrapper would be necessary...

Comment 1 Jeremy Newton 2020-04-13 04:34:52 UTC
Unfortunately I think a shell wrapper is needed, as I'm not aware of anyway to do this without bundling qt. I'll try a few things though but I'm pessimistic about a compile time option. My solution for older versions was a bit hackish, but this doesn't work with the new qt front end.

For fedora 31, this is the latest build that'll compile, so native Wayland won't ever land for f31. F32 or later is likely.

Note that running the desktop file, e.g. from a launcher like gnome's GUI interface, will set this environment variable. This is solely an issue with running from terminal.

Comment 2 Fedora Update System 2020-04-13 14:32:32 UTC
FEDORA-2020-ac037cf4df has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ac037cf4df

Comment 3 Fedora Update System 2020-04-13 14:32:33 UTC
FEDORA-2020-c924f790c4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c924f790c4

Comment 4 Fedora Update System 2020-04-13 14:32:34 UTC
FEDORA-2020-2e8ae53d3d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2e8ae53d3d

Comment 5 Fedora Update System 2020-04-13 21:17:48 UTC
FEDORA-2020-983fee18e2 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-983fee18e2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-983fee18e2

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

Comment 6 Fedora Update System 2020-04-15 19:57:14 UTC
FEDORA-2020-14cdf5fdf8 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-14cdf5fdf8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-14cdf5fdf8

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

Comment 7 Fedora Update System 2020-04-15 21:39:44 UTC
FEDORA-2020-ceedbb1377 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ceedbb1377`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ceedbb1377

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

Comment 8 Fedora Update System 2020-04-25 02:21:33 UTC
FEDORA-2020-983fee18e2 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-04-25 02:41:08 UTC
FEDORA-2020-ceedbb1377 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-04-25 03:00:09 UTC
FEDORA-2020-14cdf5fdf8 has been pushed to the Fedora 31 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.