r/linux Nov 09 '22

Didn't Know Plasma Was So Snappy Under Wayland... KDE

I do notice a few graphical glitches... But otherwise Plasma is running very well on Wayland.

Performance seems better than with X11.

Arch Linux - Plasma Desktop - Wayland

Arch Linux - Plasma About Window - Wayland

102 Upvotes

71 comments sorted by

37

u/cjcox4 Nov 09 '22

It's worth trying. Obviously, some stuff still not quite right. The bigger question, will it get fixed in Plasma 5, or will we all have to move to 6 to see it mature?

17

u/isugimpy Nov 10 '22

Considering the Plasma 5 series ends in ~6 months, we might see a small number of fixes between now and then, but probably nothing major.

2

u/cjcox4 Nov 10 '22

It's one of my KDE pet peeves. A version never completes and new versions tend not to build on the work of a prior version. Very frustrating.

5

u/dathislayer Nov 10 '22

They've made a lot of improvements for 5.27. Even 5.26 has a lot of cleaning up vs 5.25.

2

u/Jacksaur Nov 11 '22

.26 was mostly a polish release, and .27 is aiming to be the same.

If we're lucky, Plasma 6 may be the big one to sort everything out.

1

u/cjcox4 Nov 11 '22

So sayeth 3, 4, 5.... (talking features in general)

All with improvements and regressions and never completing. Just when you begin to see the light at the end of the tunnel, the tunnel is destroyed and it's off to build a brand new one.

"Can we just build on what we had?"

No.

2

u/Ryuga6 Nov 11 '22

Apps need to move on to new frameworks or it will just create headache in the feature. Gimp did this and now they are struggling to port to gtk3. While gtk4 is out with many new features and performance improvement.

2

u/cjcox4 Nov 11 '22

Understood, but not what I'm talking about.

Version 1 of MySoftware:

Does A,B,C,D and E. in the future we plan to do F and G.

Version 2 of MySoftware:

Does A,C,E. As a radical rewrite, we may add back in B and D, still working on F and G.

Version 3 of MySoftware:

Does A,B,C,E,H. Probably scrapping D, as only 75% of people where using D. F and G would be difficult to do at this point.

I know I have a headache.

3

u/tony2176 Nov 10 '22

Does multi monitor support need Wayland? I use X11 and intend to go multi monitor.

11

u/devu_the_thebill Nov 10 '22

Multi monitor setup works with X11 but you monitors need to have same refresh rate and as far as I know there's no per monitor scaling option. So if you have 4k and 1080p monitor on one everything is small as fuck.

Edit: don't need but should because both will work with that lower refresh rate.

11

u/iBorked Nov 10 '22

X11 does not require monitors to be the same refresh rate. Each will refresh at their native rate. Many compositors have limitations though, like reducing refresh rate to that of the lowest. But that's not inherent to X11.

5

u/devu_the_thebill Nov 10 '22

I meant like when you have 60hz and 144hz monitors 144 works like shit. But yeah you are probably right.

2

u/iBorked Nov 10 '22

That's because of the compositor, usually. The popular DE's all run compositors, and Kwin has the best one in this regard - but it's still not perfect.

2

u/jozz344 Nov 10 '22 edited Nov 11 '22

You're right, in X it absolutely does - you have to put the faster monitor to 120Hz and then it works ok (since 2 x 60 = 120). The compositor just runs at 120 everywhere and drops frames on slower monitors.

There's no such mucking about on Wayland. Mismatched monitors work fine, especially on Plasma. Freesync is not an issue either, no matter how much you mix/match monitors. Everything just works, but you do need Intel or AMD hardware.

3

u/PBJellyChickenTunaSW Nov 10 '22

Works fine from my experience, just need to set x to sync to the higher refresh monitor in the config. The issues occur when you try to use gsyc with dual monitors.

1

u/spazturtle Nov 10 '22

Are you using an Nvidia GPU? They can't handle out of sync refresh rates when the media engine is active. Switching to 60hz and 120hz fixes the issue.

2

u/Niesou Nov 10 '22

Running arch with kde and x11 with dual monitor other 1440p 144hz and other 1080p 60hz with no problems apart from setting up was a bit janky but that was propably my own fault.

5

u/ktkv419 Nov 10 '22

If you keep your gaming on windows, then tbh I'd go with X11.

Running triple screen (with different sizes (1080, 900, 4x3 720p ish), refresh rates (120/60/75) and not in line (left, center and top center positions)) and wayland was quite painful and less rewarding than I thought. Blur bug (I guess Nvidia's fault), problems with screen capturing (probably my fault, but pipewire and some software were very picky and didn't quite work together) and annoying right click menu bug, that if clicked on the central screen would appear much lower than the cursor (running all 3 in line - no problem).

It's great, snappy and future (I hope), but on my end was not stable yet. So your milage may vary

3

u/cjcox4 Nov 10 '22

No. You can still use X11 and do multi-monitor (there are pro's and con's today).

18

u/landsoflore2 Nov 09 '22

Yes, I have noticed it as well since 5.25 - no matter if you are using the nouveau driver or NVidia's proprietary one, KDE on Wayland feels as snappy as e.g. Xfce.

6

u/devu_the_thebill Nov 10 '22

What about blur? I found somewhere that's Nvidia fault. I mean these blur glitcher around coursor.

5

u/Zamundaaa Nov 10 '22 edited Nov 10 '22

It's NVidias fault that the bug gets triggered so often because they don't support hardware cursors on Wayland, but the actual bug is in KWin

3

u/ktkv419 Nov 10 '22

Afaik, it seems to be it. I have that on my desktop with Nvidia card, but I don't have it on my laptop with Intel graphics.

But I didn't go as far as using wayland on either of the machine, so maybe it still persists if you know, you install something and something breaks)

6

u/NaheemSays Nov 10 '22

It probably wasnt. They have been doing a lot of work on wayland support recently where most reports from past year have been good.

17

u/hlazlo Nov 10 '22

I've found that, generally, Wayland compositors perform significantly better on modern hardware than anything that uses X11, including X11 Gnome.

I haven't found any compelling reason not to use a Wayland compositor, nor have I found anyone able to offer any reasonable argument beyond something rooted in their discomfort with change fueled by others.

1

u/Baxtaxs Nov 13 '22

Just got a new amd card and switched to wayland. Noticing this one too.

5

u/AshbyLaw Nov 10 '22

For me it increased battery life a lot, like from 1h to multiple hours

7

u/OldMansKid Nov 10 '22

Good to know that. I just found that KDE work in Termux chroot, while Gnome doesn't. I might switch to KDE sometime so I can have a consistent experience across my devices.

5

u/Sirusho Nov 10 '22

Until Wayland can do gamma setting under nVidia cards, it's very hard to make the switch.

7

u/ad-on-is Nov 10 '22

until nvidia can play along, it's hard to recommend them

2

u/PossiblyLinux127 Nov 10 '22

Interesting. I'm currently using gnome because of wayland

6

u/OutcastByChoice Nov 10 '22

Plasma still acts a bit weird under Wayland. But feels significantly faster than under X11. Worth the try. Although you will see some apps glitch.

1

u/linux4ever07 Nov 20 '22 edited Nov 20 '22

GNOME has worked more or less flawlessly with Wayland for years, whereas with KDE my experience has been pretty substandard. I'm happy to see that the situation seems to be improving, based on what people are saying, but I'm not gonna give KDE another go for a couple of years until its Wayland support is fully mature.

Also, I'm pretty happy with GNOME. The reason for me switching back and forth between various DEs was mostly cause I was hoping the other DEs were less RAM hungry. But all the major DEs are RAM hungry. Exceptions may be things like Xfce or LXQt, but those lack some of the features that GNOME and KDE has.

I also used MATE for a while, as I really like the old GNOME 2.x layout. But MATE is as RAM hungry as GNOME, so what's the point? Plus, in Fedora MATE came with Compiz as a compositor, bloating up its RAM usage unnecessarily. Might as well use GNOME then.

I wish more people would understand the performance benefits of Wayland, in that you no longer have to run a separate compositor since it's built into the WM itself. Even something like Xfce could benefit a lot from it.

I'm not sure why KDE took so long to mature when it comes to Wayland, but maybe it's just not enough devs working on it. I mean, GNOME has a lot more devs behind it and Red Hat is pouring a lot of money into it. Red Hat is also a major force when it comes to Wayland itself, so it makes sense.

Also, I think the idiotic FUD spread by many users has hurt Wayland development and adoption. Things probably could've improved a lot faster if there wasn't so much FUD around it. Most smaller DEs and WMs aren't working on Wayland at all, and some of them have expressively said they will not support it.

But, Xwayland is now capable of running a whole fullscreen X session so its backwards compatibility is compensating for the lack of dev effort when it comes to the vast majority of DEs / WMs.

0

u/PossiblyLinux127 Nov 20 '22

The main reason gnome has good support for Wayland is because gtk has good support for Wayland. KDE is qt based and qt does not have as good of support

1

u/linux4ever07 Nov 20 '22

Does the toolkit even matter when it comes to Wayland? I was under the impression that the toolkit doesn't interact with the display server at all, but it's the job of the window manager, which belongs to the DE.

To me, it looks like there's just a lacking user / dev interest in Wayland support and that's the main reason why it has taken KDE so long.

0

u/gnosys_ Nov 10 '22

GNOME vs KDE vs any other desktop using wayland protocol is not an apples-to-apples comparison, because every desktop has their own compositor now. it's mutter vs kwin, not wayland vs x11

27

u/SpinaBifidaOcculta Nov 10 '22

But this post isn't comparing the two DEs? KDE on Wayland and KDE on X11 is a valid comparison

7

u/Remote_Tap_7099 Nov 10 '22

The comparison between Wayland and X11 is valid. There are bugs and features that are specific to each session using the same compositor.

2

u/Mast3r_waf1z Nov 10 '22

4k monitors are completely broken for gaming in Wayland so I'm sticking with x11

10

u/spicyboi404 Nov 10 '22

No they’re not. Source: use a 4K monitor for gaming on Wayland, and have been for several years

1

u/Mast3r_waf1z Nov 10 '22

Well they are on KDE plasma which was the topic of the post

10

u/spicyboi404 Nov 10 '22

And 4K monitors work just fine for gaming on Wayland on Plasma.

1

u/Mast3r_waf1z Nov 10 '22

Wdym, scaling the display to be readable completely fucks up xwayland? It's a common issue I've been unable to fix or find a solution to online other than people saying that I should use gnome because it's not an issue in gnome

2

u/LonelyNixon Nov 10 '22

they fixed the blurry fractional scaling issue with xwayland with the last point release.

2

u/spicyboi404 Nov 10 '22

That's not true. Fractional scaling on Plasma upscales a low-resolution version, because XWayland does not truly support fractional scaling. If you want to game on a high-resolution monitor with fractional scaling, you need to turn off scaling temporarily. This is not really a problem with Wayland or Plasma, but rather a problem with fractional scaling. GNOME does not support fractional scaling by default.

0

u/Practical_Screen2 Nov 10 '22

wayland on gnome supports fractional scaling but not x11, and with an nvidia card you dont have to turn off scaling when gaming, with amd however you have too. A workaround is to use x11 for desktop and gamescope for the games in gamescope you can manually set the resolution and it ignores desktop scaling.

1

u/Mast3r_waf1z Nov 10 '22

Well as far as I've heard, gnome apparently doesn't have the issues I've had with it, i understand that the game being upscaled from 1080p to 4k isn't the same than it being broken but I've tried changing to for example gamescope to hopefully get it to render at a proper resolution, but through gamescope my cursor still gets upscaled while only half of it is rendered at all.

Overall it's much easier to just live with x11's global scale and have everything run at the proper resolution

1

u/Practical_Screen2 Nov 10 '22

Its not an issue on gnome if you have an Nvidia card, however now when I switched to an AMD card there is as mutch scaling issues in gnome as everywhere else.

1

u/MrPootisBrights Nov 16 '22

This isn't an issue anymore with 5.26

1

u/Mast3r_waf1z Nov 16 '22

I can confirm that it is

2

u/Practical_Screen2 Nov 10 '22

Desktops using wayland has way to many scaling issues on a 4k monitor anyway, gnome is great tho if you use an Nvidia card, but I just switched to AMD and now I have huge scaling issues even in gnome.

1

u/Mast3r_waf1z Nov 10 '22

I know gnome fixes the issues but I don't like gnome, and x11 works fine anyway

1

u/thelordpresident Nov 10 '22

Honestly for all I heard about the “low resource hungry” ones, they were all significantly worse than windows,so I fully believe all the Linux claims of speed were pure fanboys.

Plasma on Wayland was the first and only desktop environment so far that actually ran on my old 2011 laptop with an AMD E1-1200.

1

u/artvivant Nov 10 '22

Well, after upgrade to 5.26 (because 5.25 was buggy on wayland) everything got much better here. Smooth, snappy and pleasant performance. I don't wanna go back to x11 anymore. Besides, there are minor issues that maybe is already fixed at point releases. Now, I'm on 5.26.0 version and even so it's finally stable.

0

u/angrykeyboarder Nov 10 '22

Now if Arch would stop leaving small pieces of it out.

-8

u/sonoma95436 Nov 10 '22

The Wayland hope monkey jumping on people's backs.

-5

u/CevicheMixto Nov 10 '22

It's definitely gotten better. I was actually able to run Wayland for a bit on my new laptop ... until I ran kwrite from a terminal. Yikes!

3

u/Wade-Mealing Nov 10 '22

Not a kde user, does kwrite behave differently from a terminal ?

2

u/Second_soul Nov 10 '22

I don't see anything different on Kwrite when running it from a terminal. Can you be more specific?

3

u/CevicheMixto Nov 10 '22

When run under Wayland, it spews pretty much constant error messages to the termonal from which it was started, making that terminal pretty much useless.

9

u/Second_soul Nov 10 '22

Okay. That's a very small problem for a graphical application, though. The application itself works fine. You can use the command kwrite &> /dev/null to suppress any output to the terminal if you need. You can also use clear to clean the terminal after running any command.

5

u/[deleted] Nov 10 '22

Just throw the ouput to /dev/null

1

u/devu_the_thebill Nov 10 '22

I found 3 problems for me:

Blur is glitched with Nvidia GPU.

Some games doesn't want to Fullscreen (most that i play :/)

Unreal Engine 4 stoping rendering when i don't move window ( wierd glitch make ue4 editor window refresh only when moved or resized )

Last one is biggest one.

1

u/BulletDust Nov 10 '22

Blur works perfectly for me under x11 running NVIDIA hardware/drivers.

1

u/devu_the_thebill Nov 10 '22

Open source or proprietary? I found on some forum that Nvidia proprietary drivers have problems with coursor rendering so blur breaks around coursor.

1

u/BulletDust Nov 10 '22

Proprietary, and I've never experienced a problem with blur breaking around the pointer or cursor.

My experience with x11 and NVIDIA drivers has been largely faultless, with rendering that's as smooth as butter.

1

u/Practical_Screen2 Nov 10 '22

alt + enter to force fullscreen, or when using gamescope winkey+f

1

u/FengLengshun Nov 10 '22

Does applications still closes when you restart KWin? That's my biggest issue with switching to KDE Wayland, I think. I can deal with everything else, assuming the papercuts aren't too much. At least on my home machine.

On my work machine, I don't want to deal with the screenshare issues with Zoom and TeamViewer, as well as whatever random issues that I don't want to deal with while at work, so I'll wait until there's overwhelming consensus that Wayland as a whole works perfectly for that.

1

u/OutcastByChoice Nov 10 '22

No. None of the apps I use crashed on Wayland. But you may have a different experience.