-
Notifications
You must be signed in to change notification settings - Fork 178
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
Support for wlr_drm_lease_v1 #2083
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have any possibility to test this so I'll trust you that it works :)
There are a few small issues to be fixed, otherwise LGTM, we can merge.
Should be good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The code style still isnt perfect, take a look at the CI logs, there is a diff you can apply to fix it ... |
Running uncrustify as in the contributing doc shows changes in animate, particle, and blur-base, all of which have nothing to do with this PR. Would you still like me to push changes for those files? |
We use a patched version of uncrustify to workaround a few bugs, which is why you are also picking up other changes. That's why the easiest way to fix style is to either compile my uncrustify fork or to take a look at the CI :) |
Should be good now! |
* Try to make DRM leasing work * Attempt number two to make this work * Fix logging and formatting * Run uncrustify
First time with C++ and wlroots, so not sure if everything here is exactly proper C++. This is based off of how swaywm handles DRM leasing. I'm running on Fedora Silverblue via my own image based off of Universal Blue, and I used SteamVR in an Arch Linux container via Distrobox. It seems to work fine with my HTC Vive, but I've only tested this for a few minutes. It should work fine with other native VR headsets, but I don't have any to test. It should also work fine with other VR runtimes such as Monado, but I haven't figured out how to set that up yet.
Fixes #1581