[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alsa-tools update in Wheesy



On Sat, 2011-10-29 at 12:55 +0100, Richard wrote:
> On Sat, 29 Oct 2011 12:55:52 +0200
> Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
> 
> > A shot in the dark.
> > 
> > If you run
> > speaker-test -c2 -l5 -twav
> > 1. time while X is running
> > would this be ok? No surround sound, just 2 channels!
> > 2. What happens if you run it while X isn't used?
> > 
> > I suspect a PulseAudio issue. Is PA active on your Debian?
> > 
> > For my Debian (nearly) everything is ok, but I'm not using PA.
> > 
> > Btw. what exactly is bad when you run jackd as user? IIRC the Debian
> > package already set everything, e.g. the user to the group audio. Note,
> > my Debian is a DAW, I compiled JACK myself, so I don't know what exactly
> > is the state of Debian.
> > 
> > I suspect you are aware of QjackCtl?
> > 
> 
>  Hi Ralf
> If I start jackd from qjackctl I get the message "could not connect to server as client,
> 						overall operation failed"
> 
> However, I can start jackd as a user if I :-
> 
> richard@debian:~$ jackd -R -P 50  -t 9999 -d alsa -r 48000 -C hw:M66 -P hw:M66 -n4 -p 512 -s &
> [1] 5396
> richard@debian:~$ jackdmp 1.9.7
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2011 Grame.
> jackdmp comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> JACK server starting in realtime mode with priority 50
> audio_reservation_init
> Acquire audio card Audio3
> creating alsa driver ... hw:M66|hw:M66|512|4|48000|0|0|nomon|swmeter|soft-mode|32bit
> configuring for 48000Hz, period = 512 frames (10.7 ms), buffer = 4 periods
> ALSA: final selected sample format for capture: 32bit integer little-endian
> ALSA: use 4 periods for capture
> ALSA: final selected sample format for playback: 32bit integer little-endian
> ALSA: use 4 periods for playback
> 
> This is great because I can use the Alsa name of the card "M66" to acquire the right device.
> If I try from qjackctl it will fail unless I start it as root.
> I have put myself in group audio.
> 
> speaker-test -c2 -l5 -twav works OK with X running, I'll have to kill X and try it, but cant do it while
> replying.

Oops, so everything regarding to audio using jackd for your machine
appears to be ok.
I never used wsjt myself.

If you now would launch wsjt, the card would be kicked out?

I'm puzzled.

Is the package pulseaudio installed? If so, I would test what happens if
it's removed. OTOH I wonder why your Debian was ok before you did the
upgrade.

Hm?

I'll install wstj now ...

        spinymouse@debian:~$ wsjt
        ******************************************************************
        WSJT Version 5.9.7 r383 , by K1JT
        Revision date: 2007-05-04 23:17:52 +1000 (Fri, 04 May 2007) 
        Run date:   Sat Oct 29 12:38:13 2011 UTC
        Using PortAudio.
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition 'cards.HDSPM.pcm.front.0:CARD=0'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM front
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.rear
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.center_lfe
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.side
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition 'cards.HDSPM.pcm.surround40.0:CARD=0'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        surround40
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition 'cards.HDSPM.pcm.surround51.0:CARD=0'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        surround41
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition 'cards.HDSPM.pcm.surround51.0:CARD=0'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        surround50
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition 'cards.HDSPM.pcm.surround51.0:CARD=0'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        surround51
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.surround71
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition
        'cards.HDSPM.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM iec958
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition
        'cards.HDSPM.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM spdif
        ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find
        definition
        'cards.HDSPM.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
        ALSA lib conf.c:4184:(_snd_config_evaluate) function
        snd_func_refer returned error: No such file or directory
        ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such
        file or directory
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM spdif
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.hdmi
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.hdmi
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.modem
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.modem
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.phoneline
        ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM
        cards.pcm.phoneline
        ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin
        supports only playback stream
        ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave)
        unable to install hw params
        ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to
        initialize slave
        At line 53 of file decode1.F90 (unit = 21, file =
        '/home/spinymouse/.wsjt/ALL.TXT')
        Fortran runtime error: Sequential READ or WRITE not allowed
        after EOF marker, possibly use REWIND or BACKSPACE
        
:D Hm? PulseAudio isn't installed on my machine.

Starting jackd first didn't improve anything on my machine.

But I e.g. can launch Ardour.

        spinymouse@debian:~$ ardour2
        Ardour 2.8.12
           (built using 10144 and GCC version 4.6.1)
        Copyright (C) 1999-2008 Paul Davis
        Some portions Copyright (C) Steve Harris, Ari Johnson, Brett
        Viren, Joel Baker
        
        Ardour comes with ABSOLUTELY NO WARRANTY
        not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
        PURPOSE.
        This is free software, and you are welcome to redistribute it 
        under certain conditions; see the source for copying conditions.
        theme_init() called from internal clearlooks engine
        /usr/share/themes/Adwaita/gtk-2.0/gtkrc:80: error: unexpected
        identifier `colorize_scrollbar', expected character `}'
        loading default ui configuration
        file /etc/ardour2/ardour2_ui_default.conf
        loading user ui configuration
        file /home/spinymouse/.ardour2/ardour2_ui.conf
        Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc
        theme_init() called from internal clearlooks engine
        ardour: [INFO]: Ardour will be limited to 1024 open files
        loading system configuration file /etc/ardour2/ardour_system.rc
        loading user configuration
        file /home/spinymouse/.ardour2/ardour.rc
        ardour: [INFO]: No H/W specific optimizations in use
        ardour: [INFO]: looking for control protocols
        in /home/spinymouse/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
        ardour: [INFO]: Control surface protocol discovered: "Mackie"
        ardour: [INFO]: Control protocol Tranzport not usable
        ardour: [INFO]: Control surface protocol discovered: "Generic
        MIDI"
        powermate: Opening of powermate failed - No such file or
        directory
        ardour: [INFO]: Control protocol powermate not usable
        loading bindings from /etc/ardour2/mnemonic-us.bindings
        
        (ardour-2.8.12:6123): Gtk-WARNING **: EnableTranslation: missing
        action EnableTranslation
        Session writable based on /home/spinymouse/Desktop/test/

FWIW, libportaudio2 on system is installed.

> Was this to go to the list as well Ralf ?

No :D

Resume: *?* Anyway, for wstj it's the same on my machine.

Cheers!

Ralf


Reply to: