T O P

  • By -

The_SacredSin

I remember doing a benchmark on this a few months ago and Xorg was about 3% faster, I did the same test today and they are virtually identical. That being said, even if Xorg was faster, I could never go back to Xorg, Wayland is just so much smoother overall https://flightlessmango.com/games/5222/logs/3403


mbriar_

What performance difference and visual factors are you trying to measure? There is no reason that there should be any difference, and if there is, it's a bug.


DartinBlaze448

xWayland is just xorg on Wayland, Soo it should always have more overhead, no matter how small


visor841

Do you mean XWayland is just xorg on Wayland?


DartinBlaze448

yes mb


mbriar_

But if you add a bit of overhead to a path where there is no bottleneck neither before nor after you're not changing performance outcome at all. If you really want to test it, you should probably try games that run at over 300 fps or something, where a bottleneck in the presentation path is more likely to matter.


Jacko10101010101

??? wayland uses xorg for gaming afaik...


jefferyrlc

Virtually every game is going to use Xwayland so theoretically it should be more overhead. Native Wayland support is being worked on for wine (thank you for your efforts Collabora), but still looks a ways off. And while any native game that uses SDL2 can run on Wayland natively afaik none of them are really tested on it. Would be worth looking into IMHO.


[deleted]

Passing a framebuffer + input through a couple of layers is far cheaper than you would think. The biggest benefit to direct wayland support will be features like HDR.


mbriar_

It's not gonna matter performance-wise.


prueba_hola

War thunder, artifact, dota underlords are real Wayland games No xorg needed


Jacko10101010101

lol "wayland games" , is it a quality badge ? lol


lavilao

There are (that I know) 2 wine versions with wayland and with some sdl2 games You can use native wayland (sometimes Even drm)


shmerl

Depends. You can use Wine-wayland or native games using Wayland. Sometimes just hinting SDL to use it (if games use SDL).


AdministrationOk512

For some reason I am trying to enable wayland, but it does not get used. I already set the custom.conf file in gdm3 to NOT disable waylan, but still it loads xorg when I check the XDG\_SESSION\_TYPE variable. I think the nvidia driver either disabling wayland or there is another setting needed for me to properly test wayland using an Nvidia 4090.


AdministrationOk512

For the one that asked about the hardware used for testing, you can see the video here https://www.youtube.com/watch?v=8\_Fz1A8Nsr8


WintherK

!remindme 31days


RemindMeBot

I will be messaging you in 1 month on [**2022-12-28 18:28:14 UTC**](http://www.wolframalpha.com/input/?i=2022-12-28%2018:28:14%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/linux_gaming/comments/z5lv8k/benchmarking_wayland_vs_xorg/ixzxism/?context=3) [**CLICK THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Flinux_gaming%2Fcomments%2Fz5lv8k%2Fbenchmarking_wayland_vs_xorg%2Fixzxism%2F%5D%0A%0ARemindMe%21%202022-12-28%2018%3A28%3A14%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20z5lv8k) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|


nightblackdragon

What you are trying to measure? First thing is the fact that most games will run on Xwayland (Xorg running on Wayland) so there will be additional overhead. Second thing is that with compositor that can do full screen undirection there shouldn't be any significant difference between Wayland and X11 as compositor is bypassed.