← Home ← Back to /g/

Thread 106245512

80 posts 30 images /g/
Anonymous No.106245512 >>106245912 >>106246320 >>106246424 >>106246447 >>106247032 >>106247082 >>106247619 >>106248324 >>106251299 >>106251553 >>106252156 >>106252816
Why can Wayland compositors still not match the cursor responsiveness and smoothness of Xorg? Even something as simple as navigating the GNOME shell on the newest version of OpenSUSE Leap causes it to skip. There was also that recently published article that showed a slight latency edge on Xorg with a slow-motion camera.
Anonymous No.106245615 >>106247454 >>106249093 >>106251445
Well, you could read the readily available bug trackers and technical discussions, but since you're asking on /g/, I assume you want an explanation that blames transsexuals and Indians.
Anonymous No.106245912 >>106246291
>>106245512 (OP)
That comes from fundamenal design difference. This will never be fixed, because Wayland forces composition which is optional on X. X support software cursor and Wayland forces everything to be dependent on GPU. RIP low end old usable PCs btw. I think that Wayland is also pushed for planned obsolescence reasons so people dump their old usable computers and give money to companies that can't innovate anymore and need "constant growth".
Anonymous No.106245983 >>106246302
Wayland devs are so obsessed with their muh perfect frames that the possibility of the cursor tearing is unbearable to them. So they make it lag instead. It's by design.
Anonymous No.106246006 >>106247582 >>106247648
pure retardation.

supposedly they made Wayland to fix latency and performance and what we got is something that performs worse especially when you use NVIDIA
Anonymous No.106246291 >>106247057 >>106247102 >>106247163 >>106249141
>>106245912
Neither Xorg nor Wayland force either hardware or software cursors. Nobody sane uses software cursors anyway.
Anonymous No.106246302
>>106245983
The cursor never tears on Xorg. It's a non-issue.
Anonymous No.106246320
>>106245512 (OP)
gayland basically wants every frame to be "perfect", so it forces vsync even on the mouse cursor. x11 doesn't do that. in theory x11 can and will introduce tearing because of that but TearFree exists and it works, so
Anonymous No.106246339 >>106246465
This has nothing to do with muh perfect frames or muh compositing.

The real answer is that X.org creates 1000 syscalls per second whenever you move the mouse. This is effective, but highly inefficient. There's no reason to update the mouse any faster than what your display can achieve, unless you need a second heater in your home.
Anonymous No.106246424
>>106245512 (OP)
>Even something as simple as navigating the GNOME shell on the newest version of OpenSUSE Leap causes it to skip
That's just gnome retardation
Anonymous No.106246447
>>106245512 (OP)
>gnome
Works just fine for me on KDE
Anonymous No.106246465 >>106246700 >>106247417
>>106246339
yet Xorg performs better on old machines
Anonymous No.106246700 >>106247417
>>106246465
on new machines too desu
Anonymous No.106247032
>>106245512 (OP)
It also manages to be worse than just regular composited Xorg so it's pointless to use.
Anonymous No.106247057
>>106246291
>Nobody sane uses software cursors anyway.
this is hilarious because i'm viewing this very thread using x11vnc utilizing the TightVNC CursorPosUpdates and CursorShapeUpdates extensions.
nta so you don't reply like a retard.
Anonymous No.106247082 >>106247660 >>106247889
>>106245512 (OP)
what the absolute fuck are you deranged X trannies even talking about now?
what is with this insane cope? every day is a new goal post for the X tranny.
Anonymous No.106247102
>>106246291
>Nobody sane uses software cursors anyway.
I'm using software cursor because hardware cursor doesn't behave well with VRR
Anonymous No.106247163 >>106247417 >>106247868
>>106246291
On Wayland the cursor plane is synchronized with the primary plane. It's not a software cursor but it behaves identically.
Anonymous No.106247417 >>106247447 >>106247461 >>106247532
>>106246465
>>106246700
Only if you're using shitty proprietary drivers. Just running eglgears raises my CPU to 5% on xfwm4 (other X compositors are even worse). It's measurably lower on labwc.

>>106247163
GNOME stopped doing since at least 45.
https://www.phoronix.com/news/GNOME-Mutter-KMS-Thread
I believe KDE also does something similar. I can definitely feel a difference between Debian 12 and Debian 13. I actually liked the old behavior more as the cursor was perfectly synchronized with everything else.
Anonymous No.106247447 >>106247474
>>106247417
>labwc
>wlroots
>no nvidia support
opinion discarded use case not found
Anonymous No.106247454
>>106245615
>I assume you want an explanation that blames transsexuals and Indians.
Yes, that would do nicely, thank you
Anonymous No.106247461 >>106247526
>>106247417
It's possible to synchronize the cursor only while dragging things but then the latency is inconsistent. It's always a compromise.
Anonymous No.106247474
>>106247447
Yep, called it with the drivers. I rest my case.
Anonymous No.106247526
>>106247461
So what Windows does? No, thanks.
Anonymous No.106247532 >>106247818
>>106247417
KDE has proper scheduling and commits cursors updates three times during refresh cycle
https://zamundaaa.github.io/wayland/2023/08/29/getting-rid-of-cursor-stutter.html
Anonymous No.106247582 >>106247591 >>106251462
>>106246006
>buys a GPU from jewish manufacturer that won't release driver sources
>surprised it runs like shit when everything must be reverse-engineered
Wayland should just drop all nNvidia cards so you faggots are forced back to Windows or to buy GPU from manufacturer that actually cares about Linux.
Anonymous No.106247591 >>106247657
>>106247582
>Wayland should just drop all nNvidia cards s
and be more irrelevant yes go for it
Anonymous No.106247619
>>106245512 (OP)
>Why can Wayland compositors still not match the cursor responsiveness and smoothness of Xorg?
Had to upgrade to something using Wayland to even get a smooth cursor on my machine(tm). The lowest-end nVidia Quadro didn't get smooth cursors on X with nouveau (and the official driver broke a bunch of random other shit). Now I use the open source AMD driver with an RX 550 instead, which works well, especially with Wayland.
Anonymous No.106247648
>>106246006
>supposedly they made Wayland to fix latency and performance
And it is supposed to be more secure and leave less room for security exploits and bugs, first and foremost. Not that anyone cares. And wayland sucks anyway.
Anonymous No.106247657
>>106247591
based accelerationist
Anonymous No.106247660
>>106247082
>muh trannies
OBSESSED
Take your disgusting fetish to /b/ or /d/. Now shoo.
Anonymous No.106247818
>>106247532
>As a result of that, I consider fixing the kernel in this regard as just not possible at the moment.

It's been two years now. Has that changed?
Anonymous No.106247868
>>106247163
I find this entire thread of discussion offensive to software cursors. Software cursors are not even laggy. They can be just as responsive as hardware cursors if done right.
Anonymous No.106247889 >>106247917 >>106248130 >>106251932
>>106247082
>X is for trannies
>Wayland is for trannies
The rightoids are so confused right now
Anonymous No.106247917 >>106247933
>>106247889
the rightoids use xlibre
Anonymous No.106247933 >>106247941 >>106247950 >>106247989 >>106248006
>>106247917
apparently the rightoids haven't seen the featured screenshot on the GitHub.
Anonymous No.106247941 >>106247963
>>106247933
maybe the tranny is a rightoid too
Anonymous No.106247950 >>106247963
>>106247933
>What is a joke
Anonymous No.106247963
>>106247941
>>106247950
Awh :3c
Anonymous No.106247989
>>106247933
>left drone: no no you making fun of us we wont promote it
>right drone: look the support transsexuals i don't understand sarcasm
drones being drones
Anonymous No.106248006
>>106247933
>Wayland is gay
>Xorg is trans
Soo, Wayland is the lesser evil. Got it. Never touching Xtrans again!
Anonymous No.106248025 >>106248060
>wayland/xorg thread
>devolves into bait
was surprisingly fast this time, too.
Anonymous No.106248060 >>106248153
>>106248025
I don't know enough about either so I'm trying to see which one the retards gravitate to.
I just install stock fedora + gnome and it works well enough. All of my real work happens on windows 11 anyway.
Anonymous No.106248130
>>106247889
Every single thing on Linux is gay and trans, on account of it being created by gay transsexual.
Anonymous No.106248153 >>106250802
>>106248060
one doesn't tear, the other does.
one has more than 8bit color, HDR, independent monitor refresh and scale, the other doesn't.
one actually has a future, the other doesn't.

it's that simple. if you're still holding onto X, you're paying a performance penalty at best moving forward.
Anonymous No.106248176
>kde wayland for desktop programs
>uncomposited fluxbox on another tty for games
just works.
Anonymous No.106248188
works on my machine
Anonymous No.106248191 >>106248298
Yeah but Gayland supports HDR and xorg doesn't.
Anonymous No.106248298 >>106251444
>>106248191
>HDR
when ever y enable HDR on my monitor it burns my eyes is just me or HDR needs buring eye tech to even be visible?
Anonymous No.106248324 >>106251887
>>106245512 (OP)
It's not only the input latency (which is the highest across all known display systems people use for now). If you try to lower the scrolling speed, you'll notice it doesn't actually make each scroll slower. It just ignores some of the wheel's movement, while the rest of the movement is of the same speed as before. If you set the speed to 0.5 for example, half of the scroll wheel movement gets ignored. I don't know why it was designed that way, but it's weird. The main input device on a desktop environment feels quite neglected desu. The way mice work on wayland implementations is the main reason I can't use any of them for long. I turn back to xorg because my hand gets tired.
Anonymous No.106249093
>>106245615
I’d rather blame Guatemalans like Harry Potter
Anonymous No.106249141 >>106249175 >>106249181
>>106246291
I use a software cursor because it feels more responsive than hardware cursor. Amd driver also has some weird ass bug that causes the cursor to lag if I dont use software cursor
Anonymous No.106249175
>>106249141
>decades of windowing system development
>the trannies still manage to fuck up cursor
grim
Anonymous No.106249181 >>106249211
>>106249141
how do i know if im using hardware/software cursor
Anonymous No.106249211 >>106249317
>>106249181
You can run the drm_info program when the cursor is visible. Search for "= Cursor" in the output to find the cursor planes. If there is one with FB_ID set to a non-0 value then you have hardware cursor enabled.
This drm_info only works on amd/intel x11 or wayland, not x11 nvidia (since it doesn't use linux drm api)
Anonymous No.106249317
>>106249211
~: drm_info | grep Cursor
drmModeGetResources: Operation not supported
Failed to retrieve information from /dev/dri/card1
───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary


:( im on nvidia
Anonymous No.106250239 >>106250250 >>106250770 >>106251423
GNOME 48.
Anonymous No.106250250 >>106251423
>>106250239
Anonymous No.106250770 >>106251423
>>106250239
You're showing the latency of the compositor for the window, not the cursor
Anonymous No.106250802 >>106252644
>>106248153
>one doesn't tear, the other does.
Xorg server got a fix for that 3 years ago and it was enabled by default but it was never put in a release but xorg development is run by wayland devs that have stated that they want to kill x11. If you run the latest xorg server then you wont have tearing.
>one has more than 8bit color
So does x11, startx -- -depth 30
>independent monitor refresh and scale
So does x11: https://streamable.com/69x7et
Anonymous No.106251299
>>106245512 (OP)
Wayland is hot garbage, nobody wanted it and now that the Wayland people aren't in control of X any more it will die because they can't continue to kill X.
Anonymous No.106251423
>>106250770
That's the point, all compositors keep the rendered content and cursor plane in sync even though they can be independent. This fixes the issue in
>>106250239
as can be seen in
>>106250250
Of course, now you are tied to the frame clock and it feels unresponsive
Anonymous No.106251444
>>106248298
In mine it doesn't but all colors look overcooked in games, so not really worth it to enable it.
Wasn't a problem with my LG C3 tv, but this supposedly top notch msi qd-oled has been utter trash since I got it.
Anonymous No.106251445
>>106245615
Unprompted self report
Anonymous No.106251462
>>106247582
>manufacturer that actually cares about Linux.
Like who
Anonymous No.106251510 >>106251626
>Use my low-end laptop
>Disable the dedicated input thread with -dumbSched
>Increase nice value
>Run shadertoy and stress -c 4
>Cursor still never hitches
What is this black magic? How the fuck does Xorg do it?
Anonymous No.106251553
>>106245512 (OP)
True, on wayland (latest kde plasma) my cursor lags as much as the game im playing, so it gets tied to the game fps. On x11 my cursor is always a smooth 144fps like my monitor.
Anonymous No.106251626 >>106251850
>>106251510
>InputThread
Anonymous No.106251850
>>106251626
Picture somewhat unrelated.
Anonymous No.106251887
>>106248324
There's no fucking way that's real.
Anonymous No.106251932
>>106247889
>rightoids
It's over a decade later and /leftypol/ and friends still can't meme.
Anonymous No.106252039 >>106252555
Wayland compositors are not that bad, I don't have anything bad to say about Xorg either, just werks I guess. However what pisses me off is the fact that XFCE and other less funded DEs are even thinking of implementing their own Wayland compositors instead of sticking with an already out of the box solution like labwc (like they are doing for now). I swear "not invented here syndrome" is gonna kill all these projects in this Wayland push.
Anonymous No.106252156
>>106245512 (OP)
Frankly told becauae they do it for a job.
Anonymous No.106252555 >>106252622
>>106252039
>not invented here syndrome
Except that's not exactly what's happening. Xfwm is being based on wlroots just like labwc. It's not reinventing the wheel.
Besides, labwc is just a shitty Openbox clone. It's fit for LXQt, but not for XFCE.
Anonymous No.106252622 >>106252673
>>106252555
>wlroots
isn't wlroots unmaintained hot turd written in C that has tons of silent bugs?
Anonymous No.106252644
>>106250802
They also deleted a bunch of old but perfectly fine drivers "just because lel" and those are going back into XLibre.
Anonymous No.106252673
>>106252622
>Unmaintained
Not even close. The last two releases are two months apart IIRC.
>Hot turd
It's extremely lightweight
>Written in C
And that's a good thing.
>tons of silent bugs?
It hasn't frozen up on me like Hyprland has, so I guess that passes as silent.
Anonymous No.106252816 >>106252825
>>106245512 (OP)
Anonymous No.106252825 >>106252872
>>106252816
>posted it again
>even though it proves OP right
>again
Anonymous No.106252872
>>106252825
Why would you assume that I posted it with the intent of refuting his point.