Page 1 of 1

aprq2

Posted: Wed Nov 16, 2005 7:07 pm
by Maurox
I have problems with the sound on linux, aprq2 show me this :

------- sound initialization -------
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.


I dont know what's worng plz help me.

Posted: Thu Nov 17, 2005 2:29 am
by BeAViS
i don't know anything about linuxshit ;)

haudrauf will surely help you when he sees the thread

Re: aprq2

Posted: Thu Nov 17, 2005 2:37 am
by NRGizeR
Welcome dear linux user :)

Are your user a part of the 'audio' group (do you have sound in other games?) and is /dev/dsp correctly chmodded? (should be 660)

I've noticed that q2 can be a pain in the ass to config for linux, I don't know why as it is quite easy to install and play other games, but q2 just seems to have a mind of its own, sometimes it works, sometimes not... :/

also try to turn 'sndalsa' on or off to try with and without ALSA sound...

hmm... now I think I'm out of ideas :) gl

oh and btw... did you download a binary, or did you compile apr yourself?

Re: aprq2

Posted: Thu Nov 17, 2005 8:20 am
by Maurox
NRGizeR wrote:Welcome dear linux user :)

Are your user a part of the 'audio' group (do you have sound in other games?) and is /dev/dsp correctly chmodded? (should be 660)

I've noticed that q2 can be a pain in the ass to config for linux, I don't know why as it is quite easy to install and play other games, but q2 just seems to have a mind of its own, sometimes it works, sometimes not... :/

also try to turn 'sndalsa' on or off to try with and without ALSA sound...

hmm... now I think I'm out of ideas :) gl

oh and btw... did you download a binary, or did you compile apr yourself?
I compile myself because we have a little anticheat based on aprq2, on windows works fine, on linux a least fine, just sound problem.

I am part of audio group, gpassword -a xxx audio , and /dev/dsp 666, im going to try with 660. I'm using ArchLinux by the way.

Posted: Thu Nov 17, 2005 8:58 am
by ZoRoXo
use XP :D
i dont like linux, bad 4 gaming :P

Posted: Thu Nov 17, 2005 1:09 pm
by Clown
Not what the thread is about. Thanks for the help.

Posted: Thu Nov 17, 2005 2:00 pm
by fuct
ZoRoXo wrote:use XP :D
i dont like linux, bad 4 gaming :P
i know i am contradicting my self but i couldnt resist


IF YOU CANT HELP DONT FUCKING REPLY

Posted: Thu Nov 17, 2005 3:17 pm
by NRGizeR
umm... I bet you're missing some library then... can't remember which apr actually use, since there are at least sdl, oss, and alsa options when it comes to q2 clients for linux... in case you want to give my aprq2 binary a go, you can find that one (compiled on SuSE 10.0) at http://www.abo.fi/~cbjorkel/aq2/aq2.zip you might also want to try the icculus install and see if you can get that client to work...


btw, did you have sound in other games?

:P

Posted: Thu Nov 17, 2005 6:51 pm
by Maurox
I don't know if i have sound in other games, but i'm sure that is not a problem of library. I found some help, i guess, something about oss-emulation
trough alsa-oss.

Re: :P

Posted: Fri Nov 18, 2005 2:36 am
by NRGizeR
Maurox wrote:I don't know if i have sound in other games, but i'm sure that is not a problem of library. I found some help, i guess, something about oss-emulation
trough alsa-oss.
This is because older versions of aprq2 uses oss sound, so if you use alsa and don't have emulation enabled it wont work, however according to the aprq2 changelog (and Maniac himself :P) alsa sound is enabled in the newest aprq2...

(you can access that through the sndalsa cvar in the q2 console as stated earlier.)

[edit] Just tried it, and if you set:

snddevice default
sndalsa 1

and do a

snd_restart

I atleast can enable ALSA sound in my aprq2 1.18... [/edit]

-NRG

:P

Posted: Fri Nov 18, 2005 7:18 am
by Maurox
thanks for your time :D

Posted: Fri Nov 18, 2005 8:10 am
by NRGizeR
You got it working? :mrgreen: