Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 595 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
shadertest.c crashes at startup 7.07 #174551
12/23/07 16:43
12/23/07 16:43
Joined: Jul 2003
Posts: 47
Indiana
S3an Offline OP
Newbie
S3an  Offline OP
Newbie

Joined: Jul 2003
Posts: 47
Indiana
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


A6 / A7 Commercial
Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174552
12/27/07 08:07
12/27/07 08:07
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Run it with -diag, and post the acklog. It's possibly an ATI driver bug that prevents you from running shaders on your machine.

Re: shadertest.c crashes at startup 7.07 [Re: jcl] #174553
12/27/07 23:56
12/27/07 23:56
Joined: Jul 2003
Posts: 47
Indiana
S3an Offline OP
Newbie
S3an  Offline OP
Newbie

Joined: Jul 2003
Posts: 47
Indiana
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........




A6 / A7 Commercial
Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174554
12/27/07 23:59
12/27/07 23:59
Joined: Jul 2003
Posts: 47
Indiana
S3an Offline OP
Newbie
S3an  Offline OP
Newbie

Joined: Jul 2003
Posts: 47
Indiana
not sure if it matters but, i have been able to run all the shaders from the shader workshop with no problems.

Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174555
12/28/07 09:23
12/28/07 09:23
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
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.

Re: shadertest.c crashes at startup 7.07 [Re: jcl] #174556
12/28/07 18:20
12/28/07 18:20
Joined: Aug 2005
Posts: 186
Beneath the Surface
alpha12 Offline
Member
alpha12  Offline
Member

Joined: Aug 2005
Posts: 186
Beneath the Surface
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



Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174557
12/29/07 00:04
12/29/07 00:04
Joined: Jul 2003
Posts: 47
Indiana
S3an Offline OP
Newbie
S3an  Offline OP
Newbie

Joined: Jul 2003
Posts: 47
Indiana
it may actually be a shader causing the crash. I think i have isolated it to something in "mtlView.c" not sure yet...


A6 / A7 Commercial
Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174558
12/29/07 00:11
12/29/07 00:11
Joined: Jul 2003
Posts: 47
Indiana
S3an Offline OP
Newbie
S3an  Offline OP
Newbie

Joined: Jul 2003
Posts: 47
Indiana
here is the offending shader..

Code:

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



Re: shadertest.c crashes at startup 7.07 [Re: S3an] #174559
12/31/07 09:24
12/31/07 09:24
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Hmm, I can see nothing unusual in the sobel shader.

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

Re: shadertest.c crashes at startup 7.07 [Re: jcl] #174560
12/31/07 12:20
12/31/07 12:20
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
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.

Page 1 of 2 1 2

Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1