Re: [Rosegarden-user] MIDI works, but no audio

2023-01-29 Thread Ted Felix

  The key line is here:

ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to 
capture-only mode


  Oftentimes this is caused by pulseaudio being in the way, but there 
are other possible reasons.


  I have some instructions here that might help you get set up:

http://www.tedfelix.com/linux/linux-midi.html

  Let us know how it goes.

Ted.

On 1/28/23 5:06 PM, J wrote:

Hi,

I have the following setup:

cat /proc/asound/cards
0 [VirMIDI    ]: VirMIDI - VirMIDI
  Virtual MIDI Card 1
1 [PCH    ]: HDA-Intel - HDA Intel PCH
  HDA Intel PCH at 0x420422 irq 170
2 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0x8308 irq 17
3 [M4 ]: USB-Audio - M4
  MOTU M4 at usb-:00:14.0-1, high speed

Although I have to go to the Studio menu and then the Manage MIDI 
Devices and select the second MIDI outputs item from the list (129:0 
Synth input port) each time the program starts, the MIDI playback does work.


However, the audio does not work.
It appears that jackd is fails initialization when rosegarden starts up

rosegarden
[main] System Locale: "en_US"
[main] Qt translations path:  "/usr/share/qt5/translations"
[main] Qt translations loaded successfully.
[main] RG Translation: trying to load :locale/ "en_US"
[main] RG Translations loaded successfully.
[main] Loaded application icon " "rg-rwb-rose3-16x16" "
[main] Loaded application icon " "rg-rwb-rose3-32x32" "
[main] Loaded application icon " "rg-rwb-rose3-48x48" "
[main] Loaded application icon " "rg-rwb-rose3-64x64" "
[main] Loaded application icon " "rg-rwb-rose3-128x128" "
[main] Unbundling examples...
[main] Unbundling templates...
[main] Unbundling libraries (device files)...
[main] Creating RosegardenMainWindow instance...
[SequencerThread] run()
[PluginFactory] enumerateAllPlugins() begin...  Enumerating and loading 
all plugins...

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/karplong.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/dssi/karplong.so" plugin loaded 
successfully
[LADSPAPluginFactory] loadLibrary( 
"/usr/lib64/dssi/less_trivial_synth.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/dssi/less_trivial_synth.so" plugin 
loaded successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/trivial_sampler.so" 
) begin...
[LADSPAPluginFactory]    "/usr/lib64/dssi/trivial_sampler.so" plugin 
loaded successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/trivial_synth.so" ) 
begin...
[LADSPAPluginFactory]    "/usr/lib64/dssi/trivial_synth.so" plugin 
loaded successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/amp.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/amp.so" plugin loaded 
successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/cmt.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/cmt.so" plugin loaded 
successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/delay.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/delay.so" plugin loaded 
successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/filter.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/filter.so" plugin loaded 
successfully
[LADSPAPluginFactory] loadLibrary( 
"/usr/lib64/ladspa/ladspa-rubberband.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/ladspa-rubberband.so" plugin 
loaded successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/noise.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/noise.so" plugin loaded 
successfully

[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/sine.so" ) begin...
[LADSPAPluginFactory]    "/usr/lib64/ladspa/sine.so" plugin loaded 
successfully

[PluginFactory] enumerateAllPlugins() end.
[JackDriver] initialise() begin...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
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_get_descriptor : dll
jack_get_descriptor returns null for 'jack_internal_metro.so'
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_intime.so'
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_inprocess.so'
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to 
capture-only mode

JackTemporaryException : now quits...
Released audio card Audio0
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server 

[Rosegarden-user] MIDI works, but no audio

2023-01-28 Thread J
Hi,

I have the following setup:

cat /proc/asound/cards
0 [VirMIDI]: VirMIDI - VirMIDI
 Virtual MIDI Card 1
1 [PCH]: HDA-Intel - HDA Intel PCH
 HDA Intel PCH at 0x420422 irq 170
2 [NVidia ]: HDA-Intel - HDA NVidia
 HDA NVidia at 0x8308 irq 17
3 [M4 ]: USB-Audio - M4
 MOTU M4 at usb-:00:14.0-1, high speed

Although I have to go to the Studio menu and then the Manage MIDI Devices
and select the second MIDI outputs item from the list (129:0 Synth input
port) each time the program starts, the MIDI playback does work.

However, the audio does not work.
It appears that jackd is fails initialization when rosegarden starts up

rosegarden
[main] System Locale: "en_US"
[main] Qt translations path:  "/usr/share/qt5/translations"
[main] Qt translations loaded successfully.
[main] RG Translation: trying to load :locale/ "en_US"
[main] RG Translations loaded successfully.
[main] Loaded application icon " "rg-rwb-rose3-16x16" "
[main] Loaded application icon " "rg-rwb-rose3-32x32" "
[main] Loaded application icon " "rg-rwb-rose3-48x48" "
[main] Loaded application icon " "rg-rwb-rose3-64x64" "
[main] Loaded application icon " "rg-rwb-rose3-128x128" "
[main] Unbundling examples...
[main] Unbundling templates...
[main] Unbundling libraries (device files)...
[main] Creating RosegardenMainWindow instance...
[SequencerThread] run()
[PluginFactory] enumerateAllPlugins() begin...  Enumerating and loading all
plugins...
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/karplong.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/dssi/karplong.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/less_trivial_synth.so"
) begin...
[LADSPAPluginFactory]"/usr/lib64/dssi/less_trivial_synth.so" plugin
loaded successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/trivial_sampler.so" )
begin...
[LADSPAPluginFactory]"/usr/lib64/dssi/trivial_sampler.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/dssi/trivial_synth.so" )
begin...
[LADSPAPluginFactory]"/usr/lib64/dssi/trivial_synth.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/amp.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/amp.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/cmt.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/cmt.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/delay.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/delay.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/filter.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/filter.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/ladspa-rubberband.so"
) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/ladspa-rubberband.so" plugin
loaded successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/noise.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/noise.so" plugin loaded
successfully
[LADSPAPluginFactory] loadLibrary( "/usr/lib64/ladspa/sine.so" ) begin...
[LADSPAPluginFactory]"/usr/lib64/ladspa/sine.so" plugin loaded
successfully
[PluginFactory] enumerateAllPlugins() end.
[JackDriver] initialise() begin...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
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_get_descriptor : dll
jack_get_descriptor returns null for 'jack_internal_metro.so'
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_intime.so'
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_inprocess.so'
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to
capture-only mode
JackTemporaryException : now quits...
Released audio card Audio0
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket