Radeon VDPAU clients crash at vlVdpDecoderCreate with 1080p videos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've enabled VDPAU support in flash player, and testing it with normal youtube videos (up to 720p) gives good results.
However, once I switch to 1080p quality, the flash player crashes, and this happens at the mesa vdpau driver level because a Bus Error triggered by mesa since the CPU can't access properly to gpu VRAM.
The same happens loading a 1080p video using VLC or MPlayer (see vlc backtrace http://
Here's the problem as explained by Christian König:
> It's not the VDPAU driver that's failing here, it's the kernel.
>
> When the kernel can't place a buffer into visible VRAM the buffer
> should be moved into GART instead for CPU access. But instead we
> just return a SIGBUS to the application effectively crashing it.
I'm attaching the patch that fixes this problem, provided by Christian and tested successfully on ubuntu Trusty kernel.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D3p: marco 2988 F...m pulseaudio
/dev/snd/
CurrentDesktop: Unity
Date: Tue May 6 18:27:23 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2010-07-10 (1396 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: Acer Aspire 4820TG
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.127
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2012-10-10 (573 days ago)
dmi.bios.date: 03/16/2011
dmi.bios.vendor: INSYDE
dmi.bios.version: V1.25
dmi.board.
dmi.board.name: JM41_CP
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.
dmi.modalias: dmi:bvnINSYDE:
dmi.product.name: Aspire 4820TG
dmi.product.
dmi.sys.vendor: Acer
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: | added: patch |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: latest-bios-1.25 |
Created attachment 98475
Flash player crash using VDPAU with full-hd videos
I've enabled VDPAU support in flash player, and testing it with normal youtube videos (up to 720p) gives good results (congrats!).
However, once I switch to 1080p quality, the flash player crashes, and this seems to happen at the mesa vdpau driver level (for reference, this work using Intel, although that's a different story, but I can't test nouveau here).
Anyway, I'm attaching here the backtrace. I've got it using mesa stock from ubuntu, thus I've linked on the bt a paste of the exact files referenced by the debugger.
Let me know if you need further debugging.
This is what happens in Ubuntu 14.04, but the same seems to happens in Arch Linux (check https:/ /bbs.archlinux. org/viewtopic. php?pid= 1409666).