SDL Developers Weigh Reverting Wayland Over X11 For SDL 3.0 (www.phoronix.com)
from ylai@lemmy.ml to linux@lemmy.ml on 26 Mar 2024 17:49
https://lemmy.ml/post/13675181

#linux

threaded - newest

dinckelman@lemmy.world on 26 Mar 2024 18:09 next collapse

The comment section there is unbearable to read. I totally get that Wayland is a growing protocol, and sometimes things aren’t implemented yet, but pretending like Xorg hasn’t had a whole mountain of issues of the past 40 years is hilarious

magic_lobster_party@kbin.run on 26 Mar 2024 19:40 next collapse

X11 was originally built when computer monitors were commonly monochrome. It’s quite amazing it has lasted this long.

rotopenguin@infosec.pub on 26 Mar 2024 22:50 collapse

If you’re not using “vampire taps” to connect your X-Server to your computer, you’re doing it wrong.

ProdigalFrog@slrpnk.net on 27 Mar 2024 03:02 next collapse

Phrononix’s forum is known for having some of the most toxic individuals in the open-source ecosystem, with flame wars, pointless complaining and arguing happening usually starting within the first 10 comments.

I have no idea why or how it got so bad there specifically, but it’s bad. Though oddly enough, in-between all the negativity, will be developers of major systems, like AMD driver engineers, calmly talking with other big movers in the industry.

I guess it’s one of the few sites that is dedicated to reporting on such things, but boy howdy is it an odd mix of spiteful users and developer networking.

dinckelman@lemmy.world on 27 Mar 2024 03:49 next collapse

Fascinating, isn’t it? I genuinely just don’t understand the elitism, or whatever else you’d call it. These things don’t really mean anything, in the grand scheme of things. Like one compositor over another? Great, moving on now

morrowind@lemmy.ml on 27 Mar 2024 07:46 next collapse

It’s kind of hilarious though, when I’m bored I sometimes just browse the comment of some controversial topic on phoronix, to watch users get into the most vicious, time consuming arguments over pointless things. The fact that it’s interspersed with random engineers from AMD or whatever makes it even better

wiki_me@lemmy.ml on 27 Mar 2024 14:15 next collapse

Phrononix’s forum is known for having some of the most toxic individuals in the open-source ecosystem

I think the quality of a discussion platform correlates with the quality of it’s users, and the forums are not as good as reddit and lemmy.

LupertEverett@lemmy.world on 27 Mar 2024 23:54 collapse

The reason it is so shit is that because there is NO moderation whatsoever (nor there is any care for having it, as there wouldn’t be cases like someone that had done ban evasion twice still being active on the forums otherwise). And I think I can safely say that it is just like the same as other social media:

More heated and stupid arguments = more page clicks and views = more ad revenue (Michael definitely inserts some ads into the forums, like come on now)

I have absolutely no regrets using adblockers on there (or internet-wide), and Michael has the GALL to call his subscription service “Premium”… unbeknownst to him that a golden coated excrement is in the end… still a piece of excrement. :V

Drito@sh.itjust.works on 27 Mar 2024 18:46 collapse

Don’t be so sensitive, there is very few troll in this topic and lot of interesting remarks in both pros and cons.

0x0@social.rocketsfall.net on 26 Mar 2024 18:34 next collapse

To have this laundry list of negatives get a reply basically saying “yeah, it’s bad, but we need to impress the stakeholders by forcing a Wayland default even if it doesn’t work correctly” is baffling.

I use SDL so this hits a bit closer to home. Hopefully they can arrive at a conclusion that isn’t harmful to us devs. It’s already kind of a tossup whether it’s even worth it to provide a native Linux build when Proton works so well anyway. I can’t imagine this will help.

this_is_router@feddit.de on 26 Mar 2024 18:46 next collapse

one of the main reasons the linux kernel is where it is today: “never break userspace”

unfortunately not every project keeps to this principle.

mactan@lemmy.ml on 26 Mar 2024 18:54 next collapse

can claw my xkcd 1172 from my cold dead hands /sarcasm

deathmetal27@lemmy.world on 26 Mar 2024 22:35 next collapse

“never break userspace”

As Linus once, very articulately, reminded that one guy.

drwankingstein@lemmy.dbzer0.com on 27 Mar 2024 02:44 collapse

That one guy, In fact, being many one guys.

mogoh@lemmy.ml on 27 Mar 2024 05:49 collapse

There are good reasons to break userspace sometimes. If we would never do so, we would stuck on X11 forever.

this_is_router@feddit.de on 27 Mar 2024 22:08 next collapse

Linus would like to have a word with you

flying_sheep@lemmy.ml on 27 Mar 2024 22:14 collapse

No, because the kernel has a different goal than most other software. Linux agrees that breaking the userspace from userspace is sometimes necessary.

merthyr1831@lemmy.world on 28 Mar 2024 14:09 collapse

Wayland is definitely on the side of not breaking userspace, though. The API design, xWayland compatibility layer, and recent focus on protocols to fix missing functionality from xorg are all designed to make Wayland a seamless transition.

Otherwise we’d have been using Wayland as the only option for years now.

LeFantome@programming.dev on 26 Mar 2024 19:37 next collapse

Wayland is the future. It has already surpassed X11 in many ways. My favourite comment on Phoronix was “When is X11 getting HDR? I mean, it was released 40 years ago now.”

That said, the fact that this pull request came from Valve should carry some weight. Perhaps Wayland really is not ready for SDL.

I do not see why we need to break things unnecessarily as we transition. This is on the app side. Sticking with X11 for SDL ( for now ) does not harm the Wayland transition in any way. These applications will still work fine via Xwayland.

Sure, a major release like 3.0 seems like a good place to make the switch. In the end though, it is either ready or it is not. If the best path for SDL is to keep the default at X11 then so be it ( for now ).

merthyr1831@lemmy.world on 28 Mar 2024 13:58 collapse

Yup, I dont think this is valve shitting on Wayland because they also believe in Wayland being the future, but until their protocol suggestions are merged upstream it does hurt the Linux gaming ecosystem (and therefore valve) if games outside of Gamescope have technical issues.

That being said, I’m not sure what games I play use SDL, let alone Wayland SDL, so can’t be sure what issues im affected by

Kualk@lemm.ee on 26 Mar 2024 19:54 next collapse

Gnome has been running user space applications just fine for me on Wayland, Arch Linux.

There were some issues about 2 years ago. I have no complaints for last 12 months.

Wayland is today’s life for some.

  • Steam gaming , proton and native
  • visual studio code
  • qemu running windows
  • app interrupting work to relax eyes
  • old mysql dashboard ui

Basically, I have not seen app specific issues for my user flow.

Berny23@lemmy.sdf.org on 27 Mar 2024 20:58 collapse

That’s true only for AMD or Intel users.

possiblylinux127@lemmy.zip on 26 Mar 2024 22:55 next collapse

That’s fine, we don’t need to rush things

WalnutLum@lemmy.ml on 27 Mar 2024 00:51 next collapse

This feels like the same kind of issue mesa just had around the zlib update breaking downstream user programs (viewperf). If there are significant downstream issues for users you shouldn’t upgrade, even if that is the end goal.

Projects that are big and important get old and bloated because they need to try and span legacy issues alongside their attempts at newer paradigms. It’s just kind of the natural lifecycle of these projects.

Supermariofan67@programming.dev on 27 Mar 2024 03:33 next collapse

I already force Wayland global for SDL games because the xwayland one has a horrible stutter while the native Wayland works flawlessly. Making it the default sounds reasonable to me. If specific programs don’t work with it, they can override it

0x0@social.rocketsfall.net on 27 Mar 2024 18:33 collapse

Interesting. I’ve been developing a game with SDL2 and think I know the stutter you’re referencing. I passed it off as an oversight in my rendering code, but maybe it’s as you say. Forcing Wayland does appear to work on my test machine, but integer scaling is broken. Might require some more tinkering or proper support in SDL3, but that’s the only thing that didn’t work OOTB, so not bad.

FuckBigTech347@lemmygrad.ml on 28 Mar 2024 21:01 collapse

I have the same experience. I wrote a simple program with SDL2 to test a software renderer. All it does is create a window then go into an event loop and after each iteration it streams a framebuffer to a texture that gets displayed in the window. In the default mode (X11) my frame timings fluctuate a lot and for a while I tried to massage the code to get it stable because I was convinced that it was just my draw code. Then I eventually forced SDL2 to use Wayland and not only did the draw time per frame go down by 2ms but the fluctuations went away completely.

Drito@sh.itjust.works on 27 Mar 2024 18:09 collapse

Wayland is a painful future, it is just a fact.