SDL + GL and Windows Vista

Hi Everyone!

With the Release last Week of Windows Vista we began to port our Game to
Windows Vista.

Of course - The Application crashes instant on Start.

2 Problems:
When we open a full screen SDL window, and the Apllication crashes, the
whole Windows system is going down, because Visual Studio/Vista is not able
to set the Screen size to the windows values.

In Window mode, the screen can be initialised, but it crashes within the
first GL instruction with a null pointer exception.

I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

Anyone Knows:

  • Recources for GL Programming on Vista?
  • How to dynamically turn off Glass?
  • Will there be Vista relatet extension in an upcoming Relese of SDL?

Best Regards!

Thomas

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).

Did you try alternate opengl drivers?
SeanOn Fri, Dec 08, 2006 at 09:53:18AM +0100, G?ttling Thomas wrote:

Hi Everyone!

With the Release last Week of Windows Vista we began to port our Game to
Windows Vista.

Of course - The Application crashes instant on Start.

2 Problems:
When we open a full screen SDL window, and the Apllication crashes, the
whole Windows system is going down, because Visual Studio/Vista is not able
to set the Screen size to the windows values.

In Window mode, the screen can be initialised, but it crashes within the
first GL instruction with a null pointer exception.

I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

Anyone Knows:

  • Recources for GL Programming on Vista?
  • How to dynamically turn off Glass?
  • Will there be Vista relatet extension in an upcoming Relese of SDL?

Best Regards!

Thomas

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi Everyone!

With the Release last Week of Windows Vista we began to port our Game to
Windows Vista.

Of course - The Application crashes instant on Start.

2 Problems:
When we open a full screen SDL window, and the Apllication crashes, the
whole Windows system is going down, because Visual Studio/Vista is not able
to set the Screen size to the windows values.

In Window mode, the screen can be initialised, but it crashes within the
first GL instruction with a null pointer exception.

I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

Anyone Knows:

  • Recources for GL Programming on Vista?
  • How to dynamically turn off Glass?
  • Will there be Vista relatet extension in an upcoming Relese of SDL?

Best Regards!

Thomas

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).

Of course you are right, the goal of SDL is to hide those details on all
the OSes. OTOH, it has been available to business customers for a week
and will not be available to consumers until the end of next month. I am
sure the active developers appreciate any help and information you can
provide on getting SDL/OpenGL fully working on vista. But, I suspect
that some of them don’t even have the final version of vista.

	Bob PendletonOn Fri, 2006-12-08 at 09:53 +0100, G?ttling Thomas wrote:

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


±-------------------------------------+

I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

That is my understanding too, but I haven’t looked into what Vista
actually does here.

  • Will there be Vista relatet extension in an upcoming Relese of SDL?

We’ll fix it so it works on Vista the same as everywhere else.

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).

Likely it will be trivial to fix, once someone with access to a final
RTM version of Vista has debugged this. Unfortunately, I don’t have that.

–ryan.

Ryan C. Gordon <icculus icculus.org> writes:

I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

That is my understanding too, but I haven’t looked into what Vista
actually does here.

  • Will there be Vista relatet extension in an upcoming Relese of SDL?

We’ll fix it so it works on Vista the same as everywhere else.

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).

Likely it will be trivial to fix, once someone with access to a final
RTM version of Vista has debugged this. Unfortunately, I don’t have that.

–ryan.

I don’t think, that someone of the SDL developers needs the final RTM version of
Vista for hunting the win32k.sys bug.

Why?

Because you can experience the same bug when using the RC2 of Vista!
The RC2 was made publically available by Microsoft.
I have it.
Should be no problem to get it with a bittorrent client!

Ryan C. Gordon schrieb:>> I thought Vista implements a OpenGL 1.4 as an DirectX10 Wrapper?

That is my understanding too, but I haven’t looked into what Vista
actually does here.

  • Will there be Vista relatet extension in an upcoming Relese of SDL?

We’ll fix it so it works on Vista the same as everywhere else.

PS: I know that this is mainly an OpenGL Problem, but because SDL is a
system independent library, SDL should solve the Problems on Vista, so that
the gamecode & Engine can be the same on XP, Linux, Mac and Vista :).

Likely it will be trivial to fix, once someone with access to a final
RTM version of Vista has debugged this. Unfortunately, I don’t have that.

–ryan.


@all SDL developers:

If you need access to a Windwos Vista version, which shows the same bug
(crashing Windows Vista with a blue screen), then you can use the
official Release Candidate 2 (RC2) which has the build number 5744,
Microsoft released this version for the public, so it is legal to use it
for testing!
Should be no problem to get it with Bittorrent!
When the installer asks you for a product key, just leave the field
empty and continue. This version will run for 30 days (should be enough
time for debugging)!

I have uploaded a simple C++ project for testing purposes.

You can read all about it, here:

http://twomix.devolution.com/pipermail/sdl/2006-December/077419.html

Greetings
Alex