You are not logged in.

#1 2007-07-10 11:31:19

sula
Member
Registered: 2005-08-07
Posts: 93

Dosbox - no sound

Hi

I have a problem.No sound(both sfx and music) in any game in dosbox.I remember those old dos times so i of course run setsound.exe in every game and configure it.I think i also configured my dosbox.conf correctly. I have sound in my system ,no prob playng sound files ,movies ,games both linux and thru wine.

here is my dosbox.conf http://download.yousendit.com/12B2BABE5750CAA7

Offline

#2 2007-07-12 19:52:52

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: Dosbox - no sound

try the following changes :

[gus]
gus=false

[midi]
config=
device=oss
intelligent=true
mpu401=true

[sblaster]
base=220
dma=1
hdma=5
irq=7
mixer=false
oplmode=auto
oplrate=22050
sbtype=sb16
sblaster=true

SB16 is usually the best choice for dos games under dosbox.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-07-14 11:15:41

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Dosbox - no sound

Thank you for pointers but it still does not work.I really do not know what to try next - what i did wrong i forgot.I will be grateful for any help. Thanks

Offline

#4 2007-07-14 13:42:04

spookshow
Member
From: abbotsford, bc
Registered: 2006-11-15
Posts: 95
Website

Re: Dosbox - no sound

funny, i was just about to post a similar problem, i have no midi support in dosbox. tried intelligent, mp401 and oss as you have in the options there lone_wolf, still doesn't work. probably the onboard sound i am using (asus striker extreme board. no mention of midi anywhere in the mixer or that i have seen anywhere)
uses the hda_nvidia drivers


ooh. edit: looks like the mobo support cd came with linux drivers for the adi audio..  would this be the chipset that i read about the new kernel (22) supporting?

Last edited by spookshow (2007-07-14 13:48:32)

Offline

#5 2007-07-14 20:07:57

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: Dosbox - no sound

For midi to work in dosbox (or any other app) you need an audio card that supports midi.
Most onboard cards (and even many pci-cards) don't have hardware midi support.

The solution is to install a soundfont and a software midi player.

I use timidity++ (extra) and fluidr3 from AUR, but you can find several other soundfonts in the aur.

The reason i have it listed as oss is that for some reason timidity through alsa's oss emulation gives better sound quality and less stuttering than when using alsa directly.

Last edited by Lone_Wolf (2007-07-14 20:08:32)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2007-07-14 21:00:19

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Dosbox - no sound

I had to disable gnome audio -- gnome sounds.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2007-07-14 21:23:36

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Dosbox - no sound

Hmm thanks your advieses about midi are good ,but i dont have any sound in dosbox and about midi i dont care i want sfx effects smile
I have timidity++ already installed.
I disabled kde sound system(arts) ,but i even don't know where to look now.

Offline

#8 2007-07-14 22:30:29

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Dosbox - no sound

Use "lsof /dev/snd/*" or "lsof | grep snd" to find out if something is using audio on your system. (But correct me if I'm wrong, I'm not sure if this will catch everything)
"lsof" is in current.

Offline

#9 2007-07-14 22:49:14

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: Dosbox - no sound

We need to test whether the problem lies with dosbox or with your apps sound settings.

I have the following apps installed with dosbox (all with working sound) :
syndicate wars , panzer general, xwing , tiefighter , solar winds , master of magic. (all from original disks/cds).

If you own one of these games also i can mail you my installed version + dosbox.conf so you can test it.

In case you don't own any of these games , just mail me a list of the games you do own.
I have 200+ original dos games (got most of them from a friend a few years ago)  , so if we find a game we both have i can test it and mail you the installed version with dosbox.conf.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2007-07-17 19:48:39

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Dosbox - no sound

About my previous post, I was just running wine with OSS sound, and lsof /dev/snd/* didn't get anything. I also couldn't use any other sound (no mixing).
"lsof | grep oss" got some hits on wine libraries, but I guess it then depends on what the OSS application calls it.

Offline

Board footer

Powered by FluxBB