LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-31-2003, 11:19 PM   #1
Irrylath
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: EvilEntity DR-0.2.5
Posts: 1

Rep: Reputation: 0
Unhappy Quake 3 sound issues with VIA and ALSA


Well, after installing the .pk3 files from the windows q3 disc, running the linux patch and setting up the Enlightenment menu icon, I clicked and thought I would be on my way to getting rid of Windows permanently.

I was wrong. There was a problem with Q3 crashing ingame. After searching for two days, I recompiled my 2.4.21 kernel with sound support, but without any specific sound card support. I installed the latest version of ALSA and configured it for my Via onboard audio using snd-via82xx and adding the following to my modules.conf:

Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
options mmap_valid=1
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

I booted into quake3 and was surprised to find the crashing due to sound was fixed, probably because there was no sound at all.
The options mmap_valid=1 wasn't added until I found after googling (if that's a word) that Q3 needs mmap for the sound to work at all. After that line was added, there was still no sound, and Quake still had the mmap related error message after exiting.

I then ran from a su'd terminal:

Code:
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

and 

echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0p/oss
, thinking that quake 3 couldn't open the device because the record channel was in use. This worked, and I played for hours before shutting down the system for maintenence (airdusting and adding thermal paste, actually).



Here's the current problem, and I apologize for taking so long to get to it. After rebooting I ran the echo commands (see last two code lines) and opened the game thinking it would continue running smoothly, but there was, again, no sound. I su'd and ran the echo'd commands again wondering if I had made any error, but still no sound. Then i realized there was an error in the console I hadn't seen before.

Code:
-------Sound Initialization-----------
um, can't do Getospace?
---------------------------------------
I've spent the last day and night searching the web and newsgroups for any information at all on this, but I've yet to figure out how to fix it, and very little on what it even means. Any help at all would be appreciated.



P3 Coppermine 800mhz
FuturePower FPVA693A
Onboard VIA AC97 Audio
Hercules 3d Prophet III (GeForce3 Ti 500)
256mb PC-133 SDRAM

EvilEntity DR-0.2.5 (a slackware based distro)
 
Old 09-26-2003, 12:16 AM   #2
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

Rep: Reputation: 32
i personally hate alsa, and dont use it at all

disable alsa, then modprobe via83cxxx

or whatever it is... turn your mixer volume up and try that
 
Old 06-04-2004, 02:12 PM   #3
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Rep: Reputation: 15
I'm having the same problem. Running MDK 10.0 Official and have onboard AC'97 audio, Via KT600 chipset.

I use snd-via82xx drivers by default. Quake loads fine but no sound. I read somewhere that if you change it to via83cxxx that the problem should be fixed. When I do change the driver, Quake doesn't load at all.

Now I'm curious about this Linux patch. I have the Quake III that was packaged in the tin box, and ported by Loki Games - the native Linux version. Do I need to patch my Quake to get it up to date? If so, could you please point me to the correct file. Maybe that would help the no audio issue.

On a side note, I'm running an ATI Radeon 9800 Pro. With the new ATI drivers just released I was able to install the drivers with no problems at all with my 2.6.3-7mdk kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA sound issues lamiczka Linux - Software 9 08-05-2005 07:02 PM
no sound quake 3 - slack 10(using alsa) spd_vhi Linux - Games 0 10-18-2004 01:54 AM
Quake III sound issues Diminished7th Linux - Games 1 06-20-2004 06:08 PM
Various issues with sound (ALSA, emu10k1) Zoombie Linux - Hardware 2 12-26-2003 05:25 PM
sound server issues, ALSA overloading cpu shinacalypse Linux - Software 1 12-14-2003 02:55 PM


All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration