Fri, 12 May 2023 19:58:59 +0200 Bengt Gördén <bengan@bag.org> :
On 2023-05-12 19:02, bent fender wrote:
That made some progress, all I get now is clean segfault :-)
Now it sounds more like a pure Rosegarden problem.
Rosegarden is definitely not one of my skills
& TS-ing at dev level isn't one of mine ":-))
(I installed it now just to test). But I vaguely remember that it segfaulted for me many years ago and moving the config files for Rosegarden to start fresh helped. Try moving/renaming:
~/.config/rosegardenmusic/Rosegarden.conf ~/.config/Rosegardenrc
Also. Check what happens if you launch it from the cli with: rosegarden --nosound
Does it segfault?
If it still segfaults you'll probably need to open a bug on bugzilla.
renamed ~/.config/rosegardenmusic/Rosegarden.conf there is no ~/.config/Rosegardenrc ~ rosegarden Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jackdmp 1.9.12 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2017 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 no message buffer overruns no message buffer overruns Segmentation fault (core dumped) ~ # no message buffer overruns 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 Audio1 creating alsa driver ... hw:CARD|hw:CARD|1024|2|48000|0|0|nomon|swmeter|-|32bit configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods ALSA: final selected sample format for capture: 24bit little-endian in 3bytes format ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 24bit little-endian in 3bytes format ALSA: use 2 periods for playback ~ rosegarden --nosound [Composition] getTrackById( 0 ): WARNING: Track ID not found. [Composition] Available track ids are: do_connect: could not connect to socket connect: No such file or directory With qJackctl already started: =============================== ~ # rosegarden Cannot read socket fd = 17 err = Connection reset by peer Could not read notification result ClientNotify fails name = system notification = 0 val1 = 0 val2 = 0 NotifyAddClient new_client fails name = rosegarden Cannot notify add client Cannot create new client Cannot write socket fd = 15 err = Broken pipe CheckRes error JackRequest::ClientOpen write error name = rosegarden Segmentation fault (core dumped) ~ # rosegarden --nosound [Composition] getTrackById( 0 ): WARNING: Track ID not found. [Composition] Available track ids are: do_connect: could not connect to socket connect: No such file or directory ---------------------------------------------------- HOWEVER, there IS a ~/.config/Rosegardenrc in Tumbleweed which I copy-pasted over into Leap-15.4 ~ rosegarden Segmentation fault (core dumped) ~ rosegarden --nosound [Composition] getTrackById( 0 ): WARNING: Track ID not found. [Composition] Available track ids are: do_connect: could not connect to socket connect: No such file or directory With qJackctl already started: ~ # rosegarden Segmentation fault (core dumped) ~ # rosegarden --nosound [Composition] getTrackById( 0 ): WARNING: Track ID not found. [Composition] Available track ids are: do_connect: could not connect to socket connect: No such file or directory ----------------------------------------------- renamed both config files ~/.config/rosegardenmusic/Rosegarden.conf ..get regenerated
~/.config/Rosegardenrc ..does not (different RG version)
~ # rosegarden [main] *** This is the first time running this Rosegarden version Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jackdmp 1.9.12 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2017 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 no message buffer overruns Segmentation fault (core dumped) ~ # no message buffer overruns no message buffer overruns JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD control open "hw:CARD" (No such device) ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD control open "hw:CARD" (No such device) creating alsa driver ... hw:CARD|hw:CARD|1024|2|48000|0|0|nomon|swmeter|-|32bit ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD control open "hw:CARD" (No such device) ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode JackTemporaryException : now quits... ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD control open "hw:CARD" (No such device) ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CARD control open "hw:CARD" (No such device) Cannot initialize driver JackServer::Open failed with -1 Failed to open server on shutdown a further display [Composition] dtor: WARNING: 3 observers still extant: [Composition] 0x55915af4c478 : N10Rosegarden17TrackParameterBoxE [Composition] 0x55915af5d060 : N10Rosegarden20CompositionModelImplE [Composition] 0x55915b213860 : N10Rosegarden12TrackButtonsE ---------------------------------------------------- Profiling points: By name: Composition::getMaxContemporaneousSegmentsOnTrack(320): CPU: 0.001262500 ms/call (0 ms total) Real: 0.001119000 ms (0.358000000 ms total) Worst: 0.017000000 ms/call (0 ms CPU) Composition::rebuildVoiceCaches(1): CPU: 0.008000000 ms/call (0 ms total) Real: 0.008000000 ms (0.008000000 ms total) Worst: 0.008000000 ms/call (0 ms CPU) CompositionModelImpl::getSegmentRects()(1): CPU: 0.006000000 ms/call (0 ms total) Real: 0.006000000 ms (0.006000000 ms total) Worst: 0.006000000 ms/call (0 ms CPU) CompositionView::drawAll()(2): CPU: 1.077000000 ms/call (2 ms total) Real: 1.080000000 ms (2.160000000 ms total) Worst: 1.883000000 ms/call (1 ms CPU) CompositionView::drawArtifacts()(2): CPU: 0.025500000 ms/call (0 ms total) Real: 0.024500000 ms (0.049000000 ms total) Worst: 0.031000000 ms/call (0 ms CPU) CompositionView::drawAudioPreviews(1): CPU: 0.001000000 ms/call (0 ms total) Real: 0.001000000 ms (0.001000000 ms total) Worst: 0.001000000 ms/call (0 ms CPU) CompositionView::drawSegments(clipRect)(1): CPU: 1.592000000 ms/call (2 ms total) Real: 1.596000000 ms (1.596000000 ms total) Worst: 1.596000000 ms/call (1 ms CPU) CompositionView::paintEvent()(2): CPU: 1.080500000 ms/call (2 ms total) Real: 1.081500000 ms (2.163000000 ms total) Worst: 1.885000000 ms/call (1 ms CPU) CompositionView::scrollSegmentsLayer()(2): CPU: 0.798500000 ms/call (2 ms total) Real: 0.800000000 ms (1.600000000 ms total) Worst: 1.599000000 ms/call (1 ms CPU) CompositionView::slotUpdateAll()(8): CPU: 0.002625000 ms/call (0 ms total) Real: 0.002000000 ms (0.016000000 ms total) Worst: 0.004000000 ms/call (0 ms CPU) By total: CompositionView::paintEvent() 2.163000000 ms CompositionView::drawAll() 2.160000000 ms CompositionView::scrollSegmentsLayer() 1.600000000 ms CompositionView::drawSegments(clipRect) 1.596000000 ms Composition::getMaxContemporaneousSegmentsOnTrack 0.358000000 ms CompositionView::drawArtifacts() 0.049000000 ms CompositionView::slotUpdateAll() 0.016000000 ms Composition::rebuildVoiceCaches 0.008000000 ms CompositionModelImpl::getSegmentRects() 0.006000000 ms CompositionView::drawAudioPreviews 0.001000000 ms By average: CompositionView::drawSegments(clipRect) 1.596000000 ms CompositionView::paintEvent() 1.081500000 ms CompositionView::drawAll() 1.080000000 ms CompositionView::scrollSegmentsLayer() 0.800000000 ms CompositionView::drawArtifacts() 0.024500000 ms Composition::rebuildVoiceCaches 0.008000000 ms CompositionModelImpl::getSegmentRects() 0.006000000 ms CompositionView::slotUpdateAll() 0.002000000 ms Composition::getMaxContemporaneousSegmentsOnTrack 0.001119000 ms CompositionView::drawAudioPreviews 0.001000000 ms By worst case: CompositionView::paintEvent() 1.885000000 ms CompositionView::drawAll() 1.883000000 ms CompositionView::scrollSegmentsLayer() 1.599000000 ms CompositionView::drawSegments(clipRect) 1.596000000 ms CompositionView::drawArtifacts() 0.031000000 ms Composition::getMaxContemporaneousSegmentsOnTrack 0.017000000 ms Composition::rebuildVoiceCaches 0.008000000 ms CompositionModelImpl::getSegmentRects() 0.006000000 ms CompositionView::slotUpdateAll() 0.004000000 ms CompositionView::drawAudioPreviews 0.001000000 ms By number of calls: Composition::getMaxContemporaneousSegmentsOnTrack 320 CompositionView::slotUpdateAll() 8 CompositionView::paintEvent() 2 CompositionView::drawAll() 2 CompositionView::scrollSegmentsLayer() 2 CompositionView::drawArtifacts() 2 Composition::rebuildVoiceCaches 1 CompositionView::drawSegments(clipRect) 1 CompositionView::drawAudioPreviews 1 CompositionModelImpl::getSegmentRects() 1 Like I said, been watching this yoyo for like 10 years: now it works, now it doesn't.. I'm spending my guitar-time on trying to fix what I diodn't break. All "I" ever do is install/upgrade with all depends always apparently satisfied.