Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
5.1 Surround with ALSA and OpenAL. [ALSA VoIP added]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Wed Jan 28, 2004 11:06 pm    Post subject: Reply with quote

Moled: others are getting stuff like that in Unreal Engine games with ALSA 1.0. It's an OpenAL issue if I recall, you may want to post something to the OpenAL mailing list.

Information here: https://forums.gentoo.org/viewtopic.php?p=813198&highlight=#813198
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Thu Jan 29, 2004 12:26 am    Post subject: Reply with quote

no, I swapped it back and it wasn't ok
i've not played the game in quite a while tho

I don't have access to my 5.1 speakers atm, so can't really test it

where did you get the info of the contents of the .openalrc from?

i'm interested in this now, see what it can do :P
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Thu Jan 29, 2004 2:04 am    Post subject: Reply with quote

Moled: Got openalrc info off google and people on irc. Also, ut2003 seems to be working with latest openal from cvs and 2.6.2-rc1-mm1
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Thu Jan 29, 2004 1:35 pm    Post subject: Reply with quote

hi

i think i'm to stupid to emerge openal-cvs-3 :(
after reading some portage relatet how-to's
i've copied the ebuild into /usr/portage/openal-cvs-3 and if i type
emerge openal-cvs-3 i get

root@matrix idej # emerge openal-cvs-3
Calculating dependencies
!!! Problem in openal-cvs-3/openal-cvs-3 dependencies.
!!! "Specific key requires an operator (openal-cvs-3/openal-cvs-3) (try adding an '=')"
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Thu Jan 29, 2004 4:27 pm    Post subject: Reply with quote

iDeJ wrote:
hi

i think i'm to stupid to emerge openal-cvs-3 :(
after reading some portage relatet how-to's
i've copied the ebuild into /usr/portage/openal-cvs-3 and if i type
emerge openal-cvs-3 i get

root@matrix idej # emerge openal-cvs-3
Calculating dependencies
!!! Problem in openal-cvs-3/openal-cvs-3 dependencies.
!!! "Specific key requires an operator (openal-cvs-3/openal-cvs-3) (try adding an '=')"
You need to uncomment the PORTDIR_OVERLAY line in your make.conf, and put it in /usr/local/portage/media-libs/openal-cvs/. Though maybe if you can't figure it out you shouldn't use it.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Thu Jan 29, 2004 7:30 pm    Post subject: Reply with quote

thx for helpe, openal emerged just fine (after i have unmerged my old openal installation)
but the only difference is that i have no sound in ut2k3-demo

also if i mute Audigy Analog/Digital Output Jack i get no sound at all :(

just a hint, an
ln -s /opt/ut2003-demo/System/openal.so /usr/lib/libopenal.so will not work, cuz libopenal.so itself is a symlink to /usr/lib/libopenal.so.0.0.6 (in my case)

but i've still a problem, in ut i get only sound out of the 2 boxes behind me :(
the other ones are quiet :(
and if i disable the Audigy Analog/Digital Audio Jack i have no sound (nowhere in my system)

i've an Audigy2 Card and the build-in Alsa Driver in my 2.6 Kernel
what could be wrong?
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Thu Jan 29, 2004 10:31 pm    Post subject: Reply with quote

iDeJ wrote:
just a hint, an
ln -s /opt/ut2003-demo/System/openal.so /usr/lib/libopenal.so will not work, cuz libopenal.so itself is a symlink to /usr/lib/libopenal.so.0.0.6
Just a hint, we are making a symlink from /usr/lib/libopenal.so to /opt/ut2003/System/openal.so, not from it. You messed up your sound and will need to do it the way I explain in the howto and reemerge openal-cvs.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Fri Jan 30, 2004 1:54 pm    Post subject: Reply with quote

hi,

no soory, just mixed it up in this thread :)
after reemergin openal "libopenal.so" is a symlink to "libopenal.so."

Quote:

root@matrix idej # ls -l /usr/lib/ | grep openal
-rwxr-xr-x 1 root root 418378 Jan 30 11:26 libopenal.a
lrwxrwxrwx 1 root root 13 Jan 30 11:26 libopenal.so -> libopenal.so.
-rwxr-xr-x 1 root root 310523 Jan 30 11:26 libopenal.so.0.0.7
root@matrix idej #


Quote:

root@matrix idej # ls -l /opt/ut2003-demo/System/ | grep openal
lrwxrwxrwx 1 root root 27 Jan 30 11:28 openal.so -> /usr/lib/libopenal.so.0.0.7


if i make a symlink to openal.so or openal.so. i get no sound at all, with libopenal.so.0.0.0.7 i get only sound out of the two boxes behind me
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri Jan 30, 2004 11:48 pm    Post subject: Reply with quote

Do you have your mixer settings set properly, turned up? (Specifically Wave and PCM.)
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Sat Jan 31, 2004 10:04 am    Post subject: Reply with quote

i think, yes
but i don't know what all this EMU10k1 PCM/EMU10k! PCM Send/EMU10K1 PCM Send Routing means, so it could be that there is one mistake :(

a snapshot of my mixer settings :)
[url]
http://www.badsooden.de/bilder/mixer.jpeg
[/url]
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sat Jan 31, 2004 5:58 pm    Post subject: Reply with quote

IDeJ: Try muting the "Audigy Analo... Output Jack" in your second mixer window. Also unrelated you have Tone muted, if you unmute that the Bass/Treble sliders you have next to it will work.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Sun Feb 01, 2004 9:37 am    Post subject: Reply with quote

if i do so i have no sound at all

XMMS(Alsa Plugin)/KDE/UT2k3, nowhere, even with aplay :(
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sun Feb 01, 2004 5:55 pm    Post subject: Reply with quote

IDeJ: Are you attempting to get your sound via digital out or something?
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Sun Feb 01, 2004 6:58 pm    Post subject: Reply with quote

nope, normal Ananlog connection :)

could it be that i have to use other settings with an Auduigy2?
or that i have mutet something wrong?

i mean, all 6 boxes are working just fine, only with the 4.0 settings in ut and ArmyOps i getting problems
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sun Feb 01, 2004 7:09 pm    Post subject: Reply with quote

So if you mute the digital/analog toggle (which tells it to do analog) , you can get normal sounds outside of ut2003?
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Sun Feb 01, 2004 9:32 pm    Post subject: Reply with quote

if i haven't got it mutet and i haven't got a .openalrc in my home dir, then i have normal sound, if i have it mutet i have no sound at all
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Thu Feb 05, 2004 11:35 am    Post subject: Reply with quote

what do i stick in my .openalrc file if I want to use my 7.1 analog speakers, or is that not supported...?
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri Feb 13, 2004 2:23 am    Post subject: Reply with quote

Check to see if surround71 is available.
Code:
ls /usr/share/alsa/pcm/


Edit: Even if it were available, you'll need to keep speakers at four and use surround40. I found out today that OpenAL can't handle any more than that.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Wed Feb 18, 2004 2:00 am    Post subject: Reply with quote

I've updated the ebuild to apply Mercury's ALSA capture patch, it should allow voice to work with alsa in ut2004. Be sure to read the entire page noted in the postinst, and note the patch is very new and probably wont work for you.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Feb 18, 2004 5:38 pm    Post subject: Reply with quote

i have a sblive! and i tried the openal thingy, but i'm stuck. i've made a link from /usr/lib/libopenal.so to <UTDIR>/System/openal.so and my sound was gone. completely. is there a way to check, if one's setup is working?
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Feb 18, 2004 6:32 pm    Post subject: Reply with quote

shouldn't the link be the other way around?
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Feb 18, 2004 7:27 pm    Post subject: Reply with quote

i did ln -s /usr/lib/libopenal.so <utdir>/System/openal.so. is this correct? it should be.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Wed Feb 18, 2004 11:24 pm    Post subject: Reply with quote

Not sure what your problem is. Do you have alsa in your USE, setup the .openalrc? In other news, wolf31o2 is replacing the openal ebuild in portage with mine (including voip stuff), but making it a snapshot and hardmasking it, so soon it'll be even easier for people to get this stuff working (hopefully)
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Fri Feb 20, 2004 12:15 am    Post subject: Reply with quote

have you read this?: http://icculus.org/~warp/ut2004/
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri Feb 20, 2004 2:28 am    Post subject: Reply with quote

I'm about to update the ebuild again. Warp (Mercury) has released a new patch, this one fixes all the choppiness issues with voip (finally, people can hear me perfectly with ALSA!) and gets rid of the slow downs while holding F (VoiceTalk). Also going to include fixes that wolf31o2 made to the ebuild (Snapshot version in portage and hardmasked now)
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum