[MPlayer-advusers] MPlayer problem with second graphics card output using vdpau.

Stuart Foster smf.linux at ntlworld.com
Fri Apr 13 16:28:55 EEST 2018


I have two graphics cards in this machine, Xorg sets them up as display 
:0.0 and :0.1. Everything is ok with outputs to :0.0. On output :0.1 xv 
and gl work fine but vdpau fails (see below). It does not matter what 
type (avi (divx),mp4 (x264),mkv (x265) etc.) source material I use they 
all fail on vdpau. Any suggestions has to what is wrong ?

thanks.

mplayer -display :0.1 -vo vdpau /x264/Test.mkv

MPlayer UNKNOWN-7.3.0 (C) 2000-2018 MPlayer Team

Playing /x264/Test.mkv.
libavformat version 58.9.100 (external)
libavformat file format detected.
[lavf] stream 0: video (hevc), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng, Surround 5.1
VIDEO:  [HEVC]  1600x912  0bpp  23.980 fps    0.0 kbps ( 0.0 kbyte/s)
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.11.101 (external)
Selected video codec: [ffhevc] vfm: ffmpeg (FFmpeg HEVC / H.265)
==========================================================================
Clip info:
  title: "Test"
  ENCODER: Lavf58.9.100
Load subtitles in /x264/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7f2cfae75e60]Channel layout '5.1(side)' with 6 channels does 
not match specified number of channels 2: ignoring specified channel layout
AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1600x912 => 1624x912 Planar YV12
X11 error: BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
radeon: The kernel rejected CS, see dmesg for more information (-22).
libvdpau-va-gl: PresentationQueue::do_presentation_queue_display(): 
caught X11 error BadMatch (invalid parameter attributes)
...

dmesg output:

[155602.836636] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.836639] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 595
[155602.836643] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[155602.849693] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.849698] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 581
[155602.849704] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[155602.878386] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.878392] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 581
[155602.878399] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[155602.899437] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.899440] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 581
[155602.899445] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[155602.920033] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.920037] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 581
[155602.920042] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[155602.934005] radeon 0000:02:00.0: r600_cs_track_validate_cb:415 cb 
pitch (1632, 0x40, 1) invalid
[155602.934011] radeon 0000:02:00.0: r600_packet3_check:1735 invalid cmd 
stream 581
[155602.934016] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
...

lspci data:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. AMD RS780/RS880 PCI to PCI 
bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI 
bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 0)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 3)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB 
OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB 
OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus 
Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 
Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to 
PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 5
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] RS780L [Radeon 3000]
01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS780 HDMI 
Audio [Radeon 3000/3100 / HD 3200/3300]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] RV710 [Radeon HD 4350/4550]
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 
HDMI Audio [Radeon HD 4000 series]
03:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI 
Video and Audio Decoder (rev 02)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host 
Controller
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
06:06.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet 
Controller (Copper) (rev 01)




More information about the MPlayer-advusers mailing list