Closed r2rX closed 2 years ago
Did you enable Wayland in cmake?
That's a good question. There were issues when I tried compiling it myself so I'm using a build from a recently created copr for PCSX2 Qt. I've asked the copr owner about it. Shall update this post when I get feedback.
On a side note; out of curiosity and my ignorance, is it possible to compile with both X11 and Wayland support?
I checked both GL and Vulkan with GNOME, Plasma and Sway, all worked fine. We can close this as invalid and a packaging issue (i.e. not our problem).
On a side note; out of curiosity and my ignorance, is it possible to compile with both X11 and Wayland support?
Yes, if you compile with WAYLAND_API
enabled it'll support both.
You were on point, @stenzek . The Wayland API wasn't enabled. The most recent build on the copr has it enabled and it's working fine now. Thanks!
Describe the Bug
Hello there,
I recently installed PCSX2-Qt to give it a shot on Fedora 36 KDE, running Wayland. When attempting to run the BIOS or any game, there is a pop-up box with the following message: Failed to create host display file context. This occurs irrespective of which renderer I select (even if manually selecting either GPU adapter when using Vulkan) . More so, the non-Qt version of PCSX2 works fine with all renderers (as a side-note, the same error occurs with DuckStation).
For further information, my laptop has AMD integrated graphics, as well as a RX 6800M, of which both are running Mesa 22.2.0-git. Additionally, I've set a global environmental variable for the Plasma desktop (export KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1) for the dedicated GPU to be the first in order (so all apps refer to the dGPU by default and I don't have to use DRI_PRIME as some apps don't allow you to select the adapter. The laptop is tethered to power and an external monitor at all times). Lastly, in KDE Plasma, the laptop monitor is disabled and the external is the sole monitor being used. KDE is Plasma v5.24.5 w/ Frameworks 5.94.0.
If there's any further information I can provide, please let me know. :) Cheers!
Here's the log from the terminal:
Reproduction Steps
Expected Behavior
It should successfully create the host display device context and run any game/BIOS.
PCSX2 Revision
v1.7.2900
Operating System
Linux (64bit) - Specify Distro Below
If Linux - Specify Distro
Fedora 36 KDE