Open Bug 1928823 Opened 10 months ago Updated 22 hours ago

AMD E350 with Radeon HD 6310 hardware accelerated video isn't working

Categories

(Core :: Audio/Video, defect)

Firefox 132
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: a.rainman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce:

In the PotPlayer video works as expected with minimal CPU usage, in Firefox it's

GPU #1
Active Yes
Description AMD Radeon HD 6310 Graphics
Vendor ID 0x1002
Device ID 0x9802
Driver Version 15.301.1901.0
Driver Date 2-26-2016
Drivers aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Subsys ID 0e29105b
RAM 384

Actual results:

Codec Support Information
Codec Name Software Decoding Hardware Decoding
H264 Supported Unsupported
VP9 Supported Unsupported
VP8 Supported Unsupported
AV1 Unsupported Unsupported
HEVC Unsupported Unsupported
AAC Supported Unsupported
MP3 Supported Unsupported
Opus Supported Unsupported
Vorbis Supported Unsupported
FLAC Supported Unsupported
Wave Supported Unsupported

Additional problem here is:
HW_DECODED_VIDEO_ZERO_COPY
default blocked Blocklisted by gfxInfo Blocklisted due to known issues: bug 1767212

Expected results:

Codec Name Software Decoding Hardware Decoding
H264 Supported Supported
VP9 Supported Unsupported
VP8 Supported Unsupported
AV1 Unsupported Unsupported
HEVC Unsupported Unsupported
AAC Supported Unsupported
MP3 Supported Unsupported
Opus Supported Unsupported
Vorbis Supported Unsupported
FLAC Supported Unsupported
Wave Supported Unsupported

OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Could you help us out by trying to capture a Firefox performance profile when this happens? Visit https://profiler.firefox.com/ for more information and to enable the profiling toolbar button. When capturing, please select the Media profile in the button drop down, upload the resulting profile and post the url here.

Flags: needinfo?(a.rainman)

(In reply to Jim Mathies [:jimm] from comment #1)

Could you help us out by trying to capture a Firefox performance profile when this happens? Visit https://profiler.firefox.com/ for more information and to enable the profiling toolbar button. When capturing, please select the Media profile in the button drop down, upload the resulting profile and post the url here.

Yes, there is a h264 1MB video test https://share.firefox.dev/40BomGh

Flags: needinfo?(a.rainman)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)

(In reply to Elle Solomina (she/her) from comment #2)

(In reply to Jim Mathies [:jimm] from comment #1)

Could you help us out by trying to capture a Firefox performance profile when this happens? Visit https://profiler.firefox.com/ for more information and to enable the profiling toolbar button. When capturing, please select the Media profile in the button drop down, upload the resulting profile and post the url here.

Yes, there is a h264 1MB video test https://share.firefox.dev/40BomGh

You're dropping practically every frame here.

In about support, can you post your graphics section? I wonder if your card/driver are getting blocked from accelerated rendering.

Flags: needinfo?(a.rainman)
Attached file about_support

about support shows accelerated rendering. Not sure what's going on here.

Blocks: media-triage

Yes, but the hardware decoder for h264 that exists in the system not detected.

It's weird, I wonder why your about:support has so many lockedPreferences... Can you try to use a new profile of Firefox to see if it works? In addition, do you install vp9 and av1 extension on your system? Thanks.

Flags: needinfo?(a.rainman)
Attached file about_support
Well, I deleted my custom politics.json from the installation and after this Firefox only runs much slower and all elements look massive. But nothing fixed in the playing, it's still not working at all and hardware support for h264 isn't detected.
Flags: needinfo?(a.rainman)

Could you help me capture a media profile when playing a H264 (or other codecs you want to have hw support) file by following this instruction. Please start profiling first, then play the video file. Thanks!

Flags: needinfo?(a.rainman)
Flags: needinfo?(a.rainman)

Hi, I just wanted to confirm—was the profile in comment 13 captured using about:logging? It doesn’t contain any logs, so it’s still difficult for me to determine why hardware decoding wasn’t enabled. That said, this could potentially be a bug with the profiler itself; we’ve seen cases where it should have captured logs but didn’t.

Could you help capture another profile and check if any logs appear? You can verify this by:

  1. Clicking the MediaDecoderStateMachine thread in the tab where the video is playing
  2. Clicking Marker Table
  3. Typing log in the Filter Markers field

You should see some logging there. If not, let me know and we can try an alternative way to capture the logs. Thanks!

Flags: needinfo?(a.rainman)

Hmm, I recreated the profile, now it's probably fine https://share.firefox.dev/3RzqXe1

Flags: needinfo?(a.rainman)
Flags: needinfo?(alwu)

Okay thanks, I see Hardware video decoding disabled or blacklisted in your profile. So it seems that your graphic card and driver combination would cause some crashes, which make us disable the hw decoding explicitly. You can try to set the pref media.hardware-video-decoding.force-enabled=true then restart Firefox to see if it helps. Thanks!

Flags: needinfo?(alwu) → needinfo?(a.rainman)

Option media.hardware-video-decoding.force-enabled is already set true, but it's not working as expected.

Flags: needinfo?(a.rainman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: