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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-30-09, 04:18 AM   #1
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Question What should I do when VdpDecoderRender returns an error?

Hi, everyone,

I call VdpDecoderRender function in my source code, then it return error code 3, which means "An invalid handle value was provided". I checked all the handle, there is no NULL handle. I can't not debug as the decoding work is done inside the hardware ;(

So here is my questions:
1. How can I know which handles passed to the API is the INVALID handle that causes the error?
2. If the VdpPictureInfoH264 structure passed to the API is incorrect, how can I know it?
3. If the bitstream raw data passed to the API is incorrect, how can I know it?
4. Any debug skills on VDPAU linux? I really appreciate them!

Thank you for times
dean1873 is offline   Reply With Quote
Old 05-04-09, 11:25 AM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: What should I do when VdpDecoderRender returns an error?

The error code returned by VDPAU can't possibly have enough values to specify that level of information, and doesn't try.

You'll simply have to run under a debugger (or with VDPAU_TRACE environment variable set) and correlate all the handle values that the application is passing to this function against the handles that were previously allocated.
Stephen Warren 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
295.40 295 cannot be compiled on 3.2 kernel delta32 NVIDIA Linux 4 05-27-12 09:47 PM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM
Mandrake 8.2 Nvidia src.rpm problems Mr_Malcontent NVIDIA Linux 8 09-11-02 09:53 PM

All times are GMT -5. The time now is 08:07 AM.


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