Closed
Bug 1226032
Opened 9 years ago
Closed 6 years ago
Implement _NET_WM_BYPASS_COMPOSITOR to automatically enable or disable the unredirect mode of the compositor
Categories
(Core :: Graphics: Layers, defect, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 1134077
People
(Reporter: jeremy9856, Unassigned)
Details
(Keywords: feature, Whiteboard: gfx-noted)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 Steps to reproduce: Hello, I'm on Fedora 22 (Gnome Shell 3.16) with Nouveau drivers and I have tearing with the flash videos in Fullscreen when the compositor detect the fullscreen window and enable the unredirect mode. Like I said here (https://bugzilla.mozilla.org/show_bug.cgi?id=1134077) I don't have tearing with others videos types like html5 videos. So is it possible to implement the possibility to automatically enable or disable the unredirect mode of the compositor in fullscreen with this freedesktop.org feature ? http://cgit.freedesktop.org/xdg/xdg-specs/tree/wm-spec/wm-spec.xml#n1579 We should be able to active it only for flash (plugin-container I think) or for everything. In addition it will be great if we can fix the tearing in Fullscreen for flash videos even when the unredirect mode is enabled. Thank you.
Reporter | ||
Updated•9 years ago
|
OS: Unspecified → Linux
Hardware: Unspecified → All
Updated•9 years ago
|
Component: Untriaged → Plug-ins
Product: Firefox → Core
Reporter | ||
Comment 1•8 years ago
|
||
I opened an other bug report about Flash video tearing (https://bugzilla.mozilla.org/show_bug.cgi?id=1235282) I disagree that this is triaged as a Plug-ins thing. I talked about Flash because it's where I have tearing but the _NET_WM_BYPASS_COMPOSITOR hint I suggest is not about Flash but it's a way for an app to control the system compositor.
Reporter | ||
Updated•8 years ago
|
Component: Plug-ins → Audio/Video: Playback
Version: 42 Branch → unspecified
Comment 2•8 years ago
|
||
It's not a playback issue per se. There's nothing we in the Media Team can do. If you don't think it's specific to flash (test case would be good!) Maybe try graphics for compositor feature request, or submit a patch.
Component: Audio/Video: Playback → Graphics: Layers
Updated•8 years ago
|
Whiteboard: gfx-noted
Reporter | ||
Comment 3•8 years ago
|
||
So no interest in this ?
Comment 4•8 years ago
|
||
(In reply to jeremy9856 from comment #3) > So no interest in this ? This would be related to cleaning up our vsync handling in general on our GTK backend, which right now is somewhat of a big mess. It's not something we could get to in the short-term, but could be something that happens eventually - i.e. things like using the Present extension to ensure we do take advantange of any tear-free capabilities the X server is willing to provide us with... and as to what extent this WM property would interact with that. Maybe this summer we can take a look at it.
Reporter | ||
Comment 5•8 years ago
|
||
> Maybe this summer we can take a look at it. That's very great ! It's not urgent but it will be a nice improvement, notably for tearing. By the way can you look at this bug please (Flash video tearing) https://bugzilla.mozilla.org/show_bug.cgi?id=1235282 ? Keep in mind that this property should be configurable with something like that : No bypass : _NET_WM_BYPASS_COMPOSITOR=0 Compositing always enabled : _NET_WM_BYPASS_COMPOSITOR=2 Compositing enabled for Flash video in Fullscreen : _NET_WM_BYPASS_COMPOSITOR=2 if Flash in Fullscreen Compositing always disabled : _NET_WM_BYPASS_COMPOSITOR=1 Compositing disabled only in Fullscreen : _NET_WM_BYPASS_COMPOSITOR=1 if in Fullscreen ... Thanks !
Reporter | ||
Comment 6•8 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #4) > Maybe this summer we can take a look at it. Summer is almost here. Do you think that can be implemented now ?
Reporter | ||
Comment 7•8 years ago
|
||
Still not ?
Reporter | ||
Comment 8•8 years ago
|
||
Hello, Is it possible to make it happen please ?
Comment 9•8 years ago
|
||
The gfx team has been very busy with other issues of late so we've not had time to look into it.
Keywords: feature
Priority: -- → P5
Reporter | ||
Updated•8 years ago
|
Version: unspecified → 49 Branch
Reporter | ||
Comment 10•8 years ago
|
||
I hope you will find time to implement it.
Reporter | ||
Comment 11•7 years ago
|
||
Hello, It seem to be a fairly simple thing to add. https://github.com/mpv-player/mpv/commit/ad3f75cc94adac9781fda93cc2a7c0c23ac0a606 https://github.com/mpv-player/mpv/commit/55846641eac86d55817be20eab00b8256a7e1c9a Can you add this to Firefox now please ? Thanks !
Comment 12•7 years ago
|
||
@jeremy9856: If you want some feature / bug fixed, either provide a patch, or (if you cannot) consider paying someone to write that patch for you, but please stop spamming bug reports with comments which add no useful information whatsoever and could be seen as just whining. Thanks.
Reporter | ||
Comment 13•7 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #9) > The gfx team has been very busy with other issues of late so we've not had > time to look into it. Do you have the time now ?
Reporter | ||
Comment 14•7 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #4) Maybe this summer we can take a look at it. Well, the next year summer is almost finished and it still not implemented. I hope it will be soon :) Thanks !
Reporter | ||
Updated•7 years ago
|
Version: 49 Branch → 55 Branch
Reporter | ||
Comment 15•6 years ago
|
||
Even Google Chrome implement it now... https://bugs.chromium.org/p/chromium/issues/detail?id=344141#c48
Comment 16•6 years ago
|
||
Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1134077, for which a patch is forthcoming. The tearing issues with plugin-container windows will probably necessitate a separate fix, discussion should continue in https://bugzilla.mozilla.org/show_bug.cgi?id=1235282.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•