Forums

Skip to content

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

quake3 and via82cxxx,ac97 soundcard

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
18 posts • Page 1 of 1
Author
Message
Morto
n00b
n00b
Posts: 27
Joined: Sun Feb 02, 2003 1:33 am

quake3 and via82cxxx,ac97 soundcard

  • Quote

Post by Morto » Wed Feb 05, 2003 7:19 pm

I have a problem with quake3, my soundcard is a ac97 with via82cxxx kernel modules,it hangs at the start of a match,i have no problem with oss commercial drivers but i really need to buy them for play?Is there a solution for permit me to play it using this card?My kernel is 2.4.19 with loaded soundcore, ac97_codec, via82cxxx_audio, i use gnome 2 with esound,i've already tried to stop esd but trere was bno difference, anyone know the solutions?
Top
snikkt
n00b
n00b
Posts: 11
Joined: Fri Sep 27, 2002 8:21 pm

  • Quote

Post by snikkt » Thu Feb 06, 2003 12:23 am

OSS (free) drivers _should_ work but if you are having problems with
those you can try the alsa drivers.

/Snikkt
Top
Spack
n00b
n00b
User avatar
Posts: 32
Joined: Sun Feb 02, 2003 3:46 am

  • Quote

Post by Spack » Fri Feb 07, 2003 1:05 am

I have this card and I run quake3. I am using the alsa drivers with OSS emulation (so essentially I have support for both oss and alsa). Sound works perfectly.

See the alsa howto for information on how to set this up. Your alsa driver will be 'via82xx'.
Gentoo 2004.4
Gnome 2.8
Athlon XP 1800+ 512MB DDR
Promise SATA
Top
STiAT
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Mon May 06, 2002 1:14 pm
Location: Vienna, Austria

  • Quote

Post by STiAT » Fri Feb 07, 2003 8:48 am

the same over here. quake3 on a sb128pci (old one ;))

Now, i just can say b careful if you have running sth. using the sound in the background (MP3-Player, or other things), or maybe BLENDER or things like that. Somehow they block the device, so that quake can't use it, then it starts hanging at boot... i got that problem several times when i started quake to fast after starting KDE too...

STi
Top
Morto
n00b
n00b
Posts: 27
Joined: Sun Feb 02, 2003 1:33 am

  • Quote

Post by Morto » Sat Feb 08, 2003 12:19 am

i have installed alsa-driver modules and it works well with gmplayer,xmms,xmame by oss-emulation but quake3 still give problems, it says:

------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance
code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
what can i do?
Top
FINITE
Guru
Guru
User avatar
Posts: 449
Joined: Fri May 10, 2002 10:50 pm

  • Quote

Post by FINITE » Sat Feb 08, 2003 2:23 am

Ya, more than likely you has something running in the background that was using the sond card when Quake 3 was started. If you want to be able to listen to music and play the game at the same time you need to point quake3 to a fake sound device (like dsp1), you won't get sound in Quake3 by doing that though. I don't think that there are any linux drivers for that sound chip that support full duplex. Someone please correct me if im wrong.
Top
Morto
n00b
n00b
Posts: 27
Joined: Sun Feb 02, 2003 1:33 am

  • Quote

Post by Morto » Sat Feb 08, 2003 3:14 am

i don't have nothing in background i tried those programs only for test, i don't know why but quake3 can't access to /dev/dsp, it's the only one that have this problem
Top
DanBUK
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon May 12, 2003 1:58 pm
Location: London, UK
Contact:
Contact DanBUK
Website

Same issue

  • Quote

Post by DanBUK » Wed May 28, 2003 3:53 pm

I am getting the same problem + I have no other backgroud sound processes going.
Anyone found a solution to this one??
Top
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

  • Quote

Post by col » Sat Jun 14, 2003 11:25 am

I have the same problem with some programs....ET & xmms....other progs work fine ?
Top
mantis
Tux's lil' helper
Tux's lil' helper
Posts: 134
Joined: Tue Jul 30, 2002 8:42 am
Location: Sydney

  • Quote

Post by mantis » Sat Jun 14, 2003 10:05 pm

The via82xx chipset does not support mmap mode by default. I have tried to get it working but had no luck. Spack says he has it running and i think it could be from alsa-oss installed too. Spack could you tell us how you got it working?
Top
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

  • Quote

Post by col » Sat Jun 14, 2003 10:11 pm

I am using the OSS module....I fixed the problem by turning off kde arts
Top
mantis
Tux's lil' helper
Tux's lil' helper
Posts: 134
Joined: Tue Jul 30, 2002 8:42 am
Location: Sydney

  • Quote

Post by mantis » Sat Jun 14, 2003 10:15 pm

OSS module from the kernel?
Top
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

  • Quote

Post by col » Sun Jun 15, 2003 11:15 am

yes kernel 2.4.21 oss ... loading as a module
Top
mantis
Tux's lil' helper
Tux's lil' helper
Posts: 134
Joined: Tue Jul 30, 2002 8:42 am
Location: Sydney

  • Quote

Post by mantis » Sun Jun 15, 2003 7:22 pm

Ah. Im trying to get it work properly with ALSA so hopefully i can use dmix. Ummm i tried it yesterday under 2.5.70 instead of having to install alsa-crap, i got mmap working with from commands from the Docs, it works for quake3 but for quake3-urt it freezes on the main screen. :\
Top
Obz
Retired Dev
Retired Dev
Posts: 274
Joined: Tue Jun 11, 2002 9:12 am

  • Quote

Post by Obz » Mon Jun 16, 2003 1:04 am

i used use those OSS modules with q3, without problem, but as a suggestion you might like to try, in your ~/.q3a/baseq3/q3config.cfg, you can change the snddevice variable to /dev/dsp or /dev/dsp1 (there shouldnt be much running on dsp1). this'll at least determine whether there's something running in the background and hogging the dsp or not.

you should also be able to try other apps this way (i saw a mention of problems with xmms?)

i guess the other alternative is to install alsa, which seems to clear up most problems, and personally, i thought i could tell a difference (real or imagined) in the sound quality of my via,ac97 from using the OSS drivers to alsa (alsa sounded 'better' i thought).

good luck.
mike.
Top
mantis
Tux's lil' helper
Tux's lil' helper
Posts: 134
Joined: Tue Jul 30, 2002 8:42 am
Location: Sydney

  • Quote

Post by mantis » Mon Jun 16, 2003 4:53 am

The error im getting is that MMAP isn't supported. So i have to pass some variables to alsa-oss files in /proc/asound/card0/pcm0*/oss and this will allow me to play things that require mmap, like using the alsa driver for xmms selecting mmap mode wont work.
Top
empi
n00b
n00b
Posts: 12
Joined: Thu May 15, 2003 10:05 am
Location: Hannover,Germany

  • Quote

Post by empi » Wed Jun 18, 2003 11:53 am

I m getting the exact problem, though with a different card, cs46xx driver. No OSS, not even in alsa.

------ sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance
code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------

But from this thread I could not identify the solution. Seems like some settings work for people, same settings dont for others.
So what do you think,do I need to install dmix, do I have to install alsa-oss ?
:?
Top
empi
n00b
n00b
Posts: 12
Joined: Thu May 15, 2003 10:05 am
Location: Hannover,Germany

  • Quote

Post by empi » Wed Jun 18, 2003 8:06 pm

:lol:

Code: Select all

ACCEPT_KEYWORDS=~x86 emerge alsa-driver
ACCEPT_KEYWORDS=~x86 emerge alsa-oss
ACCEPT_KEYWORDS=~x86 emerge alsa-util
ACCEPT_KEYWORDS=~x86 emerge alsa-xmms
kcminit arts 
 artsdsp -m quake3  
solved the problem for me. The emerge part might be optional though.
Top
Post Reply
  • Print view

18 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