Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> DRM is literally the 3D acceleration driver framework for Linux. It has been around for decades and is same set of drivers that are used for any sort of accelerated graphics in X.

Yes, exactly. And Wayland ignored it for years, from the start, and only later slowly adopted it as an extension.

> DMA is part of the basic architecture of modern computers.

Yes, I know.

DMA is even older and not limited to Linux or Graphics. Back in the old VESA, SGI and Windows 3.0 times, DMA was a cool new feature (but actually old even then). When Wayland was conceived, it was boring and old. Yet Wayland didn't originally include DMA buffers, just later added it as an extension when it became obvious that they had just gotten rid of a 40 year old feature that was really really necessary for modern graphics...



> Yes, exactly. And Wayland ignored it for years, from the start, and only later slowly adopted it as an extension.

DRM is not part of Wayland, and Wayland does not use DRM. Wayland is the protocol between the display server and application, DRM is a functionality provided by the kernel to allow user space applications to use and share graphics hardware.

The display server can use DRM, as will applications wanting to use OpenGL/Vulkan, but these are not "wayland".



Did you even read the use case for this? or just Googled 'Wayland DRM' and post the first link?

When VR headsets are exposed to user space, they appear as displays and subsequently the display server will control them (which isn't useful), this is just a protocol that allows clients (like games, SteamVR) to have control transferred so they can drive the VR headset instead. This is because multiple applications are not allowed to control the same display on the Linux kernel at the same time.

It does not make DRM/DRI part of Wayland. Again, it goes back to my original comment of "you use Wayland to communicate with the display server"

IIRC GNOME originally wanted to do this over Dbus, but there was opposition.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: