Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

D00M³ runs fine but NO SOUND (using ALSA with OSS emulation)

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
11 posts • Page 1 of 1
Author
Message
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

D00M³ runs fine but NO SOUND (using ALSA with OSS emulation

  • Quote

Post by sLiCeR » Tue Oct 05, 2004 8:16 pm

Okay,

so this is my Problem:

Code: Select all

=======================================================================

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

WARNING: sound subsystem disabled

2 warnings

=======================================================================

Any ideas?!?! :cry:
Top
TooTallForPony
n00b
n00b
User avatar
Posts: 45
Joined: Fri Dec 13, 2002 1:22 am

  • Quote

Post by TooTallForPony » Tue Oct 05, 2004 8:24 pm

First, make sure /dev/dsp exists and (if it's a symbolic link) points to a /dev entry that actually exists. After that, check whether you're in the audio group (otherwise you won't be able to access /dev/dsp).
Top
DocGonzo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Thu Nov 14, 2002 12:26 am
Location: Wuerzburg/Germany
Contact:
Contact DocGonzo
Website

  • Quote

Post by DocGonzo » Tue Oct 05, 2004 8:26 pm

I had the same error with my AsRock K7S8X-E onboard sound (SiS748). I haven't found a solution other than to switch to my old soundblaster 128. Now it works. Maybe Doom is a little picky about soundcards. :roll:
Top
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

  • Quote

Post by sLiCeR » Tue Oct 05, 2004 9:34 pm

TooTallForPony wrote:First, make sure /dev/dsp exists and (if it's a symbolic link) points to a /dev entry that actually exists. After that, check whether you're in the audio group (otherwise you won't be able to access /dev/dsp).
it exists and all other audio apps work (also tested OSS output with XMMS, works fine)

strange problem :evil:
Top
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

  • Quote

Post by sLiCeR » Wed Oct 06, 2004 3:42 pm

Could it be its a problem with my nforce2 u400 onboard-chip?

:x
Top
Lemy.ch
n00b
n00b
User avatar
Posts: 23
Joined: Mon Sep 13, 2004 9:27 pm
Location: Switzerland

  • Quote

Post by Lemy.ch » Thu Oct 07, 2004 6:29 am

There's already a similar thread in this forum:
http://forums.gentoo.org/viewtopic.php?t=233027

I've had the same problem. Try the following steps:

Make sure you have alsa correctly installed (with alsa-utils and alsa-oss) according the gentoo alsa guide (viewable under docs @ www.gentoo.org)

After that, try the "old" id game trick:

Code: Select all

# echo "doom.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
if this doesn't yet help, try furthermore:

Code: Select all

#modprobe snd_via82xx dxs_support=3 
After that, on my side, the error changed to the one complained in the thread remarked above:

Code: Select all

--- 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 
Finally for my via82xx, i've solved it:
Set in ~/.doom3/base/DoomConfig.cfg
the following Line to:

Code: Select all

seta s_dsp "/dev/dsp1"
hope this helps

lemy
Why-o-why, didn't I take the blue pill?
Top
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

  • Quote

Post by sLiCeR » Fri Oct 08, 2004 5:33 pm

Code: Select all

during DOOM 3 initialization...
WARNING: failed to open sound device '/dev/dsp1': No such file or directory
Okay, Im stuck he...
Top
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

  • Quote

Post by sLiCeR » Fri Oct 08, 2004 6:19 pm

Without the dsp1 thing (which obviously must go wrong) i get this now, can I enforce my DSP to make 44100 instead 48000 ?

Code: Select all

during DOOM 3 initialization...
WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 48000

WARNING: sound subsystem disabled

:?
Top
sLiCeR
n00b
n00b
Posts: 10
Joined: Sat Oct 02, 2004 8:02 pm
Location: Cologne,Germany,Europe,Earth,MilkyWay
Contact:
Contact sLiCeR
Website

SOLVED !!!

  • Quote

Post by sLiCeR » Fri Oct 08, 2004 7:03 pm

Okay so i tried the HEX-Trick after i got the above lines:

Code: Select all

- "hexedit doom.x86"
- go to the byte to modify by typing "Ctrl-G" and entering the address: 001BED1B
- modifiy the "74" under the cursor to "EB".
- save (Ctrl-S) and quit (Ctrl-Q) 
Thats all, now I have sound, great trick :wink:
Top
justpink
n00b
n00b
Posts: 12
Joined: Sun Oct 10, 2004 9:15 pm
Contact:
Contact justpink
Website

  • Quote

Post by justpink » Sun Oct 10, 2004 9:17 pm

Holy flaming penguin poop.

Never in my life have I seen such an obscure fix as this little "hex" fix.

I was just shaking my head while I did it saying to myself "I am gonna #$%^ myself if this works."

Well ladies and gents, I have crapped myself. It worked. How in the bloody hell did someone figure THAT one out? And THANK you.

-pink out
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read comments complaints flames > input.log
cat input.log > /dev/null
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Top
C.M
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Fri Mar 14, 2003 8:46 am
Location: Göteborg - Sweden

  • Quote

Post by C.M » Mon Oct 11, 2004 9:21 pm

I have the same problem:

Code: Select all

----------- OSS Sound Initialization -----------
opened sound device '/dev/dsp'
/dev/dsp - bit rate: 16, channels: 2, frequency: 44100
WARNING: mmap 57344 bytes on device /dev/dsp failed: Input/output error

close sound device
WARNING: sound subsystem disabled


------------- Warnings ---------------
during DOOM 3 initialization...
WARNING: mmap 57344 bytes on device /dev/dsp failed: Input/output error
Guess it was really stupid to compile snd_via82xx into the kernel, since I can't try that "dxs_support=3" parameter. Guess I'll have to recompile tomorrow, or any other idea?
Top
Post Reply
  • Print view

11 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic