[VDPAU] Mulitple device support

Stuart Foster smf.linux at ntlworld.com
Sat Dec 8 02:24:56 PST 2012


Hi,

I have discovered a problem when using vdpau on a system with two 
graphics cards and video (mplayer) is is being directed at the second 
card (display = :0.1).
The first card is an ATI R600 device and the second an ATI r300 device.

It appears from the brief investigation I have performed that Mesa's ( 
version 9.0.0) gallium driver is being sent the wrong pciid for the 
second card (error reported by gallium/drivers/r300/r300_chipset.c) when 
using vdpau. vdpauinfo also reports the same problem (see below).

Driver software in uses is as follows:

libva-vdpau-driver-0.7.4
libvdpau-0.5
vdpauinfo-0.0.6
xorg-server-1.13.0
xf86-video-ati-7.0.0
Mesa-9.0

Any suggestions ?

thanks

Stuart Foster

vdpauinfo :

display: :0.1   screen: 1
r300: Warning: Unknown chipset 0x9616
Aborting...Aborted

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     8192  8192  NV12 YV12
422     8192  8192  NV12 YV12 UYVY YUYV
444     8192  8192  NV12 YV12 Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                16 262144  8192  8192
MPEG2_SIMPLE         16 262144  8192  8192
MPEG2_MAIN           16 262144  8192  8192

Output surface:

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

Bitmap surface:

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

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     8192
VIDEO_SURFACE_HEIGHT             y        48     8192
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

Xorg.0.log:

[  3211.253] (--) RADEON(0): Chipset: "ATI Radeon 3000 Graphics" (ChipID 
= 0x9616)
[  3211.370] (--) RADEON(1): Chipset: "ATI Radeon X1300/X1550" (ChipID = 
0x7187)

lspci:

01:05.0 VGA compatible controller: ATI Technologies Inc 760G [Radeon 
3000] (prog-if 00 [VGA controller])
     01:05.0 0300: 1002:9616
     Subsystem: ASUSTeK Computer Inc. Device 8388
     Flags: bus master, fast devsel, latency 0, IRQ 18
     Memory at cc000000 (32-bit, prefetchable) [size=64M]
     I/O ports at b000 [size=256]
     Memory at fe6f0000 (32-bit, non-prefetchable) [size=64K]
     Memory at fe500000 (32-bit, non-prefetchable) [size=1M]
     Expansion ROM at <unassigned> [disabled]
     Kernel driver in use: radeon

02:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon 
X1300/X1550 Series] (prog-if 00 [VGA controller])
     02:00.0 0300: 1002:7187
     Subsystem: PC Partner Limited Device 3000
     Flags: bus master, fast devsel, latency 0, IRQ 18
     Memory at d0000000 (64-bit, prefetchable) [size=256M]
     Memory at fe7f0000 (64-bit, non-prefetchable) [size=64K]
     I/O ports at c000 [size=256]
     Expansion ROM at fe7c0000 [disabled] [size=128K]
     Capabilities: [50] Power Management version 2
     Capabilities: [58] Express Endpoint, MSI 00
     Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
     Kernel driver in use: radeon

02:00.1 Display controller: ATI Technologies Inc RV516 [Radeon 
X1300/X1550 Series] (Secondary)
     02:00.1 0380: 1002:71a7
     Subsystem: PC Partner Limited Device 3001
     Flags: bus master, fast devsel, latency 0
     Memory at fe7e0000 (64-bit, non-prefetchable) [size=64K]
     Capabilities: [50] Power Management version 2
     Capabilities: [58] Express Endpoint, MSI 00








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/vdpau/attachments/20121208/9588da59/attachment.html>


More information about the VDPAU mailing list