Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-22-08, 08:25 AM   #1
j.zhang
Registered User
 
Join Date: Dec 2008
Posts: 5
Question VDPAU and multiseat

I have a multiseat system with eight monitors connected to four NVIDIA cards (8600GTS). This system has only one Xorg instance which has eight screens (from :0.0 to :0.7).

After updating the NVIDIA driver to NVIDIA-Linux-x86-180.16-pkg1.run and building the mplayer-vdpau (version: mplayer-vdpau-3139462), I found that the mplayer-vdpau only works on the first card, that is on displays :0.0 and :0.1. On other displays, the windows were poped up with no video. The command line is ``mplayer -vo vdpau -vc ffh264vdpau sample.h264 -display :0.X''. X from 0 to 7. And another problem is that no more than one mplayer-vdpau instance can be opened at any time. the second instance of mplayer-vdpau quit with message saying there's an error at vo_vdpau.c:727.

Are these two problems bugs? Please help.
j.zhang is offline   Reply With Quote
Old 12-22-08, 11:06 AM   #2
Big P
Registered User
 
Join Date: Dec 2004
Posts: 180
Default Re: VDPAU and multiseat

Yes they are known limitations as mentioned in the VDPAU sticky:

Quote:
Currently, only one video stream can be decoded at a time; we hope to lift this
restriction eventually.
There are also some issues with Composite, Twinview etc. that will be fixed, however they are currently concentrating on more widespread issues. There's a lot of info in this thread.
Big P is offline   Reply With Quote
Old 12-22-08, 11:10 AM   #3
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: VDPAU and multiseat

The first issue (not being able to use cards other than the first card) is probably a bug.

The second issue (not being able to run more than one instance at a time) is a current design decision. It really stems from not being able to create more than one video decoder object on a given GPU (or SLI group). Since this only affects the decoder object, you should find that you can run an arbitrary number of instances using just "-vo vdpau" and without "-vc ffh264vdpau/...", on the 2nd/3rd/... (subject to memory usage) although of course you don't get decode acceleration then.

If your other cards were working, you should have been able to run one HW-accelerated instance per card.
Stephen Warren is offline   Reply With Quote
Old 12-23-08, 12:47 AM   #4
j.zhang
Registered User
 
Join Date: Dec 2008
Posts: 5
Default Re: VDPAU and multiseat

Thank you all!

>> The first issue (not being able to use cards other than the first card) is probably a bug.

Some more infomations about the first issue:

1) mplayer-vdpau freezes after outputing:

[root@localhost ~]# mplayer -vo vdpau -vc ffh264vdpau 720x480.mp4 -display :0.2
MPlayer dev-SVN-r27960-4.1.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing 720x480.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
================================================== ========================
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
================================================== ========================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 720 x 480 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x480 => 720x480 H.264 MAIN VDPAU acceleration
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
VDec: vo config request - 720 x 480 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 872x480 H.264 MAIN VDPAU acceleration
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A: 0.2 V: 0.1 A-V: 0.109 ct: -0.001 0/ 0 ??% ??% ??,?% 2 0 $<50>

2) stack of mplayer-vdpau:

[root@localhost ~]# pstack `pidof mplayer`
#0 0x004cf402 in __kernel_vsyscall ()
#1 0x009ea57b in poll () from /lib/libc.so.6
#2 0x074b7699 in vdp_imp_device_create_x11 () from /usr/lib/libvdpau_nvidia.so
#3 0x074b2a44 in vdp_imp_device_create_x11 () from /usr/lib/libvdpau_nvidia.so
#4 0x074ae19a in vdp_imp_device_create_x11 () from /usr/lib/libvdpau_nvidia.so
#5 0x080a6c7a in vo_x11_create_vo_window ()
#6 0x0abfaa10 in ?? ()
#7 0x0abfa940 in ?? ()
#8 0xbfb4db24 in ?? ()
#9 0x0abbf820 in ?? ()
#10 0x0000009b in ?? ()
#11 0x9f988b3c in ?? ()
#12 0xa990ee05 in ?? ()
#13 0x0ad6fc50 in ?? ()
#14 0xbfb4db08 in ?? ()
#15 0x00a5fff4 in ?? () from /lib/libc.so.6
#16 0x009a60a6 in gettimeofday () from /lib/libc.so.6
#17 0x081c8e35 in GetTimerMS ()
#18 0xbfb4daf4 in ?? ()
#19 0x00000000 in ?? ()
j.zhang is offline   Reply With Quote
Old 12-23-08, 01:29 AM   #5
j.zhang
Registered User
 
Join Date: Dec 2008
Posts: 5
Default Re: VDPAU and multiseat

Enable trace and debug:

[root@localhost ~]# export VDPAU_TRACE=1
[root@localhost ~]# export VDPAU_NVIDIA_DEBUG=3
[root@localhost ~]# mplayer -vo vdpau -vc ffh264vdpau 720x480.mp4 -display :0.2
MPlayer dev-SVN-r27960-4.1.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing 720x480.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
================================================== ========================
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
================================================== ========================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 720 x 480 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x480 => 720x480 H.264 MAIN VDPAU acceleration
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x91abd68, 2, -, -)
-> 0, 1, 0x50e0a0
vdp_get_proc_address(1, 0, -)
-> 0, 0xcd62f0
vdp_get_proc_address(1, 5, -)
-> 0, 0xcd6220
vdp_get_proc_address(1, 9, -)
-> 0, 0xcd8c60
vdp_get_proc_address(1, 10, -)
-> 0, 0xcd6150
vdp_get_proc_address(1, 13, -)
-> 0, 0xcddbb0
vdp_get_proc_address(1, 12, -)
-> 0, 0xcdd5d0
vdp_get_proc_address(1, 24, -)
-> 0, 0xcde1c0
vdp_get_proc_address(1, 22, -)
-> 0, 0xcdc570
vdp_get_proc_address(1, 18, -)
-> 0, 0xcd83c0
vdp_get_proc_address(1, 19, -)
-> 0, 0xcd6080
vdp_get_proc_address(1, 46, -)
-> 0, 0xcdaf90
vdp_get_proc_address(1, 47, -)
-> 0, 0xcdc390
vdp_get_proc_address(1, 53, -)
-> 0, 0xcd5e10
vdp_get_proc_address(1, 54, -)
-> 0, 0xcdc8d0
vdp_get_proc_address(1, 55, -)
-> 0, 0xcd5d40
vdp_get_proc_address(1, 56, -)
-> 0, 0xcd72b0
vdp_get_proc_address(1, 57, -)
-> 0, 0xcd5c70
vdp_get_proc_address(1, 63, -)
-> 0, 0xcd5b60
vdp_get_proc_address(1, 64, -)
-> 0, 0xcd7020
vdp_get_proc_address(1, 4096, -)
-> 0, 0xcd6d60
vdp_get_proc_address(1, 37, -)
-> 0, 0xcd7950
vdp_get_proc_address(1, 38, -)
-> 0, 0xcd5ee0
vdp_get_proc_address(1, 40, -)
-> 0, 0xcd9760
vdp_get_proc_address(1, 65, -)
-> 0, 0xcd6ea0
vdp_get_proc_address(1, 33, -)
-> 0, 0xcdd240
vdp_get_proc_address(1, 23, -)
-> 0, 0xcde620
vdp_presentation_queue_target_create_x11(1, 54525956, -)
-> 0, 2
vdp_presentation_queue_create(1, 2, -)
-> 0, 3
vdp_decoder_create(1, 7, 720, 480, 16, -)
-> 0, 4
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 5
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 6
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 7
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 8
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 9
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 10
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 11
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 12
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 13
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 14
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 15
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 16
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 17
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 18
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 19
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 20
vdp_video_surface_create(1, 0, 720, 480, -)
-> 0, 21
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {720, 480, 0}, -)
-> 0, 22
vdp_output_surface_create(1, 0, 640, 480, -)
-> 0, 23
vdp_output_surface_create(1, 0, 640, 480, -)
-> 0, 24
vdp_output_surface_create(1, 0, 640, 480, -)
-> 0, 25
VDec: vo config request - 720 x 480 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 872x480 H.264 MAIN VDPAU acceleration
vdp_decoder_render(4, 5, {...}, 2, {{(ver 0) 3, ...}, {(ver 0) 37528, ...}})
-> 0
vdp_decoder_render(4, 6, {...}, 2, {{(ver 0) 3, ...}, {(ver 0) 1886, ...}})
-> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
-> 0, 0
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 5, 0, NULL, NULL, 23, {0, 0, 0, 0}, {0, 0, 0, 0}, 0, NULL)
-> 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
vdp_presentation_queue_display(3, 23, 630, 401, 0)
-> 0
vdp_decoder_render(4, 7, {...}, 2, {{(ver 0) 3, ...}, {(ver 0) 124, ...}})
-> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
-> 0, 0
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 7, 0, NULL, NULL, 24, {0, 0, 630, 401}, {0, 0, 630, 401}, 0, NULL)
-> 0
vdp_presentation_queue_display(3, 24, 630, 401, 0)
-> 0
vdp_decoder_render(4, 7, {...}, 2, {{(ver 0) 3, ...}, {(ver 0) 151, ...}})
-> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
j.zhang is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:20 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.