Author Topic: Sound Issues on linux client (verions mint13maya) [SOLVED]  (Read 495 times)

Legacy_stackmanpf77

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Sound Issues on linux client (verions mint13maya) [SOLVED]
« on: October 08, 2012, 11:33:46 pm »


               I'm having alot of trouble finding a solution to what appears to be a common problem with getting sound to work in the various linux dist's....

I've troaled (not trolled, hehe) through linux forums, these forums, various blogs, etc, and tried at least a dozen different combinations of ways of altering the ./nwn script to get it to run with sound.

Some examples -
added the line export SDL_AUDIODRIVERS=alsa (fail)
deleting the ./lib from the LD_LIBRARY_PATH command line
installed the esound clients and re-written the lib_path command line with that instead of the default audio drivers
even tried two completely re-written run scripts that look Nothing like the default LIB script or the slight tweaks to it.

Hardware shouldn't be a problem, as I stupidly have gone so far into overkill it's borderline genocide (i7 960 o/clocked to 4.2gHz, gtx560ti x2 in SLI, and 12gig ddr3 2000 ram) so that shouldnt be the problem...

Any other solutions/suggestions would be greatly appreciated, as I've been fartin' around with it for two days now to no avail '<img'> 

I DID get sound working briefly with the SDL_AUDIODRIVERS=alsa command line, but that died with a system shutdown/startup, and nothing I have done has gotten it working again '<img'>

Aside from sound, the game works gun. No screen flicker on high res (1920x1080), no mouse lag, no issues with the nwn movies, blablabla.

(Finally, should also note that I tried both the ravage installer and leech's guide on the ubuntu forums for both the complete install and their sound fixes, neither worked)

Thanks in advance for any assistance/suggestions that might be forthcoming.

stackmanpf77

p.s.  I probably should've included the current nwn script that I've got 'running'

#!/bin/sh

# This script runs Neverwinter Nights from the current directory

export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
export SDL_AUDIODRIVERS=alsa

# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
export LD_LIBRARY_PATH=:./miles:$LD_LIBRARY_PATH

./nwmain $@
               
               

               


                     Modifié par stackmanpf77, 10 octobre 2012 - 12:58 .
                     
                  


            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
Sound Issues on linux client (verions mint13maya) [SOLVED]
« Reply #1 on: October 10, 2012, 09:31:32 am »


               In your script, there seems to be a typo: It should be
export SDL_AUDIODRIVER=alsa
instead of
export SDL_AUDIODRIVERS=alsa

Which Linux distribution are you using? On an up to date ubuntu,
export SDL_AUDIODRIVER=pulse
might work, too.

HTH
Greetings
Skildron
               
               

               


                     Modifié par Skildron, 10 octobre 2012 - 08:40 .
                     
                  


            

Legacy_stackmanpf77

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Sound Issues on linux client (verions mint13maya) [SOLVED]
« Reply #2 on: October 11, 2012, 03:41:18 am »


               ahh, yea, the script wasnt a cut n paste '<img'>
just spazzed out on the typing...
as the topic title says, linux version is mint13(maya) '<img'>
as to what the problem was.... /embarrased face

turns out that somehow when i'd done a system reboot after getting the game setup, the output sound device had magically swapped itself back to the default, something I only noticed when I was fiddling around trying to get sound volume to go up and down on youtube content :/

changing it back to what it's Supposed to be (dig-optical, not analogue stereo) fixed all the audio issues, hehe...

linux is having a very steep learning curve for me, lol.

but thanks for the reply Skildron, appreciated
               
               

               
            

Legacy_stackmanpf77

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Sound Issues on linux client (verions mint13maya) [SOLVED]
« Reply #3 on: October 11, 2012, 03:43:03 am »


               (hmm.... my reply isn't visible to me... but appears in the forums topics... oh well)