Yea, that's cute, except that DRM can handle pretty much all of it. You can split hairs and complain about GPU scheduling which is inherently rather difficult because scheduling at the command queue level is problem very much alike the halting problem. The real issue isn't that we don't have the pieces we need but rather that we can't get all the players to agree on using the same ones. On Windows you have one entity…
Calling it a political problem and not a technical problem doesn't make it less of a problem. Nor does dismissing it as "cute" offer much in the way of a solution.
Maybe it’s time to talk about a new Linux Display Driver Model
31–40 of 69 posts
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#32How much of the compositor problems will be fixed by Wayland? I know a big goal of Wayland is to address tearing and corruption.
Wayland, unfortunately, seems to be the type of project that has been a year or two away from usability since its first release in 2012. I suspect we'll be stuck with X11 for a while yet.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#33Earlier quoted context omitted.
How long until we get a heartbleed-like attack where some software overruns its GPU buffer into a webgl buffer?
FWIW I've been running with WebGL disabled because of similar concerns.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#34How much of the compositor problems will be fixed by Wayland? I know a big goal of Wayland is to address tearing and corruption.
- Clients only provide complete buffer updates rather than drawing on to the front buffer, fixing tearing for all non-OpenGL apps
- Each monitor can have its own set of buffers and sync signal (technically the wayland protocol doesn't specify this, but makes it possible, and Weston does it correctly)
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#35Earlier quoted context omitted.
The Yama patchset has been in mainline for the last few years, and disallows non-root processes from reading each others' memory (except for direct children). The trouble is that it's a sort of retrofitted check. It works surprisingly well, but being added to a 20+-year-old OS and a 40+-year-old design, it can't guarantee being correct. The traditional, historic process boundary on UNIX has been user accounts / UIDs.…
Perhaps you would be interested in my project, subuser.org Unfortunately, it does absolutely NOTHING with regard to OpenGL isolation :( (That is if you give programs permission to talk to the graphics card, which is denied by default...)
Have you looked at OpenGL virtualization e.g. Virgil (https://virgil3d.github.io/ , https://www.kraxel.org/blog/tag/virgl/) for that problem? The idea is to use Gallium to give them just enough access to get host 3D acceleration, but not direct access to the graphics card.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#36Earlier quoted context omitted.
FWIW I've been running with WebGL disabled because of similar concerns.
WebGL works if you enable it? On Linux I've never seen anything other than error messages from WebGL.
On a rolling release like Debian Testing, with well-supported hardware like the Intel Ivy Bridge integrated GPU, WebGL has always worked beautifully.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#37Be grateful that graphics cards work on Linux at all. For over a decade, they barely did.
Depends on what you mean. I've been running Linux for 20+ years and have never had a graphics card that I couldn't get to work. If you're talking about acceleration, there have obviously been issues getting manufacturer support, but as a non-gamer, that mattered little to me.
Because I did spent such hours back with Slackware 2.0.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#38Earlier quoted context omitted.
Should be pretty straightforward to fix. I wonder why it isn't. Is someone discussing the issue?
The Yama patchset has been in mainline for the last few years, and disallows non-root processes from reading each others' memory (except for direct children). The trouble is that it's a sort of retrofitted check. It works surprisingly well, but being added to a 20+-year-old OS and a 40+-year-old design, it can't guarantee being correct. The traditional, historic process boundary on UNIX has been user accounts / UIDs.…
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#39Yea, that's cute, except that DRM can handle pretty much all of it. You can split hairs and complain about GPU scheduling which is inherently rather difficult because scheduling at the command queue level is problem very much alike the halting problem. The real issue isn't that we don't have the pieces we need but rather that we can't get all the players to agree on using the same ones. On Windows you have one entity…
I'm sad that there is no alternative to X that works with `legacy` graphic cards like mine (Radeon HD 4500). But to be honest I'm personally just concerned due to already mentioned security problems with Xorg.
Re: Maybe it’s time to talk about a new Linux Display Driver Model
#40I am currently using 2 displays connected to my graphics card and one connected to my igpu on my Linux desktop at home, and it's really not that hard to set up. Unfortunately the GPU does all the rendering and passes images to the iGPU, but I believe this is the case too with Windows. Also there are a few bugs when using this setup to do with monitor positioning.
In the end I spent £30 on a second GPU. Problem solved... ish. XRandR still didn't work, and GNOME3 switched to fallback mode, which is basically GNOME2, i.e., a totally different window manager and a totally different shell.
I have no opinion on the performance on Windows vs that on Linux (not a concern, hence the £30 GPU...) but this whole situation was certainly a lot less hassle on Windows ;)