Forums

Skip to content

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

The famous Quake3 sound crash

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
33 posts
  • 1
  • 2
  • Next
Author
Message
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

The famous Quake3 sound crash

  • Quote

Post by Nimo » Thu Jan 20, 2005 4:35 pm

I'm trying to get Quake3 to work with sound.

Without doing anything it will work, but with no sound.


If I do:

Code: Select all

echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
sound will work in the menu but when I start to play it will freeze, so I've to kill it.

My soundcard uses snd-via82xx as sounddriver, and I haven't yet seen anyone got quake3 + sound work with this one.


Is it impossibly or otherwise how to get quake3 + sound running here.


(i've both alsa and alsa-oss loaded)

Edit: corrected spelling error in title
Last edited by Nimo on Sun Nov 26, 2006 1:32 pm, edited 3 times in total.
//Nimo
Top
petrasl
n00b
n00b
User avatar
Posts: 69
Joined: Tue May 18, 2004 3:07 pm
Location: Swiss

  • Quote

Post by petrasl » Thu Jan 20, 2005 7:06 pm

Same problem for me, anyway I got quake3 working with winex3 some time ago...
Top
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

  • Quote

Post by Nimo » Fri Jan 21, 2005 11:08 am

Hmm...
Could an old SoundBlaster16 PCI solve my problem?
//Nimo
Top
Mit
Apprentice
Apprentice
User avatar
Posts: 260
Joined: Sun Apr 13, 2003 6:58 pm
Location: Under a rock.
Contact:
Contact Mit
Website

  • Quote

Post by Mit » Fri Jan 21, 2005 12:30 pm

Nimo wrote:Hmm...
Could an old SoundBlaster16 PCI solve my problem?
probably.

From what i've found the via on board chip is very basic and not really worth the chips its made of. i've spent long enough fighting to try and get one working only to give up and get a cheapo seperate card (its sat on my desk now waiting to be installed)
Tim
Personal Site
FeedJuggler - RSS Made Easy
The TV Guide
Top
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

  • Quote

Post by Nimo » Wed Feb 02, 2005 11:54 pm

I finally got it working! :D


The only thing I did was to write this in the console inside quake3 (press ~ to get the console to appear):

Code: Select all

set +snddevice /dev/adsp
I didn't even had to write:
"echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss"-thing.
//Nimo
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Thu Feb 10, 2005 12:17 am

I was having the same problem (exactly) and even use the same driver, but the fix doesn't touch it for me -- anyone have other ideas?
Top
russianpirate
Veteran
Veteran
User avatar
Posts: 1167
Joined: Sun Sep 26, 2004 2:47 am
Location: Detroit, MI

  • Quote

Post by russianpirate » Thu Feb 10, 2005 3:36 am

do u use alsa? if yes, emerge "alsa-oss" if u didnt already.. if u have it.. check the device permissions /dev/dsp and try running as root.. see if it works
Top
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

  • Quote

Post by Nimo » Thu Feb 10, 2005 1:32 pm

Try:

Code: Select all

set snddevice /dev/adsp
and

Code: Select all

seta +snddevice /dev/adsp
and

Code: Select all

seta snddevice /dev/adsp
too.
//Nimo
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Fri Feb 11, 2005 8:50 pm

Well, I tried them all, but no joy so far. maybe there's a particular channel that i'd have to unmute on ALSA?
Top
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

  • Quote

Post by Nimo » Sat Feb 12, 2005 9:06 am

Yes, try:

Code: Select all

alsamixer
as root and make sure that Master and PCM-channels are unmuted.[/code]
//Nimo
Top
jrz
Apprentice
Apprentice
User avatar
Posts: 272
Joined: Wed Mar 19, 2003 5:43 am
Location: Sacramento, CA USA
Contact:
Contact jrz
Website

  • Quote

Post by jrz » Sat Feb 12, 2005 10:15 am

adding this line to ~/.q3a/baseq3/autoexec.cfg (create it if it doesn't exist)

Code: Select all

seta snddevice "/dev/adsp"
solved the problem for me. thanks! 8)
Press F1 for Help.
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Sat Feb 12, 2005 11:05 pm

called for alsa channels are unmuted (as i suspected, but just wanted to make sure), but that bit of code still doesn't help me.. i'm getting this error from the initialization printout though:

Code: Select all

------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/adsp: Input/output error
Could not mmap /dev/adsp
which, all things considered, is kind of strange. according to ls, /dev/adsp (and dsp) look like this:

Code: Select all

lr-xr-xr-x  1 root root 10 Feb 11 10:47 /dev/adsp -> sound/adsp
lr-xr-xr-x  1 root root 9 Feb 11 10:47 /dev/dsp -> sound/dsp
hopefully that means something to someone, cause i remain in the dark.
Top
hoputa
n00b
n00b
User avatar
Posts: 12
Joined: Mon Jan 17, 2005 7:40 pm

  • Quote

Post by hoputa » Tue Feb 15, 2005 3:45 pm

Same problem here.

Running amd64, VIA integrated soundcard using snd-via82xx

I get sound to work with the cat > /proc ... line. However it only works in the menu. When I start fighting the game freezes.
Quake3 sound initialization outputs this:

------- sound initialization -------
------------------------------------
----- Sound Info -----
sound system is muted
1 stereo
32768 samples
16 samplebits
1 submission_chunk
48000 speed
0x5b2e0000 dma buffer
No background file.
----------------------
Sound memory manager started
Loading vm file vm/ui.qvm.
VM file ui compiled to 594408 bytes of code
ui loaded in 1963008 bytes on the hunk
35 arenas parsed
32 bots parsed

Which seems normal to me.

All the set and seta lines didn't help me either.
I've even tried something else I found googling around. It said to add this option to your modules.conf

options snd-via82xx dxs_support=4

Didn't help either. Any other ideas?
Top
darkhills
n00b
n00b
Posts: 8
Joined: Tue Apr 20, 2004 1:08 am

sigh

  • Quote

Post by darkhills » Fri Feb 18, 2005 12:12 am

Did anyone solve this? I have the *exactly* the same problem...

DH :x
Top
Nimo
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Nov 23, 2003 12:23 pm

  • Quote

Post by Nimo » Fri Feb 18, 2005 1:54 pm

What have you set snddevice to?
//Nimo
Top
darkhills
n00b
n00b
Posts: 8
Joined: Tue Apr 20, 2004 1:08 am

well

  • Quote

Post by darkhills » Fri Feb 18, 2005 3:18 pm

dsp and adsp. I've tried numerous other fixes mentioned in these forums and elsewhere, and no luck.

QIII runs fine, no sound. UT runs fine, no video 8O In my messing around last night, I managed to thoroughly
bork my nvidia driver install (more on that tonite perhaps, it's a whole nother weird one). Grr :roll:

I was thinking of trying a 32bit install, but given what I've seen here and elsewhere it doesn't
look like 64bit Gentoo is the culprit, alas.

Sigh.

Off to work....

DH
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Fri Feb 18, 2005 7:42 pm

yeah, same for me. i tried all the above commands from within quake3 (using the ~-term) to no avail. i'm using ALSA, not compiled as modules, and set it up pretty closely following the Gentoo ALSA guide (http://gentoo.org/doc/en) if that helps.
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Sat Feb 19, 2005 10:55 pm

according to ID:
ID wrote: Some beta Alsa drivers have been reported to crash with Q3. Non-beta ones are fine.

VIA chipset and AC97 driver:
This combination is known to have various issues. They have been fixed in recent drivers (thanks to Arne Schmitz for the heads up):

http://sourceforge.net/projects/gkernel has got the up to date version of
the AC97 kernel driver. The current version can be found here:

http://prdownloads.sourceforge.net/gker ... .15.tar.gz

It has working mmap sound, so Q3 shouldn't be a problem any more.
(rest can be found here: http://zerowing.idsoftware.com/linux/q3a/#nosound)

Anyone know how to actually set that up?
Top
jrz
Apprentice
Apprentice
User avatar
Posts: 272
Joined: Wed Mar 19, 2003 5:43 am
Location: Sacramento, CA USA
Contact:
Contact jrz
Website

  • Quote

Post by jrz » Sun Feb 20, 2005 12:52 pm

just wondering why the sound devices belong to root group and not audio.

Code: Select all

joe@bodhi ~ $ ls -l /dev/sound/*dsp
crw-rw----  1 joe audio 14, 12 Feb 14 14:58 /dev/sound/adsp
crw-rw----  1 joe audio 14,  3 Feb 14 14:58 /dev/sound/dsp
Press F1 for Help.
Top
darkhills
n00b
n00b
Posts: 8
Joined: Tue Apr 20, 2004 1:08 am

not just ac97

  • Quote

Post by darkhills » Sun Feb 20, 2005 2:39 pm

Myself, I have an Epox board with the onboard RTL850. Everything works fine except in hardware accelerated games

Tonite after work I may put in my SBLIVE and disable the onboard sound just to see what happens. Won't help me with
the UT video tho

In WinXPbeta and Win98 on the same box I have such horrible driver issues I don't even want to talk about it...

This is starting to get to me, I have this new, wonderfully fast box and I can't play any games on it lol :roll:

DH
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Mon Feb 21, 2005 3:01 am

I looked around in the docs what came with those drivers.. as it turns out, there is a third PCI channel that isn't being activated by the standard kernel drivers for the via82cxxx chipset, hence the inability to mmap the device.. now if i only knew how to fix it! I'm not entirely convinced that the drivers haven't been merged in to the kernel (the last update was in 2001), and i'm also not positive that i actually have a chipset that applies to this. I found, on the ALSA site, documentation on how to compile in my own drivers to the kernel, so i'll see where that leads me later tonight. Anyone else come up with anything new?
Top
darkhills
n00b
n00b
Posts: 8
Joined: Tue Apr 20, 2004 1:08 am

unfortunately not

  • Quote

Post by darkhills » Mon Feb 21, 2005 6:32 am

no, not yet

I'm still trying to get my broken nvidia drivers to work again (ran into the circular dependency problem menitoned elsewhere on the forums)

I have it mostly licked except I can't get my original keymap back for some reason. Results vary from one startx to another, some having every keypress being interpreted as "change resolution" (google shows it's an old config problem, but danged if I can find a fix) then sometimes it works but doesn't map right. rc.conf is the same as it was before the xorg 6.8.2 upgrade.

I'm running a emerge deep world right now kind of as a last resort to try to fix a lot of odd problems I ran into. I got my nvidia drivers back - the /usr/lib64 change and lots of reemerge - and glx etc loads ok, but when I try to run any opengl app I get a error message about missing libGL.so.6 - and that's as far as I got, after unmerges/reemerges.

an interesting note - after unmerging xorg/nvidia my conflict between emul-linux and xorg-x11 was fixed - with freetype being listed as the first dependency for xorg-x11. Not sure what that means...

If I can't get this sorted out tonite I'm going to chroot a 32bit install on some spare partition space and see if that has the same problems. Results by the end of he week lol

I need a beer :D

DH
Top
jrz
Apprentice
Apprentice
User avatar
Posts: 272
Joined: Wed Mar 19, 2003 5:43 am
Location: Sacramento, CA USA
Contact:
Contact jrz
Website

  • Quote

Post by jrz » Mon Feb 21, 2005 11:57 am

I definitely had this problem and what fixed it was adding this line to ~/.q3a/baseq3/autoexec.cfg

Code: Select all

seta snddevice "/dev/adsp"
This trick:

Code: Select all

echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
Maybe the permissions of /dev/sound/* also have some kind of effect.
Check in /etc/security/console.perms to see if this line exists and looks like:

Code: Select all

<console>  0660 <sound>      0660 root.audio
I recall having to change it from 0600 to 0660. Perhaps it might do something, or not, it did solve another sound problem I was having.
Press F1 for Help.
Top
kortec
n00b
n00b
Posts: 68
Joined: Mon Dec 20, 2004 5:25 am

  • Quote

Post by kortec » Thu Feb 24, 2005 6:39 am

not giving me anything.. the guy whom i found out about the other PCI channel from sugguested i just save myself the pain and buy another card.. not exactly what i was looking for, to say the least. Haven't gotten to thrashi... er.. installing the other drivers I found in to the kernel; will update if anything happens. really just hoping this post is enough more to grab the attention of some Linux God On High. Help?
Top
pingufunkybeat
l33t
l33t
Posts: 610
Joined: Wed Dec 01, 2004 12:03 am

  • Quote

Post by pingufunkybeat » Tue Mar 01, 2005 11:56 pm

Well, with /dev/adsp, I don't get any sound at all.

I guess I'm stuck with mods... :/
Top
Post Reply
  • Print view

33 posts
  • 1
  • 2
  • Next

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