AMD [1002:6606][1002:6821] with fglrx 2:15.200-0ubuntu0.5 does not work well with GStreamer autovideosink plugin

Bug #1509182 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Won't Fix
Medium
Unassigned
fglrx-installer (Ubuntu)
New
Medium
Alberto Milone

Bug Description

CID: 201404-14986 Dell Precision M2800

On this I+A (AMD/ATI Mars XTX [Radeon HD 8790M] [1002:6606]) system, the GStreamer autovideosink plugin does not work well with the proprietary fglrx driver (version 2:15.200-0ubuntu0.5)

Steps:
1. Install 14.04.3 + upgrade (3.19.0-30) + fglrx + Checkbox test suite
2. Run "gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink"
3. Run "gst-launch-1.0 videotestsrc ! videoconvert ! ximagesink"

Expected result:
* A "Bar and static" video test screen will pop up.

Actual result:
* Only the command in step 3 will work, the command in step 2 does not, it will cause X to crash for sometimes, error log could be found:
[ 1494.011] (EE)
[ 1494.011] (EE) Backtrace:
[ 1494.012] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f6b10f1af08]
[ 1494.012] (EE) 1: /usr/bin/X (0x7f6b10d7a000+0x1a4f39) [0x7f6b10f1ef39]
[ 1494.012] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f6b0eefa000+0x36d40) [0x7f6b0ef30d40]
[ 1494.012] (EE) 3: /usr/bin/X (0x7f6b10d7a000+0xa9921) [0x7f6b10e23921]
[ 1494.012] (EE) 4: /usr/bin/X (0x7f6b10d7a000+0xaa7db) [0x7f6b10e247db]
[ 1494.012] (EE) 5: /usr/bin/X (0x7f6b10d7a000+0xf0d30) [0x7f6b10e6ad30]
[ 1494.012] (EE) 6: /usr/bin/X (0x7f6b10d7a000+0x5414e) [0x7f6b10dce14e]
[ 1494.012] (EE) 7: /usr/bin/X (0x7f6b10d7a000+0x57f9b) [0x7f6b10dd1f9b]
[ 1494.012] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f6b0ef1bec5]
[ 1494.012] (EE) 9: /usr/bin/X (0x7f6b10d7a000+0x4352e) [0x7f6b10dbd52e]
[ 1494.012] (EE)
[ 1494.013] (EE) Segmentation fault at address 0x1009c9cbc
[ 1494.013] (EE)
Fatal server error:
[ 1494.013] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 1494.013] (EE)
[ 1494.013] (EE)
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 1494.013] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1494.013] (EE)
[ 1494.013] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 1494.014] (II) fglrx(0): Backup framebuffer data.
[ 1494.077] (II) fglrx(0): Backup complete.
[ 1494.093] (EE) Server terminated with error (1). Closing log file.

Verified with the latest AMD driver(15.9, fglrx version: 15.201-0ubuntu1)[1], this issue does not exist with it.

As this issue will cause the camera display test and video test to crash (whitelist test cases), I will mark this bug as a blocker.

[1] http://support.amd.com/en-us/download/desktop?os=Linux+x86

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: fglrx 2:15.200-0ubuntu0.5
ProcVersionSignature: Ubuntu 3.19.0-30.34~14.04.1-generic 3.19.8-ckt6
Uname: Linux 3.19.0-30-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Oct 22 23:54:16 2015
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 fglrx-core, 15.200, 3.19.0-30-generic, x86_64: installed
 fwts-efi-runtime-dkms, 15.09.00, 3.19.0-25-generic, x86_64: installed
 fwts-efi-runtime-dkms, 15.09.00, 3.19.0-30-generic, x86_64: installed
 tp-smapi, 0.41, 3.19.0-25-generic, x86_64: installed
 tp-smapi, 0.41, 3.19.0-30-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0684]
 Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] [1002:6606] (prog-if 00 [VGA controller])
   Subsystem: Dell FirePro W4170M [1028:0684]
InstallationDate: Installed on 2015-10-12 (11 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
MachineType: Dell Inc. Precision M2800
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-30-generic root=UUID=25743653-47a5-417f-8dcb-abd5233bd68e ro quiet splash vt.handoff=7
SourcePackage: fglrx-installer
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0CYT5F
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd05/18/2015:svnDellInc.:pnPrecisionM2800:pvr01:rvnDellInc.:rn0CYT5F:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Precision M2800
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.11.3+14.04.20150313-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2~ubuntu14.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri N/A
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

If the X didn't crash with the command in step 2, you will be able to see error message in the termnial:
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 151 (XVideo)
  Minor opcode of failed request: 19 ()
  Serial number of failed request: 51
  Current serial number in output stream: 52

And these issues only happen on discrete AMD GPU with fglrx, can't be reproduced on the Intel GPU.
For more early-stage research before filing this bug please refer to bug 1505606

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201305-13534 Dell Precision M4800, I+A system
AMD Radeon 8870M / R9 M270X / M370X [1002:6821]

tags: added: 201305-13534
summary: - AMD [1002:6606] with fglrx 2:15.200-0ubuntu0.5 does not work well with
- GStreamer autovideosink plugin
+ AMD [1002:6606][1002:6821] with fglrx 2:15.200-0ubuntu0.5 does not work
+ well with GStreamer autovideosink plugin
Keng-Yu Lin (lexical)
Changed in fglrx-installer (Ubuntu):
assignee: Keng-Yu Lin (lexical) → Alberto Milone (albertomilone)
Changed in hwe-next:
importance: Undecided → Medium
assignee: nobody → Alberto Milone (albertomilone)
Changed in hwe-next:
status: New → Won't Fix
assignee: Alberto Milone (albertomilone) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.