Bug 1174 - totem fails immediately looking for fglrx_drv_video.so due to missing vaapi-driver-fglrx
Summary: totem fails immediately looking for fglrx_drv_video.so due to missing vaapi-d...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 19:28 CEST by Frank Griffin
Modified: 2011-05-07 13:00 CEST (History)
2 users (show)

See Also:
Source RPM: vaapi-driver-fglrx
CVE:
Status comment:


Attachments

Description Frank Griffin 2011-05-06 19:28:51 CEST
In current cauldron, totem is unusable on ATI systems:

[ftg@ftgme2 ~]$ totem --debug ~/data/mm/American_Pie.wmv
(totem:24714): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(totem:24714): Totem-DEBUG: Setting initial properties
(totem:24714): Totem-DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
(totem:24714): Totem-DEBUG: Received SaveComplete message in state save-yourself-done
(totem:24714): Totem-DEBUG: totem_playlist_add_one_mrl (): American_Pie.wmv (null) (null)

(totem:24714): Totem-DEBUG: trying to restore position of: file:///home/ftg/data/mm/American_Pie.wmv
(totem:24714): Totem-DEBUG: seek time: (null)

** (totem:24714): WARNING **: chapters: failed to load CMML file file:///home/ftg/data/mm/American_Pie.cmml: Error opening file: No such file or directory
libva: libva version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/fglrx_drv_video.so
libva: va_openDriver() returns -1

That's true, there is no /usr/lib64/dri/fglrx_drv_video.so on the system, nor does an rpmdrake filename search find one anywhere.  However:

[ftg@ftgme2 ~]$ ls /usr/lib64/dri
fglrx_dri.so*   mga_dri.so*   radeon_dri.so*   tdfx_dri.so*
i810_dri.so*    r128_dri.so*  savage_dri.so*   unichrome_dri.so*
i915_dri.so*    r200_dri.so*  sis_dri.so*      vboxvideo_dri.so@
i965_dri.so*    r300_dri.so*  swrast_dri.so*
mach64_dri.so*  r600_dri.so*  swrastg_dri.so*

so I think we need a drv -> dri somewhere.
Frank Griffin 2011-05-06 19:29:11 CEST

Severity: normal => major

Ahmad Samir 2011-05-06 20:29:15 CEST

Source RPM: totem => libva

Comment 1 Ahmad Samir 2011-05-06 20:32:18 CEST
This is either fglrx or drakx-kbd-mouse-x11...

Source RPM: libva => drakx-kbd-mouse-x11

Comment 2 John Balcaen 2011-05-06 20:38:54 CEST
we're missing vaapi-driver-fglrx in fact.
Comment 3 Ahmad Samir 2011-05-06 20:43:31 CEST
Looks like it.

$ vainfo 
libva: libva version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Source RPM: drakx-kbd-mouse-x11 => libva

Ahmad Samir 2011-05-06 20:48:43 CEST

Summary: totem fails immediately looking for fglrx_drv_video.so => totem fails immediately looking for fglrx_drv_video.so due to missing vaapi-driver-fglrx
Source RPM: libva => vaapi-driver-fglrx

Comment 4 John Balcaen 2011-05-06 21:41:16 CEST
We need vaapi-driver-fglrx but there's probably something more need.
I'm pushing it on nonfree/release for the moment.

CC: (none) => balcaen.john

Ahmad Samir 2011-05-06 21:44:27 CEST

Assignee: bugsquad => anssi.hannula

Comment 5 John Balcaen 2011-05-06 21:58:37 CEST
We can add (probably) a symlink from the %_libdir/va/drivers/fglrx_drv_video.so to %_libdir/dri/ but since it has not been done before i guess there's a reason for that.
Comment 6 Anssi Hannula 2011-05-07 12:47:54 CEST
The driver directory was recently switched from %_libdir/va/drivers to %_libdir/dri, so we need to move the drivers accordingly.

I'll look into it.

Status: NEW => ASSIGNED
CC: (none) => tmb

Comment 7 Anssi Hannula 2011-05-07 12:52:36 CEST
Fixed in 0.7.8-2mga of vaapi-driver-fglrx.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 8 John Balcaen 2011-05-07 12:57:48 CEST
should we import also the vaapi-driver for nvidia too ?
Comment 9 Anssi Hannula 2011-05-07 13:00:55 CEST
Yes.

Note You need to log in before you can comment on or make changes to this bug.