Closed Bug 1207175 Opened 9 years ago Closed 9 years ago

Videos on Facebook stop for a while several times without stopping the music on latest beta build with HWA enabled

Categories

(Core :: Audio/Video: Playback, defect, P1)

42 Branch
Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox42 --- fixed
firefox44 --- unaffected

People

(Reporter: 2ljpswpih, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20150921151815 Steps to reproduce: Click on any movie posted on Facebook. After that there will be problems with displaying that.
OS: Unspecified → Windows 10
It's 42.0b1 version.
Which kind of issues? I tested with this public video, no issue, the playback is fine, no hang. https://www.facebook.com/yusubovofficial/videos/678011139003152/
Component: Untriaged → Audio/Video: Playback
Flags: needinfo?(to_du)
Product: Firefox → Core
I checked this and it's only happen when you are logged in Facebook. When you are not, everything goes well.
Flags: needinfo?(to_du)
(In reply to Loic from comment #2) > Which kind of issues? > I tested with this public video, no issue, the playback is fine, no hang. > https://www.facebook.com/yusubovofficial/videos/678011139003152/ I checked this and it's only happen when you are logged in Facebook. When you are not, everything goes well.
Ok, I have disabled all add-ons and there is no problem. Some add-ons must cause problem.
to_du, can you please copy your Firefox Troubleshooting Information into this bug? This information will include a list of the add-ons you have installed. This will help us isolate the add-on triggering the video problem. Here are instructions on copying the Troubleshooting Information: https://support.mozilla.org/en-US/kb/use-troubleshooting-information-page-fix-firefox
I will do it next week, because now I'm out of the laptop.
(In reply to Chris Peterson [:cpeterson] from comment #6) > to_du, can you please copy your Firefox Troubleshooting Information into > this bug? This information will include a list of the add-ons you have > installed. This will help us isolate the add-on triggering the video problem. > > Here are instructions on copying the Troubleshooting Information: > > https://support.mozilla.org/en-US/kb/use-troubleshooting-information-page- > fix-firefox I don't know whether I have pasted proper information and I don't know whether you can understand it, because it's in Polish. I remind: when I'm logged of Facebook, there's no problem, even in normal mode. When I'm logged in Facebook, videos plays good only with disabled add-ons: Informacje o aplikacji ---------------------- Nazwa: Firefox Wersja: 42.0b1 ID kompilacji: 20150921151815 Kanał aktualizacji: beta Identyfikator programu: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0 Okna wieloprocesowe: 0/1 (domyślnie: false) Tryb awaryjny: false Zgłoszenia awarii z ostatnich 3 dni ----------------------------------- Wszystkie zgłoszenia awarii Rozszerzenia ------------ Nazwa: Adblock Plus Wersja: 2.6.11 Włączone: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Nazwa: Firebug Wersja: 2.0.12 Włączone: true ID: firebug@software.joehewitt.com Nazwa: Lightbeam Wersja: 1.2.1.1-signed Włączone: true ID: jid1-F9UJ2thwoAm5gQ@jetpack Grafika ------- Asynchroniczne przewijanie/powiększanie: brak Data sterownika: 7-17-2015 Data sterownika (GPU #2): 7-22-2015 GPU #2 Active: false ID dostawcy: 0x8086 ID dostawcy (GPU #2): 0x10de ID subsystemu: 229c103c ID subsystemu (GPU #2): 229c103c ID urządzenia: 0x1616 ID urządzenia (GPU #2): 0x1391 Okna ze sprzętowym przyspieszeniem grafiki: 1/1 Direct3D 11 (OMTC) Opis adaptera: Intel(R) HD Graphics 5500 Opis adaptera (GPU #2): NVIDIA GeForce GTX 850M RAM adaptera: Unknown RAM adaptera (GPU #2): 4095 Renderer WebGL: Google Inc. -- ANGLE (Intel(R) HD Graphics 5500 Direct3D11 vs_5_0 ps_5_0) Sprzętowe dekodowanie H264: true Sterowniki adaptera: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32 Sterowniki adaptera (GPU #2): nvd3dumx,nvwgf2umx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um Wersja sterownika: 10.18.15.4256 Wersja sterownika (GPU #2): 10.18.13.5362 windowLayerManagerRemote: true Włączone Direct2D: true Włączone DirectWrite: true (10.0.10240.16430) AzureCanvasBackend: direct2d 1.1 AzureContentBackend: direct2d 1.1 AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 Ważne zmodyfikowane ustawienia ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 2 browser.download.importedFromSqlite: true browser.places.smartBookmarksVersion: 7 browser.sessionstore.upgradeBackup.latestBuildID: 20150921151815 browser.startup.homepage_override.buildID: 20150921151815 browser.startup.homepage_override.mstone: 42.0 dom.apps.reset-permissions: true dom.mozApps.used: true extensions.lastAppVersion: 42.0 font.internaluseonly.changed: true gfx.direct3d.last_used_feature_level_idx: 0 gfx.driver-init.appVersion: 42.0 gfx.driver-init.deviceID: 0x1616 gfx.driver-init.driverVersion: 10.18.15.4256 gfx.driver-init.feature-d2d: true gfx.driver-init.feature-d3d11: true gfx.driver-init.status: 2 media.gmp-eme-adobe.lastUpdate: 1441871809 media.gmp-eme-adobe.version: 12 media.gmp-gmpopenh264.lastUpdate: 1441871819 media.gmp-gmpopenh264.version: 1.4 media.gmp-manager.buildID: 20150921151815 media.gmp-manager.lastCheck: 1443377809 media.hardware-video-decoding.failed: false network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1443378322 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true privacy.cpd.cookies: false privacy.donottrackheader.enabled: true privacy.sanitize.migrateFx3Prefs: true privacy.sanitize.timeSpan: 0 storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1441809717 Ważne zablokowane ustawienia ---------------------------- JavaScript ---------- Przyrostowy GC: true Ułatwienia dostępu ------------------ Aktywne: false Zablokuj ułatwienia dostępu: 0 Wersje bibliotek ---------------- NSPR Oczekiwana wersja minimalna: 4.10.9 Wersja w użyciu: 4.10.9 NSS Oczekiwana wersja minimalna: 3.19.3 Basic ECC Wersja w użyciu: 3.19.3 Basic ECC NSSSMIME Oczekiwana wersja minimalna: 3.19.3 Basic ECC Wersja w użyciu: 3.19.3 Basic ECC NSSSSL Oczekiwana wersja minimalna: 3.19.3 Basic ECC Wersja w użyciu: 3.19.3 Basic ECC NSSUTIL Oczekiwana wersja minimalna: 3.19.3 Wersja w użyciu: 3.19.3 Eksperymenty ------------
You should upgrade your Nvidia drivers, especially with Win 10, these ones released just after the Win 10 release are bugged in many ways. http://www.nvidia.pl/download/driverResults.aspx/91989/pl
(In reply to Loic from comment #9) > You should upgrade your Nvidia drivers, especially with Win 10, these ones > released just after the Win 10 release are bugged in many ways. > http://www.nvidia.pl/download/driverResults.aspx/91989/pl I know that there are newer graphic drivers, but my Nvidia Geforce Experience doesn't find this drivers so I'm not sure if this would be safe.
These news rivers are WHQL so it's fine. It could be an issue with some laptops (Dell, Lenovo) because these OEMs prefer to release their own drivers (which are often outdated... but not on the website of Nvidia/AMD). Honestly with Win 10 which a recent OS, it's better to run the latest drivers.
No difference after update of graphic drivers.
When I try to manually disable single add-on and launch Firefox, problem doesn't dissapear, so I can't figure out what add-on causes problem, but when I click "Lauch Firefox again with disabled add-ons" (safe mode), the problem dissapears. Checked on 2 other computers with the same effect, so I'm not really sure if problem with displaying video is caused by some add-on.
Safe mode disables HWA too, not only the add-ons. Could you test with HWA disabled (restart FF to apply): https://support.mozilla.org/en-US/kb/reset-firefox-to-fix-most-problems
Bingo. This setting causes problem. When I have unchecked this, problem dissapeard.
I'm not sure. I tested this normally after restart. Do I have to create new profile?
Yes, to be sure, you can delete the test profile after.
Ok, this is it. On new profile video hangs with HWA enabled and doesn't hang with HWA disabled. Is it my hardware/software issue, or is it Firefox issue and update will repair it?
I don't know, maybe driver issue.
Summary: Videos on Facebook are not playing good on latest beta build. Picture stops for a while several times without stopping the music. → Videos on Facebook stop for a while several times without stopping the music on latest beta build with HWA enabled
302 k17e, we might want to adjust the block list or something.
Flags: needinfo?(ajones)
Can you try with Firefox nightly to see if the problem persists there?
Flags: needinfo?(ajones)
Flags: needinfo?(ajones)
In Firefox nightly problem disappeared.
I have noticed that new update has been released (Firefox 42.0b2), but problem still persists. I don't know, maybe this update is related with something else, but in the latest beta build video still hangs on Facebook films with HWA enabled.
Problem still persist on Firefox Setup 42.0b3 candidate(02-Oct-2015 03:01)
Alvaro, could you test with Nightly, please. https://nightly.mozilla.org/
Flags: needinfo?(darkhellsatan666)
Loic, thanks for the suggestion, nightly (44 alpha) is ok
Flags: needinfo?(darkhellsatan666)
In latest beta build (Firefox 42.0b3) problem disappeared. Good work.
You mean 42.0b3 build?
Sorry, but the problem didn't disappeared. I noticed that when I watch video entering some facebook page the problem is not present, but when I watch video in news feed, problem comes back.
*didn't disappear. It seems that the problem is half-fixed.
In Firefox Nightly problem is completely not present. I must say that in Firefox Nightly scrolling is just amazing in comparison to Firefox Beta, even it's better than in Chrome. When do you plan to launch this fast, smooth scrolling to Firefox Beta?
(In reply to to_du from comment #35) > In Firefox Nightly problem is completely not present. @ Matt, do you know of any GPU fixes in 43 or 44 that might have fixed this video problem? Are either of the GPUs listed in comment 8's about:support on our blocklist? > I must say that in Firefox Nightly scrolling is just amazing in comparison > to Firefox Beta, even it's better than in Chrome. When do you plan to launch > this fast, smooth scrolling to Firefox Beta? The scrolling improvement is probably the new "Async Pan Zoom" (APZ). This feature is only enabled on the Nightly channel because there are still bugs. You can watch bug 1178298 to see when APZ is ready to advance from Nightly to Dev Edition and Beta.
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(matt.woodrow)
Resolution: FIXED → ---
(In reply to Chris Peterson [:cpeterson] from comment #36) > (In reply to to_du from comment #35) > > In Firefox Nightly problem is completely not present. > > @ Matt, do you know of any GPU fixes in 43 or 44 that might have fixed this > video problem? Are either of the GPUs listed in comment 8's about:support on > our blocklist? If we assume the OP is referring to video not pausing in Facebook; this is likely related to the Read vs Seek threshold value that was bump from 32kB to 1MB in 43.
In comment 21, the reporter says toggling HWA makes the video problem go away.
Weird, now I feel a little bit confused, because I have tested in many ways to reproduce the issue and I couldn't do that. I'm sure that I have reproduced this bug earlier, but now I can't notice this, in news feed and also by entering the facebook page, in SD and in HD. Perhaps in depenends on that how deep I go in news feed to play video.
I finally reproduced this bug. This video stops in my Firefox Beta, latest build. How about yours? https://www.facebook.com/janusz.korwin.mikke/videos/vb.277681892059/10153113051302060/?type=2&theater
It's strange as to_du said, since yesterday at night i'm being unable to reproduce the problem on 42.0b3, i've uninstalled nightly yesterday at afternoon because his own bugs, and after that on my current ff the problem apparently disappear, maybe facebook did something?, i don't know o_o?
Alvaro, how about mentioned video?
without issues hete to_du, it plays perfect, it's strange
That's how it looks in my Firefox Beta. I checked one more time and for sure - without HWA enabled everything works well. https://youtu.be/ydCSO8kApLc
Yeah, the same happened to my days ago with majority of fb videos, then used nightly and no problems (about this), then go back to current 42.0b3 yesterday and all perfect, is very confusing, i have HWA enabled all the time, so what changed between 42.0b3 pre nightly test and 42.0b3 post nightly uninstall?... i don't know o_o?, same app version, same profile, i don't know, maybe nightly modified something on profile?, maybe facebook changed some code on his page/embeded player? i have no idea.
Well to_du, couple of minutes playing several fb videos without problems i found a problematic one https://www.facebook.com/groups/mitulua.net/permalink/1646526042288227/ this video plays perfect on MS Edge, but in 42.0b3 freezes each 2 seconds
The same from me.
But with disabled HWA it plays perfect.
New version of Firefox Beta (42.0b4), but problem still persists.
I must admit that now is quite hard to find videos with graphic problems, but some videos, like I mentioned and Alvaro, hangs. Video posted by Loic also hangs. I don't know, maybe this depends a little bit on Facebook, but in Chrome all videos play very good, without hanging.
I've just updated graphic drivers to latest version (from today), but bug is still present, so it must be caused by Firefox. In Firefox Nightly problem is not present. Next video which hangs: https://www.facebook.com/BVB/posts/1235934476418530?comment_tracking={%22tn%22%3A%22O%22} I remind about interesting thing - when I'm not logged in Facebook, there is no hanging, video doesn't stop, bug is not present.
Flags: needinfo?(ajones)
I'm bumping the priority because there is definitely something strange going on here.
Flags: needinfo?(ajones)
Priority: P2 → P1
Requesting uplift of bug 1142455 on the basis that it will likely help anyway.
Firefox 42.0b5 didn't fix the problem unfortunately. If it comes to the latest beta version, Firefox 42.ob4 hasn't seen next version. I must have download it manually.
Newest Firefox Beta version 42.0b6 didn't fix the problem unfortunately. As previous, my Firefox 42.0b5 hasn't seen next version. I must have download it manually.
Do you work on this bug? With Firefox Beta 42.0b8 no improvement of playing Facebook videos.
Very weird thing. Third time I displayed videos to ensure that bug persists, but this time and next videos play without problem. I will try to do it on fresh profile one more time.
On non-fresh profile one time video hangs, another time doesn't.
On fresh profile I tested several times and each time every mentioned video was hanging.
VERY WEIRD. I've restarted laptop, launched new profile and entered these videos. Of course, big problems with displaying. I've tested 5 times and after 6 time all videos began to play very good. Something has changed for better, but it works very randomly. After 15 times displaying videos without problems, problems began.
Well, problem persist, FF 42.0b8 Win 10 TH2 10565, Nvidia drivers 358.70 I'm not programmer, just say what i think and supose., i't possible that this is related to the specific video format, the way that FF handles the keyframes and the way that this data is send or processed by the HWA API, module, or whatever you use to get access to the HWA???, it's very suspicious that the video don't freeze randomly, it freezes always at the same points, that makes me think that these points are the keyframes.
Temporary freeze and permanent hangs are two very different things. Audio has absolute priority in how it's being decoded, that is everything is done so it plays continuously without interruption. If your machine is too slow (either CPU, GPU or network) to retrieve, decode and display the video frames in time to have perfect A/V sync, video frames will be dropped and video playback will restart from the next video keyframe (as no frames in between can be decoded in time) This is when you're seeing "freezes", video appears paused while audio continue playing and restart once audio has played until the next video keyframe time is reached.
I have quite powerful laptop (Intel Core i7-5500u, Nvidia GeForce GTX 850M 4GB) and quite fast internet (10 MB/s). I can see that video has loaded, but it hangs.
(In reply to to_du from comment #64) > I have quite powerful laptop (Intel Core i7-5500u, Nvidia GeForce GTX 850M > 4GB) and quite fast internet (10 MB/s). I can see that video has loaded, but > it hangs. My response was directed toward Alvaro as his issue (temporary freeze) is obviously different to yours (hang). Unless you have a different definition for hangs. Does video ever resume?
Perhaps I'm not able to exactly describe what's the problem, but I posted here earlier video of this bug. https://www.youtube.com/watch?v=ydCSO8kApLc&feature=youtu.be
Audio plays without interruption and as Alvaro said: "The video don't freeze randomly, it freezes always at the same points" - for me hanging and freezing is quite similar - the case is that video stops for some time, but always at the same points without stopping audio.
As you can see on the video (at the end) that Facebook counter also stops with video, let's say on 10 second, the hang lasts 2 second and counter starts with 12 second.
(In reply to Chris Peterson [:cpeterson] from comment #36) > (In reply to to_du from comment #35) > > In Firefox Nightly problem is completely not present. > > @ Matt, do you know of any GPU fixes in 43 or 44 that might have fixed this > video problem? Are either of the GPUs listed in comment 8's about:support on > our blocklist? There's been a few things, but nothing too major, and nothing that I would expect to have this sort of effect. Might be worth bisecting if someone can reproduce it.
Flags: needinfo?(matt.woodrow)
(In reply to Jean-Yves Avenard [:jya] from comment #63) > Temporary freeze and permanent hangs are two very different things. > > Audio has absolute priority in how it's being decoded, that is everything is > done so it plays continuously without interruption. > If your machine is too slow (either CPU, GPU or network) to retrieve, decode > and display the video frames in time to have perfect A/V sync, video frames > will be dropped and video playback will restart from the next video keyframe > (as no frames in between can be decoded in time) > > This is when you're seeing "freezes", video appears paused while audio > continue playing and restart once audio has played until the next video > keyframe time is reached. Mr. Jean, no, at least as i see, the problem doesn't reside on the processing power, my system is a desktop, core i5 3570K @ 4.2 GHz, NVIDIA gtx970, 16GB ddr3 @1800 Mhz, by other side, as i reported in comment 29, on 44.0a1 the problem doesn't exist, i don't know if this was fixed intentionally or accidentally on that revision, however, the problem is very annoying to wait up to a 44.0 stable build Something that i noted with Mr. Matt's comment, is that in comment 8, to_du's machine have a gtx 850m GPU, so both machines have Maxwell based gpu's, maybe is relevant, maybe not, i don't know.
Can you try videoing the playback using your phone to demonstrate the problem?
Can you paste the graphics section of about:support here?
(In reply to to_du from comment #66) > Perhaps I'm not able to exactly describe what's the problem, but I posted > here earlier video of this bug. > https://www.youtube.com/watch?v=ydCSO8kApLc&feature=youtu.be Oh.. silly me. You have posted a video.
Nothing has changed in latest beta version.
Well, maybe this could be help, i did a performance record http://www.mediafire.com/download/0dxi8mollfm0ekl/profile.json
No changes after last update.
Hmm. after latest update it looks like the bug has disappeared. Alvaro, how about you?
Flags: needinfo?(darkhellsatan666)
Yeah, it appear to be solved, all problematic example videos now play smoothly
Flags: needinfo?(darkhellsatan666)
Surely a FB issue.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
The fact is that it's been solved, but i don't think that this was a last minute fb issue mr. Loic, at least in part, today i've been having the problem up to the moment that on my mail inbox appeared the notification of activity here a couple hours ago, i read the last to_du comment about a new update, so i checked for updates and FF downloaded a little one, just 6-7 MB, after restart did the tests and problem disappeared, so, as i see, the fix clearly was in this little build/patch
just a correction with this sentence "but i don't think that this was a last minute fb issue mr. Loic" i want to say "but i don't think that this was a fb issue mr. Loic"
Here are the bugs fixed in the recent 42 beta builds: https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?fromchange=FIREFOX_42_0b8_RELEASE&tochange=FIREFOX_BETA_42_END I suspect the Facebook video was fixed by bug 1193614: Schedule State Machine when VideoQueue() is low.
Doubtful. This fix helped displaying frames quicker. It would have no consequence to the OP problem that only occurred if HW acceleration was turned on. Sounds like a HW gfx issue
The only GPU-related fix in the changeset range is bug 1210444 - Animated cloud/sun flickers horribly with gfx.canvas.azure.accelerated = true. The changeset range also includes video bug 1218157 - Only ever read from cached data in NotifyDataArrived.
No longer depends on: 1193614
You need to log in before you can comment on or make changes to this bug.