Red Hat Bugzilla – Bug 612492
HTML5 video in firefox really slow with radeon
Last modified: 2018-04-11 10:08:43 EDT
Description of problem:
HTML5 video is unplayable since I upgraded from F11 to F13.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a page in firefox with a HTML5 video in it
Watch the machine come to a crawl with Xorg eating 100% CPU
Video plays smoothly.
Happens on two different F13 machines, both with radeon cards. Doesn't happen on a third F13 machine with nouveau.
Could you please provide us with some example (and if possible comparison with some other HTML5 browser .... chromium, epiphany, etc.) where this can be reproduced? Also what're rough specs of your computer?
Thank you for filing the report
On leave right now and the problem was observed at my work machine, so I can't do any tests right now. Spec is a dual core 2.8 GHz core 2 machine with a radeon HD 4550.
Actually, there is something in the video file itself which makes Firefox unhappy. It play absolutely smoothly with mplayer and gst-launch playbin2, but even when downloaded locally its playback sucks both with firefox-3.6.7-3.el6.x86_64 and with the upstream binary of Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:2.0b1) Gecko/20100630 Firefox/4.0b1
I would push this bug upstream, but upstream bugzilla.mozilla.org is currently broken for me. Will do that when I can.
I tested other HTML5 videos, and they worked as horribly as that one. And as I wrote in the original report, the exact same videos work fine when the graphics hardware isn't radeon.
So the bug is some combination of how Firefox renders video and how those operations are implemented in the radeon driver. And as it is Xorg that is getting bogged down, this is most likely a bug in the radeon DDX. Hence why I filed it against that component. Until proven that firefox does really brain dead X11 operations that just happen to work with other drivers and older radeon drivers, I'd say reporting it to mozilla is premature.
Are you saying you can get some HTML5 videos to play fine in firefox on F13 and with radeon hw?
(In reply to comment #4)
> So the bug is some combination of how Firefox renders video and how those
> operations are implemented in the radeon driver. And as it is Xorg that is
Note, I have intel driver here.
Can you download that .ogv file to your computer and play it locally with mplayer, totem and firefox?
How does it work?
(In reply to comment #5)
> Note, I have intel driver here.
So much for that theory. :)
(In reply to comment #6)
> Can you download that .ogv file to your computer and play it locally with
> mplayer, totem and firefox?
> How does it work?
Afraid not. As I mentioned, I don't have access to the machine right now. My home machine is nvidia based and doesn't suffer from this issue. The above video plays fine in the browser.
Switching to firefox component per previous analysis and will push upstream.
We filed this bug in the upstream database (https://bugzilla.mozilla.org/show_bug.cgi?id=581797) and believe that it is more appropriate to let it be resolved upstream.
We will continue to track the issue in the centralized upstream bug tracker, and will review any bug fixes that become available for consideration in future updates.
Thank you for the bug report.
Following the upstream bug, it seems like the problem is on Xorg side.
Looks like a dupe of bug 538467.
(In reply to comment #11)
> Looks like a dupe of bug 538467.
Hmm, I don't see any crash over here. Do you?
I don't see any crashes, but sometimes stacks from event queue overflows.
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.