Descent vs SDL == bad

OK, i built descent with SDL 0.8.8 with -O6 -mamdk6 on egcs 1.1b. It
works great. but:

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

  2. How do I scale the screen or use fullscreeN? It’s tiny on my desktop.
    I need it bigger.--------------------------------------------------
    Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
    Head of TurboLinux Development/Systems Administrator
    Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

Hi there…

Scott Stone wrote:

OK, i built descent with SDL 0.8.8 with -O6 -mamdk6 on egcs 1.1b. It
works great. but:

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

  1. How do I scale the screen or use fullscreeN? It’s tiny on my desktop.
    I need it bigger.

Add the command line ‘-fullscreen’ (I think it is) to the d1x command line.
It’s something like that. If you’re root, the SDL will give you DGA, which may
be faster.

:slight_smile:
Peter>


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

Hi there…

Scott Stone wrote:

OK, i built descent with SDL 0.8.8 with -O6 -mamdk6 on egcs 1.1b. It
works great. but:

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

  1. How do I scale the screen or use fullscreeN? It’s tiny on my desktop.
    I need it bigger.

Add the command line ‘-fullscreen’ (I think it is) to the d1x command line.
It’s something like that. If you’re root, the SDL will give you DGA, which may
be faster.

-fullscreen is ignored by descent d1x.On Tue, 24 Nov 1998, Peter Hawkins wrote:


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

Add the command line ‘-fullscreen’ (I think it is) to the d1x command line.
It’s something like that. If you’re root, the SDL will give you DGA, which may
be faster.

-fullscreen is ignored by descent d1x.

Are you running it as root on an XFree86 display?
Do any of the other fullscreen demos work on your system?

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

Are you closing the sound properly? If you don’t, the audio thread can
keep the window open.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Add the command line ‘-fullscreen’ (I think it is) to the d1x command line.
It’s something like that. If you’re root, the SDL will give you DGA, which may
be faster.

Does this mean DGA is only available as root? I won’t get the benefit
if I run the game under a personal account?–
Me: I run Linux. Win95 user: Why? Me: Because I can.

Robert J. Sprawls @Robert_J_Sprawls
Tactical Dynamics http://home.att.net/~sprawlsr

Does this mean DGA is only available as root? I won’t get the benefit
if I run the game under a personal account?

That’s correct. It’s an unfortunate side-effect of the current Linux
ioport protection scheme. The alternative is to do "chmod 666 /dev/mem"
or equivalent, but this is a huge security hole.

GGI and the upcoming fbcon are supposed to be able to do full-screen
graphics without requiring suid-root, and will be supported when they
are stable.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Add the command line ‘-fullscreen’ (I think it is) to the d1x command line.
It’s something like that. If you’re root, the SDL will give you DGA, which may
be faster.

-fullscreen is ignored by descent d1x.

Are you running it as root on an XFree86 display?
Do any of the other fullscreen demos work on your system?

I am running it as root on an XFree86 display (16 bit color - does that
matter?)

the other fullscreen stuff works.On Tue, 24 Nov 1998, Sam Lantinga wrote:

See ya!
-Sam Lantinga (slouken at devolution.com)


Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

Are you closing the sound properly? If you don’t, the audio thread can
keep the window open.

I didn’t know I had to close it manually…? I just compiled the source
and ran it.On Tue, 24 Nov 1998, Sam Lantinga wrote:

See ya!
-Sam Lantinga (slouken at devolution.com)


Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

Are you closing the sound properly? If you don’t, the audio thread can
keep the window open.

I didn’t know I had to close it manually…? I just compiled the source
and ran it.

Sorry, this e-mail was supposed to have been private e-mail to the guy who
ported D1X to SDL.

The programmer has to call SDL_CloseAudio() for the audio thread to quit
properly. The user shouldn’t have to worry about it. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

I accidentally replied to the list.
Can you reply to me privately?

Hey, I never received Games++, which I was told has Maelstrom on it.

Thanks for TurboLinux, BTW.

we’ve sort of discontinued games++… TL has Maelstrom on it too, though
:slight_smile: do you have 3.0? If not, I’ll have to send you one.

Anyway, I’m not the porter of D1X, but… I can tell you that -fullscreen
is ignored and it’s really REALLY small on my 1152x900 desktop. Fast as
hell, though, esp. with egcs and -O6 -mamdk6.On Tue, 24 Nov 1998, Sam Lantinga wrote:


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)

Scott Stone wrote:

  1. I can’t quit. i quit it, the screen goes black, and I have to kill it
    with -9 to make it finish quitting.

I wish I knew. Any ideas anyone? It just sits there… doesn’t crash, just
sits.

Are you closing the sound properly? If you don’t, the audio thread can
keep the window open.

As far as I can tell, yes. I mean on an atexit(), I call SDL_CloseAudio()… Hey
wait a sec. do atexit()s get called at all if the thread is keeping the window
open?

I didn’t know I had to close it manually…? I just compiled the source

and ran it.

No, he means me :slight_smile: I might have stuffed up while implementing it.

:slight_smile:
Peter> On Tue, 24 Nov 1998, Sam Lantinga wrote:

See ya!
-Sam Lantinga (slouken at devolution.com)


Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/


Scott M. Stone <sstone at pht.com, sstone at pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)