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

X11 backend doesn’t work in a VM with no GPU #2478

Open
DemiMarie opened this issue Oct 2, 2024 · 1 comment
Open

X11 backend doesn’t work in a VM with no GPU #2478

DemiMarie opened this issue Oct 2, 2024 · 1 comment
Labels

Comments

@DemiMarie
Copy link

Describe the bug
If the X server doesn’t support the DRI3 extension, the X11 backend doesn’t work.

To Reproduce
Start Wayfire in an X11 session with no access to a GPU. This is uncommon on bare hardware, but quite common in VMs.

I hit this when trying to use Wayfire in Qubes OS to see if the current custom Xorg driver could be replaced by a custom Wayfire plugin, but this error shouldn’t be Qubes OS-specific.

Expected behavior
Works using llvmpipe.

Screenshots or stacktrace
N/A. The exact error is:

Failed to get DRM file descriptor, try specifying a valid WLR_RENDER_DRM_DEVICE!

Wayfire version
Fedora 40 RPM package from the default repository.

@DemiMarie DemiMarie added the bug label Oct 2, 2024
@soreau
Copy link
Member

soreau commented Oct 2, 2024

There are open merge requests for wlroots and mesa. You left comments, but it's been awhile, and they're still open. That said, I don't really think this is a wayfire issue. You can have a look at the pixman backend in wayfire for bookworm, if you want to try using it or porting it to latest wayfire.

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

No branches or pull requests

2 participants