Closed Bug 1456513 Opened 7 years ago Closed 7 years ago

60fps videos are very choppy and there are huge frame drops on Firefox Nightly (61.0a1)

Categories

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

61 Branch
x86
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Iteration:
61.3 - Apr 23

People

(Reporter: universeuhd, Unassigned)

Details

(Keywords: 64bit)

Attachments

(1 file)

1009.90 KB, application/x-zip-compressed
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180424100107 Steps to reproduce: 1) Enter https://www.youtube.com/ 2) Search for 60fps 3) Click any video that has been recorded in 60fps 4) Click 720p or above for 60fps playback 5) Right click on HTML5 Player and click Stats for Nerds (Last One) 6) Now you can see Frame Drops (Last One) Actual results: There are huge Frame Drops on 60fps playback. Tried installing and re-installing (clearing Profile too) Firefox Nightly 61.a1 as on April 24 2018 but the issue has not been solved so far. Expected results: It should have been super smooth playback (60fps duuh!) and almost no Frame Drops at all! This is main reason I have to switch to Google Chrome for 60fps playback but I really want Firefox Nightly to fix this issue so I don't have to give my privacy to that stupid browser.
Iteration: --- → 61.3 - Apr 23
Keywords: 64bit
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
Can you install the media devtools extension (https://addons.mozilla.org/en-US/firefox/addon/devtools-media-panel/) Start playing the video in YouTube. Open the console with ctrl-shift-I Go to the Media tab, and select "Refresh Now" Copy/Paste the result here. Also a copy of your about:support would help. thank you
Flags: needinfo?(universeuhd)
Okay, I am providing the necessary info within few minutes. Thanks!
Flags: needinfo?(universeuhd)
Here's the Info from Youtube issue: Media Info : [...] 1 item [ { "url": "https://www.youtube.com/watch?v=VAF4rfu-ETA", "mediaElements": [ { "currentSrc": "blob:https://www.youtube.com/7d9d297d-8ea3-4515-9567-faedf7575cb8", "currentTime": 0.658937, "readyState": 3, "videoPlaybackQuality": { "ratio": "83%", "droppedVideoFrames": 7, "corruptedVideoFrames": 0 }, "bufferedRanges": [ { "start": 0, "end": 10.144 } ], "mozMediaSourceObject": [ { "sourceBuffers": [ { "start": 0, "end": 19.061 } ] }, { "sourceBuffers": [ { "start": 0, "end": 10.144 } ] } ], "debugInfo": { "Container Type": "MediaSource", "Audio Decoder(audio/opus)": "opus audio decoder", "Audio Frames Decoded": "138", "Audio State": "ni=0 no=0 wp=0 demuxr=0 demuxq=0 decoder=0 tt=-1.0 tths=-1 in=138 out=138 qs=0 pending=0 wfd=0 eos=0 ds=0 wfk=0 sid=17", "Video Decoder(video/vp9, 1280x720 @ 59.99)": "ffvpx video decoder", "Hardware Video Decoding": "enabled", "Video Frames Decoded": "42 (skipped=0)", "Video State": "ni=0 no=1 wp=0 demuxr=0 demuxq=0 decoder=1 tt=-1.0 tths=-1 in=43 out=42 qs=1 pending:0 wfd=0 eos=0 ds=0 wfk=0 sid=16", "Dumping Data for Demuxer": "1dcabade400", "Dumping Audio Track Buffer(audio/webm)": "mLastAudioTime=2.761000", "Audio Track Buffer Details": "NumSamples=953 Size=583380 Evictable=79583 NextGetSampleIndex=138 NextInsertionIndex=953", "Audio Track Buffered": "ranges=[(0.000000, 19.061000)]", "Dumping Video Track Buffer(video/webm)": "mLastVideoTime=0.717000", "Video Track Buffer Details": "NumSamples=608 Size=1505841 Evictable=0 NextGetSampleIndex=43 NextInsertionIndex=608", "Video Track Buffered": "ranges=[(0.000000, 10.144000)]", "Compositor dropped frame(including when element's invisible)": "8", "MediaDecoder=1dcad427f20": "channels=2 rate=48000 hasAudio=1 hasVideo=1 mPlayState=PLAYING", "MDSM": "duration=293401000 GetMediaTime=705895 GetClock=747312 mMediaSink=1dca3fe2120 state=DECODING mPlayState=3 mSentFirstFrameLoadedEvent=1 IsPlaying=1 mAudioStatus=idle mVideoStatus=pending mDecodedAudioEndTime=2754500 mDecodedVideoEndTime=701000 mAudioCompleted=0 mVideoCompleted=0 mIsPrerolling=0", "VideoSink": "IsStarted=1 IsPlaying=1 VideoQueue(finished=0 size=0) mVideoFrameEndTime=701000 mHasVideo=1 mVideoSinkEndRequest.Exists()=0 mEndPromiseHolder.IsEmpty()=0", "AudioSinkWrapper": "IsStarted=1 IsPlaying=1 AudioEnded=0" } } ] } ]
Here's the Info from about:support : (Copied as Plain Text) Application Basics ------------------ Name: Firefox Version: 61.0a1 Build ID: 20180424100107 Update Channel: nightly User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 OS: Windows_NT 10.0 Multiprocess Windows: 1/1 (Enabled by default) Web Content Processes: 5/4 Enterprise Policies: Inactive Google Key: Found Mozilla Location Service Key: Found Safe Mode: false Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Nightly Features -------------------------------------- Name: Activity Stream Version: 2018.04.20.1268-306bd7e2 ID: activity-stream@mozilla.org Name: Application Update Service Helper Version: 2.0 ID: aushelper@mozilla.org Name: Firefox Screenshots Version: 30.1.0 ID: screenshots@mozilla.org Name: Follow-on Search Telemetry Version: 0.9.6 ID: followonsearch@mozilla.com Name: Form Autofill Version: 1.0 ID: formautofill@mozilla.org Name: Photon onboarding Version: 1.0 ID: onboarding@mozilla.org Name: Pocket Version: 1.0.5 ID: firefox@getpocket.com Name: Web Compat Version: 1.1 ID: webcompat@mozilla.org Name: WebCompat Reporter Version: 1.0.0 ID: webcompat-reporter@mozilla.org Extensions ---------- Name: AdGuard AdBlocker Version: 2.9.2 Enabled: true ID: adguardadblocker@adguard.com Name: Ghostery – Privacy Ad Blocker Version: 8.1.2 Enabled: true ID: firefox@ghostery.com Name: Media Panel Version: 1.2 Enabled: true ID: {68d048f4-9449-4c97-8425-6dac7f743b14} Name: uBlock Origin Version: 1.16.0 Enabled: true ID: uBlock0@raymondhill.net Security Software ----------------- Type: Windows Defender Antivirus Type: Windows Defender Antivirus Type: Windows Firewall Graphics -------- Features Compositing: Direct3D 11 (Advanced Layers) Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000006943) EGL_VERSION: 1.4 (ANGLE 2.1.0.27cef491162b) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses WebGL 1 Driver Renderer: Google Inc. -- ANGLE (Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1) Direct3D11 vs_4_0 ps_4_0) WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.27cef491162b) WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_draw_buffers WEBGL_lose_context WebGL 2 Driver WSI Info: - WebGL 2 Driver Renderer: WebGL creation failed: * Error during ANGLE OpenGL init. * Exhausted GL driver caps. WebGL 2 Driver Version: - WebGL 2 Driver Extensions: - WebGL 2 Extensions: - Direct2D: Blocked for your graphics card because of unresolved driver issues. Off Main Thread Painting Enabled: true DirectWrite: true (10.0.16299.334) GPU #1 Active: Yes Description: Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1) Vendor ID: 0x8086 Device ID: 0x2e12 Driver Version: 8.15.10.2702 Driver Date: 3-11-2013 Drivers: igdumd64 igd10umd64 igdumd32 igd10umd32 Subsys ID: 3646103c RAM: Unknown Diagnostics AzureCanvasAccelerated: 0 AzureCanvasBackend: skia AzureCanvasBackend (UI Process): skia AzureContentBackend: skia AzureContentBackend (UI Process): skia AzureFallbackCanvasBackend (UI Process): cairo GPUProcessPid: 2100 GPUProcess: Terminate GPU Process Device Reset: Trigger Device Reset Decision Log DIRECT2D: Blocklisted; failure code BLOCKLIST_FEATURE_FAILURE_1180379 D3D11_HW_ANGLE: Blocklisted due to known issues; bug 1153381 WEBRENDER: opt-in by default: WebRender is an opt-in feature unavailable by runtime: ANGLE is disabled Media ----- Audio Backend: wasapi Max Channels: 2 Preferred Sample Rate: 48000 Output Devices Name: Group Headphones (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Speakers (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Internal AUX Jack (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Speakers (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Internal AUX Jack (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Input Devices Name: Group Internal AUX Jack (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Microphone (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Line In (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_103C3646&REV_1001\4&193bff6e&0&0001 Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.smart_size.first_run: false browser.places.smartBookmarksVersion: 8 browser.sessionstore.upgradeBackup.latestBuildID: 20180424100107 browser.startup.homepage_override.buildID: 20180424100107 browser.startup.homepage_override.mstone: 61.0a1 browser.urlbar.placeholderName: DuckDuckGo browser.urlbar.timesBeforeHidingSuggestionsHint: 0 dom.forms.autocomplete.formautofill: true extensions.lastAppVersion: 61.0a1 layers.mlgpu.sanity-test-failed: false media.gmp-gmpopenh264.abi: x86_64-msvc-x64 media.gmp-gmpopenh264.lastUpdate: 1524411683 media.gmp-gmpopenh264.version: 1.7.1 media.gmp-manager.buildID: 20180424100107 media.gmp-manager.lastCheck: 1524579752 media.gmp-widevinecdm.abi: x86_64-msvc-x64 media.gmp-widevinecdm.lastUpdate: 1524411688 media.gmp-widevinecdm.version: 1.4.8.1008 media.gmp.storage.version.observed: 1 media.hardware-video-decoding.failed: false network.cookie.prefsMigrated: true network.dns.disablePrefetch: true network.http.speculative-parallel-limit: 0 network.predictor.cleaned-up: true network.predictor.enabled: false network.prefetch-next: false places.database.lastMaintenance: 1524413197 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf privacy.cpd.offlineApps: true privacy.cpd.siteSettings: true privacy.sanitize.pending: [] privacy.sanitize.timeSpan: 0 security.sandbox.content.tempDirSuffix: {ac497e26-ebe4-4429-864f-d6189e9f0da8} services.sync.declinedEngines: services.sync.engine.addresses.available: true services.sync.engine.creditcards.available: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1524413197 ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found. Important Locked Preferences ---------------------------- Places Database --------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: true Prevent Accessibility: 0 Accessible Handler Used: true Accessibility Instantiator: UIAUTOMATION|C:\Windows\System32\psr.exe Library Versions ---------------- NSPR Expected minimum version: 4.19 Version in use: 4.19 NSS Expected minimum version: 3.37 Beta Version in use: 3.37 Beta NSSSMIME Expected minimum version: 3.37 Beta Version in use: 3.37 Beta NSSSSL Expected minimum version: 3.37 Beta Version in use: 3.37 Beta NSSUTIL Expected minimum version: 3.37 Beta Version in use: 3.37 Beta Sandbox ------- Content Process Sandbox Level: 5 Effective Content Process Sandbox Level: 5 Internationalization & Localization ----------------------------------- Application Settings Requested Locales: ["en-US"] Available Locales: ["en-US"] App Locales: ["en-US"] Regional Preferences: ["en-US"] Default Locale: "en-US" Operating System System Locales: ["en-US"] Regional Preferences: ["en-US"]
Summary: 60fps videos are very choppy and there are huge frame drops on Firefox Nightly (61.a1) → 60fps videos are very choppy and there are huge frame drops on Firefox Nightly (61.0a1)
As obviously, there are same results on Vimeo too. (https://www.vimeo.com/) Simply recreate the steps from above and instead of YouTube replace it with Vimeo. And yeah, you cannot see stats like YouTube on Vimeo. (Last two steps)
Aaand Similar Results on Twitch too. (https://www.twitch.tv/) As always, repeat the above steps and click Settings > Advanced > Show Video Stats. One thing is pretty noticeable that it always screws up pretty bad when Going To Full Screen.
(In reply to universeuhd from comment #5) > As obviously, there are same results on Vimeo too. (https://www.vimeo.com/) > Simply recreate the steps from above and instead of YouTube replace it with > Vimeo. > And yeah, you cannot see stats like YouTube on Vimeo. (Last two steps) it's not obvious at all... Vimeo and Twitch uses h264. YouTube uses vp9 which is a software decoder on your machine. However, your video card got blacklisted as the drivers kept crashing, and so will all use software decoding.. Not surprising that it can't keep up with 60fps. Try updating your intel video drivers, they are super old (but so is that machine)... Try setting the following prefs: media.wmf.dxva.d3d11.enabled to false (to force using d3d9) media.hardware-video-decoding.force-enabled to true layers.acceleration.force-enabled to true need to restart.
gfx.direct2d.force-enabled to true may help too beware, it may cause firefox/tabs to crash rather often...
Okay I will try following your advice and will post results back here> Thanks!
Whoaa! There is significant improvement in 60fps playback and much lower frame drops. Thank you Sir! You are truly a hero and a savior! Thank you again for your time and effort! It is greatly appreciated!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: