← Back to team overview

kernel-packages team mailing list archive

[Bug 1316689] [NEW] Radeon VDPAU clients crash at vlVdpDecoderCreate with 1080p videos

 

Public bug reported:

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://paste.ubuntu.com/7405255/).

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-3.13.0-24-generic 3.13.0-24.47
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  marco      2988 F.... pulseaudio
 /dev/snd/pcmC1D3p:   marco      2988 F...m pulseaudio
 /dev/snd/controlC0:  marco      2988 F.... pulseaudio
CurrentDesktop: Unity
Date: Tue May  6 18:27:23 2014
HibernationDevice: RESUME=UUID=534ddf57-b0f4-4367-ae56-d2878b2f614f
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=/boot/vmlinuz-3.13.0-24-generic root=UUID=4811a166-63ca-4702-8e63-0c357cc2e2f7 ro quiet splash radeon.audio=1 radeon.dpm=1 crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic  N/A
 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.asset.tag: Base Board Asset Tag
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.version: Chassis Version
dmi.modalias: dmi:bvnINSYDE:bvrV1.25:bd03/16/2011:svnAcer:pnAspire4820TG:pvrV1.25:rvnAcer:rnJM41_CP:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Aspire 4820TG
dmi.product.version: V1.25
dmi.sys.vendor: Acer

** Affects: linux
     Importance: Unknown
         Status: Unknown

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug trusty

** Patch added: "[PATCH] drm/radeon: also try GART for CPU accessed buffers"
   https://bugs.launchpad.net/bugs/1316689/+attachment/4106620/+files/radeon.patch

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Bug watch added: freedesktop.org Bugzilla #78297
   https://bugs.freedesktop.org/show_bug.cgi?id=78297

** Also affects: linux via
   https://bugs.freedesktop.org/show_bug.cgi?id=78297
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1316689

Title:
  Radeon VDPAU clients crash at vlVdpDecoderCreate with 1080p videos

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Confirmed

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://paste.ubuntu.com/7405255/).

  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-3.13.0-24-generic 3.13.0-24.47
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  marco      2988 F.... pulseaudio
   /dev/snd/pcmC1D3p:   marco      2988 F...m pulseaudio
   /dev/snd/controlC0:  marco      2988 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue May  6 18:27:23 2014
  HibernationDevice: RESUME=UUID=534ddf57-b0f4-4367-ae56-d2878b2f614f
  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=/boot/vmlinuz-3.13.0-24-generic root=UUID=4811a166-63ca-4702-8e63-0c357cc2e2f7 ro quiet splash radeon.audio=1 radeon.dpm=1 crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   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.asset.tag: Base Board Asset Tag
  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.version: Chassis Version
  dmi.modalias: dmi:bvnINSYDE:bvrV1.25:bd03/16/2011:svnAcer:pnAspire4820TG:pvrV1.25:rvnAcer:rnJM41_CP:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
  dmi.product.name: Aspire 4820TG
  dmi.product.version: V1.25
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1316689/+subscriptions


Follow ups

References