We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 866 - SDL 1.2.14 x64 issues
Summary: SDL 1.2.14 x64 issues
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.14
Hardware: Other Windows 7
: P1 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-25 16:41 UTC by Alistair John Strachan
Modified: 2013-07-09 21:53 UTC (History)
1 user (show)

See Also:


Attachments
lost dx 64-bit fixes for SDL 1.2.13 (1.19 KB, patch)
2011-12-30 09:44 UTC, Alistair John Strachan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair John Strachan 2009-10-25 16:41:54 UTC
Though SDL 1.2.14 builds for x64, and the DIB driver seems to work correctly, the "directx" driver does not appear to initialize correctly.

I haven't had time to put a debugger on it, so it could conceivably be a toolchain bug (using mingw-w64, which is somewhat experimental). SDL 1.2.13 did work correctly when built with the same toolchain + mailing list patch for directx structure size hard-coding.

Will add more detail as I debug this issue.
Comment 1 Opi 2009-12-22 14:35:53 UTC
This comment is not related to a SDL x64 build, but I wrote a very small program that opens a SDL window a write keyboard events in the console window. The program and SDL is built for x86, running on Windows 7 x64 with a Radeon graphics card and the latest drivers installed.

Everything works fine, but as soon as I put this line at the top of my program:
putenv("SDL_VIDEODRIVER=directx");

the SDL window stops responding. It looks like mouse events are still received, but I cannot move the window and no keyboard events are received.
Comment 2 Ryan C. Gordon 2011-12-30 01:25:45 UTC
Bumping priority on a few bugs that I would like examined more closely before 1.2.15 is finalized. This is not a promise that a bug will be fixed. We may close it with WONTFIX or WORKSFORME or something, but I just want to make sure attention is paid.

--ryan.
Comment 3 Sam Lantinga 2011-12-30 03:20:15 UTC
What was the mailing list patch for directx structure size hard-coding?  I haven't been able to find it.
Comment 4 Alistair John Strachan 2011-12-30 09:44:45 UTC
Created attachment 749 [details]
lost dx 64-bit fixes for SDL 1.2.13
Comment 5 Alistair John Strachan 2011-12-30 09:45:40 UTC
Sam, I don't have attribution info for the above patch and haven't looked in the archives. HTH.
Comment 6 Sam Lantinga 2011-12-30 10:42:15 UTC
Something like this has already been applied to the SDL 1.2 source code in this revision, fixing bug 675:
http://hg.libsdl.org/SDL/rev/48f1406df2a8

Can you retry with the latest snapshot?
http://www.libsdl.org/tmp/SDL-1.2.zip
Comment 7 Alistair John Strachan 2013-07-09 21:53:36 UTC
After testing as requested this bug appears to be fixed. Thanks!