Originally posted by jacob
View Post
Announcement
Collapse
No announcement yet.
NVIDIA Confirms Sway Wayland Compositor Works Fine With Their New GBM Driver Support
Collapse
X
-
Originally posted by Alexmitter View PostSo, lets revisit that.
First, ignore invitations on creating a standard, do not show up.
Second, claim the standard is bad and your (actually not fit for the task) thing is better.
Third, claiming to want to create a better standard to make everyone happy while not asking anyone on their opinion.
Fourth, giving that up and use the original standard that was the best solution from the beginning.
2. Pretty sure they had valid reasons about why GBM was bad, I remember slides or something about it years ago. IIRC there was acknowledgement of those issues, but by this time (much later than 2011) GBM had already become established in the ecosystem well enough that there wasn't interest in changing to an alternative unless it was much more compelling and ready, there was especially little interest in supporting both options.
3. They did ask for opinions, they just didn't get as much engagement from the community IIRC?
4. They gave up because their alternative wasn't going anywhere or getting any traction last I heard. They were too late and not regarded too well in the community in general AFAIK. It's not that GBM is the best solution, but it's the dominant broadly adopted / accepted one. For the same reason Windows isn't necessarily the best OS but most prefer it, it meets the requirements for most with less friction, good enough is not best though.
Not advocating for nvidia here, but at least they're doing stuff like this, why bash them for that?
I recently found out that nvidia's embedded products including the latest Xavier NX from last year are provided with their L4T distro based off Ubuntu 18.04 , the latest release is August 2021, but still no upgrade to a newer distro, the kernel is stuck on 4.9 still... They have good hardware in that space, it's just sad that they fumble so much on open-source that they can't even support a modern kernel or packages for their platforms.
- Likes 4
Comment
-
Originally posted by aufkrawall View PostIt will still be utterly incomplete if they don't implement
-Vulkan mailbox present mode (everything seems to be forced into fifo mode...)
-is VRR property even implemented for Nvidia DRM modesetting driver?
-is any kind of GPU gamma ramps support implemented for Nvidia DRM modesetting driver?
-there don't seem to be any overclock options on Nvidia Wayland (xorg rootless also doesn't work, WTF, and even then there is no real undervolting possible)
-Nvidia DRM modesetting driver doesn't seem to offer any kind of custom EDID interface
-Does manual fan control work on Wayland?
I will never use it if stays that incomplete...
They're more than likely motivated financially to add this GBM support for enterprise users where a lot of that isn't going to be deal breakers.
Comment
-
-
Good for Nvidia, but my take on it - too little, too late. They are decades late and it's basically DOA.
With Intel joining high end GPU market especially, Nvidia will become irrelevant on Linux desktop due to lack of upstreamed driver. It will be just AMD and Intel.
- Likes 1
Comment
-
Originally posted by polarathene View Post1. EGLStreams AFAIK was already a standard? (since 2011?), might not be in use with desktop environments, but I believe it is commercially in display products? (kiosks, automotive, etc)
Originally posted by polarathene View Post2. Pretty sure they had valid reasons about why GBM was bad, I remember slides or something about it years ago. IIRC there was acknowledgement of those issues, but by this time (much later than 2011) GBM had already become established in the ecosystem well enough that there wasn't interest in changing to an alternative unless it was much more compelling and ready, there was especially little interest in supporting both options...
...It's not that GBM is the best solution, but it's the dominant broadly adopted / accepted one. For the same reason Windows isn't necessarily the best OS but most prefer it, it meets the requirements for most with less friction, good enough is not best though.
Originally posted by polarathene View Post3. They did ask for opinions, they just didn't get as much engagement from the community IIRC?
Originally posted by polarathene View Post4. They gave up because their alternative wasn't going anywhere or getting any traction last I heard. They were too late and not regarded too well in the community in general AFAIK.
Originally posted by polarathene View PostNot advocating for nvidia here, but at least they're doing stuff like this, why bash them for that?
Originally posted by polarathene View PostI recently found out that nvidia's embedded products including the latest Xavier NX from last year are provided with their L4T distro based off Ubuntu 18.04 , the latest release is August 2021, but still no upgrade to a newer distro, the kernel is stuck on 4.9 still... They have good hardware in that space, it's just sad that they fumble so much on open-source that they can't even support a modern kernel or packages for their platforms.
- Likes 4
Comment
-
Originally posted by polarathene View Post1. EGLStreams AFAIK was already a standard? (since 2011?), might not be in use with desktop environments, but I believe it is commercially in display products? (kiosks, automotive, etc)
ST-Ericsson were going release chips 2012 using EGLstreams but these were pushed then they were dissolved in 2013 before they could. polarathene the reality here two parties pushed EGLStreams into the khronos standard. That Nvidia DGPU department and ST-Ericsson yes 2 August 2013 ST-Ericsson ceases to exist before making any chips that have EGLStreams drivers leaving only a solo supporter as the Nvidia DGPU department. Yes Nvidia Tegra that makes Nvidia arm chips had already chosen the GBM route..
Originally posted by polarathene View Post2. Pretty sure they had valid reasons about why GBM was bad,
There was a problem for Nvidia doing closed source drivers(the Nvidia DGPU) as they would have to get a patch into mesa so they could hook their closed source driver in. That may or may not have been easy.(they did not try until it was not going anywere).
Next was they did not like the GBM model where every process has its own memory pool. But the per process memory pool is important so compositor can restart. The key feature that Nvidia did not like about GBM turns out to be key. KDE developers are wanting to be able to on the fly restart the wayland compositor they will be needing GBM feature of memory per process not memory in a global pool as EGLStreams has.
Yes the Nvidia developer putting support for EGLStreams into KDE end up in a rock and hard place between the KDE lead developer and what he could do with EGLStreams. Yes the KDE lead developer did a demo restarting the wayland compositor on intel and amd and arm and qualcom and broadcom GPUs and it works then the Nvidia developer was completely and totally screwed when the KDE lead developer asked the Nvidia lead developer to show how because this would be a future KDE feature. Every route the Nvidia developer tried with KDE lead back the the memory issue where restarting the compositor lead applications segfaulting that required him to go to the Nvidia driver developer team and ask if they could fix EGLStreams to make this work. This leads to the 470.xx Nvidia driver work with GBM support and DMA BUF support as the Nvidia DGPU drivers developers find they are totally screws EGLStreams simply is not going to work.
Issue here Nvidia thought they had a valid reason for EGLStreams. EGLStreams is fine if you are not wanting to restart the wayland compositor or use exactly the same drivers for Xwayland and bare metal X11. A lot of embedded systems need to be able to restart as many individual parts as possible this is why automotive and aircraft have avoided EGLStreams absolutely.
This has been 7 years of hell caused by a single department at Nvidia. This has also delayed the wayland protocol work on how to handle compositor restarting and on the fly replacement because it was need to know how the hell were you meant to-do that with EGLStreams the answer is you don't because no one is going to support in future and it cannot be done with the EGLStreams design.
- Likes 14
Comment
-
Originally posted by oiaohm View Postthe reality here two parties pushed EGLStreams into the khronos standard. That Nvidia DGPU department and ST-Ericsson
Originally posted by oiaohm View Postwhy did the Nvidia Tegra developers go GBM if there was major problems in the design.
They do support EGLStreams in their documentation though. But given the rather outdated software support elsewhere in L4T, I assume any preference for GBM may related to that or other factors. Honestly I haven't looked into either that much myself.
---
I don't recall the issues nvidia addressed years ago about GBM having and EGLStreams solving, but it's good to know that it's own flaws were later identified and adopting GBM was the more appropriate choice for them to pursue in the end
Comment
-
Originally posted by polarathene View PostI don't recall the issues nvidia addressed years ago about GBM having and EGLStreams solving, but it's good to know that it's own flaws were later identified and adopting GBM was the more appropriate choice for them to pursue in the end
- Likes 2
Comment
-
Originally posted by polarathene View PostWere they pushing Wayland with those devices? From what I could briefly gather, they default to X11 (at least with L4T on their embedded range), and given the Ubuntu 18.04 base and 4.9 kernel, I wouldn't expect much from Wayland, at least with the DEs.
The reality was the customers buying Tegra boards wanted a open source graphic stack that support GBM that was Wayland and Linux framebuffer compatible(yes this need gbm support as well) everything that L4T is not. Yes lot of things like cars you want to fully audit the stack for flaws that is hard to do with binary blob drivers.
Nvidia has had a level of stubborn here yes they have attempt to ignore their own customers. This GBM support that Nvidia has just done support Wayland but does not support running legacy embedded applications that use Linux Framebuffer out. So Nvidia are still going to have customers demanding that keep on supporting GBM and DRM in kernel. And these are customers who buy big enough volumes that Nvidia cannot refuse.
Originally posted by smitty3268 View PostGBM certainly wasn't perfect when it came out, but over time extra features like modifiers have been added to improve it. My understanding is that EGLStreams has some fundamental issues in the design that make it a poor match for compositors that are tougher to solve.
This is a case that something Nvidia thought was a design fault of libgbm/dmabuf combination that they could design without turns out to be a critical feature. Yes Nvidia successfully have thrown the baby out with the bath water here and are finally waking up to the case that is exactly what they did and are trying to fix the broken baby. Still not doing the best job.
- Likes 3
Comment
Comment