Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL & vista BSOD

Started by Deneidez Mar 31, 2009 at 10:49 AM 3 replies 1.7k views
Original Post
Deneidez
Deneidez
Well, I guess I am beginner. I have made 3D engine and had problems to run it on vista(BSOD). I thought it was my code that made vista crash, but I tried to make simple 2D-programs and it seems that SDL is the one that makes vista crash. To add even more randomity it does make even windows 7 crash and not only that it seems to crash only in about 70% of vistas and 30% vistas does run it without any problems. I have tried just about everything, but it won't work(I even crosscompiled those binaries on debian to make it work, but no...). Programs compiled without SDL will work on vista/windows 7. I am using: - Code::Blocks - gcc 4.2.1 windows - SDL-1.2.13 Problem isn't really how to get window open in windows. I could do that without SDL of course. Problem is that my engine uses procedural textures that are made with SDL. I would have to remake my procedural texture engine over again without SDL. Example program: http://cs.joensuu.fi/~ppakar/fun/mapgen.rar (Not recommended for vista users. Read whole post before trying if you are on vista. :D)
Evil Steve
Evil Steve
If you're getting blue screens of death, then it's almost definitely a driver bug. No user-mode application should ever be able to bring down the OS.

What's the exact BSOD error you get? And are you sure you have the latest drivers?
Deneidez
Deneidez
Quote:
Original post by Evil Steve
If you're getting blue screens of death, then it's almost definitely a driver bug. No user-mode application should ever be able to bring down the OS.

What's the exact BSOD error you get? And are you sure you have the latest drivers?

Theres just a tiny problem. I don't have vista. I only have XP and linux(well, couple of them). And there has been problems with BSOD even with latest drivers. Strange enough on vista that has been used for programming BSOD possibility is much lower(actually none of computers have BSOD'd).

Looks like you need to compile SDL program on vista to make it work on vista. I have to test this on some more computers, but that seems to be the case. I was thinking about making commercial program, but it seems that I need to buy vista(or windows 7) to make it work on those OS's. That sucks a bit as I am poor student atm... :/

[Edited by - Deneidez on March 31, 2009 3:07:18 PM]
Evil Steve
Evil Steve
Quote:
Original post by Deneidez
Quote:
Original post by Evil Steve
If you're getting blue screens of death, then it's almost definitely a driver bug. No user-mode application should ever be able to bring down the OS.

What's the exact BSOD error you get? And are you sure you have the latest drivers?

Theres just a tiny problem. I don't have vista. I only have XP and linux(well, couple of them). And there has been problems with BSOD even with latest drivers. Strange enough on vista that has been used for programming BSOD possibility is much lower(actually none of computers have BSOD'd).

Looks like you need to compile SDL program on vista to make it work on vista. I have to test this on some more computers, but that seems to be the case. I was thinking about making commercial program, but it seems that I need to buy vista(or windows 7) to make it work on those OS's. That sucks a bit as I am poor student atm... :/
The game BSOD'ing Vista is almost certainly not your fault. Are you saying you can get a BSOD on XP too? The same applies; what is the exact BSOD error you get, and have you tried googling the stop code?
Deneidez
Deneidez
Quote:
Original post by Evil Steve
The game BSOD'ing Vista is almost certainly not your fault. Are you saying you can get a BSOD on XP too? The same applies; what is the exact BSOD error you get, and have you tried googling the stop code?

The original program does work on XP or any other platform even with wine, but not on Vista or Windows 7. I don't know what BSOD is saying because I don't have vista. One of my friend tried to take a picture of that BSOD, but failed because it doesn't stay very long on the screen(less than second). We couldn't find any traces of BSOD from any logs or anywhere. Even %SystemRoot%\MEMORY.DMP is 0kb and theres nothing. This is getting strange.

My other friend compiled one project(one that makes BSOD when compiled on XP and ran on Vista) on Vista and it does work on Vista and Windows 7, but it doesn't work with wine at least. I doubt will it work on XP either. I have googled for sdl vista & bsod, but theres only some hits and actually no answers at all. I will try to get picture of that BSOD and stop code.

[Edited by - Deneidez on April 1, 2009 12:05:32 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.