this post was submitted on 23 Feb 2024
46 points (89.7% liked)

Linux

48680 readers
414 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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. @[email protected]s 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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 10 months ago (2 children)

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

[–] [email protected] 1 points 10 months ago (1 children)

The usual xwayland flicker alternates last two frames (unlike op's black flicker) and never occurred to me while playing a game, so op's problem is probably something else

[–] [email protected] 1 points 10 months ago

I'm experiencing the exact same issue as the op, hence the comment. This is what helped me

[–] [email protected] 1 points 10 months ago (1 children)

Can you tell me how you did it? I just found an old guide for lwjgl 2.x.

[–] [email protected] 1 points 10 months ago

Realistically you should just need lwjgl-glfw version 3.3.3 or newer, and that should be it