[Solved] Please help, No sound! Tried just about everything on the Board.
Posted: Mon Jan 01, 2018 7:13 am
Apologies in advance if I'm breaking any board rules to do with formatting my post as I rarely do this and any pointers would be great. I've tried to put as much info as I can muster here, hopefully to make it easier to diagnose the problem.
I'm running Gnustep Ooliite latest build from your website: oolite-1.86.linux-x86_64.run (101mb) after installing the Synaptic version which is pretty dated so I purged it to start a fresh install.
I'm running Linux Mint 17.3 KDE 64bit, Cpu: AMD FX-8370 Eight-Core, Ram: Kingston 8g, Mobo: Asus 970 pro gaming aura, Video: GM107 [GeForce GTX 750 Ti], Audio: SBx00 Azalia (Intel HDA), HDD: various + usb webcam
^as reported from $ lshw --short
1st
Initial run worked from the menu launcher except for no sound. Found this board and tried:
me@somepc:~/GNUstep/Applications/Oolite > ./oolite --nosplash
It seems that your operating system does not have a valid timezone name
configured and is using an abbreviation instead. By comparing timezone
file data it is has been possible to find the actual timezone used, but
doing that is a slow process.
You can avoid slowness of this time zone detecting approach
by setting the environment variable TZ='NZ'
Or You can override the timezone name by setting the 'Local Time Zone'
NSUserDefault via the 'defaults' command line utility, a Preferences
application, or some other utility.
eg "defaults write NSGlobalDomain 'Local Time Zone' 'NZ'"
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/hwC0D0
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/hwC0D0
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
19:05:04.248 [sound.initialization.error]: Failed to open default sound device
2nd
I use .alsoftrc in my home folder as a workaround for alot of games that had sound issues, with good results.
.alsoftrc
[general]
layout_STEREO = fl=-30, fr=30
format = AL_FORMAT_STEREO16
cf_level = 0
sources = 256
frequency = 44100
period_size = 1024
periods = 4
stereodup = false
excludefx =
slots = 4
sends = 2
drivers = pulse,alsa,oss,dsound,winmm,wave,port,solaris
[alsa]
device = /dev/snd/hwC0D0 <<< see below
capture = /dev/snd/hwC0D0
mmap = true
[oss]
device = /dev/dsp
capture = /dev/dsp
[port]
device = -1
[solaris]
device = /dev/audio
[wave]
file =
<<< So I thought maybe if changing this line with every /dev/snd/ device listed below except seq & timer in turn might work.
me@somepc: ls /dev/snd/*
/dev/snd/controlC0 /dev/snd/pcmC0D0c /dev/snd/pcmC1D7p
/dev/snd/controlC1 /dev/snd/pcmC0D0p /dev/snd/pcmC1D8p
/dev/snd/controlC2 /dev/snd/pcmC0D1p /dev/snd/pcmC2D0c
/dev/snd/hwC0D0 /dev/snd/pcmC0D2c /dev/snd/seq
/dev/snd/hwC1D0 /dev/snd/pcmC1D3p /dev/snd/timer
/dev/snd/by-id:
usb-046d_08d7-01
/dev/snd/by-path:
pci-0000:00:12.0-usb-0:4:1.1 pci-0000:00:14.2 pci-0000:01:00.1
Nope.
Looked at other alsa workarounds to no avail.
3rd :idea Tried disabling the lib folder as advised from another post on this board and got:
me@somepc~/GNUstep/Applications/Oolite > ./oolite --nosplash
./oolite.app/oolite: error while loading shared libraries: libgnustep-base.so.1.20: cannot open shared object file: No such file or directory
Erk. It looks like Oolite died with an error. When making an error
report, please copy + paste the log above into the report.
(Press Ctrl-C to continue)
^C
Put the folder back and then removed 'libopenal.so.1' and 'libSDL-1.2.so.0' each in turn & also together with the same initial result. I guess both files reside on my system (but they could be symlinked to other versions, I'm not sure) as the error message didn't change.
4th
Try the 'padsp' trick (which I use on UT2004 in the 32bit version) with both 32 & 64 bit versions with no success either.
I feel like I'm ranting here, sorry
. The game looks great and I would love to have the audio woking.
Tried a few things and no dice so maybe someone could help me please?
It might be something complex (hope not) or something real simple which I'm missing.
Any help would be appreciated & I thank you in advance ('-')
I'm running Gnustep Ooliite latest build from your website: oolite-1.86.linux-x86_64.run (101mb) after installing the Synaptic version which is pretty dated so I purged it to start a fresh install.
I'm running Linux Mint 17.3 KDE 64bit, Cpu: AMD FX-8370 Eight-Core, Ram: Kingston 8g, Mobo: Asus 970 pro gaming aura, Video: GM107 [GeForce GTX 750 Ti], Audio: SBx00 Azalia (Intel HDA), HDD: various + usb webcam

^as reported from $ lshw --short
1st

me@somepc:~/GNUstep/Applications/Oolite > ./oolite --nosplash
It seems that your operating system does not have a valid timezone name
configured and is using an abbreviation instead. By comparing timezone
file data it is has been possible to find the actual timezone used, but
doing that is a slow process.
You can avoid slowness of this time zone detecting approach
by setting the environment variable TZ='NZ'
Or You can override the timezone name by setting the 'Local Time Zone'
NSUserDefault via the 'defaults' command line utility, a Preferences
application, or some other utility.
eg "defaults write NSGlobalDomain 'Local Time Zone' 'NZ'"
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/hwC0D0
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/hwC0D0
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
AL lib: (EE) alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type'
AL lib: (EE) alsa_open_playback: Could not open playback device '/dev/snd/hwC0D0': No such file or directory
19:05:04.248 [sound.initialization.error]: Failed to open default sound device

2nd

.alsoftrc
[general]
layout_STEREO = fl=-30, fr=30
format = AL_FORMAT_STEREO16
cf_level = 0
sources = 256
frequency = 44100
period_size = 1024
periods = 4
stereodup = false
excludefx =
slots = 4
sends = 2
drivers = pulse,alsa,oss,dsound,winmm,wave,port,solaris
[alsa]
device = /dev/snd/hwC0D0 <<< see below
capture = /dev/snd/hwC0D0
mmap = true
[oss]
device = /dev/dsp
capture = /dev/dsp
[port]
device = -1
[solaris]
device = /dev/audio
[wave]
file =
<<< So I thought maybe if changing this line with every /dev/snd/ device listed below except seq & timer in turn might work.
me@somepc: ls /dev/snd/*
/dev/snd/controlC0 /dev/snd/pcmC0D0c /dev/snd/pcmC1D7p
/dev/snd/controlC1 /dev/snd/pcmC0D0p /dev/snd/pcmC1D8p
/dev/snd/controlC2 /dev/snd/pcmC0D1p /dev/snd/pcmC2D0c
/dev/snd/hwC0D0 /dev/snd/pcmC0D2c /dev/snd/seq
/dev/snd/hwC1D0 /dev/snd/pcmC1D3p /dev/snd/timer
/dev/snd/by-id:
usb-046d_08d7-01
/dev/snd/by-path:
pci-0000:00:12.0-usb-0:4:1.1 pci-0000:00:14.2 pci-0000:01:00.1
Nope.

Looked at other alsa workarounds to no avail.
3rd :idea Tried disabling the lib folder as advised from another post on this board and got:
me@somepc~/GNUstep/Applications/Oolite > ./oolite --nosplash
./oolite.app/oolite: error while loading shared libraries: libgnustep-base.so.1.20: cannot open shared object file: No such file or directory
Erk. It looks like Oolite died with an error. When making an error
report, please copy + paste the log above into the report.
(Press Ctrl-C to continue)
^C
Put the folder back and then removed 'libopenal.so.1' and 'libSDL-1.2.so.0' each in turn & also together with the same initial result. I guess both files reside on my system (but they could be symlinked to other versions, I'm not sure) as the error message didn't change.
4th

I feel like I'm ranting here, sorry

Tried a few things and no dice so maybe someone could help me please?
It might be something complex (hope not) or something real simple which I'm missing.

Any help would be appreciated & I thank you in advance ('-')