Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 31st March 2009, 19:32   #321  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
All I can say is that some people do it and get away with it and some get corrupted encodes. I don't know why and don't have time to investigate. Theoretically, I believe it should work as the Nvidia driver is supposed to manage the contexts for the two different processes, but as I said, some people have had problems.
Guest is offline  
Old 23rd April 2009, 14:32   #322  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Hi Don,

I'm getting this error on Windows 7 with all versions of your app.

cuvidMapVideoFrame: 208.


I realize win 7 is still in beta, but i'm willing to help trouble shoot if you want. It's only a matter of time now before Windows 7 is released.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 23rd April 2009, 14:35   #323  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I've already reported it to Nvidia some time ago. The problem is not in my code and we just have to hope that they fix it in time.

I will rattle their cages a little.

EDIT: Just sent this:

"I have a user doing VC1 decoding on Windows 7 beta.

He gets cuvidMapVideoFrame: 208. I believe we briefly discussed
issues with Windows 7 a while back.

Is this issue known and can we hope for a fix before Windows 7
goes final? The user is willing to assist in debugging."

Last edited by Guest; 23rd April 2009 at 14:40.
Guest is offline  
Old 23rd April 2009, 14:41   #324  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Cheers.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 23rd April 2009, 15:13   #325  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Is that with win7 build 7077 or later?
squid_80 is offline  
Old 23rd April 2009, 23:40   #326  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
If you have a recent Windows 7 build you will need the latest Nvidia drivers for it. The problem is fixed if you ensure that.
Guest is offline  
Old 24th April 2009, 09:54   #327  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
I'm using build 7068 of windows 7. However the release candidate has just been leaked.

I'm using 181.71 which shows as the latest build for windows 7 on nvidia's site.

I don't want to use the latest build for vista 185.68 as afaik this is WDDM 1.0.
I'd prefer to stick to win 7 drivers which are WDDM 1.1.

I'll install windows 7 RC tonight or tomorrow and try again. If that doesn't work, I'll try the latest drivers for Vista and report back.


edit: WDDM http://en.wikipedia.org/wiki/Windows...y_Driver_Model
__________________
http://www.7-zip.org/
Audionut is offline  
Old 25th April 2009, 02:55   #328  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Using release candidate build 7100 of windows 7 and the drivers from automatic update 181.72 I still get the same error.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 6th May 2009, 03:02   #329  |  Link
sangwich
Registered User
 
Join Date: Aug 2006
Posts: 11
Same error

Quote:
Originally Posted by ~bT~ View Post
what is this error?



for encoding to continue, i must click ok.
I'm getting same error when screen saver engages (switching users will likely to cause this too but I'm not sure, need to test it again) and when two or more DGVC1Decode processes trying to run, so in my case it is not related to any particular position in the fille. I'm using WinXP SP3 + 8600GTS + 178.24 driver. So, is limitation of CUVID server or a bug (or a feature ) ?

Last edited by sangwich; 6th May 2009 at 04:04.
sangwich is offline  
Old 6th May 2009, 04:31   #330  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Do not use a screen saver when encoding. Do not try to use the CUVID server with multiple clients at the same time.
Guest is offline  
Old 6th May 2009, 14:31   #331  |  Link
sangwich
Registered User
 
Join Date: Aug 2006
Posts: 11
CUVID error, few more cases

Quote:
Originally Posted by neuron2 View Post
Do not use a screen saver when encoding. Do not try to use the CUVID server with multiple clients at the same time.
It also happens when switching users and when connecting to the machine remotely. I can cope with your "don't" in the first and 2nd case, but 3rd and 4th cases are really crippling. Imagine if you are waited for 6 hours to encode a movie and you are 99% done when you wife (insert GF/roommate/child/etc. here) decides to check her email "for a quick sec" and everything goes to trash

So, can I nicely ask for a fix?
sangwich is offline  
Old 6th May 2009, 14:42   #332  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by sangwich View Post
...can I nicely ask for a fix?
But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?
laserfan is offline  
Old 6th May 2009, 14:45   #333  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
There's no fix possible unless Nvidia changes the architecture. You have to play by the rules if you want to use CUVID.
Guest is offline  
Old 6th May 2009, 15:02   #334  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by laserfan View Post
But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?
"Fast user switching" isn't logging off, it's logging on more than one session and switching between them. It's just that only the current session can effectively use the GPU...

Anyway, shouldn't there be a way for DGVC1Decode to simply stall (maybe with a dialog popping up for the user to terminate it) until it can reacquire the hardware, assuming that it's actually possible to do that (most games do it when you tab out of them and back)?

I'd say that would be way better than simply erroring out - if it's doable, of course...
__________________
now playing: [artist] - [track] ([album])
Leak is offline  
Old 6th May 2009, 15:05   #335  |  Link
sangwich
Registered User
 
Join Date: Aug 2006
Posts: 11
Quote:
Originally Posted by laserfan View Post
But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?
In WinXP switching users is not the same as log-off. When I re-encode h264 content, I use non NV version of dgavcdecode and have a queue of work for several days, however I can do all those thing without any impact on the processing.
sangwich is offline  
Old 6th May 2009, 15:18   #336  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by Leak View Post
Anyway, shouldn't there be a way for DGVC1Decode to simply stall (maybe with a dialog popping up for the user to terminate it) until it can reacquire the hardware, assuming that it's actually possible to do that (most games do it when you tab out of them and back)?
Unfortunately it's more complicated than that, not only would it have to re-acquire a handle to a direct3d device but also reinitialize the CUDA decoder and feed in all the previous reference frames again so the DPB was valid.
squid_80 is offline  
Old 6th May 2009, 22:08   #337  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by squid_80 View Post
Unfortunately it's more complicated than that, not only would it have to re-acquire a handle to a direct3d device but also reinitialize the CUDA decoder and feed in all the previous reference frames again so the DPB was valid.
Hmmm... I don't think that's actually infinite reference frames, so shouldn't it be possible to keep as much of the stream as needed to do that in memory?

np: Lackluster - Whinnye (Proof Of Concept)
__________________
now playing: [artist] - [track] ([album])
Leak is offline  
Old 6th May 2009, 22:52   #338  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Sure it's possible, just not particularly easy.
squid_80 is offline  
Old 6th May 2009, 23:05   #339  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Also, there's no API to preload the DPB like that, and to reattach to D3D without resetting stuff.
Guest is offline  
Old 6th May 2009, 23:59   #340  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by neuron2 View Post
Also, there's no API to preload the DPB like that
So how do you seek around in the stream then?
__________________
now playing: [artist] - [track] ([album])
Leak is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +1. The time now is 19:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.