this post was submitted on 23 Feb 2024
46 points (89.7% liked)
Linux
48082 readers
904 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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:
XWAYLAND_NO_GLAMOR=1
,WLR_RENDERER=vulkan
,LIBVA_DRIVER_NAME=nvidia
,GBM_BACKEND=nvidia-drm
(for the drm above),__GLX_VENDOR_LIBRARY_NAME=nvidia
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
Can you tell me how you did it? I just found an old guide for lwjgl 2.x.
Realistically you should just need lwjgl-glfw version 3.3.3 or newer, and that should be it