Closed Bug 1192900 Opened 10 years ago Closed 10 years ago

firefox crashes when resizing the youtube html5 player (vdpau related)

Categories

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

40 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: belegdol, Assigned: rillian)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

Attached file gdb.txt
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150807122012 Steps to reproduce: 1. go to https://www.youtube.com/watch?v=uHuj9M9nKEU 2. resize the video (cinema mode) or go to fullscreen Actual results: Firefox crashed Expected results: Video changed size without crashing firefox
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
firefox-40.0-2.fc22.x86_64 glib2-2.44.1-1.fc22.x86_64 gstreamer1-1.4.5-1.fc22.x86_64 gstreamer1-plugins-base-1.4.5-2.fc22.x86_64 gstreamer1-vaapi-0.6.0-0.1.fc22.x86_64 libva-1.5.1-1.fc22.x86_64 libva-vdpau-driver-0.7.4-10.fc22.x86_64 libX11-1.6.3-1.fc22.x86_64 nspr-4.10.8-1.fc22.x86_64 xorg-x11-drv-nvidia-352.30-1.fc22.x86_64 Uninstalling libva-vdpau-driver makes the crash go away.
Component: Untriaged → Graphics
Product: Firefox → Core
Matt, any idea off hand?
Flags: needinfo?(matt.woodrow)
Whiteboard: [gfx-noted]
Nope, but edwin might.
Component: Graphics → Audio/Video: Playback
Flags: needinfo?(matt.woodrow) → needinfo?(edwin)
another gstreamer crash.
va-vdpau is super experimental and crashy.. I suggest you find a native vaapi plugin.
Is there a way to block it?
we could, but my guess is that this plugin will work well if you don't use the vdpau adapter (which would probably not be used by that plugin anyway). it gives HW acceleration to linux, very useful
we should mark firefox as conflictig with this.
Assignee: nobody → giles
Priority: -- → P2
I think I have this problem on Fedora 22 x64 with Nvidia drivers. Firefox seems to work perfectly with Nouveau drivers.
The crashes happens when I seek in a youtube video or resize the player (with the html5 player). After that if I reboot Firefox, it keep crashing...
(In reply to jeremy9856 from comment #9) > I think I have this problem on Fedora 22 x64 with Nvidia drivers. > Firefox seems to work perfectly with Nouveau drivers. That is because VDPAU is only supported by the nVidia driver. Gstreamer supports vaapi and the vaapi/vdpau bridge is munted. You need to remove libva-vdpau-driver because that is the thing causing the crash.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(edwin)
Resolution: --- → INVALID
Ok I understand that Firefox can't work with libva-vdpau-driver. But you shouldn't have to remove softwares to make an other soft work. Plus, I use VDPAU in MPV so I don't want to remove it. And even if I try to remove libva-vdpau-driver the whole Nvidia driver will be removed (http://negativo17.org/nvidia-driver/). Simply saying "You need to remove libva-vdpau-driver" is an easy way for you to get rid of this bug but it's not a solution for your users. A more logical way to handle this is, I think, to avoid to use it in Firefox, or better offer the choice as an option to use it or not. What do you think?
"Ok I understand that Firefox can't work with libva-vdpau-driver." it's not that at all. It is gstreamer itself that is crashing because one of its plugin, designed by Intel to work with their VAAPI adapter happen to call another piece of software that is using libva-vdpau which itself is crashing. Someone thought it would be a good idea to make a nvidia card appear like an intel one. I'm not sure what distribution you are using, but I don't see libva-vdpau-driver being a dependency for the vdpau drivers. It's should be the other way round. It's this piece of software that is crashing. If you don't see it crashing elsewhere it's because you aren't using gstreamer there ! As the issue is in one of the gstreamer plugin, we can't tell that down the track one of its component is buggy and crashing. The issue has nothing to do with firefox. If libva-vdpau-driver is a dependency for the nvidia drivers, you should report that bug to the packager.
Ok it's more clear now, thank you. I'm using Fedora 22 with these Nvidia drivers http://negativo17.org/nvidia-driver/ I will see with him if he can change the dependency. And what about comment 8 ? "we should mark firefox as conflictig with this."
(In reply to jeremy9856 from comment #14) > And what about comment 8 ? "we should mark firefox as conflictig with this." There is some value in making the Firefox package conflict with libva-vdpau-driver because it breaks gstreamer. We're probably better off dropping gstreamer altogether.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: