Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VAAPI can't find r600_drv_video.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Magister Cistiorum
n00b
n00b


Joined: 22 Dec 2010
Posts: 14

PostPosted: Tue Jun 18, 2013 9:00 pm    Post subject: VAAPI can't find r600_drv_video.so Reply with quote

I'm trying to enable VAAPI over my Radeon HD 4670 video card. First VDPAU was succesfully installed using radeon open source driver as back-end driver as described in the Gentoo Wiki. Here is my vdpauinfo output.
Then I enabled vaapi use flag and updated system with --newuse option. Now vainfo outputs the following:
Code:
$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I haven't found r600_drv_video.so file somewhere in my system. Google hasn't said what's been done wrong. Any ideas?


Last edited by Magister Cistiorum on Wed Jun 19, 2013 3:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Jun 18, 2013 10:55 pm    Post subject: Reply with quote

VAAPI seems to be pretty dead upstream at the moment, and the use flags make it seem like it's only being developed for i915 and as a wrapper around proprietary blob drivers. There is no hardware R600 driver for it.

You're better off just ignoring it and sticking with VDPAU for now.
Back to top
View user's profile Send private message
Magister Cistiorum
n00b
n00b


Joined: 22 Dec 2010
Posts: 14

PostPosted: Wed Jun 19, 2013 11:10 am    Post subject: Reply with quote

Ant P. wrote:
VAAPI seems to be pretty dead upstream at the moment, and the use flags make it seem like it's only being developed for i915 and as a wrapper around proprietary blob drivers. There is no hardware R600 driver for it.

You're better off just ignoring it and sticking with VDPAU for now.

Thank you. That's the way I'll do. I think the question is solved.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Jun 20, 2013 5:34 am    Post subject: Reply with quote

do note that the VDPAU support for your card is basic at best, it is based on shaders rather than the uvd engine so don't expect to much.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Jun 20, 2013 11:36 am    Post subject: Reply with quote

DaggyStyle wrote:
do note that the VDPAU support for your card is basic at best, it is based on shaders rather than the uvd engine so don't expect to much.

Incorrect. There *is* UVD support now. You need kernel 3.10, the very latest linux-firmware that contains some uvd files in the radeon dir (not sure if Gentoo's package is new enough), and mesa-git. Only UVD2 support (Radeon HD4000 and up) for now, but Magister Cistiorum has a HD4670, so he's good.

http://www.phoronix.com/scan.php?page=article&item=amd_opensource_uvd
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Jun 20, 2013 12:11 pm    Post subject: Reply with quote

Gusar wrote:
DaggyStyle wrote:
do note that the VDPAU support for your card is basic at best, it is based on shaders rather than the uvd engine so don't expect to much.

Incorrect. There *is* UVD support now. You need kernel 3.10, the very latest linux-firmware that contains some uvd files in the radeon dir (not sure if Gentoo's package is new enough), and mesa-git. Only UVD2 support (Radeon HD4000 and up) for now, but Magister Cistiorum has a HD4670, so he's good.

http://www.phoronix.com/scan.php?page=article&item=amd_opensource_uvd

since I have a HD5450 and I didn't found any uvd fw files for my card, I assumed that his is older thus it isn't supported.

my bad.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Jun 20, 2013 12:14 pm    Post subject: Reply with quote

http://people.freedesktop.org/~agd5f/radeon_ucode/ doesn't have a uvd file for my card (CEDAR), from what I understand from you, RV710_uvd.bin is what he and I need to use?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Jun 20, 2013 1:15 pm    Post subject: Reply with quote

You don't need a specific uvd file for every single card. The files that are there cover *all* supported cards - all HD4000 and above.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Thu Jun 20, 2013 5:34 pm    Post subject: Reply with quote

Yeah it's SUMO_uvd.bin.

btw, Gusar, I remember having a conversation with you where I said AMD would never release an OSS UVD implementation. Seems I was very, very wrong.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jun 21, 2013 5:09 am    Post subject: Reply with quote

DaggyStyle wrote:
since I have a HD5450 and I didn't found any uvd fw files for my card, I assumed that his is older thus it isn't supported.

Nope
Code:
~ $ uname -r
3.9.2-ck

~ $ zgrep FIRMWARE= /proc/config.gz
CONFIG_EXTRA_FIRMWARE="radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CYPRESS_uvd.bin"

~ $ grep Chipset /var/log/Xorg.0.log
[    18.085] (--) RADEON(0): Chipset: "ATI Radeon HD 5450" (ChipID = 0x68f9)

~ $ vdpauinfo
display: :0.0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12
422    16384 16384  NV12
444    16384 16384  NV12

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                16  9216  2048  1152
MPEG2_SIMPLE         16  9216  2048  1152
MPEG2_MAIN           16  9216  2048  1152
H264_BASELINE        16  9216  2048  1152
H264_MAIN            16  9216  2048  1152
H264_HIGH            16  9216  2048  1152
VC1_SIMPLE           16  9216  2048  1152
VC1_MAIN             16  9216  2048  1152
VC1_ADVANCED         16  9216  2048  1152
MPEG4_PART2_SP       16  9216  2048  1152
MPEG4_PART2_ASP      16  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12
R8G8B8A8         16384 16384    y  NV12
R10G10B10A2      16384 16384    y  NV12
B10G10R10A2      16384 16384    y  NV12

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y 
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y 
CSC_MATRIX                       y 
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y 
LUMA_KEY_MAX_LUMA                y
Back to top
View user's profile Send private message
Magister Cistiorum
n00b
n00b


Joined: 22 Dec 2010
Posts: 14

PostPosted: Fri Jun 21, 2013 5:25 am    Post subject: Reply with quote

Is RV710_uvd.bin compatible with RV730XT?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jun 21, 2013 2:10 pm    Post subject: Reply with quote

dmesg should show which _uvd file it needs if it can't find the right one.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Jun 21, 2013 8:02 pm    Post subject: Reply with quote

Both the 4670 and 5450 have VDPAU UVD support since gentoo-sources-3.9.1-r1 and mesa-9.2_pre

For the 5450 you need CYPRESS_uvd.bin firmware.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Sat Jun 22, 2013 5:55 pm    Post subject: Reply with quote

thanks :)
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat Jun 22, 2013 6:22 pm    Post subject: Reply with quote

Magister Cistiorum wrote:
libva: VA-API version 0.32.0


A newer version has stabilized; there is version 1.0.15 as stable in tree, there is also 1.1.1 if you want to try that.

Ant P. wrote:
VAAPI seems to be pretty dead upstream at the moment, ... You're better off just ignoring it and sticking with VDPAU for now.


VAAPI is actively developed (http://cgit.freedesktop.org/libva/log/), more actively than VDPAU (http://cgit.freedesktop.org/~aplattner/libvdpau/log/).

Regardless, VDPAU is indeed a very good alternative, thank you for suggesting it.

chithanh wrote:
Both the 4670 and 5450 have VDPAU UVD support since gentoo-sources-3.9.1-r1 and mesa-9.2_pre


Thanks again for making the kernel team aware of that patch, glad to see it working for people; or is this topic still unresolved?

Maybe we could document this together on the Gentoo Wiki to spare future users from the same trouble.
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sun Jun 23, 2013 2:04 am    Post subject: Re: VAAPI can't find r600_drv_video.so Reply with quote

Magister Cistiorum wrote:
I'm trying to enable VAAPI over my Radeon HD 4670 video card. First VDPAU was succesfully installed using radeon open source driver as back-end driver
[snip]
Any ideas?

Both of the VA-API pages at freedesktop.org and wikipedia state that the API is supported by AMD Radeon's proprietary fglrx driver only. In fact there's mention on the net, like this Ubuntu bug report, that states that;
Quote:
there is no VAAPI support for radeon

However, the VA-API wikipedia page also states;
Quote:
Additionally, VDPAU (Video Decode and Presentation API for Unix), a competing API designed by NVIDIA, can potentially also be used as a backend for the VA API.

and in fact the Gentoo Wiki page gives the impression that all cards that support VDPAU could use it as the back-end for VA-API. However, the freedesktop.org page only lists back end support for;
Quote:
VDPAU back-end for NVIDIA and VIA chipsets:

Lastly, the Archwiki VA-API page states;
Quote:
AMD Radeon HD 4000 series and newer GPUs are supported by xvba-video-open package, available in the official repositories. It uses the proprietary catalyst-utils driver for Radeon HD 5000 series and newer, and catalyst-legacy-utils for Radeon HD 4000 series. Recent mesa versions together with AMD open source driver can decode some videos too, but number of formats supported is poor.

So I'm guessing that the answer to the OP is that there isn't reliable support for using the open source radeon driver and VDPAU as a back end for VA-API, yet. Maybe chithanh knows more, since I notice he answers a lot of these types of questions. At the minimum someone may consider updating the Gentoo Wiki pages to accurately reflect the current VA-API - VDPAU support.

Good Luck..
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sun Jun 23, 2013 9:26 am    Post subject: Reply with quote

The proprietary radeon driver uses XvBA. Which isn't supported pretty much anywhere, except in a branch of XBMC. But there's a xvba-vaapi bridge (the xvba-video-open package your quote mentions), allowing you to use VAAPI players with the proprietary driver. Provided this whole thing still works, in the past it was very hit and miss.

The open radeon driver now has full support using VDPAU. That quote you emphasized is outdated, it refers to the shader-based mpeg2 decoder. But we now have UVD access, meaning access to a dedicated hardware decoding unit (no shaders) that can do mpeg2 and VC-1, h264. There's also a vdpau-vaapi bridge, but why would you use it when pretty much all players support VDPAU directly.
Back to top
View user's profile Send private message
Atha
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 228

PostPosted: Tue Jul 15, 2014 4:21 pm    Post subject: Reply with quote

Hi!

I know this is an old thread. But I just encountered the same problem. I might have had it for some time, but now it started to really annoy me and I decided to investigate.

My graphics card: Radeon HD6770 (Turks).
Kernel: 3.15.5
Code:
$ dmesg | grep uvd
[    0.947659]  uvd    vclk: 0 dclk: 0
[    0.949762]  uvd    vclk: 0 dclk: 0
[    0.951311]  internal class: uvd
[    0.951815]  uvd    vclk: 70000 dclk: 56000
[    1.346134]  uvd    vclk: 0 dclk: 0
[    1.348269]  uvd    vclk: 0 dclk: 0
[    1.441247]  uvd    vclk: 0 dclk: 0
[    1.441251]  uvd    vclk: 0 dclk: 0
[15367.199544]  uvd    vclk: 0 dclk: 0
[15367.199565]  internal class: uvd
[15367.199572]  uvd    vclk: 70000 dclk: 56000
[15368.457545]  internal class: uvd
[15368.457554]  uvd    vclk: 70000 dclk: 56000
[15368.457580]  uvd    vclk: 0 dclk: 0


Well, it startet with Firefox exiting unexpectedly every time I used YouTube with html5 video playback enabled.
Code:
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: va_openDriver() returns -1
[6247] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[6247] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[6249] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[6249] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522


Using flash, YouTube works as expected.

So, I tried vdpauinfo and vainfo.

Code:
$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12
422    16384 16384  UYVY YUYV
444    16384 16384  Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  9216  2048  1152
MPEG2_SIMPLE          3  9216  2048  1152
MPEG2_MAIN            3  9216  2048  1152
H264_BASELINE        41  9216  2048  1152
H264_MAIN            41  9216  2048  1152
H264_HIGH            41  9216  2048  1152
VC1_ADVANCED          4  9216  2048  1152
MPEG4_PART2_SP        3  9216  2048  1152
MPEG4_PART2_ASP       5  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y 
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y 
CSC_MATRIX                       y 
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y 
LUMA_KEY_MAX_LUMA                y 


$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
$ ls -Al /usr/lib64/va/drivers/*
lrwxrwxrwx 1 root root     17  4. Feb 16:41 /usr/lib64/va/drivers/fglrx_drv_video.so -> xvba_drv_video.so
lrwxrwxrwx 1 root root     18 12. Jul 19:10 /usr/lib64/va/drivers/nvidia_drv_video.so -> vdpau_drv_video.so
lrwxrwxrwx 1 root root     18 12. Jul 19:10 /usr/lib64/va/drivers/s3g_drv_video.so -> vdpau_drv_video.so
-rwxr-xr-x 1 root root    997 12. Jul 19:10 /usr/lib64/va/drivers/vdpau_drv_video.la
-rwxr-xr-x 1 root root  97008 12. Jul 19:10 /usr/lib64/va/drivers/vdpau_drv_video.so
-rwxr-xr-x 1 root root    990  4. Feb 16:41 /usr/lib64/va/drivers/xvba_drv_video.la
-rwxr-xr-x 1 root root 124344  4. Feb 16:41 /usr/lib64/va/drivers/xvba_drv_video.so
$ cd /usr/lib64/va/drivers
$ ln -s vdpau_drv_video.so r600_drv_video.so
$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD


As you can see I tried to symlink the vdpau_drv_video.so to the requested r600_drv_video.so. Since it is the same symlink for the nvidia and fglrx drivers as well, i figured I’d give it a shot.

Firefox still crashes though. Now with this error:
Code:
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

** (firefox:8053): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8053): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8053): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8053): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
[8082] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[8082] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[8080] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[8080] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522

In the Arch wiki there are two environment variables mentioned: LIBVA_DRIVER_NAME and VDPAU_DRIVER.

Code:
# ls -Al /usr/lib64/vdpau/
insgesamt 3012
lrwxrwxrwx 1 root root      22  4. Apr 00:24 libvdpau_r600.so -> libvdpau_r600.so.1.0.0
lrwxrwxrwx 1 root root      22  4. Apr 00:24 libvdpau_r600.so.1 -> libvdpau_r600.so.1.0.0
-rwxr-xr-x 1 root root 3034648  4. Apr 00:24 libvdpau_r600.so.1.0.0
lrwxrwxrwx 1 root root      23  3. Nov 2013  libvdpau_trace.so -> libvdpau_trace.so.1.0.0
lrwxrwxrwx 1 root root      23  3. Nov 2013  libvdpau_trace.so.1 -> libvdpau_trace.so.1.0.0
-rwxr-xr-x 1 root root   51064  3. Nov 2013  libvdpau_trace.so.1.0.0


So I tried to use this:
Code:
# LIBVA_DRIVER_NAME=vdpau VDPAU_DRIVER=r600 /usr/bin/firefox

libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib64/va/drivers/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

** (firefox:8275): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8275): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8275): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8275): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
[8338] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[8338] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
radeon: The kernel rejected CS, see dmesg for more information.
# dmesg

[15367.199528] switching from power state:
[15367.199533]    ui class: performance
[15367.199536]    internal class: none
[15367.199540]    caps:
[15367.199544]    uvd    vclk: 0 dclk: 0
[15367.199549]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[15367.199553]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[15367.199556]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15367.199558]    status: c
[15367.199561] switching to power state:
[15367.199563]    ui class: none
[15367.199565]    internal class: uvd
[15367.199568]    caps: video
[15367.199572]    uvd    vclk: 70000 dclk: 56000
[15367.199575]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15367.199578]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15367.199582]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15367.199583]    status: r
[15367.406626] Chrome_ChildThr[7893]: segfault at 0 ip 00007f603bdebadd sp 00007f60379994f0 error 6 in libmozalloc.so[7f603bdea000+3000]
[15367.406936] Chrome_ChildThr[7895]: segfault at 0 ip 00007fc782dabadd sp 00007fc77e9994f0 error 6 in libmozalloc.so[7fc782daa000+3000]
[15368.457537] switching from power state:
[15368.457542]    ui class: none
[15368.457545]    internal class: uvd
[15368.457548]    caps: video
[15368.457554]    uvd    vclk: 70000 dclk: 56000
[15368.457559]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15368.457562]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15368.457566]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15368.457567]    status: c
[15368.457571] switching to power state:
[15368.457572]    ui class: performance
[15368.457574]    internal class: none
[15368.457577]    caps:
[15368.457580]    uvd    vclk: 0 dclk: 0
[15368.457583]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[15368.457587]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[15368.457590]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[15368.457592]    status: r
[15889.701423] Clocksource tsc unstable (delta = -209836948 ns)
[15892.643876] Switched to clocksource hpet
[16129.469676] switching from power state:
[16129.469681]    ui class: performance
[16129.469684]    internal class: none
[16129.469688]    caps:
[16129.469692]    uvd    vclk: 0 dclk: 0
[16129.469697]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[16129.469701]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[16129.469704]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16129.469706]    status: c
[16129.469709] switching to power state:
[16129.469710]    ui class: none
[16129.469713]    internal class: uvd
[16129.469716]    caps: video
[16129.469719]    uvd    vclk: 70000 dclk: 56000
[16129.469723]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16129.469726]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16129.469729]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16129.469730]    status: r
[16129.648324] Chrome_ChildThr[8083]: segfault at 0 ip 00007f03c20e2add sp 00007f03bdc994f0 error 6 in libmozalloc.so[7f03c20e1000+3000]
[16129.649264] Chrome_ChildThr[8081]: segfault at 0 ip 00007f04e3c3badd sp 00007f04df7994f0 error 6 in libmozalloc.so[7f04e3c3a000+3000]
[16130.697710] switching from power state:
[16130.697715]    ui class: none
[16130.697718]    internal class: uvd
[16130.697722]    caps: video
[16130.697728]    uvd    vclk: 70000 dclk: 56000
[16130.697732]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16130.697736]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16130.697739]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16130.697740]    status: c
[16130.697744] switching to power state:
[16130.697745]    ui class: performance
[16130.697748]    internal class: none
[16130.697751]    caps:
[16130.697753]    uvd    vclk: 0 dclk: 0
[16130.697757]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[16130.697760]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[16130.697763]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16130.697765]    status: r
[16734.867088] switching from power state:
[16734.867095]    ui class: performance
[16734.867097]    internal class: none
[16734.867101]    caps:
[16734.867103]    uvd    vclk: 0 dclk: 0
[16734.867105]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[16734.867106]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[16734.867107]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16734.867108]    status: c
[16734.867109] switching to power state:
[16734.867109]    ui class: none
[16734.867110]    internal class: uvd
[16734.867111]    caps: video
[16734.867113]    uvd    vclk: 70000 dclk: 56000
[16734.867114]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16734.867115]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16734.867116]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16734.867117]    status: r
[16735.070704] Chrome_ChildThr[8339]: segfault at 0 ip 00007f365df68add sp 00007f3659a994f0 error 6 in libmozalloc.so[7f365df67000+3000]
[16736.125528] switching from power state:
[16736.125533]    ui class: none
[16736.125536]    internal class: uvd
[16736.125540]    caps: video
[16736.125546]    uvd    vclk: 70000 dclk: 56000
[16736.125550]       power level 0    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16736.125554]       power level 1    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16736.125557]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16736.125558]    status: c
[16736.125562] switching to power state:
[16736.125563]    ui class: performance
[16736.125566]    internal class: none
[16736.125568]    caps:
[16736.125571]    uvd    vclk: 0 dclk: 0
[16736.125575]       power level 0    sclk: 10000 mclk: 15000 vddc: 900 vddci: 0
[16736.125578]       power level 1    sclk: 40000 mclk: 100000 vddc: 1100 vddci: 0
[16736.125581]       power level 2    sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0
[16736.125583]    status: r


What else can I try?
And does one of you have vdpau and va with the open source radeon driver and uvd2 working?
Does it work with firefox (gstreamer+vaapi)?

Thanks in advance (and I hope this isn’t considered as hijacking of this thread, because it is still the same topic/issue),
Atha
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum