Originally posted by Velocity
View Post
Announcement
Collapse
No announcement yet.
X.Org vs. Wayland Linux Gaming Performance For NVIDIA GeForce + AMD Radeon In Early 2023
Collapse
X
-
- Likes 2
-
Originally posted by piotrj3 View Post
Such titles doesn't exist. Currently DXVK and Wine are made assumping Xorg or Xwayland is used. Few native ports have to account that clients only using X server exist so they also don't support Wayland. In close future it is not going to change anytime soon.
Comment
-
Originally posted by Weasel View PostWayland is the perfect example of how you can't polish a turd if it's rotten at the roots and shit by design. So at least it's good historical example of what not to do.
It doesn't bring security, it brings paranoia. Security would mean all apps under same privilege/user (that can access each other's files) can spy on each other's windows, or even the desktop if it's a trusted user. That's functionality people need.
X11 has low security, Windows has proper security, and Wayland is a piece of paranoid junk that's akin to cutting off your internet connection for "security purposes".
- Likes 1
Comment
-
Originally posted by mirmirmir View Postwait until you learn about android. Like they ask location, camera, and pretty much any sensor on phone for every apps you're using. Like that's a fucking garbage operating system. Like what? They afraid Google? Three letters agents? Zucc? Like they think those people would spy on you? And sell your data without your consent? Like come on, we have all the laws protecting us, otherwise we would living in a cave right now. That's just delusional people worrying over nothing.
That said, you literally mentioned it asks for your permissions so kinda your fault there buddy.
Nothing wrong with sandboxing apps that you want sandboxed (e.g. browser). Just don't fucking assume every app is malware, especially in the fucking protocol (i.e. UNFIXABLE). Most apps I use I trust for a reason. If you don't, sounds like a you problem.
- Likes 1
Comment
-
Originally posted by jeisom View PostA bunch of the nvidia side were about a 10% difference in favor of X11. I wonder if that is because of explicit sync in their X11 driver. If it were would that mean the amd side is giving up 10% by not using explicit sync yet?
The core problem is that NVidia's driver doesn't work with implicit sync, it hasn't for years (ever since Windows Vista) and due to current limitations with the Linux GPU stack, NVidia understandably does not what to recode their entire driver to add in implicit sync just for Wayland especially considering that explicit sync is the superior solution (and AMD/Intel have stated this as well).
So if the Linux graphics stack implemented explicit sync properly all the way through and AMD had explicit sync support, it might gain some trivial performance in games but for NVidia it would massively glose the gap between X11 and Wayland
https://gitlab.freedesktop.org/xorg/...7#note_1525466 and https://gitlab.freedesktop.org/xorg/...7#note_1358617 is a good summary of the current problem.Last edited by mdedetrich; 01 February 2023, 09:56 AM.
- Likes 4
Comment
-
Originally posted by mdedetrich View PostThe explicit sync is one of the main underlying issues why NVidia's driver is not running at full performance on Wayland. However the claim that AMD is giving up 10% for not using explicit sync isn't entirely true, its more explicit than that.
The core problem is that NVidia's driver doesn't work with implicit sync, it hasn't for years (ever since Windows Vista) and due to current limitations with the Linux GPU stack, NVidia understandably does not what to recode their entire driver to add in implicit sync just for Wayland especially considering that explicit sync is the superior solution (and AMD/Intel have stated this as well).
So if the Linux graphics stack implemented explicit sync properly all the way through and AMD had explicit sync support, it might gain some trivial performance in games but for NVidia it would massively glose the gap between X11 and Wayland
https://www.collabora.com/news-and-b...-gap-on-linux/
implicit sync is how opengl works by standard.
Glamor is opengl based. Nvidia opengl implementation is busted just happens to be Glamor is one of the items that shows that Nvidia opengl implementation is not to specification. Its not the only item by the way.
https://gitlab.freedesktop.org/mesa/...requests/17009
The correct solution to the opengl problem might be simply stop using Nvidia opengl libraries instead use Zink ones that are able to provide implict sync on top of explicit sync only Vulcan drivers.
mdedetrick you also need to look into Linux kernel mode. Linux DRM kernel mode implicit sync for AMD and Intel are both implemented on top of explicit sync. Yes these wrappers show that rewriting the complete driver is not required.
Yes mdedetrick there are old opengl games that don't run on modern day Nvidia Opengl under Linux that do run on mesa and closed source AMD opengl.
The claim the implicit sync problem is restricted to wayland/glamor disregards Valve funded developer on Zink having to add implicit sync support for games because different opengl games need implicit sync to work as well.
Most wayland compositors are written using egl and yes to be 100 percent to egl specifications implicit sync is meant to work correctly. Clean explicit sync compositor would have to be using vulkan as it graphics.
Yes since Windows Vista Nvidia had broken opengl implementation that depends on application dependent work around being loaded to get around the implicit sync problem. Yes this does come with the problem if you try to run a old opengl game that that depends on implicit sync that Nvidia has not included work around code in driver it fails when it should no.
- Likes 1
Comment
-
Originally posted by oiaohm View Post
This is contains a few flawed ideas.
https://www.collabora.com/news-and-b...-gap-on-linux/
implicit sync is how opengl works by standard.
Glamor is opengl based. Nvidia opengl implementation is busted just happens to be Glamor is one of the items that shows that Nvidia opengl implementation is not to specification. Its not the only item by the way.
https://gitlab.freedesktop.org/mesa/...requests/17009
The correct solution to the opengl problem might be simply stop using Nvidia opengl libraries instead use Zink ones that are able to provide implict sync on top of explicit sync only Vulcan drivers.
mdedetrick you also need to look into Linux kernel mode. Linux DRM kernel mode implicit sync for AMD and Intel are both implemented on top of explicit sync. Yes these wrappers show that rewriting the complete driver is not required.
Yes mdedetrick there are old opengl games that don't run on modern day Nvidia Opengl under Linux that do run on mesa and closed source AMD opengl.
The claim the implicit sync problem is restricted to wayland/glamor disregards Valve funded developer on Zink having to add implicit sync support for games because different opengl games need implicit sync to work as well.
Most wayland compositors are written using egl and yes to be 100 percent to egl specifications implicit sync is meant to work correctly. Clean explicit sync compositor would have to be using vulkan as it graphics.
Yes since Windows Vista Nvidia had broken opengl implementation that depends on application dependent work around being loaded to get around the implicit sync problem. Yes this does come with the problem if you try to run a old opengl game that that depends on implicit sync that Nvidia has not included work around code in driver it fails when it should no.
Comment
-
Originally posted by make_adobe_on_Linux! View PostImagine if these modern "software engineers" built bridges. They would never be feature complete and they'd have huge round abouts on them that you cannot exit until some security issue with the passenger or car is resolved. "Feature complete" does not exist in their vocabulary. Anyone using Ubuntu deserves a bad experience; they chose their engineering tools and designs based on peer pressure or fads or bribes. Software is made by people, if it has issues, then those issues were in the people first. Debian, Arch, and Mint can do everything better than Ubuntu - depending upon your needs. Yet Ubuntu is pushed in the "FOSS media" at every opportunity.
i have news from hell about this for you:
yes i know the Rotten.com article about Bill Gates is so old school like the internet 20-25 years ago.
at that time rotten.com was the most censored website on the internet and it was the only website who did in fact speak the truth about bill gates and microsoft.
Phantom circuit Sequence Reducer Dyslexia
Comment
-
Originally posted by mdedetrich View PostCan you posting things that you don't understand please? Pretty much the entire main developers of the Linux graphics stack that matter disagree with you, including people from AMD, Intel and NVidia. The only issue is one of prioritisation and effort.
No mdedetrich read the above AMD/Intel and Collabora kernel developers don't agree with what you wrote either..
So how do we tie implicit and explicit sync together? Let userspace extract and set fences itself, of course! The new API, which should be in Linux 5.20, adds two new ioctls on dma-buf file descriptors which allow userspace to extract and insert fences directly. In userspace, these dma fences are represented by sync files. A sync file wraps a dma fence which turns it into a file descriptor that can be passed around by userspace and waited on via poll(). The first ioctl extracts all of the fences from a dma-buf's reservation object and returns them to userspace as a single sync file. It takes a flags parameter which lets you specify whether you expect to read the data in the dma-buf, write it, or both. If you specify read-only, the returned sync file will only contain write fences but if you specify write or read-write, the returned sync file will wait on all implicit sync fences currently in the reservation object. The second ioctl allows userspace to add a sync file to the reservation object. It also takes read/write flags to allow you to control whether the newly added fence is considered a write fence or only a read fence.
Yes that says 5.20 but that really Linux kernel 6.0 released 2 October 2022 yes was merged in kernel 6.0.
This bit is important. Linux kernel developers have gone the route of Implicit and explicit sync both working with each other. Yes the reason why you can extract the kernel kernel implicit sync explicit fences to user space and have it work in explicit sync is that its implemented on explicit sync.
mdedetrich yes the AMD and Intel developers believe that the core operations of graphics should be explicit sync but they don't agree that implicit sync should be rendered non functional.
You have to remember the Linus Torvalds rule here "We do not break user-space". Since the Linux kernel DRM subsystem historically has supported implicit sync it has to remain supporting implicit sync.
The hard reality here Nvidia explicit sync only is breach of Linux kernel development rules and makes their opengl implementation non conforming that causes Valve problems even on windows one of the reason why Valve funded porting zink to windows.
Now also remember you need to pass explicit sync fences between processes when you have Wayland compositor.
Yes the proposal that has been accepted into the Linux kernel is both implicit sync and explicit sync will play nice with each other.
Older protocols like X11 and Opengl and Linux kernel framebuffer have written into them that items should be implicit synced.
Helper to setup the plane_state fence in case it is not set yet. By using this drivers doesn’t need to worry if the user choose implicit or explicit fencing.
Notice something here. There is a stack of wrapper functions in the Linux kernel in many different places that mainline graphics drivers don't have to care if the sync items are used in implicit or explicit by userspace other parts of the kernel.
mdedetrich Nvidia path is zero implicit sync support that does not have the agreement of those making Wayland compositors, those wanting to run old application or in fact not backed by AMD or Intel developers. Yes Intel and AMD and Nvidia developers agree the core of graphics drivers should be explicit sync to avoid over sync issues but Intel and AMD developers are not attempting to force everyone to change over to explicit sync. No implicit sync is break legacy applications. Yes Intel and AMD linux kernel developers agree on keeping implicit sync on top of explicit sync for legacy applications.
Yes Linux kernel having proper way to use implicit sync and explicit sync with each other without shooting each other in foot is 2022 new thing. Linux does not have to go the same route as Windows.
Nvidia attempting to completely drop implicit sync is really like windows dropping win16 support then intel developer expecting Linux kernel to also remove win16 support. Remember Wine still has win16 support for legacy applications and that is supported by the Linux kernel because of the same Linus Torvalds rule.Last edited by oiaohm; 02 February 2023, 01:56 AM.
- Likes 1
Comment
Comment