X denies SDL app?

Hi!

I recently installed SDL-1.2.0 on a friends machine and tried to run my app
but it hangs on start. A strace shows me that a select syscall blocks it.
My prog is in SDL_SetVideoMode(), but this call never returns. I noticed that
Xlib opens $HOME/.Xauthority and then after a few reads, my app blocks.
XFree86 4 is used under Suse 7.0. I hope these few sentences are enough for
your, 'cause I’m very tired and don’t want to type anymore ;-).

If you need more info, I’ll be back.

so long
Thomas–


/\ Thomas Krennwallner
( ^ > Fingerprint: 7B58 6ED2 676F 75D8 4DD1 5A83 DC68 E62F 85F3 D58F
/ \ Phone: +43 2252 810810 18
(
/)

E. Moritz GmbH
office at e-moritz.at
http://www.e-moritz.at/

Hi!

I recently installed SDL-1.2.0 on a friends machine and tried to run my app
but it hangs on start. A strace shows me that a select syscall blocks it.
My prog is in SDL_SetVideoMode(), but this call never returns. I noticed that
Xlib opens $HOME/.Xauthority and then after a few reads, my app blocks.
XFree86 4 is used under Suse 7.0. I hope these few sentences are enough for
your, 'cause I’m very tired and don’t want to type anymore ;-).

It’s in the FAQ:
http://www.libsdl.org/faq/FAQ-Linux.html#BROKEN_SUSE

See ya,
-Sam Lantinga, Lead Programmer, Loki Software, Inc.

I configured SDL like this:
./configure --prefix=$HOME/app

Now I tried to configure it like this:
./configure --disable-video-svga --disable-video-ggi --disable-video-aalib
–disable-alsa --disable-esd-test --disable-esd --disable-arts
–disable-nas --disable-video-opengl --disable-video-x11-vm
–disable-video-x11-dgamouse --disable-video-x11-xv
–disable-video-dga --prefix=$HOME/app

And it worked! %-)

So where’s the problem? My developer machine is also a Suse 7.0 and I never had
such a problem. BTW, I gave you wrong info. My app hangs in
SDL_InitSubSystem(SDL_INIT_VIDEO)->SDL_VideoInit->X11_VideoInit->X11_GetVideoModes.

And with SDL-1.1.4 it worked right out of the box.

so long
ThomasOn Sat, May 26, 2001 at 09:32:12AM -0700, the boisterous Sam Lantinga wrote:

Hi!

I recently installed SDL-1.2.0 on a friends machine and tried to run my app
but it hangs on start. A strace shows me that a select syscall blocks it.
My prog is in SDL_SetVideoMode(), but this call never returns. I noticed that
Xlib opens $HOME/.Xauthority and then after a few reads, my app blocks.
XFree86 4 is used under Suse 7.0. I hope these few sentences are enough for
your, 'cause I’m very tired and don’t want to type anymore ;-).

It’s in the FAQ:
http://www.libsdl.org/faq/FAQ-Linux.html#BROKEN_SUSE


/\ Thomas Krennwallner
( ^ > Fingerprint: 7B58 6ED2 676F 75D8 4DD1 5A83 DC68 E62F 85F3 D58F
/ \ Phone: +43 2252 810810 18
(
/)

E. Moritz GmbH
office at e-moritz.at
http://www.e-moritz.at/