1440p youtube video no longer plays
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: o2q2tcedsh0, Unassigned)
Details
Attachments
(8 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Steps to reproduce:
Ubuntu 24.04 Firefox 124.0.1 Snap
Intel i3-1220P
It happens with many YouTube videos that are played in 1440p resolution. If you jump forward in the timeline, the video freezes more quickly.
The play button no longer responds.
The video for example(1440p60)
https://www.youtube.com/watch?v=LXb3EKWsInQ
Actual results:
Video freeze and the play button does not respond anymore.
Terminal output:
tk-Message: 15:12:32.768: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Gtk-Message: 15:12:34.883: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
libva info: VA-API version 1.20.0
libva info: Trying to open /snap/firefox/4033/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[Parent 20897, Main Thread] WARNING: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
(firefox:20897): Gdk-WARNING **: 15:43:48.226: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.
[Parent 20897, Main Thread] WARNING: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
(firefox:20897): Gdk-WARNING **: 15:43:50.752: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.
[Parent 20897, Main Thread] WARNING: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
(firefox:20897): Gdk-WARNING **: 15:43:50.752: Couldn't map window 0x7ac948940460 as subsurface because its parent is not mapped.
This is from the Gnome logs and there are many entries of it once the video starts.
audit: type=1107 audit(1711551386.803:390): pid=1462 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.3" mask="receive" pid=20897 label="snap.firefox.firefox" peer_pid=1458 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Can you try plain Mozilla binaries?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.
I have the behavior in a similar way with the Mozilla binaries. The video does not freeze so often anymore. The video doesn't freeze as often and you can click on the timeline and go back a little, after which the video starts running again. Would you like Video debug information from the youtube video(Firefox Snap and Firefox Mozilla binarie)?
Comment 4•1 year ago
|
||
Please attach about:support page from broken setup.
You can also try to disable HW video decode:
https://fedoraproject.org/wiki/Firefox_Hardware_acceleration#Video_decoding
Comment 5•1 year ago
|
||
(In reply to Maddi from comment #3)
Would you like Video debug information from the youtube video(Firefox Snap and Firefox Mozilla binarie)?
I don't quite understand. Do you see any issues with Firefox Mozilla binaries too?
Thanks.
I don't see the error message I inserted in my first post. I meant the information from the video player when the freeze occurs. The video also stops partially after some time with the Firefox binary.
Reporter | ||
Comment 10•1 year ago
|
||
This is from my Ubuntu 22.04 installation with Firefox Snap.
Reporter | ||
Comment 11•1 year ago
|
||
Reporter | ||
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
Please go at about:config page, look at setting media.hardware-video-decoding.enabled and flip it to false and restart browser. Is the video playback better?
Thanks.
Reporter | ||
Comment 14•1 year ago
|
||
No the same problem occurs with "media.hardware-video-decoding.enabled" to false.
Comment 15•1 year ago
|
||
Okay, please try Mozilla binaries:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
and run it on terminal with MOZ_LOG="FFmpegVideo:5" env variable and reproduce the issue. It produces a playback log with VA-API / ffmpeg details so please attach the log here. You may run it as:
MOZ_LOG="FFmpegVideo:5" ./firefox > log.txt 2>&1
and attach log.txt.
Thanks.
Reporter | ||
Comment 16•1 year ago
|
||
Comment 17•1 year ago
|
||
I don't see any error in the log...did you see any issue when you captured it?
Thanks.
Reporter | ||
Comment 18•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #17)
I don't see any error in the log...did you see any issue when you captured it?
I have not seen any error messages in the terminal or in the logs. But I have seen strange picture errors and when it freezes, the CPU usage is high. I am adding a screenshot.
Sometimne if I hold down the timeline and jump forward in time, the video starts running again.
Reporter | ||
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
It looks like gfx drivers issue. You may try to flip HW acceleration at all but it makes Firefox slow:
https://fedoraproject.org/wiki/Firefox_Hardware_acceleration#Force_disable_hardware_acceleration
Also please set media.hardware-video-decoding.enabled to false, restart browser and attach about:support page here.
Thanks.
Reporter | ||
Comment 21•1 year ago
|
||
Reporter | ||
Comment 22•1 year ago
|
||
Comment 23•1 year ago
|
||
Thanks, media.hardware-video-decoding.enabled seems to work correctly. Can you please try to flip media.ffmpeg.customized-buffer-allocation to false at about:config and try the decode again? It disabled direct ffmpeg decode to shm. It may not be the issue here but better try.
Thanks.
Reporter | ||
Comment 24•1 year ago
|
||
After that, the video still freezes. Maybe it helps, under Windows 11 the same thing happens with Firefox and the video freezes. This does not happen with Chrome and Chromium.
Reporter | ||
Comment 25•1 year ago
|
||
Now the picture errors also happen on another PC and also in 1080p.
This seems to circumvent the error(disable VP9 in Youtube and use AVC).
media.webm.enabled to false
Reporter | ||
Comment 26•1 year ago
|
||
Firefox 127.0.2 solves the problem.
bug 1900191, bug 1878510
Updated•1 year ago
|
Description
•