this post was submitted on 28 Jun 2023
31 points (100.0% liked)

Linux

47548 readers
501 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
 

What's the current landscape like for gaming with KDE Wayland? I've heard that recently VSync can be disabled and that Wine has better support for Wayland nowadays.

Whats your experience like with this setup?

top 17 comments
sorted by: hot top controversial new old
[–] ElectroLisa@lemmy.blahaj.zone 8 points 1 year ago (2 children)

If you're playing competitive FPS games then Wayland still isn't there, use X11 instead. Outside of it, I'd say it's worth a shot, it goes especially well with FreeSync monitors.

Your experience will vary from your GPU vendor too. I have an AMD card so Wayland is a smooth experience for me, if you're on Nvidia then you will most likely face issues.

I've noticed a bug where in GPU bound scenarios entire desktop is lagging. This issue happens for me on Wayland but not X11. I don't know what's causing it, could be my graphics card running out of its 4 GB of VRAM.

TL;DR give it a try, you can easily switch between X11 and Wayland.

[–] marmalade@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

I would say the exact opposite if you're playing competitive FPS. Xorg tears and is super jittery like a motherfucker. Wayland is the only thing that properly drives my 240hz monitor.

[–] priapus@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

Wayland with VRR should give you very comparable latency to X11, but if you have a monitor without support for it then X11 is definitely better.

[–] eleanor@social.hamington.net 5 points 1 year ago

It works pretty well. There's some issues with mouse focus capture on multiple monitors in Wayland (both KDE and GNOME), but using gamescope fixes them. I've been PC gaming exclusively on KDE/Gnome Wayland for the past couple of years and haven't had any issues besides the weird mouse focus stuff.

[–] 2xsaiko@discuss.tchncs.de 3 points 1 year ago

I've been using it for a long time now, gaming hasn't really been an issue at all. It's mostly graphical artifacts with some applications/the compositor at this point when using non-integer scaling and potentially also related to my multi-monitor configuration, such as lines that shouldn't be on screen, pixel scaling artifacts, and plasmashell rendering the desktop for the wrong monitor scale after the screen locks and turns off, but there's been nothing that completely breaks it anymore for a while now.

[–] SteelCorrelation@lemmy.one 3 points 1 year ago (1 children)

I really struggled with it. I couldn't game in 4K because of Wayland's scaling. It was either actually use my gaming monitor for its intended purpose or have the rest of my GUI be too small to use. (The lack of FreeSync Pro support was also a major downer, so to get the most out of my monitor, I have to use Windows.)

This was about a month ago, so I am not fully up-to-date.

[–] 2xsaiko@discuss.tchncs.de 4 points 1 year ago

In System Settings under Display Configuration, set "Legacy Applications (X11): Apply scaling themselves". That should allow you to actually use 4k resolution in games.

[–] Laser@feddit.de 2 points 1 year ago

I’ve heard that recently VSync can be disabled

You can set an option for the compositor ("Reduce latency by allowing screen tearing artifacts in fullscreen windows"), however as far as I know, standard wine including staging has no real Wayland support right now. Everything up to this point is just laying the groundwork and there's no switch or anything to enable the functionality AFAIK. The merge request that enables tearing for xwayland was just merged last week.

[–] Presi300@lemmy.world 2 points 1 year ago

Wayland gaming is great, especially on KDE, you can go into display settings/compositor and switch fro smoother animation to lower latency for a latency that's even lower than X11, without any of the X11 issues.

[–] eshep@social.trom.tf 2 points 1 year ago

@av_conk As far as I can tell from trying it myself, and from watching people struggle with it, wayland is in no way yet ready for the gaming scene. For some things it's somewhat usable but overall, I advise anyone with questions to stick with X for now.

[–] anyone_yun@lemmy.ml 0 points 1 year ago (1 children)

I play exclusively on kde wayland and I am really happy with it, I don’t have to mess with anything and everything works. The only thing that comes to mind is that Steam isn’t wayland native so you have to set an environment variable to set scaling on hidpi screens. Other than that everything works really fine!

[–] SecurityPro@lemmy.ml 1 points 1 year ago (1 children)

How do you set that environment variable for Steam?

[–] anyone_yun@lemmy.ml 0 points 1 year ago (1 children)

I set STEAM_FORCE_DESKTOPUI_SCALING=2.0 in /etc/environment

[–] SecurityPro@lemmy.ml 1 points 1 year ago (1 children)

Is that within a Steam configuration file?

[–] anyone_yun@lemmy.ml 1 points 1 year ago (1 children)

No, it's a file in your computer, located at /etc/environment, you need to edit it and add the env variable I posted earlier

[–] SecurityPro@lemmy.ml 2 points 1 year ago (1 children)

Great, thanks! I'll give it a try

[–] anyone_yun@lemmy.ml 1 points 1 year ago

You're welcome!

load more comments
view more: next ›