I have tried all last night and this morning to get a simple test program, but to no avail.?? I did turn on WMMSG_DEBUG and I got a 1MB file in a few seconds with calls like this:
Received windows message: 000B0352 WM_PAINT – 0x0, 0x0
CPU stayed locked up and it looks like SDL was stuck in the while loop in WIN_PumpEvents() at SDL_windowsevents.c
Any further suggestions?
Thanks!
D
I downloaded and compiled your program, and could not replicate this under windows 7, I hit alt-enter 20+ times and it worked each time with no side-effects.
I am guessing it is specific to your video drivers on XP.
What hardware you got ?
After talking with the other developers who sees the same issue, we have at
least three systems this does this on:
Windows XP SP3 running in VMware 9.0 (without VMWare 3D acceleration,
but with the tools and drivers installed), Host: openSUSE 12.3 x86_64,
NVidia NVS 3100M (with proprietary driver)
Windows XP SP3 64bit running in VirtualBox, Host: Debian Wheezy
(stable), Mobility Radeon HD 4100
Windows 7 64 bit, Radeon 6770
All machines get a spiked CPU when transitioning from fullscreen to
windowed.
The VirtualBox machine had 3D acceleration turned on through the VirtualBox
application. Turning it off made the issue go away temporarily, but then
the developer started getting sporadic results, so this may have nothing to
do with the issue.
After a little more research I found this guy in what seems to be the same
situation:
Also, one of our developers add this to SDL which made the issue go away:
I have tried all last night and this morning to get a simple test
program, but to no avail.? I did turn on WMMSG_DEBUG and I got a 1MB file
in a few seconds with calls like this:
Received windows message: 000B0352 WM_PAINT – 0x0, 0x0
CPU stayed locked up and it looks like SDL was stuck in the while loop in
WIN_PumpEvents() at SDL_windowsevents.c
Any further suggestions?
Thanks!
D
I downloaded and compiled your program, and could not replicate this under
windows 7, I hit alt-enter 20+ times and it worked each time with no
side-effects.
I am guessing it is specific to your video drivers on XP.
What hardware you got ?
After talking with the other developers who sees the same issue, we have
at least three systems this does this on:
Windows XP SP3 running in VMware 9.0 (without VMWare 3D acceleration,
but with the tools and drivers installed), Host: openSUSE 12.3 x86_64,
NVidia NVS 3100M (with proprietary driver)
Windows XP SP3 64bit running in VirtualBox, Host: Debian Wheezy
(stable), Mobility Radeon HD 4100
Windows 7 64 bit, Radeon 6770
All machines get a spiked CPU when transitioning from fullscreen to
windowed.
The VirtualBox machine had 3D acceleration turned on through the
VirtualBox application. Turning it off made the issue go away temporarily,
but then the developer started getting sporadic results, so this may have
nothing to do with the issue.
After a little more research I found this guy in what seems to be the same
situation:
I have tried all last night and this morning to get a simple test
program, but to no avail.? I did turn on WMMSG_DEBUG and I got a 1MB file
in a few seconds with calls like this:
Received windows message: 000B0352 WM_PAINT – 0x0, 0x0
CPU stayed locked up and it looks like SDL was stuck in the while loop in
WIN_PumpEvents() at SDL_windowsevents.c
Any further suggestions?
Thanks!
D
I downloaded and compiled your program, and could not replicate this
under windows 7, I hit alt-enter 20+ times and it worked each time with no
side-effects.
I am guessing it is specific to your video drivers on XP.
What hardware you got ?
The downloads on that page are for files named like:
SDL2-2.0.0.tar.gz
But I see no mention of an actual SDL 2 release anywhere, so I am
assuming this is one of the release candidates. How can I tell
which release candidate this is? Also, what will the name be once
SDL2 is released?
The downloads on that page are for files named like:
SDL2-2.0.0.tar.gz
But I see no mention of an actual SDL 2 release anywhere, so I am
assuming this is one of the release candidates. How can I tell
which release candidate this is? Also, what will the name be once
SDL2 is released?
Okay, this is what I ended up doing. If you would like wiki access, that’s
great! Just send me e-mail and I’ll be happy to create an account for you.
Cheers!On Tue, May 28, 2013 at 12:28 PM, Brian Barnes wrote:
Sam wrote:
FYI, we’re getting about 100 spam accounts created per hour. I’m probably
going to add some human verification step to the wiki account creation
which should help with this.
I don’t think that, or the other suggestions, will work in the long run.
I run a message board for dim3 and I’m obviously much lower visibility
than SDL, and I was getting 100 spam accounts a week. Everytime I added
captcha or human verification step it stopped … for about a month. Then
it started right up again.
Some human answered the questions and went through all the captchas and
added it to some database. You’ll probably get turned off much faster than
I did.
It’s annoying, but everybody knows your email, just make them have to
contact you and you’ll add an account for them. I finally moved to that
after spending way too much time cleaning up bad accounts.
Just wondering, what happened to the “SDL_DisplayFormat” function in SDL-2.0? I can’t find a reference to it anywhere in the source and there’s not much mention of its absence on this forum. Is it no longer necessary to call this in SDL-2.0? Has it been replaced by something else?
It’s been largely replaced by SDL_CreateTextureFromSurface(). If you’re
using OpenGL or Direct3D for your graphics then you have more control over
the source and texture formats and can use custom code for your usage.On Sun, Jul 7, 2013 at 10:15 PM, Greatwolf wrote:
**
Just wondering, what happened to the “SDL_DisplayFormat” function in
SDL-2.0? I can’t find a reference to it anywhere in the source and there’s
not much mention of its absence on this forum. Is it no longer necessary to
call this in SDL-2.0? Has it been replaced by something else?