fix: add wayland gpu-context to mpv for proper fullscreen support#4183
fix: add wayland gpu-context to mpv for proper fullscreen support#4183EFrMG wants to merge 6 commits intobasecamp:masterfrom
Conversation
|
Downgrading to 40.7 fixes this. I don't think it's worth bothering working around this when it'll probably get fixed upstream. |
|
Ugh this is a mess: mpv-player/mpv#17204 mpv: not our bug, either hyprland or wayland-protocols. |
|
Passing to mpv is another way to handle this. |
But you are dropping HDR for SDR. |
|
Doing a bit of research I found this: In 0.41.0, Bug: The older version likely defaulted to SDR tone-mapping that just happened to look better, just as |
|
We have two options then: Apply a temporary fix expressed in the PR; I can monitor in upcoming updates if Or just close the PR and wait for it to get fixed, although some might see washed-out colors on fullscreen for a while. Inconveniently enough, mpv depends on a lot of stuff as well. |
- Add --webcam-device argument to omarchy-cmd-screenrecord - Auto-detect first available webcam if none specified - Add webcam selection UI in omarchy-menu when multiple cameras available - Skip selection UI when only one webcam is detected
Regarding what changed between mpv vers.0.20 and vers.0.21
|
Apparently next version of libplacebo will fix this. In my case, I have to use Wayland instead of waylandvk so that hardware decoding works (old GPU). |
|
A more consistent solution to this and other related patches in the future, also considering how extensive Wayland is, is to add a new walker menu entry where to toggle patches. We might be leaving users with HDR-supporting monitors with a lesser quality image in this case, so a toggle is ideal. There could also be an "Experiments" section which might be ambitious but useful nonetheless. For instance, this is in the form of: The main advantage would be to have a more stable and easy-to-fix system regarding common eventualities. A secondary yet important thing could be to check what the userbase wants from new experiments quickly; granted that there is some reusable logic that makes it work both ways (for developers and curious users). Including that if experiments or patches conflict or break things, toggling them could be safer to test in most cases, as it would keep the distro more immutable and forward-looking. It is an idea that may flourish someday. |
Removed the old migrations script and replaced it with a new menu entry under "Updates" called "Patches".
|
My apologies for the edits! |
|
A bit of info on this from: MPV's documentation. Where even if Wayland is reported as supported,
Another option is to use What those two flags do is essentially the same, although one operates prior to the other and is more consistent (the one in the PR changes). |
|
This seems to be fixed with the latest mpv. edit: No it's not... my display showed a warning: Wide color gamut is enabled but the display is not in 10bit mode |
|
I found another way to fix this: in .config/hypr/monitors.conf |



Closes #4182
It is my hope this helps! Thank you for the technical blessing the distro is.