shadertest.c crashes at startup 7.07

Posted By: S3an

shadertest.c crashes at startup 7.07 - 12/23/07 16:43

Hi,
When i run "shadertest.c" it crashes after the engine startup window opens and compiles the script. There are no error messages displayed in the startup window. The crash happens just after the startup window changes size and becomes the Gamestudio window, then i get the error "acknex.exe has stopped working.." sorry i don't have any other debug information. All other lite-C samples run fine. machine specs: Win Vista32, ATI X1950Pro - Cat7.11
Posted By: jcl

Re: shadertest.c crashes at startup 7.07 - 12/27/07 08:07

Run it with -diag, and post the acklog. It's possibly an ATI driver bug that prevents you from running shaders on your machine.
Posted By: S3an

Re: shadertest.c crashes at startup 7.07 - 12/27/07 23:56

ok, below is acklog.txt

Code:

Log of A7 Engine 7.07.5 run at Thu Dec 27 18:54:19 2007
Sean on Windows NT/2000/XP version 6.0 Build 6000
Options shaderTest.c -diag -th

App D:\Program Files\GStudio7\acknex.exe in D:\Program Files\GStudio7\projects\shadertest\
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c)Conitec . Dieburg . San Diego . www.3dgamestudio.com
A7 Engine - Commercial Edition V7.07.5 - Dec 17 2007
Development version
Registered to: Jami Tiffany

Mouse found
Speakers (Creative SB Audigy 2 (WDM)) opened
Radeon X1950 Pro pure T&L device 1ff9 detected
D3D device Radeon X1950 Pro 1ff9 selected.
PATH D:\Program Files\GStudio7\code\
sphere_a7.dll opened
Compiling SHADERTEST.C - [Esc] to abort..
PATH D:\Program Files\GStudio7\templates\images\....... .... ........................... .
Running SHADERTEST.C.
29 objects
Main started
D3D_Init Window: 800x600x1241608 -> Window: 1x800x600x32
Video memory found: 1274 MB...cmap,0 ents,0 lmaps,0 texs,hull
Physics restarted...ok
mtlfx_startup started
Main loop........


Posted By: S3an

Re: shadertest.c crashes at startup 7.07 - 12/27/07 23:59

not sure if it matters but, i have been able to run all the shaders from the shader workshop with no problems.
Posted By: jcl

Re: shadertest.c crashes at startup 7.07 - 12/28/07 09:23

It looks as if the crash happens when rendering the panels the first time.

I'll check if I can somehow reproduce it. If someone else has a similar problem, please also post here.
Posted By: alpha12

Re: shadertest.c crashes at startup 7.07 - 12/28/07 18:20

mine working on test run but not working on compiled....
here is the log :
Code:

Log of A7 Engine 7.07.5 run at Thu Dec 27 18:52:32 2007
1337 on Windows NT/2000/XP version 5.1 Build 2600
Options -diag

App C:\Program Files\GStudio7\projects\shadertest\shadertest.cd\shadertest.exe in C:\Program Files\GStudio7\projects\shadertest\shadertest.cd\
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c)Conitec . Dieburg . San Diego . www.3dgamestudio.com
A7 Engine - Pro Edition V7.07.5 - Dec 17 2007

Mouse found
Realtek HD Audio output opened
NVIDIA GeForce 6500 pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 6500 1ff9 selected
Loading SHADERTEST.EXE....
Compiling SHADERTEST.EXE - [Esc] to abort.... ........................... .
Running SHADERTEST.EXE.
29 objects
Main started
D3D_Init Window: 800x600x1241936 -> Window: 1x800x600x32
Video memory found: 473 MB...cmap,0 ents,0 lmaps,0 texs,hull
Physics restarted...ok
mtlfx_startup started
Main loop.........ok
1st frame - 484352K... ok


Posted By: S3an

Re: shadertest.c crashes at startup 7.07 - 12/29/07 00:04

it may actually be a shader causing the crash. I think i have isolated it to something in "mtlView.c" not sure yet...
Posted By: S3an

Re: shadertest.c crashes at startup 7.07 - 12/29/07 00:11

here is the offending shader..

Code:

MATERIAL* mtl_sobel =
{
effect = "pp_sobel.fx";
}


Posted By: jcl

Re: shadertest.c crashes at startup 7.07 - 12/31/07 09:24

Hmm, I can see nothing unusual in the sobel shader.

The program does not crash when you outcomment the 'effect = "pp_sobel.fx";' line?
Posted By: FBL

Re: shadertest.c crashes at startup 7.07 - 12/31/07 12:20

I don't get a direct crash on startup, but after playing around for a while, some shaders begin to flicker and look completely wrong. After a short time, the viewer will slow down the whole system until nothing works anymore.
After I managed to close down the window (which needed about 3 or 4 minutes), any DirectX Application was not working anymore - I needed to reboot the system.
To me this looks like some sort of overflow when changing shaders too often?

I'm using a Geforce 7900GT.
Posted By: S3an

Re: shadertest.c crashes at startup 7.07 - 12/31/07 18:10

works fine when i comment out the sobel shader. i haven't had time to dig into the shader and find the problem yet.
© 2024 lite-C Forums