Open jbeich opened 11 months ago
That would be very, very useful as currently there is no way to use Wayland e.g. in VMs.
I thought such thing already exists and is called either swrast
or llvmpipe
?
I thought such thing already exists and is called either
swrast
orllvmpipe
?
Not the same thing, swrast is a software renderer. SimpleDRM creates a drm device (/dev/dri/card0) but no drm render device. So you still have software accel (and so need swrast/llvmpipe) but can talk with KMS to the driver meaning wayland software will work.
Required for Wayland for unsupported GPUs with software rendering. Xorg has xf86-video-vesa, xf86-video-scfb, etc. but Wayland standardized on KMS. To overcome this Linux added
simpledrm
driver to bridge various framebuffer drivers.See also (fbdev uAPI is similar to syscons/vt): https://github.com/torvalds/linux/commit/11e8f5fd223b https://github.com/swaywm/wlroots/pull/2410 https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/812 https://invent.kde.org/plasma/kwin/-/merge_requests/1906