bug or missing feature for vdpau deinterlacer for live tv preview window?
#1
I experience a problem or missing feature when I view LiveTV in its preview panel/window running xbmc in fullscreen mode.

first I cleared the issue by removing ~/.xbmc folder and configure vdr-vnsi-server.

to replicate the problem on my system, I have to select a channel, press ok on my remote to make it go full screen and then press M, choose video settings, then enable interlacing (of any kind). Full screen works great for deinterlacer. But as soon as I press the backspace key on keyboard to show the live TV in a preview panel, the output of the preview panel becomes jerky/or described as a lower framerate as compared to what it shows on the live tv in fullscreen mode. Selecting another channel, where deinterlacer is not set, it shows as normal (but I might see the interlaced lines on the screen) in the preview window.

I don't see this deinterlacer "problem" when running vdr-sxfe (vdr-xineliboutput's X frontend) in window mode vs fullscreen mode.

Some background information. I replaced my VDR with vdr-xineliboutput frontend (which had vdpau support) with xbmc 3 days ago.

My system runs X as an ordinary user with no window manager and I launch xbmc-standalone with the following: DISPLAY=:0.0 ck-launch-session xbmc-standalone

This is what my Gentoo system has:
Code:
x11-libs/libvdpau-0.4.1
x11-libs/vdpau-video-0.7.3
x11-misc/vdpauinfo-0.0.6
media-video/ffmpeg-0.7_rc1
media-libs/xine-lib-1.2
xbmc-11.0-20110621 (git://github.com/opdenkamp/xbmc.git)
media-vide/vdr-1.7.18
media-plugins/vdr-vnsiserver-0.9.0 (git://github.com/pipelka/vdr-plugin-vnsiserver.git)
x11-base/xorg-server-1.9.5
x11-drivers/nvidia-drivers-270.41.06
x11-libs/libXrandr-1.3.1
sys-power/nvclock-0.8_p20110102-r1
what information I get from running vdpauinfo:
Code:
$ DISPLAY=:0.0 vdpauinfo
display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  270.41.06  Mon Apr 18 15:14:35 PDT 2011

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8190  2032  2048
H264_HIGH            41  8190  2032  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  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             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
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         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
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
What information I get from running nvclock to describe my graphics card:
Code:
$ nvclock -i
-- General info --
Card:           nVidia Geforce 8400GS
Architecture:   G98 A2
PCI id:         0x6e4
GPU clock:      612.000 MHz
Bustype:        PCI-Express

-- Shader info --
Clock: 1512.000 MHz
Stream units: 16 (1b)
ROP units: 4 (1b)
-- Memory info --
Amount:         512 MB
Type:           128 bit DDR2
Clock:          399.600 MHz

-- PCI-Express info --
Current Rate:   16X
Maximum rate:   16X

-- Sensor info --
Sensor: GPU Internal Sensor
GPU temperature: 50C

-- VideoBios information --
Version: 62.98.2c.00.00
Signon message: ASUS EN8400GS VGA BIOS Ver 62.98.2C.00.AS13
Performance level 0: gpu 567MHz/shader 1400MHz/memory 400MHz/100%

Code:
$ uname -a
Linux htpc 2.6.37-gentoo-r4 #1 SMP PREEMPT Fri Jul 1 03:02:15 SAST 2011 i686 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz GenuineIntel GNU/Linux

Thanks for a great product so far!
Reply
#2
You just might hit system limits when playing a channel minimized. In addition to the movie itself the GUI has to be rendered. I have a GT220. Playing 1080i@50 fullsreen GPU shows approx 60% utilization. When switching to minimized utilization goes up to 100%.

This is a problem team XBMC is currently working on. See "dirty regions" on the home page.
Reply
#3
Thanks for the reply.

I managed to enable dirty regions in advancedsettings.xml and it appears to fix the problem I was experiencing. Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
bug or missing feature for vdpau deinterlacer for live tv preview window?0