nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   VDPAU troubles on a GT 430 (http://www.nvnews.net/vbulletin/showthread.php?t=174077)

coggy_ 02-14-12 01:07 PM

[BUG] VDPAU troubles on a GT 430
 
1 Attachment(s)
Hello,

I'm trying to get VDPAU working on a Debian Stable system using a GT 430 card manufactured by Point of View. OpenGL is working fine as tested using glxgears and a variety of games.
Output of nvidia-bug-report.sh is attached. MPlayer, trying to play back the file http://v2v.cc/~j/theora_testsuite/320x240.ogg using 'export VDPAU_TRACE=1' and 'export VDPAU_NVIDIA_DEBUG=3' gives the following output:


Quote:

$ mplayer -vo vdpau ~/Desktop/320x240.ogg
MPlayer SVN-r34684-snapshot-4.4.5 (C) 2000-2012 MPlayer Team

Playing /home/c/Desktop/320x240.ogg.
libavformat version 54.0.100 (internal)
libavformat file format detected.
[theora @ 0x8bea920]7 bits left in packet 82
[lavf] stream 0: video (theora), -vid 0
VIDEO: [theo] 320x240 0bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in /home/c/Desktop/
VDPAU capture: Enabled
vdp_imp_device_create_x11(0xa1c6f40, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 290.10 Wed Nov 16 19:53:31 PST 2011
VDPAU nvidia: Error detected 10 296 5
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0xb48bb000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0xb4902a51]
01: /usr/lib/libvdpau_nvidia.so [0xb48f2de3]
02: /usr/lib/libvdpau_nvidia.so [0xb48cf9a3] vdp_imp_device_create_x11
-> 1
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.

Exiting... (End of file)
'mplayer -vo vdpau -vc fftheora' yields the same result.

vdpauinfo 0.0.6 looks similar:

Quote:

display: :0.0 screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x8ea9008, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 290.10 Wed Nov 16 19:53:31 PST 2011
VDPAU nvidia: Error detected 10 296 5
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0xb7205000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0xb724ca51]
01: /usr/lib/libvdpau_nvidia.so [0xb723cde3]
02: /usr/lib/libvdpau_nvidia.so [0xb72199a3] vdp_imp_device_create_x11
-> 1
Error creating VDPAU device: 1
Any pointers what I could try to fix this? If more information is needed, I'm more than happy to assist.

RealNC 02-15-12 08:32 AM

Re: VDPAU troubles on a GT 430
 
VDPAU is for MPEG video (mostly H.264 and VC1.) I don't think Theora is supposed to work. So try with an MPEG video instead?

coggy_ 02-15-12 08:56 AM

Re: VDPAU troubles on a GT 430
 
Trying a H.264-encoded file (from http://www.dvdloc8.com/clip.php?movieid=12167&clipid=1), I get identical results:

Quote:

MPlayer UNKNOWN-4.4.5 (C) 2000-2012 MPlayer Team

Playing The Simpsons Movie - Trailer.mp4.
libavformat version 54.0.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO: [H264] 1280x544 24bpp 23.976 fps 4221.4 kbps (515.3 kbyte/s)
Clip info:
major_brand: isom
minor_version: 1
compatible_brands: isomavc1
creation_time: 2007-02-19 05:03:04
Load subtitles in ./
VDPAU capture: Enabled
vdp_imp_device_create_x11(0xa771db0, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 295.20 Mon Feb 6 20:52:06 PST 2012
VDPAU nvidia: Error detected 10 296 5
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0xb490a000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0xb4952edd]
01: /usr/lib/libvdpau_nvidia.so [0xb4941e33]
02: /usr/lib/libvdpau_nvidia.so [0xb491ea3a] vdp_imp_device_create_x11
-> 1
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.1.100 (internal)
AUDIO: 48000 Hz, 2 ch, s16le, 64.1 kbit/4.17% (ratio: 8016->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.8 (00.8) of 137.3 (02:17.3) 1.3%

coggy_ 02-18-12 02:49 AM

Re: VDPAU troubles on a GT 430
 
Are the error codes such as "10 296 5" documented somewhere?

coggy_ 02-29-12 01:09 PM

Re: VDPAU troubles on a GT 430
 
Alright, I just tried vdpauinfo on a fresh Ubuntu 11.10 install with the binary drivers from the repositories - same result. Can I assume this is a incompatibility between the nvidia driver and my specific hardware, and what would be the course of action in this case to fix this for future driver versions?

jcornwall 02-29-12 07:13 PM

Re: VDPAU troubles on a GT 430
 
Quote:

Originally Posted by coggy_ (Post 2532533)
Alright, I just tried vdpauinfo on a fresh Ubuntu 11.10 install with the binary drivers from the repositories - same result. Can I assume this is a incompatibility between the nvidia driver and my specific hardware, and what would be the course of action in this case to fix this for future driver versions?

I have Ubuntu 11.10 x86_64 with a GT 430 and 295.20, vdpauinfo works fine here:
Code:

display: :0  screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  295.20  Mon Feb  6 21:33:24 PST 2012

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  8192  2048  2048
H264_HIGH            41  8192  2048  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048
MPEG4_PART2_SP        3  8192  2048  2048
MPEG4_PART2_ASP      5  8192  2048  2048
DIVX4_QMOBILE        0  8192  2048  2048
DIVX4_MOBILE          0  8192  2048  2048
DIVX4_HOME_THEATER    0  8192  2048  2048
DIVX4_HD_1080P        0  8192  2048  2048
DIVX5_QMOBILE        0  8192  2048  2048
DIVX5_MOBILE          0  8192  2048  2048
DIVX5_HOME_THEATER    0  8192  2048  2048
DIVX5_HD_1080P        0  8192  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8        16384 16384    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2      16384 16384    y  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            y
DEINTERLACE_TEMPORAL_SPATIAL    y
INVERSE_TELECINE                y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                        y
HIGH QUALITY SCALING - L1        y
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

I use it with XBMC and it works great.

coggy_ 03-01-12 02:40 AM

Re: VDPAU troubles on a GT 430
 
Quote:

Originally Posted by jcornwall (Post 2532672)
I have Ubuntu 11.10 x86_64 with a GT 430 and 295.20, vdpauinfo works fine here.

I'm aware that this issue does not affect all GT 430 cards. I suspect this might be specific to the OEM that manufactured the card (Point of View, in this case), maybe a bug in the firmware or something along these lines.
It's this card: http://www.pointofview-online.com/sh...product_id=279

mrh1100 03-01-12 03:47 AM

Re: VDPAU troubles on a GT 430
 
1 Attachment(s)
I have the same problem with an integrated GT218 adapter. My environment is a custom embedded distribution but the software setup works fine with other nvidia boards and with a different Atom D525 + GT218 board. The problem is only with this specific mini-itx D525-GT218 mainboard. And I did initially test with an ubuntu installation which did not work with VDPAU either.

Paste of error given by vdpauinfo with traces on, mplayer and qvdpautest produce the same error traces.
Code:

VDPAU capture: Enabled
vdp_imp_device_create_x11(0x804e008, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library  295.20  Mon Feb  6 20:52:06 PST 2012
VDPAU nvidia: Error detected 10 296  5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb71db000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb7223edd]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb7212e33]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb71efa3a] vdp_imp_device_create_x11
    -> 1
Error creating VDPAU device: 1

And I tried also an older driver with the same results
Code:

VDPAU capture: Enabled
vdp_imp_device_create_x11(0x804e008, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library  285.05.09  Fri Sep 23 19:17:37 PDT 2011
VDPAU nvidia: Error detected 10 296  5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb71ea000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb7230381]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb7220513]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0xb71fe65f] vdp_imp_device_create_x11
    -> 1
Error creating VDPAU device: 1

Attached is nvidia-bug-report with 295.20 drivers

uau 03-01-12 06:25 AM

Re: VDPAU troubles on a GT 430
 
Quote:

Originally Posted by RealNC (Post 2528909)
VDPAU is for MPEG video (mostly H.264 and VC1.) I don't think Theora is supposed to work. So try with an MPEG video instead?

Only the hardware decoding functionality is specific to particular codecs. VDPAU also includes other functionality like converting colorspaces from YUV to RGB and displaying bitmaps on screen. The latter functionality can be used with any video with software decoding.

coggy_ 03-23-12 10:14 AM

Re: VDPAU troubles on a GT 430
 
Could anyone please comment on this? I'm sure the error codes indicate roughly what is going wrong. I'd even be happy with a statement like "it's your combination of mainboard chipset and graphics card, nothing we can do about it". I submitted a bug report to linux-bugs@nvidia and did not receive any reply.

Deanjo 03-23-12 12:05 PM

Re: VDPAU troubles on a GT 430
 
Quote:

Originally Posted by coggy_ (Post 2539313)
Could anyone please comment on this? I'm sure the error codes indicate roughly what is going wrong. I'd even be happy with a statement like "it's your combination of mainboard chipset and graphics card, nothing we can do about it". I submitted a bug report to linux-bugs@nvidia and did not receive any reply.

Have you tried the new 295.33 drivers yet?

coggy_ 03-23-12 03:03 PM

Re: VDPAU troubles on a GT 430
 
Quote:

Originally Posted by Deanjo (Post 2539354)
Have you tried the new 295.33 drivers yet?

Thanks for the reply. Yes, I get the same behaviour with the 295.33 drivers.


All times are GMT -5. The time now is 10:39 AM.

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