Ubuntu-Proposed Catalyst fglrx* 2:15.200 missing link to fglrx_drv_video.so

Bug #1442921 reported by hectorsales
46
This bug affects 11 people
Affects Status Importance Assigned to Milestone
fglrx-installer-updates (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi, i'm testing the new driver Catalyst from ubuntu proposed repo:

$ sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-core fglrx-updates-dev

hs1974g@unity7:~$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon R7 200 Series
OpenGL version string: 4.4.13374 Compatibility Profile Context 15.20.1013

when i checked Hardware Video Decode Acceleration using VA-API :

hs1974g@unity7:~$ vainfo

libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

The link is missing to /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so.

The correct link is:

$ sudo ln -s /usr/lib/libXvBAW.so.1.0 /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so

after i run ..

hs1974g@unity7:~$ vainfo

libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.1)
vainfo: Driver version: AMD MMD 1.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple : VAEntrypointVLD
      VAProfileMPEG2Main : VAEntrypointVLD
      VAProfileMPEG4Simple : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
      VAProfileMPEG4Main : VAEntrypointVLD
      VAProfileH264Baseline : VAEntrypointVLD
      VAProfileH264Main : VAEntrypointVLD
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Simple : VAEntrypointVLD
      VAProfileVC1Main : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

More info (Discussion):

http://www.phoronix.com/forums/showthread.php?115666-AMD-Will-Release-New-Catalyst-Linux-Driver-Update-This-Month/page21

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: fglrx-updates 2:15.200-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.16.0-34.45~14.04.1-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.8
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: Sat Apr 11 18:10:56 2015
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 fglrx-updates-core, 15.200, 3.13.0-49-generic, x86_64: installed
 fglrx-updates-core, 15.200, 3.16.0-34-generic, x86_64: installed
 vboxhost, 4.3.26, 3.13.0-49-generic, x86_64: installed
 vboxhost, 4.3.26, 3.16.0-34-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X] [1002:6658] (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:2935]
InstallationDate: Installed on 2015-03-30 (11 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-34-generic root=UUID=38f9493f-e6c0-4234-a47e-f171cae7154d ro quiet splash vt.handoff=7
SourcePackage: fglrx-installer-updates
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/13/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3503
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78T-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3503:bd04/13/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78T-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
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+git1504091830.6f90b7~gd~t
version.libgl1-mesa-dri: libgl1-mesa-dri 10.6~git1504110730.d47405~gd~t
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.6~git1504110730.d47405~gd~t
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.99+git1504031652.5921ba~gd~t
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git1504091930.fbefc8~gd~t
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11+git1503240732.212fc5~gd~t
xserver.bootTime: Sat Apr 11 17:39:34 2015
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
 AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.15.1-0ubuntu2.7
xserver.video_driver: fglrx

Revision history for this message
hectorsales (hectorvicente30) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fglrx-installer-updates (Ubuntu):
status: New → Confirmed
Revision history for this message
Dennis-martin-herbers (dennis-martin-herbers) wrote :

Can confirm. Setting the link manually fixes it.

Revision history for this message
Ingo Macherius (bitshredder) wrote :

Setting the link fixes vainfo "physically", but not logically. There is a version mismatch for libva shipping with Vivid (1.5.x / API 0.37.0) and AMD's driver (1,3.x / API 0.33.0). Unicorn has version 1.3, so AMD's driver works with that version both logically and physically only.

Output on Vivid Vervet;
$> vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.0)
vainfo: Driver version: AMD MMD 1.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple : VAEntrypointVLD
      VAProfileMPEG2Main : VAEntrypointVLD
      VAProfileMPEG4Simple : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
      VAProfileMPEG4Main : VAEntrypointVLD
      VAProfileH264Baseline : VAEntrypointVLD
      VAProfileH264Main : VAEntrypointVLD
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Simple : VAEntrypointVLD
      VAProfileVC1Main : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

I am not totally sure how version mismatches affect libva, but videolan seems to ignore the hardware accelerated driver, despite finding it.

$> VLC_VERBOSE=2 vlc testvideo.mkv
[...]
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
[0000000002233d98] qt4 interface debug: IM: Setting an input
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
[00007fdd7c001208] vdpau_avcodec generic debug: video surface limits: 1920x1080
[00007fdd7c001208] vdpau_avcodec generic debug: decoder profile limits: level 51 mb 16384 2048x2048
[00007fdd7c001208] core generic debug: using hw decoder module "vdpau_avcodec"
[00007fdd7c001208] vdpau_avcodec generic error: decoder creation failure: VDP_STATUS_ERROR
[00007fdd8cc0dba8] avcodec decoder error: acceleration setup failure
[...]

Revision history for this message
Ingo Macherius (bitshredder) wrote :

Addendum: seems to be specific to videolan, mplayer looks better. I am not really sure the hardware is used, not a true expert on all of this, just reporting to help the real experts :;)

$>mplayer testvideo.mkv
[...]
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
VIDEO: 720x404 23.976 fps 0.0 kbps ( 0.0 kB/s)
VO: [vdpau] 720x404 => 720x404 Planar YV12
[...]

Revision history for this message
extraymond@gmail.com (extraymond) wrote :

Any plans on making the link work in the package?

Revision history for this message
Vidiot_X (vidiot-x) wrote :

I can confirm this issue with Radeon 5770 and Linux Mint 17.2 .
http://forums.linuxmint.com/viewtopic.php?f=59&t=204330

From Xorg.0.log
----------------------
[ 20.888] (EE) AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
[ 20.888] (EE) AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
[ 20.888] (EE) AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]

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.