this post was submitted on 27 Nov 2023
90 points (98.9% liked)

Linux Gaming

15518 readers
175 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
top 39 comments
sorted by: hot top controversial new old
[–] [email protected] 32 points 1 year ago (1 children)

While I understand that Wayland is broken for the purpose of PCSX2, I am unfortunately biased against the developers here due to the horrible experiences I had with them.

If anyone will take up the task of fixing this, be warned that they absolutely do not cooperate with you on the PRs that they receive.

[–] [email protected] 17 points 1 year ago (2 children)

PCSX and PCSX2 are ancient. I wish DuckStation supported PS2 too because it's an excellent modern emulator.

[–] [email protected] 15 points 1 year ago (1 children)

Well, stenzek is the developer of DuckStation and the person behind the new Qt UI and many new fixes on the backend of PCSX2.

But, I will agree that we do need a new emulator. The emulator called "Play!" is a really good candidate and looks promising. Seeing how it runs on ARM beautifully, I can't wait to see how far it goes.

PCSX2 runs fine for most people today, but the foundation is a bit too old for its own good. This is why you don't see too many ports of PCSX2 to other plaforms. They have improved massively by ditching the entire plugin system a few years ago, but that alone isn't enough to make it more portable and easy to run.

[–] merthyr1831 2 points 1 year ago

PCSX2 is great, but i still feel like the performance for gran turismo 4 is still pretty bad for years (and has multiple game breaking bugs that haven't been addressed!) in certain tracks and if anyone could fix that I'd be VERY happy.

[–] [email protected] -1 points 1 year ago (2 children)

@brunofin @xan1242 Idk, I use them all the time. And furthermore, emulation needs to be precise and fast, not written in some modern technology, if the need doesn't outway the efforts put into it. Or, maybe I'm mistaken, I may have misunderstood what you mean. So, perhaps you can clarify?

[–] [email protected] 3 points 1 year ago

In my case it was due to need. I didn't get any PS1 emulators to run well on my laptop at the time (a Windows 10 Microsoft Surface Book 2) and if I recall was due to old OpenGL libraries used in all emulators, but DuckStation implements DX11 and Vulkan, and performance was simply brilliant, so by modern that's what I meant.

[–] [email protected] 2 points 1 year ago

It needs to be accurate and fast, indeed. The code being old isn't a problem unto itself, but rather the side effects of it.

It is fine for all intents and purposes today. But, there is some inherent difficulty associated with decisions brought years ago when some of the code was originally written, making portability quite a challenge.

I wasn't making a comment on its age, mind you. I don't necessarily think it's that big of a problem and probably can be fixed easily. If anything, it has gotten way better thanks to the departure from the plugin system and various other optimizations over the years.

[–] Quackdoc 21 points 1 year ago (2 children)

This is understandable, and honestly xwayland is great, even with fractional scaling now, at the very least on KDE. I think simply relying on xwayland is a very viable solution now for a lot of apps. and it helps work around a lot of issues so that's always a major plus

[–] AProfessional 3 points 1 year ago* (last edited 1 year ago) (1 children)

XWayland doesn’t have a concept of fractional scaling. KDE just does some hacky things.

[–] Quackdoc 3 points 1 year ago (1 children)

It's not really hacky as far as I know, it's just the old status quo. On X applications could scale themselves if they have high DPI support, and that's what KDE is allowing. And it works great. The vast majority of apps I use support high DPI on X, and they work perfectly fine on xwayland.

It is legitimately a great experience using xwayland like this. A lot of apps I use, they look perfectly fine, they perform perfectly fine, and they're not broken, which is a massive plus.

Of course, this probably does break one or two apps out there. I'm not saying it's a perfect solution. It's far from it. But honestly, I think it's a really good solution. It allows developers the ease and flexibility of developing for X11 if you don't need Wayland's features.

Of course, you are still losing out. Having proper touch support is such an amazing feature with Wheland. Don't get me wrong. I love a lot about Wheland. It's just a pain in the ass to develop for. It is nowhere near as flexible as X11.

[–] AProfessional 1 points 1 year ago* (last edited 1 year ago) (1 children)

Setting the DPI is only a partial solution and plenty of assets and rendering will be incorrect. It is more crisp, especially for text, than the approach others take of upscaling though. It’s probably the approach I’d prefer personally.

[–] Quackdoc 1 points 1 year ago

Yep, I would say it's the best we got. I have a 4K monitor at a 20% scale and it works great.

[–] [email protected] 1 points 1 year ago (3 children)

Last time I checked, games that use x11 stutters like hell under xwayland. Has this been fixed?

[–] [email protected] 4 points 1 year ago (1 children)

Everything I've tried works better under Wayland than it did under X :3 Battlefield V, for example (why I play that... who knows :-\ ) has always taken a bunch of struggling with Wine/Proton versions and settings to get it to run at all, and even then it was a crashy glitchy mess. I decided to try it under Wayland just for the hell of it and somehow it's absolutely flawless now (okay fine, there's some kinda mouse focus bug I've been working around but still). Sooo now I just use Sway all' the time. It's great. I made a whole thread just to gush about it. Wayland and xwayland both seem to be doing great! Woo! Cheerness! \ö/ 🥳 et cetera!

[–] foobaz 2 points 1 year ago (1 children)

Do you use sway scaling? I'm having trouble getting steam games to render in the correct/full resolution when using scaling 😔

[–] [email protected] 2 points 1 year ago

I do not, sorry :-\ I wish you non-sarcastic good luck getting that sorted, though :3

[–] Quackdoc 3 points 1 year ago

I haven't had any stuttering issues myself, so I cant comment on that outside of "works for me"

[–] [email protected] 2 points 1 year ago (1 children)

Think so, I actually had a different perspective Games that I run under native x11 stutter to the point where I don't enjoy playing it anymore (rocket league in my example) but under xwayland the game runs without any issues/stutters

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

I am using KDE not sure about gnome sadly

[–] Bulletdust 1 points 1 year ago

Running KDE here under X11 and games play as smooth as room temperature butter.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

what i could understand from there is , Qt has bugs that pissed the dev, bugs that occur in wayland, gnome pissed the devs don't doing sane things and following what everyone is doing, nvidia pissed the dev, tobe fair is nvidia always doing shit, and also wayland bugs, well, it happen, software etc what i don't understand why he want the global coordinate on the app?, where it could help?

edit: the emulator want to save the local of the window and re-open it again, i give them the credit, there is merge requests being worked tho.

i don't think they are being unreasonable, they are getting complains that aren't their fault(aka gnome) i could be pissed of too, and disabling for now until nvidia, qt, etc fix the bugs isn't a bad thing too, also the code isn't removed, you can enable wayland with the flag on flatpak

[–] [email protected] 1 points 1 year ago* (last edited 6 months ago)

93A1A71EABD6B6CD658458CC1F4

[–] [email protected] 1 points 1 year ago

I figured that GNOME's insistence on CSD few years back will bite them in the rear.

https://github.com/PCSX2/pcsx2/pull/10179#issuecomment-1779298467

And I don't wanna be that guy that's wants something to fail just because it's not to my taste, but I'm glad to hear that the dev thinks KDE's Wayland is in much better shape than GNOME's, especially since GNOME's pushing it really hard.

For me, personally, I won't switch away until Plasma 6 comes out, if it's in much better shape than Plasma 5's Wayland, and games running through Proton work well enough in Wayland competitively.

[–] merthyr1831 0 points 1 year ago

better time than ever to start a decent fork that finally fixes GT4 performance 🥺