this post was submitted on 23 Jun 2023
95 points (97.0% liked)

Linux

48397 readers
746 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
 

cross-posted from: https://lemmy.ml/post/1458833

Many Linux users have cited Wayland's forced vsync as a blocker for gaming related scenarios. This patch adds tearing support into Xwayland!

you are viewing a single comment's thread
view the rest of the comments
[–] nyanix@dataterm.digital 4 points 1 year ago (2 children)

I'm not sure if it has a different name, and I apologize if I'm saying things you already know. Viewport is basically just what's visible on your screen.

Wayland, for optimization and security, suspends apps not visible on your screen. Normally, this is a really great feature, but it becomes problematic for me.

For instance, I'm playing an mmo, I keep a browser open on another virtual desktop so I can find things I need and the game doesn't alt-tab very well. While I'm on the second virtual desktop, it suspends my game, the mmo assumes I've disconnected, and logs me out. This is becoming more of an issue with most games now being live service, so I can't just queue for a game in Overwatch, then go browse on the other vdesktop.

Let's say you don't use virtual desktops. I play music from my computer while I'm cleaning the house. Screen locks, music stops. I know, I can use caffeine to keep it from sleeping, but I shouldn't have to, and what if I want to leave the room and not have to worry about what kind of damage a family member can do without having to know my login?

It's technically a good feature, and I would absolutely keep it on if it were on my work computer, but it just doesn't fit for my personal rig. It's not an optional function since it's considered a big win for security, but I'd love the option to toggle it off so I can keep using my computer the way that I want to. It may sound silly, but it drove me back to xorg, despite me otherwise loving Wayland.

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

Oh man, I can see how that gets annoying. I didn't even know that was a thing in Wayland. Thanks for the explanation :)

[–] nyanix@dataterm.digital 1 points 1 year ago

Of course! Thanks for coming to my TED talk :P
I really hope they can add that option, but I get the feeling it's looooow on their priority list since it's perceived as a feature. But here's hoping :)

[–] SteveTech@programming.dev 2 points 1 year ago (1 children)

I think it should be able to be toggled on a per app basis, along with a global keyboard like X has (so I could (un)mute discord or whatever without alt tabbing over). Maybe similar to how Android does things where it asks the user for permission to do something, you could make the app request for permission and maybe some helper app that forces permissions for other apps.

[–] nyanix@dataterm.digital 2 points 1 year ago

I can get behind that, that'd work great for me. / I saw some app that allows certain apps force preventing suspensions, but that feels like a hacky solution, and I'd still rather be able to lock the screen, so a sort of trust or exemption to the viewport rule would be great