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

DRM Lease protocol implementation #1581

Closed
technobaboo opened this issue Oct 1, 2022 · 9 comments · Fixed by #2083
Closed

DRM Lease protocol implementation #1581

technobaboo opened this issue Oct 1, 2022 · 9 comments · Fixed by #2083
Milestone

Comments

@technobaboo
Copy link

I'm a VR/AR developer that's trying to use Monado and SteamVR but they don't work on Wayfire due to the DRM Lease protocol being unimplemented... if i had time i'd contribute but i don't sadly so i'll just put this as an issue. I've confirmed it's not present with wayland-info.

@moshimeow
Copy link

moshimeow commented Oct 2, 2022

Hey, no fair, I was about to open this issue! ;)

Also can confirm that Monado can't use wayfire as a DRM lease backend - tried it myself a couple of hours ago

@technobaboo
Copy link
Author

technobaboo commented Oct 2, 2022 via email

@ammen99 ammen99 added this to the 0.9 milestone Dec 1, 2022
@jc-kynesim
Copy link

I'll add my name to the list of people who'd like it, and if it could be persuaded to work on any DRM connector rather than just ones marked non-desktop that would make me happy.

@ammen99
Copy link
Member

ammen99 commented Dec 29, 2023

Support for just added for non-desktop outputs. @jc-kynesim what is the use-case for leasing regular outputs?

@jc-kynesim
Copy link

Fullscreen video playback where you want full control over the output to match the input stream. In the fullness of time it would be great if Wayland supported HDR, colour ranges, etc. but it doesn't (and I don't see it doing so in the short term) - DRM does. It would be convenient to be able to simply use it from within Wayland rather than having to switch out of Wayland. X lets you do this (at least with some backends).

@ammen99
Copy link
Member

ammen99 commented Dec 31, 2023

How would you configure that though? The application would have to support running on DRM directly (and afaik there are only a few of them who support that). Or do you want to run X11 on one monitor and Wayfire on the other? That ought to be possible with multiple logind seats afaik.

@jc-kynesim
Copy link

Well I want to use it in VLC (on a Pi) where I have a working DRM output which does HDR, colourspaces etc. and under X I lease the DRM handles when I go to fullscreen - if I could lease DRMs handles that would just work.

@ammen99
Copy link
Member

ammen99 commented Dec 31, 2023

Well I am not against adding the feature but it will require more changes. We'll need to make output-layout aware of the possibility of leasing outputs, and the state will have to be handled accordingly. PRs welcome.

@ammen99 ammen99 reopened this Dec 31, 2023
@ammen99
Copy link
Member

ammen99 commented Dec 31, 2023

Actually, better open a new issue because this one wasnt about that originally.

@ammen99 ammen99 closed this as completed Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants