SDL problems

I’m testing out SuSE 7.0. I installed SDL 1.1.6 with SDL_image and
SDL_mixer. Everything installs fine, but when I try to run programs that
use SDL, like Circus-Linux or AlephOne, it shows that it starts on the
console and then nothing happens, like it freezes. I’ve used the same
tarballs in Slackware and they worked perfectly. Again, SuSE 7.0, dual
celeron 400, 160Mb ram, ati xpert 98, voodoo2 blackmagic. Its like it
doesnt open the graphics at all.

Stephen

I’m testing out SuSE 7.0. I installed SDL 1.1.6 with SDL_image and
SDL_mixer. Everything installs fine, but when I try to run programs that
use SDL, like Circus-Linux or AlephOne, it shows that it starts on the
console and then nothing happens, like it freezes. I’ve used the same
tarballs in Slackware and they worked perfectly. Again, SuSE 7.0, dual
celeron 400, 160Mb ram, ati xpert 98, voodoo2 blackmagic. Its like it
doesnt open the graphics at all.

It’s a bug in the SuSE X libraries. Use the precompiled binaries.
I can give you one that works if the release binaries don’t work for you.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Hi,
I have the same problem, but only on XFree 3.3.6,
XFree 4.0 works fine.
Can you tell us the name of the library which is buggy ?
Maybe there is an update on the SuSE ftp.

Regards,
Georg

Sam Lantinga wrote:> It’s a bug in the SuSE X libraries.

Hi.
I have a problem when moving a window ( OpenGL rc ) created by SDL.
when i move it arround a bit i get a access violation and the program
crashes.
i had the same problem with several SDL demo’s i downloaded so it’s not my
code.
i tried it on a AMD and inter (P4) and nvida card (GF2 asus) and a mobility
radeon 7500.
all have the same problem !!!.

Any suggestions ?

GreetZ
DV.

Hi.
I have a problem when moving a window ( OpenGL rc ) created by SDL.
when i move it arround a bit i get a access violation and the program
crashes.
i had the same problem with several SDL demo’s i downloaded so it’s not my
code.
i tried it on a AMD and inter (P4) and nvida card (GF2 asus) and a mobility
radeon 7500.
all have the same problem !!!.

Any suggestions ?

Do you have this problem with SDL in CVS?
http://www.libsdl.org/cvs.php

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi all,

I’ve been having some SDL problems, here they are:

  1. SDL_SetAttribute has no effect when setting OpenGL color values. i get an OpenGL error invalid value. This happens on every value expect the value is already has :confused:

  2. I’ve got a SDL_Delay() in my enginecore’s “big game loop” that is meant to reduce CPU hogging by the app. However the application contiues to use 99% CPU even though my application thread should consume less then 1% of that. Thus i conclude that one of the libray’s i’m using has it’s own loop. I use SDL & SDL_Net & FE & NET2.

After these problems i’ll have to iron out some problems with my fonts and texture manager and then make some more GUI widgets but then the engine framework should be ready for it’s first release w00t.

GreeTz.--------------------------------
| Dinand Vanvelzen, |
| Programmer, |

Software Engineering student

Almost forgot these:

  1. Setting SDL_WM_GrabInput to SDL_GRAB_OFF has no effect if i use SDL_WM_GrabInput with either SDL_GRAB_OFF or SDL_GRAB_ON they both have the effect of SDL_GRAB_ON. the only way not to get a SDL_WM_GrabInput( SDL_GRAB_ON ); is by not calling the SDL_WM_GrabInput() function.

  2. The SDL docs key input example uses unicode conversion which has ( for me ) unneeded overhead so i just use ASCII. key.sym does not give me the ASCII value’s of the keys pressed. However key.keysym.mod does give me the correct value but that was supposed to be used for key modifyers which doesn’t work. Thus leaving me no way to detect capital letters :confused:

GreeTz--------------------------------
| Dinand Vanvelzen, |
| Programmer, |

Software Engineering student

----- Original Message -----
From: Dinand Vanvelzen
To: sdl at libsdl.org
Sent: Friday, June 06, 2003 5:13 PM
Subject: [SDL] SDL problems

----- CLEANUP

Hi all,

I’ve been having some SDL problems, here they are:

  1. SDL_SetAttribute has no effect when setting OpenGL color values. i
    get an OpenGL error invalid value. This happens on every value expect
    the value is already has :confused:

I don’t really understand what this means. Are you trying to change the
attributes while the game is running? Or, is this happening before you
set the video mode?

If the game is running in a window you are likely to be stuck with the
pixel format of the screen. If you are running full screen you still may
not be able to change the pixel format to what you want. Everything is
highly dependent on you hardware/driver/OS combination.

	Bob Pendleton
  1. I’ve got a SDL_Delay() in my enginecore’s “big game loop” that is
    meant to reduce CPU hogging by the app. However the application
    contiues to use 99% CPU even though my application thread should
    consume less then 1% of that. Thus i conclude that one of the libray’s
    i’m using has it’s own loop. I use SDL & SDL_Net & FE & NET2.

Thanks for using NET2. Make sure you have the latest version. There have
been a couple of bug fixes since it was first posted.On Fri, 2003-06-06 at 10:13, Dinand Vanvelzen wrote:

After these problems i’ll have to iron out some problems with my fonts
and texture manager and then make some more GUI widgets but then the
engine framework should be ready for it’s first release w00t.

GreeTz.


| Dinand Vanvelzen, |
| Programmer, |

Software Engineering student


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

  • Bob Pendleton: independent writer +
  • and programmer. +
  • email: Bob at Pendleton.com +
    ±----------------------------------+
  • CLEANUP

About 1:
Windowed and no offcourse BEFORE i set the videomode :slight_smile: .Maybe i can fix the
pixelformat with some API calls but the question is will that effect SDL. I
was kinda hoping SDL tried those API calls ( if possible depending on O/S).

About NET2:
I kept my modified NET2 version updated, bit of a pain to make the same
modification each time but what can ya do. I mailed some time back with a
bug report on SDL_Net Bob maybe you remember,… about choosing the NIC you
want to listen on. Instead of listning it connected to a remote host. Has
that been fixed ? .Maybe you could take a look at the headers of the GUCEF
SDL/OpenGL engine framework, especially the com classes and tell me what ya
think ( under documentation->online documentation on website ). They are by
no means final in design but it should give you an idea of what i’m trying
to do. They are moddeled afer Delphi/C++Builder Socket components. I also
made a Chatserver and client with my classes and my CNetComEngine class. My
framework wraps SDL and does recource management and GUI management and all
kinds of thing for you so you can immediatly start coding nifty 3D fx.
http://www.GUCEF.tk. I will make a website of the engine using the framework
aswell when i have the time but i’m in the middle of examns atm :confused:

GreeTz


| Dinand Vanvelzen, |
| Programmer, |

Software Engineering student

----- Original Message -----
From: bob@pendleton.com (Bob Pendleton)
Sent: Friday, June 06, 2003 9:46 PM
Subject: Re: [SDL] SDL problems

  • CLEANUP

About 1:
Windowed and no offcourse BEFORE i set the videomode :slight_smile: .Maybe i can fix the
pixelformat with some API calls but the question is will that effect SDL. I
was kinda hoping SDL tried those API calls ( if possible depending on O/S).

About NET2:
I kept my modified NET2 version updated, bit of a pain to make the same
modification each time but what can ya do. I mailed some time back with a
bug report on SDL_Net Bob maybe you remember,… about choosing the NIC you
want to listen on. Instead of listning it connected to a remote host. Has
that been fixed ? .

I remember a discussion about a flaw in SDLNet_TCP_Open(), if that is
what you are talking about. When opening a listening socket it ignores
the IP address so you can not select the interface to listen on, only
the port number. (BTW, that is the documented behavior so, while it is
not what we want it to do, it is not technically a bug…)

NET2 relies on SDL_net for a portable networking API. If there is a flaw
in SDL_net, NET2 inherits it. Nothing I can do about that. While I
appreciate hearing about problems in SDL_net, there isn’t much I’m going
to do about them. SDL_net and NET2 are separate projects maintained by
different people.

Did you ever notify the maintainer of SDL_net of the problem and your
fixes to it?

	Bob PendletonOn Fri, 2003-06-06 at 16:02, Dinand Vanvelzen wrote:

----- Original Message -----
From: “Bob Pendleton” <@Bob_Pendleton>
Sent: Friday, June 06, 2003 9:46 PM
Subject: Re: [SDL] SDL problems

Maybe you could take a look at the headers of the GUCEF
SDL/OpenGL engine framework, especially the com classes and tell me what ya
think ( under documentation->online documentation on website ). They are by
no means final in design but it should give you an idea of what i’m trying
to do. They are moddeled afer Delphi/C++Builder Socket components. I also
made a Chatserver and client with my classes and my CNetComEngine class. My
framework wraps SDL and does recource management and GUI management and all
kinds of thing for you so you can immediatly start coding nifty 3D fx.
http://www.GUCEF.tk. I will make a website of the engine using the framework
aswell when i have the time but i’m in the middle of examns atm :confused:

GreeTz


| Dinand Vanvelzen, |
| Programmer, |

Software Engineering student

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

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

  • Bob Pendleton: independent writer +
  • and programmer. +
  • email: Bob at Pendleton.com +
    ±----------------------------------+

I remember a discussion about a flaw in SDLNet_TCP_Open(), if that is
what you are talking about. When opening a listening socket it ignores
the IP address so you can not select the interface to listen on, only
the port number. (BTW, that is the documented behavior so, while it is
not what we want it to do, it is not technically a bug…)

By the way, patches to fix this are welcome. Feel free to mail them
to the SDL mailing list.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment