First of all: I don’t have anything against Wayland. I just wanna play Minecraft occasionally.
I am running Fedora with KDE on some HP workstation with an Nvidia 2060 FE. I am using the proprietary drivers. With the next release of Fedora (and KDE), Wayland will be the only supported Display Manager (as of my understanding). I tried switching to Wayland, but I get some weird black stuttering in Minecraft making it completely unplayable. The bad thing is that with my friends GPU, a GTX 1050, it worked just fine. On my Laptop with just the integrated Graphics too.
Have you got any tips for me? I neither want to switch the distro nor the desktop enviroment, as I’m happy with how it is. I could imagine buying a used amd gpu, but I dont really want to spend a lot of money.
For now, I am just waiting and hoping they’re having it fixed in the release. ** Edit:** thanks for all the help. @Pantherina@feddit.des solution, forcing it to use xwayland made it better, but then i discovered that if I’m in fullscreen, it works perfectly fine, also without xwayland. It seems like a really dumb solution, and i’m not quite happy with it, but hey, if it works, don’t touch it.
tl;dr: In fullscreen it works just fine
Try forcing Minecraft to use XWayland. Thats easy to do when using the Flatpak (you can open it, close it again and then copy the ~/.minecraft
stuff to ~/.var/app/com.mojang.Minecraft/.minecraft
or how its called to save time.
Then in the KDE Flatpak settings you can disable Wayland (under “more settings”) and it will run as XWayland, that may fix something.
And if you want to keep using Xorg on Fedora KDE and even Kinoite that should be possible by editing either /etc/sddm.conf
or some configfile in /etc/sddm.conf.d/
. This does not require the “install a RPM” hack that adding SDDM themes does.
Btw if you want a LAN world you need to allow some random 25565 or something Port as UDP and another random port tcp and udp afaik. You enter that one port then and discovery doesnt work but other people can directly connect to you
I’m having the exact same situation with a 2060 super particularly badly when CPU spikes but not exclusively
Full screen hasn’t worked for me, but that’s probably because I’m using hyprland. Forcing it to run in xwayland solved the issue for you?
Might help to disable glamor
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1317
is there a way you could make it use the integrated GPU on your workstation?
there’s a lot of stuff you can do, and you can end up with something usable, though not great, at least not in my experience. NVidia’s drivers are to blame, they don’t really work well with opengl and have lots of issues (and also regressions).
The 550 beta driver is ok-ish, steam flickers but I can play games. Drivers before 535 also somewhat worked, though it really depends on your GPU.
But I don’t think you will have it working acceptably without some work.
Here’s some pointers on stuff to try:
- check protondb for how other people got games to work, you can filter by your GPU.
- try running through gamescope or gamemoderun
- try the modeset=1 (and maybe fbdev) kernel parameters for nvidia drm
- and there’s tons of env vars and other things that can help, I couldn’t summarize them all here, but as a pointer:
XWAYLAND_NO_GLAMOR=1
,WLR_RENDERER=vulkan
,LIBVA_DRIVER_NAME=nvidia
,GBM_BACKEND=nvidia-drm
(for the drm above),__GLX_VENDOR_LIBRARY_NAME=nvidia
- try the beta drivers, if those are available somehow (I’m on arch so they were easy to install), or just different driver versions in general.
The above is meant more as hints than something to copy paste, so use at your own risk. You can of course always just install a second DE with X11 and log into that for gaming and use your regular DE for everything else
None of these will help it, sadly. The flickering is an XWayland issue that’s still not fixed. Switching to native Wayland when possible would eliminate the flickering completely, however with games it’s not as easy.
In the case of minecraft specifically, you’ll require the newest version of lwjgl, which just got experimental Wayland support. Same for Windows games under Wine. 9.x had a native Wayland mode hidden in the settings