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 > Capturing and Editing Video > Avisynth Development
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th April 2005, 11:18   #81  |  Link
FrEEwilL
Registered User
 
Join Date: Oct 2001
Posts: 34
i have a problem the filter working.
whenever i use FFT3DGPU() in avs, avisynth gives me unrecognized exception error and crashes vdub(or vdubmod) with a memory reference error (....xxxxxxx can not be read").

i'm using
P4 2.8e
Win2k3 Ent.
ATI 9500Pro(firmhacked to 9700)
Catalyst 0.48 (Aug, 2004)

firm patch can cause the problem?
i tried to install the driver both with original (recognized as 9700) and edited (forced to 9500Pro) ini settings but got the same error.

btw i have no problem with fft3dfilter or catalyst for other uses.
FrEEwilL is offline   Reply With Quote
Old 26th April 2005, 12:28   #82  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
FrEEwilL: I don't think it's the firm patch that's causing the problem. It might be hyperthreading causing problems. Try disabling it and if it then works I will see if I can fix it.
tsp is offline   Reply With Quote
Old 26th April 2005, 12:30   #83  |  Link
MacAddict
XviD User
 
Join Date: Oct 2004
Location: Ky
Posts: 190
@tsp

I'm actually using a FX5200 card unfortunately which gave me about 6-8fps. 60% of the CPU usage was kernel and the other 20% green. I suspect the high kernel usage could explain the mouse cursor sluggishness?

I'll be trying my other box with a Radeon 9700 Pro in the next 48hrs to see how it compares. Thanks again!
__________________
DFI NF4 SLI Expert | Opteron 165 CCBBE 0616 XPMW (9x325HTT=2.9Ghz) | 2x1GB G.Skill HZ (3-4-4-8-12-16-2T) | LG 62L DVD/CD | Geforce 7300GT | All SATA | Antec 650 Trio PSU | XP SP2
MacAddict is offline   Reply With Quote
Old 26th April 2005, 14:28   #84  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
MacAddict: I also get shuttering when the framerate drops below 8 fps on my geforce 6800GT (although I have to use this setting to get is so low: fft3dGPU(mode=1, bt=3, sigma=10,usefloat16=false) )
the shuttering is reduced when decreasing the number of commands the GPU process at once but the speed is reduced by ~50%. I don't know if I should at it as an option(it could be cool if it only was enabled when the mouse was used. I just have to find a way to detect that)
tsp is offline   Reply With Quote
Old 26th April 2005, 16:46   #85  |  Link
bill_baroud
Registered User
 
Join Date: Feb 2002
Posts: 407
Quote:
Originally posted by MacAddict
I'm actually using a FX5200 card unfortunately which gave me about 6-8fps.
!!
Are you sure it's a FX5200 ? i get 5-6fps with a FX5900

which settings do you use (and codec) ?
bill_baroud is offline   Reply With Quote
Old 30th April 2005, 11:27   #86  |  Link
FrEEwilL
Registered User
 
Join Date: Oct 2001
Posts: 34
Quote:
Originally posted by tsp
FrEEwilL: I don't think it's the firm patch that's causing the problem. It might be hyperthreading causing problems. Try disabling it and if it then works I will see if I can fix it.
I tried to disable HT but it didn't help.
FrEEwilL is offline   Reply With Quote
Old 1st May 2005, 16:44   #87  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
FrEEwilL: Could you try this version. It will generate a text file called FFT3dGPU_log.txt in c:\. If you could post the content of this file I could see where it craches.

MacAddict: Any luck with the Radeon 9700 Pro?
tsp is offline   Reply With Quote
Old 3rd May 2005, 12:02   #88  |  Link
FrEEwilL
Registered User
 
Join Date: Oct 2001
Posts: 34
@tsp, i've tried test version and got the following,

when loading from the default avisynth plugin dir, w/ or w/o LoadPlugin()
Code:
AvisynthPluginInit2
when loading from the external path by LoadPlugin()
Code:
AvisynthPluginInit2

Create_fft3dGPU

FFT3dGPU Constructor
FrEEwilL is offline   Reply With Quote
Old 3rd May 2005, 12:58   #89  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
FrEEwilL: thanks I have created a new test version that will generate a more detailed report. You can get it here.
If you could post the new log when loaded from the default avisynth plugin dir and from an external dir.
tsp is offline   Reply With Quote
Old 6th May 2005, 12:44   #90  |  Link
FrEEwilL
Registered User
 
Join Date: Oct 2001
Posts: 34
@tsp, here is a log ('ext_log') when loading from the external dir.
when loading from the default dir, two logs are created.
one is in plugin dir and the other is in the root of c:
the former contains the first 2 lines of the following and
the latter is same as 'ext_log' except for the numbers in memory address.

Code:
AvisynthPluginInit2:

AvisynthPluginInit2 Addfunction done
CREATE_fft3dGPU

FFT3dGPU constructor address: 1c84ee8
imgp: 0
hr: 1
GetDevice
pDevice :0
RegisterClassEx
create window
Creating D3D
d3dpp: 12c2ec ZeroMemory
Setup d3dpp
Creating D3Ddevice...
FrEEwilL is offline   Reply With Quote
Old 6th May 2005, 18:56   #91  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
FrEEwilL: ok I have a new test version ready here. It it will again produce a logfile in c:\ so if you could repeat the procidure and post the logfile and include the the adress that couldn't be read. You could also try to set NVPerf=true.

Another thing that could be wrong if you are using windows 2003 server is that directx acceleration is disabled as default. I don't know if you have enabled it or having problem with other non-fullscreen directx accellerated applications/games, also you need directx 9.0 (I think directx8.1 is the default installed). I don't know if you also have windows xp/2000/98 installed and could try it in these OS's instead.
tsp is offline   Reply With Quote
Old 6th May 2005, 19:47   #92  |  Link
MacAddict
XviD User
 
Join Date: Oct 2004
Location: Ky
Posts: 190
Quote:
Originally posted by bill_baroud
!!
Are you sure it's a FX5200 ? i get 5-6fps with a FX5900

which settings do you use (and codec) ?
Yep, it's an Asus 5200/128MB card. I'm just using a simple script with XviD of course-
Code:
mpeg2source("D:\DIvX RIPs\Test Clips\xxxx\xxxx.d2v",idct=6)
crop(4,64,712,352)
fft3dGPU(bt=1)
LanczosResize(672,272)
Undot()
Limiter()
Not sure if it plays a part or not but my AGP bus is running around 69Mhz due to this MSI AMD64 board not supporting locked bus speeds when overclocking.
__________________
DFI NF4 SLI Expert | Opteron 165 CCBBE 0616 XPMW (9x325HTT=2.9Ghz) | 2x1GB G.Skill HZ (3-4-4-8-12-16-2T) | LG 62L DVD/CD | Geforce 7300GT | All SATA | Antec 650 Trio PSU | XP SP2
MacAddict is offline   Reply With Quote
Old 6th May 2005, 20:21   #93  |  Link
MacAddict
XviD User
 
Join Date: Oct 2004
Location: Ky
Posts: 190
Quote:
Originally posted by tsp

MacAddict: Any luck with the Radeon 9700 Pro?
Yes indeed I'm averaging around 17fps using XviD and the above script. Now I just need to find time to do compression tests and play with the settings. Thx so much for your effort tsp.

Anyone with advice yet on clean DVD movie sources?
__________________
DFI NF4 SLI Expert | Opteron 165 CCBBE 0616 XPMW (9x325HTT=2.9Ghz) | 2x1GB G.Skill HZ (3-4-4-8-12-16-2T) | LG 62L DVD/CD | Geforce 7300GT | All SATA | Antec 650 Trio PSU | XP SP2
MacAddict is offline   Reply With Quote
Old 7th May 2005, 19:41   #94  |  Link
dragonfly
Registered User
 
Join Date: Mar 2002
Posts: 20
I am using fft3dGPU 0.42 and can't help getting the following error;
"Only pixelshader 2.0 or greater is supported."

Well I have an Nvidia Geforce2 Ti 64MB card. Could it be that this is an old card and that fft3dGPU doesn't work with old cards? At least fft3d.dll works with my card, but that is sooooo slow
dragonfly is offline   Reply With Quote
Old 7th May 2005, 23:25   #95  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
dragonfly: Yes a geforce 2 is to old. You will need at least a geforce fx 5200 or a Radeon 9500 that is a card with full support for DirectX 9 not just compatible with directx 9 but thanks for testing the supported pixelshader code

The following cards will not work:

Nvidia:
TNT
TNT2
Geforce 256
GeForce2 Ultra, Ti, Pro,MX,Go and GTS
Geforce3 Ti 200, Ti 500
GeForce4 Ti, MX, Go

Ati:
Radeon 7xxx
Radeon 8xxx
Radeon 92xx

Matrox:
G2xx
G4xx
G5xx
maybe Parhelia

The following should work:
Nvida
Geforce FX 5xxx
Geforce 6xxx

Ati:
Radeon 9500
Radeon 9550
Radeon 9600
Radeon 9700
Radeon 9800
Radeon Xxxx

where x means any digit.



MacAddict: When testing the speed of the different setting remember to encode to Xvid while doing it. There are a bigger difference in speed between the various setting when using a less cpu demanding codec(like Huffyuy) or no codec compaired to Xvid and other demanding codecs.
tsp is offline   Reply With Quote
Old 7th May 2005, 23:26   #96  |  Link
LordIntruder
Registered User
 
Join Date: Jan 2003
Posts: 109
dragonfly:

Read the first page:

"To use this filter you need directx 9 and a graphics card supporting directx 9 in hardware"

Geforce 2 does not support DirectX9 in hardware but DX8 or DX7 don't remember exactly.
LordIntruder is offline   Reply With Quote
Old 7th May 2005, 23:45   #97  |  Link
dragonfly
Registered User
 
Join Date: Mar 2002
Posts: 20
@tsp
Thanks for the quick and detailed reply. I guess I have to purchase a new card

@LordIntruder
I almost never play games on my pc, so I don't know much about DirectX and the support for it on my card. So when the error came I did some research and found out that pixel shaders are used in DirectX. But wasn't sure if my card supported the right DirectX in hardware.
Thanks for your reply. Slowly I get to know the world of Doom9!
dragonfly is offline   Reply With Quote
Old 8th May 2005, 00:19   #98  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Tsp,
Some time ago I read some Dr. Kokaram articles where he describe FFT processing with old good Geforce2 GPU (with NVidia SDK - may be too complex for programming?).
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 8th May 2005, 23:38   #99  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
Fizick: I don't think it will be easy to make a version working on directx 7.0 hardware(geforce2/radeon 7xxx) because it doesn't have programmable shaders so it's only posible to add or subtract textures also it doesn't support floating point math (this is first includes in directx 9) only 8 (maybe 16) bit precision integers. It is posible to do integer fft but I don't know how fast it would be on directx 8 hardware.
Another thing if you would like to know how to do convolution in the frequency domain take a look at the varialble blur source code.
tsp is offline   Reply With Quote
Old 9th May 2005, 13:27   #100  |  Link
FrEEwilL
Registered User
 
Join Date: Oct 2001
Posts: 34
Quote:
Originally posted by tsp
FrEEwilL: ok I have a new test version ready here. It it will again produce a logfile in c:\ so if you could repeat the procidure and post the logfile and include the the adress that couldn't be read. You could also try to set NVPerf=true.
i've tried to toggle the params of bool type but no one helped.
Code:
AvisynthPluginInit2:

AvisynthPluginInit2 Addfunction done
CREATE_fft3dGPU

FFT3dGPU constructor address: 1c94ee8
imgp: 0
hr: 1
GetDevice
pDevice :0
RegisterClassEx
create window
Creating D3D
constructor address changes occasionally while repeating the procedures and
depending on what program is used to load the script (vdub,vdubmod, mpc, zp, wmp...)
i don't get memory reference error box any more.
vdub just crashes(disappear) silently _when i switch application focus_.
only mpc gave one _when i'm closing_ (it works if i just keep it open)
Code:
The instruction at "0x01fb1177" referenced memory at "0x0229a6c8". The memory could not be "read".
the address changes slightly too.

Quote:
Another thing that could be wrong if you are using windows 2003 server is that directx acceleration is disabled as default. I don't know if you have enabled it or having problem with other non-fullscreen directx accellerated applications/games, also you need directx 9.0 (I think directx8.1 is the default installed).
i've been using win2003 more than a year and already know those issues.
everything has been set properly and dx 9.0b is installed.
to re-verify, i ran dxdiag and all of d3d/ddraw tests passed successfully.

Quote:
I don't know if you also have windows xp/2000/98 installed and could try it in these OS's instead.
sorry but i don't have any other OS installed and won't be back to XP
because currently i'm using a soft-raid mirror set (along with hardware stripe sets), which is supported only on the server family.
FrEEwilL is offline   Reply With Quote
Reply


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 23:51.


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