-
-
Notifications
You must be signed in to change notification settings - Fork 914
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
Hw cursors fix for nvidia #6847
Conversation
as I've said in the AQ MR, I'd rather use drm_dumb buffers for this if possible. Should be faster than a dataptr. |
I don't know how to use them and you don't seem to have enough time to deal with this issue. |
fair enough |
* logging * fallback to dump cursor copy * unmap gbm buffer when done Signed-off-by: Vaxry <[email protected]>
* logging * fallback to dump cursor copy * unmap gbm buffer when done Signed-off-by: Vaxry <[email protected]>
* logging * fallback to dump cursor copy * unmap gbm buffer when done Signed-off-by: Vaxry <[email protected]>
* logging * fallback to dump cursor copy * unmap gbm buffer when done Signed-off-by: Vaxry <[email protected]>
* logging * fallback to dump cursor copy * unmap gbm buffer when done Signed-off-by: Vaxry <[email protected]>
@UjinT34 any chance we could get scaling into this? |
@gulafaran worked on #7040 I don't have access to nvidia hardware atm. And I am not really interested in HW cursors without VRR #7386 |
Describe your PR, what does it fix/add?
Adds an option
cursor:allow_dumb_copy
to allow dumb copy from cursor resource buffer to gbm buffer if rendering to gbm fails.Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Works for me for the most part. Lacks some features (scaling at least). Only meant as a workaround to get hw cursors which is required to test direct scanout, vrr with hw cursors and explicit sync. Probably needs a better way of copying.
Is it ready for merging, or does it need work?
Requires hyprwm/aquamarine#12