Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland is forced and only software rendering is working #868

Closed
Haxorzz opened this issue Jul 29, 2023 · 9 comments
Closed

Wayland is forced and only software rendering is working #868

Haxorzz opened this issue Jul 29, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@Haxorzz
Copy link

Haxorzz commented Jul 29, 2023

Describe the bug
I had previously used flatseal to force the launcher to only use X11 (xwayland) as it was having issues, but a recent update seems to have broken it and will no longer run without wayland permissions. But when I entered the game I was getting abysmal performance which was later confirmed by the troubleshooter saying that it was running with software rendering.

To Reproduce
Steps to reproduce the behavior:

  1. Use kwin wayland
  2. Launch the flatpak
  3. Check the troubleshooter
  4. Software rendering

Expected behavior
GPU rendering should be working, or even x11 on its own

Desktop (please complete the following information):

  • OS: Manjaro Linux, wayland kwin, KDE
  • Version 0.10.0 (build 64)
  • Installation Type: flatpak

Additional context
Running latest nvidia on 6.1 kernel manjaro KDE wayland session.

@Haxorzz Haxorzz added the bug Something isn't working label Jul 29, 2023
@ChristopherHX
Copy link
Member

You mean this change flathub/io.mrarm.mcpelauncher#112? (The version number has not been incremented, because all merges to master are releases and flatpak don't seem to provide any information like rebuild number)

A flatpak runtime upgrade from 6.3 to 6.5 can break GPU's and fix others.

If you have affected hardware avoid using flatpak's, because your issue may appear and disappear without warning.

There are alternatives

  • AppImage using system mesa
  • AUR
  • deb/rpm repo (your OS doesn't support this)

@Haxorzz
Copy link
Author

Haxorzz commented Jul 29, 2023

Weirdly enough the appimage just doesn't launch. running in konsole just brings up nothing.

@GameParrot
Copy link
Contributor

Nvidia gpu, right? Nvidia gpus have always had problems on xwayland. Try switching to x11 or compiling with glfw + wayland.

@Haxorzz
Copy link
Author

Haxorzz commented Jul 31, 2023

Well it doesn't have any issues with any other xwayland apps? And it only started happening after an update to the app that forced the flatpak out of only x11 permissions?

@Haxorzz
Copy link
Author

Haxorzz commented Aug 14, 2023

Appimage is also showing the exact same issue.

@Haxorzz
Copy link
Author

Haxorzz commented Aug 15, 2023

Flatpak now works on x11 and xwayland but CPU rendering is still the only option

@Haxorzz
Copy link
Author

Haxorzz commented Aug 16, 2023

Newest freedesktop platform update seems to have solved it. If anyone can comment on ways to prevent this from happening please message me.

@Haxorzz Haxorzz closed this as completed Aug 16, 2023
@neondeex
Copy link

Newest freedesktop platform update seems to have solved it. If anyone can comment on ways to prevent this from happening please message me.

Did you find a better way to fix it or just use the flatpack version?

@Haxorzz
Copy link
Author

Haxorzz commented Sep 18, 2023

Did you find a better way to fix it or just use the flatpack version?

The issue was with the flatpack, it just fixed itself. I don't know exactly what causes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants