On Mon, 11 Apr 2011 02:19:44 +0200, Csaba wrote in message 
<BANLkTi=qguN0ges=gml8jlognnxovhq...@mail.gmail.com>:

> On Sun, Apr 10, 2011 at 10:23 PM, Arnt Karlsen <a...@c2i.net> wrote:
> > Hi,
> >
> > ..now, running it...
> > loading scenario 'nimitz_demo'
> > ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM
> > cards.pcm.rear ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown
> > PCM cards.pcm.center_lfe ALSA lib pcm.c:2190:(snd_pcm_open_noupdate)
> > Unknown PCM cards.pcm.side ALSA lib
> > pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib
> > pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only
> > playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable
> > to open slave Cannot connect to server socket err = No such file or
> > directory Cannot connect to server socket jack server is not
> > running or cannot be started
> 
> It tries to fall back to jack after it fails to use ALSA, which seems
> to be messed up.

..well, the whole pulseaudio idea is pulseaudio should pretend it 
_is_ alsa and just play whatever it is fed so nobody finds out it 
is pulseaudio and is happy with alsa quality. 

> Check whether alsa works with aplay -D plug:dmix foo.wav

..alsa alias pulseaudio works. ;o)
arnt@celsius:~$ aplay -D plug:dmix
FG-git/install/fgfs/fgdata/Aircraft/21/Sounds/anzani-ralenti.wav
Playing WAVE
'FG-git/install/fgfs/fgdata/Aircraft/21/Sounds/anzani-ralenti.wav' :
Unsigned 8 bit, Rate 8000 Hz, Mono 
arnt@celsius:~$ 


> , then try
> creating an ~/.alsoftrc with explicit ALSA only (or /dev/null for
> no-sound testing).

..is this an ok ~/.alsoftrc for FG on pulseaudio or alsa?
arnt@celsius:~$ cat ~/.alsoftrc 
[general]
layout_STEREO = fl=-90, fr=90
format = AL_FORMAT_STEREO16
cf_level = 0
sources = 256
frequency = 44100
period_size = 1024
periods = 4
stereodup = false
excludefx = 
slots = 4
sends = 2
drivers = oss,solaris,dsound,winmm,pulse,wave,port

[alsa]
device = default
capture = default
mmap = true

[oss]
device = /dev/dsp
capture = /dev/dsp

[port]
device = -1

[solaris]
device = /dev/audio

[wave]
file = 

arnt@celsius:~$ 

> > ..and why does it try to load the Nimitz demo???
> 
> Because it is enabled in the default in preferences.xml.

..doh!  Other neat looking demos in there. ;o)
Doh2 is save relevant logs in /tmp before rebooting 
to try the newest libdrm-radeon1.

..tried to log: ...  ./run_fgfs.sh --disable-sound
--disable-intro-music --enable-ai-traffic  --enable-ai-models
--geometry=1920x1200 --httpd=9999 --jpg-httpd=9876
--prop:controls/gear/brake-parking=1 --prop:sim/frame-rate=true
--fov=90 --enable-fullscreen  --timeofday=noon --aircraft=ju52  

...and:  ./run_fgfs_debug.sh --disable-sound  --disable-intro-music
--enable-ai-traffic  --enable-ai-models  --geometry=1920x1200
--httpd=9999 --jpg-httpd=9876 --prop:controls/gear/brake-parking=1
--prop:sim/frame-rate=true --fov=90 --enable-fullscreen
--timeofday=noon --aircraft=ju52  

..but I'm probably doing something wrong in the run*debug script,
both run scripts and logs attached:
arnt@celsius:~/FG-git$ ll run_fgf* /tmp/run_fgf*
-rwxr-xr-x 1 arnt arnt 292 Apr 10 21:52 run_fgfs_debug.sh*
-rwxr-xr-x 1 arnt arnt 233 Apr 10 21:40 run_fgfs.sh*
-rw-r--r-- 1 arnt arnt 602 Apr 12 00:52 
/tmp/run_fgfs_debug.sh-log-2011-04-11+22:52:49-UTC 
-rw-r--r-- 1 arnt arnt 347 Apr 12 00:50 
/tmp/run_fgfs.sh-log-2011-04-11+22:49:44-UTC 
arnt@celsius:~/FG-git$ md5sum run_fgf* /tmp/run_fgf*
8724670d06f5480aeebca1b76295a933  run_fgfs_debug.sh
8dc259427bc9b8dfb22d54e061abf53a  run_fgfs.sh
eae98ca3b05305bd6f7a0503438171f8  
/tmp/run_fgfs_debug.sh-log-2011-04-11+22:52:49-UTC
0bc7e3bfe93e9e4f862e1743f71fd9f4  /tmp/run_fgfs.sh-log-2011-04-11+22:49:44-UTC
arnt@celsius:~/FG-git$ 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

Attachment: run_fgfs.sh-log-2011-04-11+22:49:44-UTC
Description: Binary data

Attachment: run_fgfs_debug.sh-log-2011-04-11+22:52:49-UTC
Description: Binary data

Attachment: run_fgfs.sh
Description: application/shellscript

Attachment: run_fgfs_debug.sh
Description: application/shellscript

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to