Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Add native Wayland support for citra-qt on Linux #36

Open
1 task done
inkstray opened this issue Mar 17, 2024 · 4 comments
Open
1 task done

Add native Wayland support for citra-qt on Linux #36

inkstray opened this issue Mar 17, 2024 · 4 comments

Comments

@inkstray
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What feature are you suggesting?

Currently as it stands citra-qt does not support Wayland natively as it gives an error:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Why would this feature be useful?

It allows for better preformance when ran through Wayland directly instead of Xwayland

@inkstray inkstray changed the title Add native wayland support Add native Wayland support Mar 17, 2024
@inkstray inkstray changed the title Add native Wayland support Add native Wayland support for Linux Mar 17, 2024
@inkstray inkstray changed the title Add native Wayland support for Linux Add native Wayland support for citra-qt on Linux Mar 17, 2024
@Miguel-hrvs
Copy link
Contributor

Miguel-hrvs commented Mar 18, 2024

Here's the draft pull request: #73

@C-512L
Copy link

C-512L commented Mar 18, 2024

Could you try this build? https://gitlab.com/Miguel-hrvs/citra-ufork/-/raw/builds/wayland/citra-qt?ref_type=heads&inline=false I implemented melonds wayland method. Edit: I just configured sway and I think that is working great, remember to install the qt6-wayland package.

Those patches are not needed for wayland to work as far as i know. I have made a fork of the flathub package and tested it, and enabling wayland was just a matter of enabling access to the wayland socket.

The problem is that linuxdeploy-qt doesn't bundle the Qt Wayland plugins by default, and needs to be added manually to the build process. On flatpak, qt6 is provided by the runtime and didn't suffer from that issue.

@Miguel-hrvs
Copy link
Contributor

Here's something like you suggested: #212

@C-512L
Copy link

C-512L commented Jul 21, 2024

Here's something like you suggested: #212

Do you plan on opening a similar PR on Lime3DS?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants