-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Tearing in fullscreen #232
Comments
Run After that, run |
Does setting |
When I try to start |
You need to put the option in the textbox labeled |
Still the same tearing as before. |
Can you try playing a video fullscreen with this and see if you still get tearing? It's mpv's official client API example code I modified to support fullscreen mode. Compile by running |
I tested it on the qtexample and couldn't find any tearing. |
When I uncheck "Enable client-side decorations" and restart gnome-mpv I can't see any tearing. I guess I should have tried this sooner.
Test file: (zipped so that I can upload it here) |
I can reproduce the tearing now. |
I found that mpv does this when it's attached (using the
|
That's not a mpv problem, rather an issue with either your compositor or the nvidia drivers. (With nvidia drivers, I can get good behavior only when setting it to maximum performance in general anyway - maybe that applies here too.) Given how this won't work at all under Wayland, it might be a good idea to add support for opengl-cb embedding. |
opengl-cb is already used on Wayland. |
But not on X? Any reason for that? |
It will use opengl-cb on X if the user explicitly sets |
That's really odd that it would require that... |
Based on this, it requires core profiles from OpenGL 3.2+. Since gtk 3.20, it also supports legacy GL 3.0 profiles, but some users are still on older OpenGL versions. |
For what little GL usage they have, there really isn't an excuse not to support GL 2.1 + FBO extensions. But whatever. |
open gnome-mpv - press CTRL+P - Unmark "Enable client-side decoration"(its a first option.my english is not good^_^)its work on me |
Are there any other workarounds besides disabling CSD in gnome-mpv? |
You can also use Wayland. |
Oh god, that is even worse XD |
I don't know Gnome well enough, but what about forwarding this issue to the CSD/Gtk devs? |
@Esokrates You need actionable information first. Something smaller to reproduce than "Use libmpv to render an entire video". |
I have found a workaround by installing this gnome-shell extension (works on 3.32): |
Unchecking "Enable client-side decorations" doesn't seem to fix the issue anymore. Here is how my tearing appears:
To stop the tearing, I had to go to Preferences>Miscellaneous, and put Additional Info: |
Opposite Experience for me: Enabling vo=opengl-cb just made my issue worse. Reproduce:
Additional Info: Tomorrow I'm probably going to get a full bugzilla report to submit to GNOME and/or Mesa depending on what I can figure out. |
This is still reproducible on Celluloid 0.22.
Here's a relevant bug report on GNOME's bug tracker. |
Overview Description:
When running gnome-mpv in fullscreen I get tearing. This does not happen when I open up the same file in mpv, it only happens with gnome-mpv. I'm using the default configuration for both.
Version:
GNOME MPV 0.10 (and git master)
mpv 0.20.0
ffmpeg library versions:
libavutil 55.28.100
libavcodec 57.48.101
libavformat 57.41.100
libswscale 4.1.100
libavfilter 6.47.100
libswresample 2.1.100
ffmpeg version: 3.1.4
Additional Information:
The file I tested it was an mkv file using h264 video.
Graphics driver: nvidia
OS: ArchLinux
The text was updated successfully, but these errors were encountered: