VOGONS

Common searches


First post, by tcccp

User metadata
Rank Newbie
Rank
Newbie

Hi there,

my DOSBOX runs on Gentoo 2006.1. When first trying "Alien Trilogy", "Jurassic Park" and stuff, the DOSBOX worked just fine. At this time it somehow fails to use the output device specified within the config file, falls back to "surface" and aalib is used. The problem repeatedly occurs, equal which output type is set. Here the output after starting it from a term:

hey@renovatio ~ $ dosbox -config dosbox.conf
Using AAlib driver: X11 driver 1.1 (X11)
CONFIG:Loading primary settings from config file dosbox.conf
SDL:Unsupported output device ddraw, switching back to surface
MIXER:Can't open audio: No available audio device , running in nosound mode.
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
ALSA:Can't open sequencer
MIDI:Opened device:none

Ok, forget about sound - this problem seems not to be related to the aalib stuff. That's a problem with esound.

Does somebody have a suggestion how to prevent aalib being used?

Thanks,

tcccp

Reply 1 of 1, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

SDL:Unsupported output device ddraw, switching back to surface

DirectDraw is a proprietary Microsoft API. Guess what other OSes support it? Right, none. The available choices for the "output" option for Linux are: surface, overlay, opengl, openglnb.

BTW, you can select the SDL output device by setting the environment variable SDL_VIDEODRIVER ("x11" is the usual choice, see the SDL docs for more). This selection is what is used in surface mode.