Project

General

Profile

Emulator Issues #11807

dolphin-emu fails to initialize OpenGL or Vulkan with QT_QPA_PLATFORM=wayland

Added by Valmar about 1 month ago. Updated about 1 month ago.

Status:
Work started
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
Linux
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

When started with QT_QPA_PLATFORM=wayland dolphin-emu starts, but attempting to run play games with either OpenGL or Vulkan fails with dolphin complaining that it can initialize the video backend. (In Vulkan's case, it first complains about not being able to create a Vulkan surface.)

  1. Compile Dolphin from master.
  2. Start a Wayland session.
  3. Start dolphin-emu with QT_QPA_PLATFORM=wayland /usr/bin/dolphin-emu.
  4. Attempt to play a game with either OpenGL or Vulkan selected.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-10695

What are your PC specifications? (CPU, GPU, Operating System, more)

Distro: Arch Linux.

CPU: AMD R5 2600X
GPU: AMD RX 580

Kernel version: 5.2.1
Using Mesa and LLVM master

If I can provide anything else, let me know.

History

#1 Updated by flacs about 1 month ago

  • Issue type changed from Bug to Feature request
  • Assignee set to Stenzek
  • Status changed from New to Work started
  • Operating system Linux added
  • Operating system deleted (N/A)

Dolphin doesn't support Wayland at the moment. You may want to keep an eye on https://github.com/dolphin-emu/dolphin/pull/7452.

#2 Updated by Valmar about 1 month ago

Dolphin doesn't support Wayland at the moment. You may want to keep an eye on https://github.com/dolphin-emu/dolphin/pull/7452.

Thanks.

At least the GUI can start with the Wayland backend, even if games can't be played yet. It's progress. :)

Also available in: Atom PDF