Bug 1244559 - Firefox fails to open radeonsi_drv_video.so
Summary: Firefox fails to open radeonsi_drv_video.so
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 22
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-20 01:36 UTC by Didier G
Modified: 2016-03-20 13:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-20 13:53:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Didier G 2015-07-20 01:36:53 UTC
Description of problem:

Firefox fails to open radeonsi_drv_video.so


Version-Release number of selected component (if applicable):

firefox-39.0-8.fc22.x86_64
mesa-vdpau-drivers-10.6.1-1.20150629.fc22.x86_64

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]


How reproducible:

Just start Firefox will configuration above


Actual results:

juil. 20 02:37:33 lx-xxxxxx firefox.desktop[12427]: libva info: VA-API version 0.37.0
juil. 20 02:37:33 lx-xxxxxx firefox.desktop[12427]: libva info: va_getDriverName() returns 0
juil. 20 02:37:33 lx-xxxxxx firefox.desktop[12427]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
juil. 20 02:37:33 lx-xxxxxx firefox.desktop[12427]: libva info: va_openDriver() returns -1


Additional info:

A symlink radeonsi_drv_video.so -> gallium_drv_video.so in /usr/lib64/dri seems to fix this problem. No more error message.

Comment 1 Didier G 2015-07-21 17:27:45 UTC
Symlink radeonsi_drv_video.so -> gallium_drv_video.so in /usr/lib64/dri suppress firefox error messages but it break totem whi message: "GStreamer encountered a general stream error." 

In log with symlink:

juil. 21 19:21:07 lx-xxxxxx org.gnome.Totem[1896]: libva info: VA-API version 0.37.0
juil. 21 19:21:07 lx-xxxxxx org.gnome.Totem[1896]: libva info: va_getDriverName() returns 0
juil. 21 19:21:07 lx-xxxxxx org.gnome.Totem[1896]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
juil. 21 19:21:07 lx-xxxxxx org.gnome.Totem[1896]: libva info: Found init function __vaDriverInit_0_37
juil. 21 19:21:07 lx-xxxxxx org.gnome.Totem[1896]: libva info: va_openDriver() returns 0


Changed component form firefox to mesa

Comment 2 Didier G 2015-07-22 02:02:12 UTC
Tested with vainfo.

There is definitively a problem with va-api:


$ vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Comment 3 jimmy 2015-12-21 02:02:37 UTC
I believe the fix you want is http://lists.freedesktop.org/archives/mesa-dev/2015-December/103585.html. I created and applied to openSUSE: https://build.opensuse.org/request/show/349699.

The patch created the named drivers that libva is expected which is consistent with drivers for everything else.

Comment 4 Igor Gnatenko 2016-03-20 13:53:08 UTC
should be fixed.


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