generic EGL/EGLstreams based video driver (to replace Nvidia proprietary xorg driver) #326
Replies: 7 comments 20 replies
-
@callmetango @cepelinas9000 @mikedld @josephcrowell @jonhermansen @probonopd @artist4xlibre @algrid @b-aaz |
Beta Was this translation helpful? Give feedback.
-
Had some brainstorming w/ chatgpt on how we can do this. Several interesting insights:
Possible project plan:
|
Beta Was this translation helpful? Give feedback.
-
chatgpt created some testing / dumping tool for the NV-GLX handshake between client side vs Xserver side driver parts: |
Beta Was this translation helpful? Give feedback.
-
I'd say that Modesetting works for Maxwell (580 driver), there are just a few bugs to iron out (namely the cursor bug (X11Libre/xserver#734, the texture_from_pixmap (X11Libre/xserver#373 (comment)), and I'm pretty sure fullscreen windows overscan, but I have to double check), but a driver that specifically targets older GPUs would be neat. I'm not sure exactly how relevant point 2 is, because 470 and older aren't going to get any updates, 580 (which is only getting bug fixes) and later work with modesetting, so, as soon as the bugs are ironed out, we don't care if Nvidia stops shipping an X11 driver altogether, and looking at how Nvidia's feature deprecation works, that should happen when an architecture goes end of live, Maxwell, Pascal, and Volta just got their end of support in 580 and 585 will still support X11, just not ancient versions of XOrg, the next architecture on the chopping block is Turing, and that's going to be years down the line. In other words, if Nvidia drops X11, it's gonna be years from now, and on stuff that already works with modesetting. |
Beta Was this translation helpful? Give feedback.
-
It sounds like Generic Buffer Management is a bit more popular than EGLstreams with Gnome supporting it by default and Kwin outright dropping support for EGLstreams. How difficult would it be to make a X11 driver that supports video out using GBM? Is there a standard Wayland driver protocol where if we implement that we can directly run any driver built solely for Wayland? |
Beta Was this translation helpful? Give feedback.
-
Don't we have Nouveau already? |
Beta Was this translation helpful? Give feedback.
-
Why not just rewrite the proprietary X driver then? If you do it this way you wont have GPU initialization that the blob driver needs(iirc the device node stuff needs to be done sperately). I think I started on this a bit but I haven't worked on it much. I could maybe extend xf86-video-nv to include this and then push it on the freedesktop gitlab... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the idea
It should be done because
What are the alternatives?
full reverse engineering (finish up nouveau for recent gpu models)
Additional context
No response
Extra fields
Beta Was this translation helpful? Give feedback.
All reactions