Display.resetDisplayMode(); reboots my computer

Started by Morgrog, January 22, 2004, 03:21:42

Previous topic - Next topic

Morgrog

When I exit my program running full screen it reboots my computer :cry:

here's the exit code
/** Cleanup lwjgl
		 */
	
		public final void cleanup()
		{
			Mouse.destroy();
			Keyboard.destroy();			// Destroy the keyboard
 			Display.resetDisplayMode();
			Window.destroy();			// Destroy GL window
		}


If I comment Display.resetDisplayMode it doesn't reboot, what am I doing wrong?

(I have an ati 9600xt pro on WindowsXP)

Morgrog

gah, Display.resetDisplayMode() looks to work only in windowed mode... :o

can anyone explain to the clueless newbie that I am why is that?

thx :)

Morgrog

gdi, I just ran one of Nehe's lesson (the c++ ones, not the ported ones) and my computer rebooted...

I think ATI's drivers is a load of crap that makes my puter reboot...

:cry: I should've gone for a geforce

Matzon

uh, I am a *very* happy Radeon user... I'll investigate it later...

Morgrog

well if it can be of any help, I read somewhere that using AGP 4x instead of 8x might help stopping the reboots (I have a 8x mobo and set SmartGart to use 8x altho everytime I reboot it shows as off)

I dunno if its their drivers that are crappy (that was the main reason why I didn't want an ATI in teh first place)...

Actually I just read that the smartgart thingy might be bugged so I'll try and disable that tonight and see how it goes

I'll try upgrading the drivers tonight too (but they require service pack1 and I don't have it, altho I could try and get it :twisted:)

Matzon if you find anything, I really would appreciate it :)

Oh and sorry if this isn't in the good forum as it isn't really related to lwjgl (well my comp rebooted on Nehe's lesson 39 (when switch to full screen) after posting the new thread, so it has nothing to do with lwjgl) :(

Morgrog

Flashed the bios
put it in AGP 8x
Got Service Pack 1
Installed via 4in1 drivers
Installed Catalyst 4.1 drivers

No more reboots :D

weee~