SDL 2.0.0 Release Candidate 1

D B wrote:

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 ?

Thank you very much for testing!

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:

http://pastie.org/8016171

DOn Thu, Jun 6, 2013 at 11:58 AM, Sparks wrote:

**

D B wrote:

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 ?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

RC2 is up, with some mouse fixes for OSX and Windows, and a bunch of
miscellaneous cleanup.
http://www.libsdl.org/tmp/download-2.0.php

Thanks to everyone who is testing, reporting and fixing issues!

The OS X cursor hiding bug is fixed, and that’s the last problem I had with OS X. I’ll need to pull and compile the code for win32, more tomorrow.

[>] Brian

I have found a workaround and posted it as a patch on this bug:

http://bugzilla.libsdl.org/show_bug.cgi?id=1897On Thu, Jun 6, 2013 at 1:35 PM, D B <@D_B> wrote:

Thank you very much for testing!

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:

http://stackoverflow.com/questions/1135901/windows-message-loop

Also, one of our developers add this to SDL which made the issue go away:

http://pastie.org/8016171

D

On Thu, Jun 6, 2013 at 11:58 AM, Sparks wrote:

**

D B wrote:

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 ?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Sam Lantinga wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

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?

Thanks,
-Dan

I believe that page is entirely devoted to the release candidate.

Also, Sam, the changelog link is broken.On Fri, Jun 7, 2013 at 1:13 PM, Daniel Johnson wrote:

Sam Lantinga wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

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?

Thanks,
-Dan


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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.

[>] Brian

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

RC3 is up, and removes the inline functions in SDL_stdinc.h
http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!On Sun, May 26, 2013 at 9:20 PM, Sam Lantinga <@slouken> wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!
–Sam

Thanks Sam!

No problems now with SDL_stdinc.h :smiley:

2013/7/6 Sam Lantinga > RC3 is up, and removes the inline functions in SDL_stdinc.h

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!

On Sun, May 26, 2013 at 9:20 PM, Sam Lantinga wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!
–Sam


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Glad to hear it, thanks!On Sun, Jul 7, 2013 at 1:48 PM, Daniel Guzm?n <daniel.guzman85 at gmail.com>wrote:

Thanks Sam!

No problems now with SDL_stdinc.h :smiley:

2013/7/6 Sam Lantinga <@slouken>

RC3 is up, and removes the inline functions in SDL_stdinc.h
http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!

On Sun, May 26, 2013 at 9:20 PM, Sam Lantinga <@slouken> wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!
–Sam


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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?

Please advise, thanks

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?

Please advise, thanks


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

RC4 is up, and we’re shortly going to start pushing bugs to 2.0.1. Please
let us know if there is a showstopper for release!
http://www.libsdl.org/tmp/download-2.0.php

Major changes:

  • Fixed RGBA -> RGBA blending equation to allow for compositing:
    dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
    dstA = srcA + (dstA * (1-srcA))
  • Fixed memory corruption and crash converting float audio to signed 16-bit
    audio
  • Fixed infinite hang when pasting text into X11 from Synergy (thanks
    Bruce!)
  • Added support for the _NET_WM_BYPASS_COMPOSITOR hint (thanks Jasper!)

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!On Sun, May 26, 2013 at 9:20 PM, Sam Lantinga <@slouken> wrote:

http://www.libsdl.org/tmp/download-2.0.php

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

Cheers!
–Sam