-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(MediaViewer): enable GraphicsOffload for videos #909
Conversation
@GeopJr: just to ask in advance: would you be open to make the video top-bar auto-hide together with other video controls in fullscreen mode? I think that would be good both from a design and a performance perspective :) On touch devices all controls would probably need to toggle on/off on tap. P.S.: it might be a chance to give the video mode a small design overhaul - did you already have ideas for that? I hope to talk to some members of the design team about that soon, they might have good ideas as well. |
Yeah, I wouldn't mind removing the headerbar on fullscreen altogether and instead have a floating 'toggle fullscreen' button (visible on mouse movement/click and such)! In general, I'll follow anything the design team suggests. In the past, Tobias on #299 suggested making the state overlay of GtkVideo clickable (done upstream) and adding padding around the media controls (ignored upstream, done here). On #397, dropping the zoom buttons was mentioned but no further discussion took place As I mentioned briefly on #299, it might be time for a libadwaita video player or controls so other apps like Fractal can also benefit from it - rather than designing and implementing one just for Tuba |
With further changes in the pipe - like #913 - I think this is good to go. Tested on a few devices and haven't seen any regression - while there are some pretty nice performance improvements in various cases. FTR: I think this is also good for a point release. In case some people see regressions, we'd most likely have to fix them on the driver side. Tuba is one of the first apps to (hopefully :P) adopt this new feature, but fortunately would be much less badly affected than e.g. a video player. I.e. if people using specific hardware would see buggy output when watching videos, that wouldn't break the main features of the app. |
Thanks for leading this! Btw, I don't know if it makes a difference, but FWIW, Tuba does not use Feel free to experiment on Tuba if needed in the future again! It's still 'alpha' software so I don't mind if it's used as a testing ground |
Oh, the Flatpak build seems to fail because it's still using GTK Regarding
Thanks a lot for the app, the help and the quick responses! I use Tuba as my main Mastodon client now and am really happy with it already - and will surely come back from time to time with issues or ideas. |
I think |
79b88f8
to
29c486e
Compare
Just wanted to play with the flatpak and stumbled over the 46beta entry there - with that, I suppose the CI should succeed now. |
In order to allow pass-through of video content to Wayland compositors, reducing copies on the GPU and thus improving battery life and performance. This change should generally be safe to do, however given the higher chances of triggering driver bugs good testing is due.
29c486e
to
3466652
Compare
Yay, it worked. |
LGTM, merging! |
In order to allow pass-through of video content to Wayland compositors, reducing copies on the GPU and thus improving battery life and performance.
This change should generally be safe to do, however given the higher chances of triggering driver bugs good testing is due.
An easy way to test this is to look at
intel_gpu_top
/radeontop
/ similar tools - in many cases this should be able to reduce GPU work considerably, especially for high-res content.Note that for now it only affect hardware-decoded content - this will hopefully change in the future.
Draft because: