Open
Bug 1237924
Opened 9 years ago
Updated 3 years ago
edX HTML5 video loaded, image shown, rewind works but video doesn't played until I run playback in Chromium
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: gavenkoa, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Iceweasel/45.0a2
Build ID: 20151218004007
Steps to reproduce:
youtube HTML5 video plays fine.
I enter to https://courses.edx.org/courses/... class and video doesn't played.
Actual results:
It load stream, shown picture, redrawn picture on rewind but don't play.
After loading page in Chromium as soon as video begin playing in Chromium it started playing in Firefox.
After pm-suspend I have same problem and running Chromium also solve issue.
deb [arch=amd64] http://mozilla.debian.net/ experimental iceweasel-aurora
Version: 45.0~a2+20151218004007-1
Versions of packages iceweasel depends on:
ii debianutils 4.5.1
ii fontconfig 2.11.0-6.3
ii libasound2 1.0.29-1
ii libatk1.0-0 2.18.0-1
ii libc6 2.19-22
ii libcairo2 1.14.2-2
ii libdbus-1-3 1.10.0-3
ii libdbus-glib-1-2 0.102-1
ii libevent-2.0-5 2.0.21-stable-2
ii libffi6 3.2.1-3
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6.1-0.1
ii libgcc1 1:5.2.1-22
ii libgdk-pixbuf2.0-0 2.32.1-1
ii libglib2.0-0 2.46.1-1
ii libgtk-3-0 3.18.6-1
ii libgtk2.0-0 2.24.28-1
ii libhunspell-1.3-0 1.3.3-3+b1
ii libnspr4 2:4.11-1
ii libnss3 2:3.21-1
ii libpango-1.0-0 1.38.1-1
ii libsqlite3-0 3.8.11.1-1
ii libstartup-notification0 0.12-4
ii libstdc++6 5.2.1-22
ii libvpx2 1.4.0-4
ii libx11-6 2:1.6.3-1
ii libxcomposite1 1:0.4.4-1
ii libxdamage1 1:1.1.4-2+b1
ii libxext6 2:1.3.3-1
ii libxfixes3 1:5.0.1-2+b2
ii libxrender1 1:0.9.8-1+b1
ii libxt6 1:1.1.4-1+b1
ii procps 2:3.3.10-2
ii zlib1g 1:1.2.8.dfsg-2+b1
I have Nvidia proprietary drivers on Debian:
Package: nvidia-kernel-amd64
Source: nvidia-graphics-modules (340.93+4.2.0+1)
Version: 340.93+4.2.0+1+b1
and:
Package: nvidia-vdpau-driver
Source: nvidia-graphics-drivers
Version: 340.96-3
Comment 2•9 years ago
|
||
Wow. Interaction between firefox and chrome video playback is really weird. Could it be something about the network?
Comment 3•9 years ago
|
||
Can you like to a specific video? These seem to be youtube embeds. Do videos on https://youtube.com work?
Flags: needinfo?(gavenkoa)
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
> Can you like to a specific video?
Any youtube video.
After:
$ sudo pm-suspend
and resume PC operation old opened video or new opened doesn't played. I see image, progress bar show that stream downloaded.
With "pm-suspend" I can reproduce in 100% cases issue.
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(gavenkoa)
Resolution: INCOMPLETE → ---
I try to open new profile after pm-suspend:
$ firefox -P test -no-remote
and video also doesn't played.
My suggestion that Firefox can't properly re-initialize H.264 or WEBM playback.
I have GeForce 8600 GT video card and enable hardware decoding:
$ vdpauinfo
display: :0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 340.96 Sun Nov 8 22:09:55 PST 2015
Video surface:
name width height types
-------------------------------------------
420 4096 4096 NV12 YV12
422 4096 4096 UYVY YUYV
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 8192 2048 2048
MPEG2_SIMPLE 3 8192 2048 2048
MPEG2_MAIN 3 8192 2048 2048
H264_BASELINE --- not supported ---
H264_MAIN 41 8192 2048 2048
H264_HIGH 41 8192 2048 2048
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
MPEG4_PART2_SP --- not supported ---
MPEG4_PART2_ASP --- not supported ---
DIVX4_QMOBILE --- not supported ---
DIVX4_MOBILE --- not supported ---
DIVX4_HOME_THEATER --- not supported ---
DIVX4_HD_1080P --- not supported ---
DIVX5_QMOBILE --- not supported ---
DIVX5_MOBILE --- not supported ---
DIVX5_HOME_THEATER --- not supported ---
DIVX5_HD_1080P --- not supported ---
H264_CONSTRAINED_BASELINE --- not supported ---
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH --- not supported ---
H264_HIGH_444_PREDICTIVE --- not supported ---
HEVC_MAIN --- not supported ---
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 8192 8192 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2 8192 8192 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
Bitmap surface:
name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 4096
VIDEO_SURFACE_HEIGHT y 1 4096
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
Further info. Once I run any video player (vlc/mplayer) - Firefox start reproducing video stream.
I try to open an H.264 (that uses HW decoding) and flash VP6 (that doesn't use HW decoding) video after "pm-suspend".
Seems that Firefox have broken re-initialisation code for playback under Xorg.
Is it reproducible when you set media.gstreamer.enabled=false ?
Updated•9 years ago
|
Priority: -- → P2
After reboot I live without issue one week. Problem appear randomly but if happen it is reproduced after each suspend.
Next time then I had issue I try to set "media.gstreamer.enabled=false".
> Is it reproducible when you set media.gstreamer.enabled=false ?
Today after suspend issue reproduced.
I check `media.gstreamer.enabled=false` and problem present.
===========================================
Now I am sure that issue come from VLC media player.
If I suspend with vlc paused (even on MP3 file) - Firefox can't reproduce any Youtube video after resume from suspend.
If I close or un-check pause in VLC - Firefox start reproducing video.
Other players and Chrome browser able to start playing even with VLC running between suspend.
Firefox can't.
100% reproducing. Debian, Intel x64, Intel HDA, GeForce 8600 GT, 45.0a2 (2015-12-18).
Reporter | ||
Comment 10•9 years ago
|
||
Today playback hangs even if player is not loaded. I finish watching with mplayer2, close it and suspend.
After resume from PC suspend Firefox wouldn't able to play any HTML5 video until I run external mplayer.
Note that with VLC I have 100% reproducibility (see above). But today behavior also strange and make me think that bug related to GPU acceleration and PC suspend/resume. Firefox can't handle hardware re-initialisation it properly.
My guess would be a pm-suspend issue rather than a Firefox issue. Try:
# pm-suspend --quirk-vbe-post
Reporter | ||
Comment 12•9 years ago
|
||
Nope. `--quirk-vbe-post` option doesn't solve issue. 100% reproducibility.
Also this option is dangerous, from pm-suspend(1) man:
This option will attempt to reinitialize the video card when
resuming from suspend, using the same code the system BIOS
uses at boot in order to initialize the video hardware. Not
all video cards need this, and using this option on systems
where it is not needed can cause a system to lock up when
resuming.
Mass change P2 -> P3
Priority: P2 → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•