Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Generic KMS driver (a la SimpleDRM) #269

Open
jbeich opened this issue Dec 1, 2023 · 3 comments
Open

[request] Generic KMS driver (a la SimpleDRM) #269

jbeich opened this issue Dec 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@jbeich
Copy link

jbeich commented Dec 1, 2023

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):
torvalds/linux@11e8f5fd223b
swaywm/wlroots#2410
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/812
https://invent.kde.org/plasma/kwin/-/merge_requests/1906

@hny-gd
Copy link

hny-gd commented Dec 3, 2023

That would be very, very useful as currently there is no way to use Wayland e.g. in VMs.

@evadot evadot added the enhancement New feature or request label Jan 5, 2024
@arrowd
Copy link

arrowd commented Jan 31, 2024

I thought such thing already exists and is called either swrast or llvmpipe?

@evadot
Copy link
Contributor

evadot commented Jan 31, 2024

I thought such thing already exists and is called either swrast or llvmpipe?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants