Red flashing graphics with HW accelerated flash video ( StageVideo ): [.PPAPIContext]GL ERROR :GL_INVALID_OPERATION
Reported by
abh...@justin.tv,
Jul 16 2016
|
|||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Example URL: https://www.twitch.tv/kate Steps to reproduce the problem: 1. Go to any Twitch channels that is currently live for example: https://www.twitch.tv/kate 2. Play a stream using "Source" as the quality option 3. Open a few other tabs playing the same or other channels What is the expected behavior? Video works properly in all the tabs What went wrong? With either the second instance or more, the video will start showing red frames and will not play, unless either hardware acceleration is turned off with flash player, or the browser is restarted and only one instance of the video is played This is the error message that shows up on the console a lot: [.PPAPIContext]GL ERROR :GL_INVALID_OPERATION : glTexSubImage2D: invalid internalformat/format/type combination Did this work before? N/A Is it a problem with Flash or HTML5? Flash Does this work in other browsers? N/A Chrome version: 51.0.2704.103 Channel: stable OS Version: Any Flash Version: Shockwave Flash 22.0 r0 A lot of posts on reddit about this: https://www.reddit.com/r/Twitch/comments/4sohdk/just_got_this_weird_red_flashing_bug_while/ https://www.reddit.com/r/Twitch/comments/4t45z2/when_viewing_a_twitch_stream_my_drivers/ https://www.reddit.com/r/Twitch/comments/4t45z2/when_viewing_a_twitch_stream_my_drivers/d5eg4bn https://www.reddit.com/r/Twitch/comments/4t2is9/betterttv_and_html5_player/ https://www.reddit.com/r/Twitch/comments/4szyr7/stream_flickering_red/ https://www.reddit.com/r/Twitch/comments/4t5ecl/red_flashing_videostream_sometimes/
,
Jul 18 2016
Issue 628900 has been merged into this issue.
,
Jul 19 2016
,
Jul 20 2016
This is most likely tied to certain GPUs. For example, we have confirmed the issue with Nvidia GeForce GT 980 Also please make sure you see the stream using the "Source" quality by going to the Options buttons at the lower left and then selecting "Source" from the "Video Quality" combo box. When playing a stream Other quality settings like "High", "Medium" etc. it does not exhibit the issue. Even easier to see the issue with streams that are 1080p or 720p 60 fps You can see several live channels on Twitch that are streaming with 1080p source or 720p60 source, particularly the top streams in some Channels such as: Counter Strike: https://www.twitch.tv/directory/game/Counter-Strike%3A%20Global%20Offensive World of Warcraft: https://www.twitch.tv/directory/game/World%20of%20Warcraft
,
Jul 20 2016
Also, the issue seems to be tied to the scenario where GPU runs out of memory for HW StageVideo, so a switch to SW causes Chrome to throw an error around incompatible color/format. Its easier to get into that scenario if the user plays higher quality streams and has multiple tabs open.
,
Jul 20 2016
Thank you for providing more feedback. Adding requester "msrchandra@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 20 2016
Here's a tweet with a screen capture of the issue happening: https://twitter.com/Deadfox29/status/755661563147747328
,
Jul 20 2016
,
Jul 25 2016
Could anyone from MTV Team please check on NVidia GeForce GT 980 and confirm whether the issue is reproducible. Thanks in Advance.
,
Jul 26 2016
This issue also happens with the GeForce GTX 960. RAM usage is 8GB out of 64GB. It does seem to always happen when I have a few video streams open, though the video doesn't seem to be flash based? The symptoms are identical otherwise (flashing red, sometimes green).
,
Jul 26 2016
FWIW, So far we have only seen this happen when we enable StageVideo with Flash based playback.
,
Aug 3 2016
I was wondering what the heck this was. Got here from https://bugs.chromium.org/p/chromium/issues/detail?id=308679 Chrome, for all the things it's done better than other browsers, is still clearly at fault for having a long standing bug with hardware acceleration. I have no real input for this, other than to complain that any fix will be in versions of Chrome above v51, the last version before DirectWrite was forced on everyone and text became unreadable. I will say, however, that I have a GTX 780 and this issue can appear even just by opening one stream, though it is easily reproducible by opening a few. Use a multi-video site for example: http://multistre.am/dota2ti/dota2ti_2/dota2ti_3/dota2ti_4/layout10/ (link will become irrelevant once qualifiers are over)
,
Aug 7 2016
Another report here: https://twitter.com/eveuhxx/status/762028354639765504
,
Aug 9 2016
Also experiencing this. Until like about 3 days ago it was fine for me though, not sure what's changed. Maybe drivers. Usually happens when multiple tabs with flash content are open. Killig GPU process fixes it. My GPU is Nvidia GeForce 650 Ti, running multiple displays. I'm not sure if these problems are related, but few times I was observing several chunks of the active tabs open on different monitors to be drawn over crashed tabs with 1:1 position mapping of those chunks. I know nothing about internals, but it looks like in some cases it's mixing things together Video driver version: 368.81 Chrome version: 52.0.2743.116 m (64-bit)
,
Aug 9 2016
@MTV: Team, could you please look into this issue. Unable to repro this issue on Windows 7 for Google Chrome Stable Version - 52.0.2743.116
,
Aug 14 2016
I am getting this on Windows 10 with HTML5 video. Version 52.0.2743.116 m. Trying to watch 4 videos in one tab: http://multistre.am/trikslyr/khaldor/inverum/djtyrant/layout9/ Whichever one I start last is flashing red every other frame. I had this yesterday too tho restarting the video fixed it that time.
,
Aug 14 2016
,
Aug 14 2016
Maybe this should be a separate bug cuz not flash, but HTML5. But I suspect its actually just both and nothing to do with flash at all.
,
Aug 14 2016
Also https://bugs.chromium.org/p/chromium/issues/detail?id=308679 is probably the same bug.
,
Aug 14 2016
My about:gpu is spammed with this: [4932:8096:0814/110925:ERROR:texture_manager.cc(2190)] : [.PPAPIContext]GL ERROR :GL_INVALID_OPERATION : glTexSubImage2D: invalid internalformat/format/type combination 0x1908/0x1909/0x1401 Attached in full. Also, I lied about html5 then cuz that says PPAPI, and twitch just made the flash player look like the html5 player woops. Confirmed, I found this: <object align="middle" width="100%" height="100%" id="swfobject-0" type="application/x-shockwave-flash" data="http://player.twitch.tv/vendor/TwitchPlayer.recent.34c9b27a47de357436c735192f79cfdf.swf" style="visibility: visible;"><param name="bgcolor" value="#000"><param name="allowscriptaccess" value="always"><param name="allowfullscreen" value="true"><param name="wmode" value="direct"><param name="flashvars" value="eventsCallback=window._BackendFlash_emitEvents&eventsContext=0&initCallback=null"></object>
,
Aug 15 2016
Yeah, twitch is Flash still so removing myself as owner; +sandersd in case this relates to flash's hardware decode pipeline.
,
Aug 15 2016
0x1908/0x1909/0x1401 is GL_RGBA/GL_LUMINANCE/GL_UNSIGNED_BYTE It is indeed incorrect, because in GLES2 it is required that internalformat == format.
,
Aug 15 2016
+jbauman because of video + windows. Do you think this can be related to the recent changes to the video decoding pipeline (e.g. NV12, DXGI zero-copy, etc.) ?
,
Aug 15 2016
I am unable to repro on CrOS samus 54.0.2826.0/8708.0.0 with up to 7 videos. Flash will only use hw decode for 3 videos. In Flash GL_LUMINANCE is only used for software decoded video (which happens with the 4th video or when hardware decode is disabled). Now disabling hardware decode reportedly fixes this issue. So the question is can the red flashing on Windows be reproduced playing exactly 2 or 3 Twitch videos?
,
Aug 15 2016
I had the red flashing in a number of different video configurations. The multistre.am/ url above first started it. At that point if I paused/played the 4th video, the flashing would move to the 3rd video. If I paused/played that one, it would move back to the 4th. Afterward I closed the multistre.am and tried just having 3 videos in different tabs in different windows, and was still getting red flashing. I think it went away when I downsided to 2 videos, but it may have happened sporatically there too, with refresh fixing it, my memory is not clear on that.
,
Aug 15 2016
This was happening on M51, so it's not related to the new NV12 changes. Is the red flickering only happening on NVIDIA cards? I'm seeing it on a Quadro 600.
,
Aug 15 2016
For me: NVIDIA GeForce GTX 750 Ti
,
Aug 16 2016
This is most likely a bug in flash. Here's an issue I've seen happen before the red blinking: In Flash's PPP_VideoDecoder_Dev ProvidePictureBuffers implementation it does GenTextures of the picture buffers on the correct decoder GL context, but does BindTexture and TexImage2D on a different GL context which is bound to a different instance. This means a) the hardware decoder fails to initialize because the picture buffers aren't set up properly, and b) the teximage intended for the hardware decoder can affect the textures that are supposed to be uploaded to from the software decoder, setting their internal format to GL_RGBA. I think Flash is missing a MakeCurrent somewhere, which could cause this to happen.
,
Aug 18 2016
Is there an update on this issue? I've run into this yesterday on Chrome stable: as soon as I open a third video, one of the other two starts flashing red.
,
Aug 19 2016
I have been testing a local fix based on investigation from jbauman@chromium.org since yesterday, it seems working for me. But today twitch switched to HTML5 player, and I am not able to switch back to Flash Player. I tried to follow the instruction to turn off HTML5 Player beta, but it does not seem to work.
,
Aug 19 2016
Im not sure if it repros on linux but I get flash on linux for http://multistre.am/
,
Aug 19 2016
OK, I am still using Flash Player, even though the context menu does not show it. As long as HTML5 Player is disabled, it should be using Flash. I have submitted a fix into our product release branch, it will probably be available in next beta build sometime next week. My test procedure is this: 1. Load 4 videos from https://www.twitch.tv/directory/game/World%20of%20Warcraft in each tab 2. Change video quality to "source" for each of them. Actually, if you change it for the first one, then open other videos, they will stay at "source" quality level. 3. If I don't see the red frame, reload each tab. 4. repeat step 3 Without my fix, it usually takes about 3-4 rounds to make this issue appear; With my fix, I haven't seen it so far (at least 60 rounds) I hope the fix can solve the problem.
,
Aug 26 2016
,
Mar 13 2017
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
,
Mar 15 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||
►
Sign in to add a comment |
|||||||||||||||
Comment 1 by msrchandra@chromium.org
, Jul 18 2016Labels: Needs-Feedback