Author Topic: Openal and .alsoftrc needed to run AlienArena  (Read 1753 times)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1318
Openal and .alsoftrc needed to run AlienArena
« on: March 23, 2011, 12:35:26 PM »
Hey,

packaging AlienArena and this crashes hard when entering the game. Then Beerhunter came to the rescue and sent me a link about creating an .alsoftrc file

I have pulseaudio activated and created a ~/.alsoftrc file with this content:
[general]
drivers=port

other possibilities for the drivers entry are:
drivers=alsa

and

drivers=oss

and the game runs now (at least the two three minutes I'm alive in the game :-)

Soundsetup is kind of black magic to me - does anyone know if this setting can be set globally on the system - and what package should generate this global file? I'll then take a look at packaging it,

cheers,
MBantz

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #1 on: March 24, 2011, 01:01:07 PM »
I fixed it mate :) and tested of course
Seems the global conf file is in /etc/openal

/etc/openal/alsoft.conf changed to
drivers = oss,alsa,pulse

that line needs to be uncommented and changed to the line i wrote...

it wont work if port audio is in the line.

I believe the openal package needs to be rebuilt so we can change the config file.



Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1318
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #2 on: March 24, 2011, 02:02:04 PM »
Wow, perfect Slax!

I'll take a look at the openal package (after we get the pixbuf thingey out of the way ;-)

cheers,
MBantz

Offline dbatjr

  • New Friend
  • *
  • Posts: 1
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #3 on: May 19, 2011, 11:42:18 AM »
Thanks,

This is the second time in just as many days that the PClinuxOS forum has provided me with the solution to a vexing problem!

Alien-Arena was crashing on me whenever I tried to enter a game. 

Changing the config file as suggested by slax fixed it.

Thanks again!

Tom

Offline tren

  • Jr. Member
  • **
  • Posts: 36
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #4 on: June 10, 2011, 08:55:42 PM »
Quote
/etc/openal/alsoft.conf changed to
drivers = oss,alsa,pulse


So, what did this fix?

I tried it, rebooted, and I still have the same issue: only one app at a time can access pulseaudio. Pulse or ALSA or whatever won't allow more than one app to use the sound system.
If I sound confused or confusing it's because I am.


Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #5 on: June 11, 2011, 08:37:50 AM »
That is not the same problem.... Using pulse you should be able to run multiple sound sources on alsa :/
Go to control center and under audio enable pulse.



Offline tren

  • Jr. Member
  • **
  • Posts: 36
Re: Openal and .alsoftrc needed to run AlienArena
« Reply #6 on: June 11, 2011, 08:47:27 AM »
That is not the same problem.... Using pulse you should be able to run multiple sound sources on alsa :/
Go to control center and under audio enable pulse.

Pulse is enabled. Still not working. Sound is good when it works -- only it's one app at a time.
If I sound confused or confusing it's because I am.