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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-05-09, 07:33 AM   #1
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Thumbs down *Bug* Multiple-stream decoding on Linux using VDPAU API

To whom it may concern,

I have been trying to write a multiple stream decoding and displaying application on Liunx, using the VDPAU API. The graphic card is GeForce 9600 GT. Here is the problem I encountered:
  1. I can't create two VdpDecoder instances in one GPU.
  2. I can't create two VdpDecoder instances in two GPUs independently.
  3. I can't create two VdpPresentationQueue instances in one GPU.
  4. I can't create one VdpPresentationQueue instance in one GPU, by using the VdpDevice attatch to Xserver :0.1.
  5. I can't create two VdpPresentationQueue instances in two GPUs independently.

For more information, please look at my previuus threads:
http://www.nvnews.net/vbulletin/showthread.php?t=133176

Could you confirm with me if they're really defects or limitations? When will them probabaly be solved?

I really appreciate your soon response, so that I am able to adjust my working plan.

Thank you!

dean1873 is offline   Reply With Quote
Old 06-05-09, 12:22 PM   #2
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: *Bug* Multiple-stream decoding on Linux using VDPAU API

Quote:
Some highlights/limitations of NVIDIA's current implementation:

* Supported on NVIDIA GPUs with the NVIDIA second generation video processors or later (as of driver version 180.22, see the driver's README file for a list of supported GPUs).
* Currently, only one video stream can be decoded at a time; we hope to lift this restriction eventually.
* Available in 180.xx and later NVIDIA driver releases
http://www.nvnews.net/vbulletin/showthread.php?t=123091
Dragoran is offline   Reply With Quote
Old 06-05-09, 01:21 PM   #3
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: *Bug* Multiple-stream decoding on Linux using VDPAU API

* I can't create two VdpDecoder instances in one GPU.

That is defined not to work.

* I can't create two VdpDecoder instances in two GPUs independently.

That probably should work, but has not been tested. I assume you've created a separate X screen or display for each GPU, and are creating a single VdpDevice object for each screen/display, and are creating a single VdpDecoder object within each VdpDevice?

* I can't create two VdpPresentationQueue instances in one GPU.

That's been tested, and should work.

* I can't create one VdpPresentationQueue instance in one GPU, by using the VdpDevice attatch to Xserver :0.1.

That's been tested, and should work. I assume you're not mixing tests together - i.e. you're explicitly creating a single VdpDevice on the second X screen?

* I can't create two VdpPresentationQueue instances in two GPUs independently.

That should work, but also may not have been tested.

In each of the above cases, can you please:
* Provide an nvidia-bug-report indicating how your multi-GPU system is set up
* Provde either simple standalone sample code, or detailed repro steps indicating how many VdpDevice, VdpDecoder, VdpPresentationQueue objects etc. that you're creating
* Run your test app with VDPAU_NVIDIA_DEBUG=3 and provide any complete VDPAU error messages you see.

Thanks.
Stephen Warren is offline   Reply With Quote
Old 06-08-09, 05:59 AM   #4
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Default Re: *Bug* Multiple-stream decoding on Linux using VDPAU API

Hi, Stephen,

You are right, it was my fault not to create the VdpDevice instance appropriately. Thank you so much for your confirmation on you tests!

By the way, could I know something about your plan to remove the restriction that only one decoder instance can be created on on GPU?

Besides, if I want to use CUDA to do some acceleration for the decoder, is there any conflict between CUDA and VDPAU?

Thanks again for your great help these days
dean1873 is offline   Reply With Quote
Old 06-08-09, 11:59 AM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: *Bug* Multiple-stream decoding on Linux using VDPAU API

It's great that everything is working for you now.

Re: Multiple stream support: It's certainly on our list of things we'd like to to enable. However, we have no specific timeframe for if/when this will be enabled.

Re: VDPAU/CUDA: I'm not aware of any conflict between these APIs. At present, you'll have to use "get bits" to download the VDPAU video or output surface to system (CPU) memory, then re-upload it to the GPU to process it using CUDA. We're aware this isn't optimal. Again, I have nothing to announce re: if/when there will be any better solution.
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
Google's Linux Video Acceleration API: VAVDA News Archived News Items 0 06-01-12 05:50 AM
Mandrake Linux 9.0 (Dolphin) now available | comments? volt General Linux 10 10-19-02 10:13 PM

All times are GMT -5. The time now is 04:45 AM.


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