Hello Guest

Fullscreen crash on ATI mobility graphics card

  • 12 Replies
  • 12516 Views
Fullscreen crash on ATI mobility graphics card
« on: December 18, 2010, 10:11:56 »
Hi, when I go to fullscreen, LWJGL renders the first few frames then crashes without showing any error.

I am using this on Windows 7 64-bit HP pavilion DV6 Notebook, 32 bit Java.

It has switchable graphics between ATI mobility (good) and HD Intel graphics (bad)

It runs fine with fullscreen in Intel HD graphics but not with ATI which should work better.
They both work fine in windowed mode.

Can someone tell me why this is?

Thanks,
r_bewick

*

Offline bobjob

  • ****
  • 394
  • LWJGL: WOW SO GOOD
Re: Fullscreen crash on ATI mobility graphics card
« Reply #1 on: December 18, 2010, 16:15:48 »
when you run in fullsreen what display mode frenqueny is set?

if it is set to 30hz or something, less than the usual 60hz. A large framerate drop will be noticed if you have put vSync on.

Re: Fullscreen crash on ATI mobility graphics card
« Reply #2 on: December 18, 2010, 20:46:59 »
why does everyone us 32-bit JVM on 64-bit arch?
cool story, bro

*

Offline Matzon

  • *****
  • 2242
Re: Fullscreen crash on ATI mobility graphics card
« Reply #3 on: December 18, 2010, 21:53:31 »
because your browser is 32bit ? :)

Re: Fullscreen crash on ATI mobility graphics card
« Reply #4 on: December 19, 2010, 01:49:17 »
Thanks for the replies.
64 bit Java was not working well for me, I searched it up and other people had trouble too, so I uninstalled it and installed java 32 bit, + eclipse 32 bit and now everything runs fine.

I am not using VSync, but I checked to make sure my display mode was at 60hz

Code: [Select]
DisplayMode d[] = Display.getAvailableDisplayModes();
for (int i = 0; i < d.length; i++)
{
            if (((d[i].isFullscreenCapable() == true) || (_bFullscreen == false)) && (d[i].getWidth() == _iWidth) && (d[i].getHeight() == _iHeight) && (d[i].getFrequency() == 60) && (d[i].getBitsPerPixel() == 32))
{
            m_displayMode = d[i];
                bFoundDisplayMode = true;
                break;
            }
        }

Unfortunately it still doesn't work.
The ATI graphics runs in fullscreen for about a second and then crashes

Any other ideas?
thanks,
r_bewick

Re: Fullscreen crash on ATI mobility graphics card
« Reply #5 on: December 19, 2010, 04:17:31 »
Try using the default desktop display mode, if that's not what you're doing.

Also, what does your code look like?
cool story, bro

Re: Fullscreen crash on ATI mobility graphics card
« Reply #6 on: December 19, 2010, 08:25:01 »
Thanks for the reply, jediTofu.
I tried using the default desktop display mode, this didn't work either.  :(
What code would you like to see?

Re: Fullscreen crash on ATI mobility graphics card
« Reply #7 on: December 19, 2010, 09:46:48 »
Did you enable VSync? Maybe the ATI is overheating?

Re: Fullscreen crash on ATI mobility graphics card
« Reply #8 on: December 20, 2010, 04:34:54 »
Thanks for the reply,
I enabled VSync and set it to sync at my screens refresh rate but that didn't help.

I don't think my ATI card can overheat in 1 second, especially since I am drawing hardly anything on the screen (I get about 2000 fps in windowed mode) and it runs much more complicated games for long periods fine.

After the ATI card crashes for the first time, when I run the game again the screen is just black, until I restart the computer or switch my card back to intel HD

Any other ideas?
thanks

*

Offline bobjob

  • ****
  • 394
  • LWJGL: WOW SO GOOD
Re: Fullscreen crash on ATI mobility graphics card
« Reply #9 on: December 20, 2010, 06:10:02 »
can you run other LWJGL applications in fullscreen?

This link starts in Window mode, but you can set fullscreen in settings
http://users.on.net/~bobjob/TD.jnlp
The app is very yucky, but I dont know another webstart that starts in fullscreen.

anyone got a link to a better webstart that starts in fullscreen?

Re: Fullscreen crash on ATI mobility graphics card
« Reply #10 on: December 20, 2010, 07:33:45 »
org.lwjgl.test.opengl.FullScreenWindowedTest

Also, some of the other tests.  You have to push "f" or some other key to switch to fullscreen.

Also, org.lwjgl.examples.spaceinvaders.Game, but have to pass -fullscreen as arg.
cool story, bro

Re: Fullscreen crash on ATI mobility graphics card
« Reply #11 on: December 22, 2010, 04:14:40 »
Thanks for the reply.

The http://users.on.net/~bobjob/TD.jnlp didnt work, but
org.lwjgl.test.opengl.FullScreenWindowedTest works fine.
Can you give me the location of the source code for this? I must be doing something slightly wrong.

Thanks  :)

Re: Fullscreen crash on ATI mobility graphics card
« Reply #12 on: January 07, 2011, 02:35:48 »
I had a very similar problem (crashing when starting up in fullscreen mode on Vista/7), and it turned out that the answer was to disable Direct3D acceleration ("-Dsun.java2d.d3d=false").