Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound in DOOM3
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Tue Oct 05, 2004 9:48 pm    Post subject: No sound in DOOM3 Reply with quote

I already mentionned this problem in that big DOOM 3 linux thread (along with a rant on how much I hate id software's horrible OSS-mmap sound backend they keep using since quake1), but it's now lost under all those posts, so I'm posting it here agin, now in clearer form with 87% less bitching:

Code:

WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 48000


Then no sound. I'm running the Realtek ALC655 audio hardware on my nForce 2 mobo with the intel8x0 ALSA driver. I used the typical ALSA trick to make id software games work correctly, but it doesn't seem to help here. I also tried whatever OSS driver in the kernel that supports my hardware, but I get the same stupid warning.


Last edited by IntergalacticWalrus on Tue Oct 05, 2004 9:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
rzZzn
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 96
Location: Sweden

PostPosted: Tue Oct 05, 2004 9:53 pm    Post subject: Reply with quote

I have yhe same problem.... :x

--- Common Initialization Complete ---
------------- Warnings ---------------
during DOOM 3 initialization...
WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 48000

WARNING: sound subsystem disabled
Back to top
View user's profile Send private message
saty
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 111
Location: Dagobah - Germany

PostPosted: Tue Oct 05, 2004 10:05 pm    Post subject: Re: No sound in DOOM3 Reply with quote

Same problem here... with the same hardware.

But i have used the OSS drivers in the kernel... no ALSA.

:?:

So what the ... ? Looks like an OSS/ALSA independent problem?
_________________
Satyrium - Retro-Gaming
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Tue Oct 05, 2004 11:14 pm    Post subject: Reply with quote

Same problem here ARGHHHHHHH :evil: :evil:
Back to top
View user's profile Send private message
atmos
n00b
n00b


Joined: 29 Aug 2004
Posts: 8
Location: Marietta, GA

PostPosted: Tue Oct 05, 2004 11:28 pm    Post subject: same problem, amd64 Reply with quote

during DOOM 3 initialization...
WARNING: mmap 57344 bytes on device /dev/dsp failed: Input/output error

WARNING: sound subsystem disabled

using snd_via82xx on amd64

ALSA and OSS built into my kernel, using module stated above.
_________________
__
http://www.atmos.org
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Tue Oct 05, 2004 11:33 pm    Post subject: Re: same problem, amd64 Reply with quote

atmos wrote:
during DOOM 3 initialization...
WARNING: mmap 57344 bytes on device /dev/dsp failed: Input/output error

WARNING: sound subsystem disabled

using snd_via82xx on amd64

ALSA and OSS built into my kernel, using module stated above.


Have you at least done the following?
Code:
# echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss


That's a common issue on all id software games.
Back to top
View user's profile Send private message
atmos
n00b
n00b


Joined: 29 Aug 2004
Posts: 8
Location: Marietta, GA

PostPosted: Tue Oct 05, 2004 11:52 pm    Post subject: Re: same problem, amd64 Reply with quote

[quote="IntergalacticWalrus"][quote="atmos"]during DOOM 3 initialization...
WARNING: mmap 57344 bytes on device /dev/dsp failed: Input/output error

WARNING: sound subsystem disabled

using snd_via82xx on amd64

ALSA and OSS built into my kernel, using module stated above.[/quote]

Have you at least done the following?
[code]# echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss[/code]

That's a common issue on all id software games.[/quote]

Yup, tried that, still no dice. :(
_________________
__
http://www.atmos.org
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Wed Oct 06, 2004 1:41 am    Post subject: Reply with quote

This is a known issue with the via chipset. More reports are on the forums at Doom 3 Linux. I would recommend buying a cheap SBLive! Value (~$30).
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Wed Oct 06, 2004 2:09 am    Post subject: Reply with quote

Yes, let's all go waste money on a sound card we don't actually need, just so we can run a single game's BROKEN sound subsystem.

I'm really getting sick and tired of hearing this "solution". Everything else that uses sound runs fine on my system, but id Software's games have always been problematic. I figured that for DOOM III they'd FINALLY realize that their brain-damaged way of accessing audio sucks, but nooo! Problems again! And they're even worse now!

And what's with id's complete refusal of using third party libs? Unreal engine games (UT2003/4, AA, MOH) use OpenAL for sound, and it freaking works. With surround sound too. Can't say the same for DOOM III...

I probably wouldn't have bought DOOM III if it weren't for the promised Linux port. But seeing now that this port is completely worthless (broken sound! with no 5.1 support! and no editor too!), I'm a really unsatisfied customer, and won't buy from id again for sure until they fix it.
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Wed Oct 06, 2004 3:15 am    Post subject: Reply with quote

Your choice really. As for me, I spent the last four years waiting to upgrade for this damn game, including saving my birthday presents :). Getting a $30 audio card that blows any integrated audio out of the water was just an afterthought.

That said, I do hope that id ports the sound system to openal at some point and feel your pain if you were expecting the 5.1 support, editor, etc.
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Wed Oct 06, 2004 3:17 am    Post subject: Reply with quote

Oh, the other thing to try might be to use the alsa-driver ebuild to get the out of tree ALSA code which might fix this driver bug.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Wed Oct 06, 2004 5:41 am    Post subject: Reply with quote

deathdruid wrote:
Your choice really. As for me, I spent the last four years waiting to upgrade for this damn game, including saving my birthday presents :). Getting a $30 audio card that blows any integrated audio out of the water was just an afterthought.

That said, I do hope that id ports the sound system to openal at some point and feel your pain if you were expecting the 5.1 support, editor, etc.

Well onboard sounds gotten decent in recent years, I preferred my nforce2s onboard to my SB Live's actually. My nforce3's is on the same par as the nforce2 and I've been happy with it. So I'd consider the SB Live to be a downgrade from my onboard, and really don't feel like going for an audigy 2.

The alsa ebuild, and the drivers in the 2.6.9 kernel aren't working for me. I might give the cvs alsa a go, but doubt that'll help.

This doesn't work for me, since I'm on amd64, but some people have reported luck with "artsdsp -m doom" to emulate mmap with arts.

I think maybe if there were a way to force the redirection in /proc/asound/card0/pcm0p/oss for doom to 44100, or something like that it might work. I can't seem to find any way to do that, though.
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Wed Oct 06, 2004 8:38 am    Post subject: Reply with quote

bleah.. i could kick carmacks a%$& for still using oss.. and STILL with that annoying mmap problem.

try to start doom3 with the aoss wrapper (media-libs/alsa-oss)

or try this one..

https://bugs.gentoo.org/show_bug.cgi?id=60772

and report if something helps please.
Back to top
View user's profile Send private message
nex_tym
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 211

PostPosted: Wed Oct 06, 2004 9:34 am    Post subject: Reply with quote

Get the same thing, just slightly different.

WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 44101

Never used alsa in my life so dont have any alsa on here. Sound card is a pci es1371

On a side note, it does work in FreeBSD BETA7. Sound and all.
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1052
Location: The Holy city of Honolulu

PostPosted: Wed Oct 06, 2004 9:35 am    Post subject: Reply with quote

Get an Audigy 2 .... all sound woes will be forever (that's probably 1 1/2 years in pc time) gone.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
SpoonMeiser
n00b
n00b


Joined: 25 Sep 2002
Posts: 62

PostPosted: Wed Oct 06, 2004 12:07 pm    Post subject: Re: same problem, amd64 Reply with quote

atmos wrote:
...
Yup, tried that, still no dice. :(

I have the same sound driver as you, running on amd64 also, and the solution above did fix the mmap problem, although I now have run into the other problem mentioned in this forum.

Make sure that you have the name of the executable right (I mistakenly had doom3.x86 originally)
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed Oct 06, 2004 3:45 pm    Post subject: Reply with quote

Same on my Dads Gentoo PC... :-( any hope for a fix?
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Wed Oct 06, 2004 6:03 pm    Post subject: Reply with quote

rzZzn wrote:
I have yhe same problem.... :x

--- Common Initialization Complete ---
------------- Warnings ---------------
during DOOM 3 initialization...
WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 48000

WARNING: sound subsystem disabled

I had the same problem, using via82xx .

The way I got around it was (I googled the error....) was using a module option, so I did
Code:
#modprobe snd_via82xx dxs=3
I don't remember exactly what the option was, but take a look at your sound modules with modinfo to see different options you need to tweak,
_________________
The power of Unix coupled with a pleasing interface and scores of usable desktop applications is a disgusting perversion of everything Unix stands for.
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Wed Oct 06, 2004 6:10 pm    Post subject: Reply with quote

the option is
Code:
dxs_support=3


taken from this page
_________________
The power of Unix coupled with a pleasing interface and scores of usable desktop applications is a disgusting perversion of everything Unix stands for.
Back to top
View user's profile Send private message
Lemy.ch
n00b
n00b


Joined: 13 Sep 2004
Posts: 23
Location: Switzerland

PostPosted: Wed Oct 06, 2004 9:04 pm    Post subject: Reply with quote

Did this helped you?
Someone else?

Because it didn't help me:

Code:

--- Common Initialization Complete ---
------------- Warnings ---------------
during DOOM 3 initialization...
WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 44101

WARNING: sound subsystem disabled


steps i did:
Code:

#echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
#modprobe snd_via82xx dxs_support=3


This is my first contact with id games on linux. But it's already getting anoying...

Lemy
_________________
Why-o-why, didn't I take the blue pill?
Back to top
View user's profile Send private message
SpoonMeiser
n00b
n00b


Joined: 25 Sep 2002
Posts: 62

PostPosted: Wed Oct 06, 2004 9:11 pm    Post subject: Reply with quote

Lemy.ch wrote:
Did this helped you?
Someone else?

Because it didn't help me:

Didn't help me either, the dxs_support only works on a small number of devices, and doesn't appear to have any effect on my motherboard.
Lemy.ch wrote:

This is my first contact with id games on linux. But it's already getting anoying...

Previous iD games have been much easier to get working, don't let this colour your opinions of iD too much.
Back to top
View user's profile Send private message
Lemy.ch
n00b
n00b


Joined: 13 Sep 2004
Posts: 23
Location: Switzerland

PostPosted: Wed Oct 06, 2004 9:25 pm    Post subject: Reply with quote

Easy, i got it solved.

Try this:

Set in ~/.doom3/base/DoomConfig.cfg
the following Line to:
Code:
seta s_dsp "/dev/dsp1"
(was set to dev/dsp previously)

This solved the issue for me and i can now shoot those zombies....

Lemy
_________________
Why-o-why, didn't I take the blue pill?
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Wed Oct 06, 2004 11:08 pm    Post subject: Reply with quote

Lemy.ch: That didn't work for me.

Tuna: Both aoss and mmapdsp didn't work for me. Oh, and artsdsp too.

Chopinzee: Just shut up. I already said I didn't want to hear the old "buy a soundcard" song.

Is there anybody else using nforce2 integrated audio here? I started this thread about nforce2 hardware, yet now everybody's talking about other cards having other error messages. That's really frustrating. Please start another thread instead. Thank you.


Last edited by IntergalacticWalrus on Thu Oct 07, 2004 1:43 am; edited 10 times in total
Back to top
View user's profile Send private message
atmos
n00b
n00b


Joined: 29 Aug 2004
Posts: 8
Location: Marietta, GA

PostPosted: Wed Oct 06, 2004 11:08 pm    Post subject: Finally got sound Reply with quote

AMD64 and via_82xx

Suggestions from this page
mmapdsp - only works on i386
gcc -g -Wall -lm mmapdsp.c -o mmapdsp
mmapdsp.c:24:2: #error "This works only on i386-compatible CPUs.

aoss and artsdsp both fail similarly
% artsdsp -m /usr/games/bin/doom3
./doom.x86: error while loading shared libraries: /usr/kde/3.3/lib/libartsdsp.so.0: cannot open shared object file: No such file or directory
% aoss /usr/games/bin/doom3
./doom.x86: error while loading shared libraries: /usr/lib/libaoss.so: cannot open shared object file: No such file or directory

Those files exist, but I'm not exactly sure how LD_PRELOAD works, which seems to be what both of these scripts are doing.

Just when I was about to give up, I looked at /usr/src/linux-2.6.9-rc3/sound/pci/via82xx.c and noticed the other module options. After some experimenting it worked. :)

Here's how I'm doing it(as root)
# rmmod snd_via82xx
# modprobe snd_via82xx dxs_support=2
# amixer set PCM 88 unmute
# amixer set Master 88 unmute
# echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

Then as my normal user I run doom3
% doom3
_________________
__
http://www.atmos.org
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Thu Oct 07, 2004 4:41 am    Post subject: Re: Finally got sound Reply with quote

atmos wrote:
AMD64 and via_82xx

Suggestions from this page
mmapdsp - only works on i386
gcc -g -Wall -lm mmapdsp.c -o mmapdsp
mmapdsp.c:24:2: #error "This works only on i386-compatible CPUs.

aoss and artsdsp both fail similarly
% artsdsp -m /usr/games/bin/doom3
./doom.x86: error while loading shared libraries: /usr/kde/3.3/lib/libartsdsp.so.0: cannot open shared object file: No such file or directory
% aoss /usr/games/bin/doom3
./doom.x86: error while loading shared libraries: /usr/lib/libaoss.so: cannot open shared object file: No such file or directory

Those files exist, but I'm not exactly sure how LD_PRELOAD works, which seems to be what both of these scripts are doing.

Just when I was about to give up, I looked at /usr/src/linux-2.6.9-rc3/sound/pci/via82xx.c and noticed the other module options. After some experimenting it worked. :)

Here's how I'm doing it(as root)
# rmmod snd_via82xx
# modprobe snd_via82xx dxs_support=2
# amixer set PCM 88 unmute
# amixer set Master 88 unmute
# echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

Then as my normal user I run doom3
% doom3


I'm on nforce3 onboard sound, using those tricks (substituting the correct module name) didn't work for me. However I got a bit further I think. Using echo "doom 0 0 direct" > /proc/asound/card0/pcm0p/oss, and then starting doom up with "aoss -cla /usr/lib32/ ./doom" doesn't bomb out on sound, and actually says sound's initialized. However, now I get another error that prevents the game from starting altogether

Code:
paulisdead@deepthought doom3 $  aoss -cla /usr/lib32/ ./doom
-/usr/lib32/: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/32/libstdc++.so.5: no version information available (required by -/usr/lib32/)
-/usr/lib32/: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/32/libstdc++.so.5: no version information available (required by -/usr/lib32/)
DOOM 1.1.1282 linux-x86 Oct  4 2004 08:21:14
Hostname: deepthought
IP: 127.0.0.1
no 'base' directory in exe path /usr/local/games/doom3/bin/Linux/x86/glibc-2.1, skipping
------ Initializing File System ------
Loaded pk4 /usr/local/games/doom3/base/game00.pk4 with checksum 0xf07eb555
Loaded pk4 /usr/local/games/doom3/base/game01.pk4 with checksum 0x16cf3b8a
Loaded pk4 /usr/local/games/doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /usr/local/games/doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /usr/local/games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /usr/local/games/doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /usr/local/games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /usr/local/games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
Current search path:
(null)/.doom3/base
/usr/local/games/doom3/base
/usr/local/games/doom3/base/pak005.pk4 (63 files)
/usr/local/games/doom3/base/pak004.pk4 (5137 files)
/usr/local/games/doom3/base/pak003.pk4 (4676 files)
/usr/local/games/doom3/base/pak002.pk4 (6120 files)
/usr/local/games/doom3/base/pak001.pk4 (8972 files)
/usr/local/games/doom3/base/pak000.pk4 (2698 files)
/usr/local/games/doom3/base/game01.pk4 (2 files)
/usr/local/games/doom3/base/game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
couldn't exec DoomConfig.cfg
couldn't exec autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
dlopen(libGL.so.1)
Open X display
Couldn't open the X display
dlopen(libGL.so.1)
Open X display
Couldn't open the X display
idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL


Without aoss, I can start doom3 and actually run it, but of course without sound.

*edit, BTW, on ~amd64
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum