Re: MIDI works, but no audio
Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.audio.rosegarden.user |
|---|---|
| Message-ID | <[email protected]> |
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 0x4204220000 irq 170 > 2 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0x83080000 irq 17 > 3 [M4 ]: USB-Audio - M4 > MOTU M4 at usb-0000: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 err = No such file or directory > Cannot connect to server request channel > jack server is not running or cannot be started > JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, > skipping unlock > JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, > skipping unlock > [JackDriver] initialise() - JACK server not running. jackStatus: 11 (hex) > [JackDriver] Attempt to start JACK server was made per user config > [Composition] getTrackById( 0 ): WARNING: Track ID not found. > [Composition] Available track ids are: > [AlsaDriver] renameDevice(): WARNING: Cannot find device 1 in port map > [RosegardenMainWindow] slotDisplayWarning(): MAIN WINDOW DISPLAY > WARNING: type 1 text "<h3>Audio sequencing and synth plugins > unavailable!</h3> > " > [WarningWidget] WarningWidget::queueMessage( "<h3>Audio sequencing and > synth plugins unavailable!</h3>" , "<p>Rosegarden could not connect to the > JACK audio server. This probably means that Rosegarden was unable to > start the audio server due to a problem with your configuration, your syste > m installation, or both.</p><p>If you want to be able to play or record > audio files or use plugins, we suggest that you exit Rosegarden and use th > e JACK Control utility (qjackctl) to try different settings until you > arrive at a configuration that permits JACK to start. You may also need to > install a realtime kernel, edit your system security configuration, and > so on. Unfortunately, this is an extremely complex subject.</p><p> Once y > ou establish a working JACK configuration, Rosegarden will be able to > start the audio server automatically in the future.</p>" ) > WARNING: Rosegarden::Exception: "Failed to open tranzport device > /dev/tranzport0" > [main] sfxload disabled > [main] Launching the sequencer... > [main] Starting the app... > [StartupTester] StartupTester::StartupTester(): URL: > "http://www.rosegardenmusic.com/latest-version.txt > <http://www.rosegardenmusic.com/latest-version.txt>" > > Ideally, I'd like the audio output to go to the Intel audio and the > audio input to come from the MOTU line-in. > > Although if both input and output audio would go to / come from the > MOTU, that would be fine too. > > What is missing or incorrectly set? > > Is there a way I can invoke jackd (manually if I have to) to have the > setup I want? > > Thank you for taking the time to read this and thank you in advance > > > > _______________________________________________ > Rosegarden-user mailing list > [email protected] - use the link below to unsubscribe > https://lists.sourceforge.net/lists/listinfo/rosegarden-user _______________________________________________ Rosegarden-user mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user