Calling all Gforce users!!

Blitz3D Forums/Blitz3D Programming/Calling all Gforce users!!

D4NM4N(Posted 2005) [#1]
Hi all,

My game Jetscream has been released, but a couple of users have had memory access violations. The game works fine on all my pcs and on all my friends pcs. The common factor to both of these was: geforce FX 5800 cards and SP2. One was an athlon(32) and one was a p4 3.3, so im not convinced its processor specific.
If you have a gforce fx can you test it and tell me if it works stating your hardware?
http://www.d-grafix.com/software.html


Barliesque(Posted 2005) [#2]
Why not make a special test version of the program that writes a message to a log file as it works, so that you can pinpoint exactly where in the code it crashes? I can run that version on my machine and send you the log file.


D4NM4N(Posted 2005) [#3]
does compiling with the debugger do this?
?


Paolo(Posted 2005) [#4]
does compiling with the debugger do this?

No, it doesn't.
You will have to do something as writing info out to a txt file.

I had a similar problem some time ago, but it was my fault.
Things that come to my mind,
-check to see if you load stuff to floating point vars
-check to see if you load non square textures or no ^2 textures sizes


D4NM4N(Posted 2005) [#5]
is 640*480 a ^ 2 texture size (loading screen) the strange thing is it works perfect on my gforce MX 440


NobodyInParticular(Posted 2005) [#6]
It seems to play ok on my Geforce FX 5700...


GfK(Posted 2005) [#7]
I'm not sure what you've done to the ZIP file, but XP reckons its corrupt.


Gabriel(Posted 2005) [#8]
is 640*480 a ^ 2 texture size (loading screen) the strange thing is it works perfect on my gforce MX 440


No. Powers of 2 are 2,4,8,16,32,64,128,256,512,1024,2048, 4096, etc ( I could go on for a while )

Blitz won't usually kick up a stink, it'll just resize the texture to 1024x512 ( which is kinda blurry and wasteful ) but it usually won't crash.


Clarks(Posted 2005) [#9]
it runs fine on my geforce fx 5200 ultra


D4NM4N(Posted 2005) [#10]
new zip file on site now. I think it may be because i made it with an old version of winace. now ive rebuilt it with xp's built in 'ideas absorbed :) ' zipmaker.


Mikeyj21(Posted 2005) [#11]
Mine's a Geforce 6800GT... works fine!

Impressive, by the way!


D4NM4N(Posted 2005) [#12]

check to see if you load stuff to floating point vars


Can you not load floating point vars from a file?
ie readfloat


TomToad(Posted 2005) [#13]
GeForce FX 5200 works fine :)


D4NM4N(Posted 2005) [#14]
Also could it be something to do with next gen processors and terrapak?


wizzlefish(Posted 2005) [#15]
BTW - I like the game - it is really annoyingly addictive - but VERY fun.


sswift(Posted 2005) [#16]
I haven't tested this, but I thought I should chime in that I have a Geforce 6800 and one of my demos stopped working when I had the card because one of my textures was not the same size on both axes. The texture was like 256x128, and this caused the texture not to load, and the program to crash with a memory access violation.

So apparently some or all geforce cards need textures that are square and powers of 2 in size. Either that, or there is a driver bug, or Blitz needs an update.


DJWoodgate(Posted 2005) [#17]
That would be bizarre indeed for a Gforce 6800, unless it has an undocumented Voodoo emulation mode. In fact I thought the 6800 even allowed non power of two textures. Maybe that is where the conflict arises.


Seven(Posted 2005) [#18]
works fine with GeForce 6600gt :)


D4NM4N(Posted 2005) [#19]
Thanks to everyone for all input, mabe i should let the sleeping dog lie. It seems to work on most pcs.


Paolo(Posted 2005) [#20]
The GeForce MX (200 to 440) works perfect.
I have one and I can load whatever as a texture, even I can load things to float variables without problems ... who knows ..

D-Grafix,
I mean, do NOT do this,
var#=loadsomething()

sometimes you do it in arrays, for example you created an array
Dim numbers#(15)
and then later in the code you forgot it was an array of floats and you
numbers(12)=loadmesh()
which will give you MAVs on most of the machines out there ...

Paolo.


BlackD(Posted 2005) [#21]
fx5700 ultra and sp2 - works fine here.


Braincell(Posted 2005) [#22]
GForce FX5600 manufacturer Asus, 128 vram
Windows XP pro , with sp2 i think

One thing tho, on 1024x768 res, 32bit, i had about 5fps at the start of the race and sometimes later on as well when i got close to the boats. Dont know why, but i also had incredibly low FPS in HalfLife2 recently so it must be a problem with my machine. My specs are P4, 2.6GHz, 1024 ram, and i told you the gfx card. I'd presonally like to know if anyone else had a slowdown (at that resolution and depth) or was it just me?

Otherwise, nice little game.


Barliesque(Posted 2005) [#23]
Thanks to everyone for all input, mabe i should let the sleeping dog lie. It seems to work on most pcs.

As I've said, I'd be happy to give this a test to help you find your bug, but that can't be done given that your debug version won't produce a debug log! Try using the following snippet and let's find this sleeping dog.

Function WriteLog(s$, f$="log.txt")
	If FileType(f) Then
		file = OpenFile(f)
		SeekFile(file, FileSize(f))
	Else
		file = WriteFile(f)
	EndIf
	WriteLine(file, s)
	CloseFile(file)
End Function


Example:
WriteLog("Logging in file log.txt...")
WriteLog("Logging to log2.txt...", "log2.txt")
WriteLog("Logging to default log again...")


Courtesy of "soja" ...from the code archives.


D4NM4N(Posted 2005) [#24]
Its not Gforces at all its the packer!


shamanenCoder(Posted 2005) [#25]
works fine


mrmango(Posted 2005) [#26]
Works fine here!!!
__________________________
Video Adapter Properties
Device Description GeForce4 4200 Go
Adapter String GeForce4 4200 Go
BIOS String Version 4.28.20.31.10
Chip Type GeForce4 4200 Go
DAC Type Integrated RAMDAC
Installed Drivers nv4_disp (6.14.10.6111 - nVIDIA Detonator 61.11)
Memory Size 64 MB


Barliesque(Posted 2005) [#27]
Dan, have you reported this problem to Lee Page? --author of TeraPak.