Audio4Linux / JDSP4Linux

An audio effect processor for PipeWire and PulseAudio clients
GNU General Public License v3.0
874 stars 31 forks source link

random crashes #181

Closed Moldytzu closed 6 months ago

Moldytzu commented 6 months ago

It isn't possible to debug using gdb. All I get is a SIGKILL. I am on Wayland with Pipewire and Kubuntu 23.10. I have the following enabled: graphic eq, equalizer, dynamic bass boost and analog modelling. The settings do not affect this behaviour.

[21:20:38.525] [INF] SingleInstanceMonitor::isServiceReady: Service registration successful
[21:20:38.525] [INF] main::main: Application version: 2.7.0-5-gedf2724 (Pipewire flavor) 
[21:20:38.525] [INF] main::main: Qt library version: 5.15.10
[21:20:38.525] [INF] main::initAudioService: ============ Initializing audio service ============
[21:20:38.525] [INF] main::initAudioService: Compiled with PipeWire support.
[21:20:38.525] [INF] main::initAudioService: This application flavor does not support PulseAudio.
[21:20:38.525] [INF] main::initAudioService: If you want to use this application with PulseAudio, you need to recompile this app with proper support enabled.
[21:20:38.525] [INF] main::initAudioService: Refer to the README for more detailed information.
[21:20:38.525] [INF] main::initAudioService: 
[21:20:38.525] [DBG] main::initAudioService: Blocklisted apps: 
[21:20:38.525] [DBG] main::initAudioService: Blocklist mode: block
[21:20:38.526] [DBG] PwPipelineManager::PwPipelineManager$ctor: compiled with PipeWire: 0.3.79
[21:20:38.526] [DBG] PwPipelineManager::PwPipelineManager$ctor: linked to PipeWire: 0.3.79
[21:20:38.529] [DBG] PwPipelineManager::on_core_info: core version: 0.3.79
[21:20:38.529] [DBG] PwPipelineManager::on_core_info: core name: pipewire-0
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: found metadata: settings
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: found metadata: default
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: found metadata: route-settings
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 32 alsa_output.pci-0000_00_1f.3.analog-stereo with serial 47 has been added
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: Audio/Source 40 alsa_input.pci-0000_00_1f.3.analog-stereo with serial 48 has been added
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 46 alsa_output.pci-0000_01_00.1.hdmi-stereo with serial 59 has been added
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 77 WEBRTC VoiceEngine with serial 992 has been added
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_00_1f.3.analog-stereo port 52 is connected to WEBRTC VoiceEngine port 87
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_00_1f.3.analog-stereo port 53 is connected to WEBRTC VoiceEngine port 89
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: Stream/Output/Audio 56 WEBRTC VoiceEngine with serial 1949 has been added
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 59 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 48
[21:20:38.529] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 103 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 50
[21:20:38.530] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 95 jamesdsp_sink with serial 1955 has been added
[21:20:38.530] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1f.3.analog-stereo"}
[21:20:38.530] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"}
[21:20:38.531] [DBG] PwPipelineManager::PwPipelineManager$ctor: jamesdsp_sink node successfully retrieved with id 95 and serial 1955
[21:20:38.609] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[21:20:38.629] [DBG] AssetManager::extractGroup: 5 assets extracted (type 0)
[21:20:38.631] [DBG] AssetManager::extractGroup: 3 assets extracted (type 1)
[21:20:38.631] [DBG] DspHost::update: Config update started
[21:20:38.631] [DBG] DspHost::update: Property changed: bass_enable -> QVariant(bool, true) 
[21:20:38.631] [DBG] DspHost::update: Property changed: bass_maxgain -> QVariant(QString, "5") 
[21:20:38.631] [DBG] DspHost::update: Property changed: compander_enable -> QVariant(bool, false) 
[21:20:38.631] [DBG] DspHost::update: Property changed: compander_response -> QVariant(QString, "95.0;200.0;400.0;800.0;1600.0;3400.0;7500.0;0;0;0;0;0;0;0") 
[21:20:38.631] [DBG] DspHost::update: Property changed: compander_granularity -> QVariant(QString, "2") 
[21:20:38.631] [DBG] DspHost::update: Property changed: compander_timeconstant -> QVariant(QString, "0.22000") 
[21:20:38.631] [DBG] DspHost::update: Property changed: compander_time_freq_transforms -> QVariant(QString, "0") 
[21:20:38.631] [DBG] DspHost::update: Property changed: convolver_enable -> QVariant(bool, false) 
[21:20:38.631] [DBG] DspHost::update: Property changed: convolver_file -> QVariant(QString, "") 
[21:20:38.631] [DBG] DspHost::update: Property changed: convolver_optimization_mode -> QVariant(QString, "0") 
[21:20:38.631] [DBG] DspHost::update: Property changed: convolver_waveform_edit -> QVariant(QString, "-80;-100;0;0;0;0") 
[21:20:38.631] [DBG] DspHost::update: Property changed: crossfeed_bs2b_fcut -> QVariant(QString, "700") 
[21:20:38.631] [DBG] DspHost::update: Property changed: crossfeed_bs2b_feed -> QVariant(QString, "60") 
[21:20:38.631] [DBG] DspHost::update: Property changed: crossfeed_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: crossfeed_mode -> QVariant(QString, "0") 
[21:20:38.632] [DBG] DspHost::update: Property changed: ddc_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: ddc_file -> QVariant(QString, "") 
[21:20:38.632] [DBG] DspHost::update: Property changed: graphiceq_enable -> QVariant(bool, true) 
[21:20:38.632] [DBG] DspHost::update: Property changed: graphiceq_param -> QVariant(QString, "GraphicEQ: 20 -0.2; 21 -0.2; 22 -0.2; 23 -0.2; 24 -0.2; 26 -0.2; 27 -0.2; 29 -0.2; 30 -0.2; 32 -0.2; 34 -0.2; 36 -0.2; 38 -0.2; 40 -0.2; 43 -0.2; 45 -0.2; 48 -0.2; 50 -0.2; 53 -0.2; 56 -0.2; 59 -0.2; 63 -0.2; 66 -0.4; 70 -0.9; 74 -1.2; 78 -1.6; 83 -2; 87 -2.3; 92 -2.6; 97 -3; 103 -3.4; 109 -3.8; 115 -4.3; 121 -4.7; 128 -5.2; 136 -5.7; 143 -6.1; 151 -6.5; 160 -6.9; 169 -7.3; 178 -7.6; 188 -7.8; 199 -8; 210 -8.1; 222 -8.4; 235 -8.8; 248 -8.9; 262 -8.7; 277 -8.5; 292 -8.3; 309 -8.2; 326 -8.1; 345 -7.8; 364 -7.6; 385 -7.4; 406 -7.1; 429 -6.9; 453 -6.7; 479 -6.4; 506 -6.2; 534 -6; 565 -5.9; 596 -5.7; 630 -5.4; 665 -5.1; 703 -4.7; 743 -4.1; 784 -3.7; 829 -4.1; 875 -4.6; 924 -4.7; 977 -4.5; 1032 -4.1; 1090 -3.5; 1151 -2.8; 1216 -2.3; 1284 -1.8; 1357 -1.5; 1433 -1.6; 1514 -1.9; 1599 -2.4; 1689 -3.6; 1784 -4.3; 1885 -4.4; 1991 -4.4; 2103 -4.5; 2221 -4.6; 2347 -4.8; 2479 -5.3; 2618 -5.7; 2766 -5.7; 2921 -5.3; 3086 -4.8; 3260 -4.2; 3443 -3.5; 3637 -3.5; 3842 -3.7; 4058 -4.3; 4287 -5.3; 4528 -5.4; 4783 -5.3; 5052 -7.4; 5337 -10.1; 5637 -10.9; 5955 -10.6; 6290 -9.5; 6644 -8.6; 7018 -9.5; 7414 -10.6; 7831 -10.7; 8272 -10.6; 8738 -10.5; 9230 -10.2; 9749 -9.8; 10298 -9.6; 10878 -9.6; 11490 -9.7; 12137 -9.7; 12821 -9.8; 13543 -9.9; 14305 -10.1; 15110 -10.2; 15961 -10.4; 16860 -10.6; 17809 -10.8; 18812 -11; 19871 -11.2") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_bassboost -> QVariant(QString, "0.25000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_decay -> QVariant(QString, "2.08000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_delay -> QVariant(QString, "0.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_finaldry -> QVariant(QString, "-7.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_finalwet -> QVariant(QString, "-9.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lfo_spin -> QVariant(QString, "0.70000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lfo_wander -> QVariant(QString, "0.30000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lpf_bass -> QVariant(QString, "600") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lpf_damp -> QVariant(QString, "9000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lpf_input -> QVariant(QString, "18000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_lpf_output -> QVariant(QString, "17000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_osf -> QVariant(QString, "1") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_reflection_amount -> QVariant(QString, "0.30000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_reflection_factor -> QVariant(QString, "1.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_reflection_width -> QVariant(QString, "0.70000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_wet -> QVariant(QString, "-8.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: reverb_width -> QVariant(QString, "1.00000") 
[21:20:38.632] [DBG] DspHost::update: Property changed: liveprog_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: liveprog_file -> QVariant(QString, "") 
[21:20:38.632] [DBG] DspHost::update: Property changed: master_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: master_limrelease -> QVariant(QString, "60") 
[21:20:38.632] [DBG] DspHost::update: Property changed: master_limthreshold -> QVariant(QString, "0") 
[21:20:38.632] [DBG] DspHost::update: Property changed: master_postgain -> QVariant(QString, "0") 
[21:20:38.632] [DBG] DspHost::update: Property changed: stereowide_enable -> QVariant(bool, false) 
[21:20:38.632] [DBG] DspHost::update: Property changed: stereowide_level -> QVariant(QString, "60") 
[21:20:38.632] [DBG] DspHost::update: Property changed: tone_enable -> QVariant(bool, true) 
[21:20:38.632] [DBG] DspHost::update: Property changed: tone_eq -> QVariant(QString, "25.0;40.0;63.0;100.0;160.0;250.0;400.0;630.0;1000.0;1600.0;2500.0;4000.0;6300.0;10000.0;16000.0;10;8.8;8.5;6.5;2.5;1.5;0;0;0;0;0;0;0;0;0") 
[21:20:38.633] [DBG] DspHost::update: Property changed: tone_filtertype -> QVariant(QString, "0") 
[21:20:38.634] [DBG] DspHost::update: Property changed: tone_interpolation -> QVariant(QString, "0") 
[21:20:38.634] [DBG] DspHost::update: Property changed: tube_enable -> QVariant(bool, true) 
[21:20:38.635] [DBG] DspHost::update: Property changed: tube_pregain -> QVariant(QString, "1200") 
[21:20:38.635] [ERR] DspHost::updateConvolver: Impulse response is empty. Disabling convolver.
[21:20:38.635] [WRN] DspHost::updateConvolver: Unable to read impulse response. No file selected or abnormal channel count?
[21:20:38.635] [WRN] DspHost::reloadLiveprog: Referenced file does not exist anymore. Disabling liveprog.
QFSFileEngine::open: No file name specified
[21:20:38.635] [ERR] DspHost::reloadLiveprog: Cannot open file path. Disabling liveprog.
QIODevice::read (QFile, ""): device not open
[21:20:38.635] [WRN] DspHost::reloadLiveprog: @init section not found
[21:20:38.636] [INF] main::main: Using language: en_US
[21:20:38.637] [DBG] main::main: Launched by system session manager: no
[21:20:38.791] [INF] MainWindow::MainWindow$ctor: ============ Initializing user interface ============
[21:20:38.796] [DBG] DspHost::update: Config update started
[21:20:38.833] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Output/Audio 56 WEBRTC VoiceEngine has been removed
[21:20:38.834] [DBG] PwPipelineManager::on_registry_global: Stream/Output/Audio 56 WEBRTC VoiceEngine with serial 1969 has been added
[21:20:38.838] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 103 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 48
[21:20:38.838] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 55 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 50
[21:20:39.128] [INF] MainWindow::MainWindow$ctor: UI initialized
[21:20:39.190] [DBG] FilterContainer::FilterContainer$ctor::<lambda>: Target output device added: alsa_output.pci-0000_00_1f.3.analog-stereo
[21:20:39.190] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[21:20:39.193] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[21:20:39.194] [DBG] AppConfig::isAppBlocked: WEBRTC VoiceEngine is not blocked
[21:20:39.194] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: new default output sink: alsa_output.pci-0000_00_1f.3.analog-stereo
[21:20:39.194] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[21:20:39.197] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 56, target.node, Spa:Id, 95
[21:20:39.197] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 56, target.object, Spa:Id, 1955
[21:20:39.197] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[21:20:39.198] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 103 is connected to jamesdsp_sink port 100
[21:20:39.198] [DBG] PwPipelineManager::on_registry_global: WEBRTC VoiceEngine port 55 is connected to jamesdsp_sink port 60
[21:20:39.198] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: output device has changed to: alsa_card.pci-0000_00_1f.3 via route analog-output-lineout
[21:20:39.198] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: device alsa_card.pci-0000_01_00.1 has changed its output route to: hdmi-output-0
[21:20:39.198] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: device alsa_card.pci-0000_00_1f.3 has changed its output route to: analog-output-lineout
[21:20:39.200] [DBG] AppConfig::isAppBlocked: WEBRTC VoiceEngine is not blocked
[21:20:50.035] [DBG] DspHost::update: Config update started
[21:20:50.035] [DBG] DspHost::update: Property changed: compander_timeconstant -> QVariant(float, 0.22) 
[21:20:50.035] [DBG] DspHost::update: Property changed: reverb_bassboost -> QVariant(float, 0.25) 
[21:20:50.035] [DBG] DspHost::update: Property changed: reverb_decay -> QVariant(float, 2.08) 
[21:20:50.036] [DBG] DspHost::update: Property changed: reverb_delay -> QVariant(float, 0) 
[21:20:50.036] [DBG] DspHost::update: Property changed: reverb_finaldry -> QVariant(float, -7) 
[21:20:50.036] [DBG] DspHost::update: Property changed: reverb_finalwet -> QVariant(float, -9) 
[21:20:50.036] [DBG] DspHost::update: Property changed: reverb_lfo_spin -> QVariant(float, 0.7) 
[21:20:50.036] [DBG] DspHost::update: Property changed: reverb_lfo_wander -> QVariant(float, 0.3) 
[21:20:50.037] [DBG] DspHost::update: Property changed: reverb_reflection_amount -> QVariant(float, 0.3) 
[21:20:50.037] [DBG] DspHost::update: Property changed: reverb_reflection_factor -> QVariant(float, 1) 
[21:20:50.037] [DBG] DspHost::update: Property changed: reverb_reflection_width -> QVariant(float, 0.7) 
[21:20:50.037] [DBG] DspHost::update: Property changed: reverb_wet -> QVariant(float, -8) 
[21:20:50.037] [DBG] DspHost::update: Property changed: reverb_width -> QVariant(float, 1) 
[21:20:50.037] [DBG] DspHost::update: Property changed: master_enable -> QVariant(bool, true) 
[21:20:50.038] [DBG] DspHost::update: Config update started
[21:20:50.041] [KNL] Log::kernel: EffectDSPMain: Buffer size changed, update convolution object to maximize performance
[21:20:50.047] [KNL] Log::kernel: EffectDSPMain: Benchmark flag == 1, refreshing convolutions
[21:20:50.047] [KNL] Log::kernel: EffectDSPMain: Buffer size changed, update convolution object to maximize performance
Killed
Moldytzu commented 6 months ago

The package "realtime-priorities" doesn't exist on Ubuntu, neither the realtime group

Moldytzu commented 6 months ago

This fixed for me, it doesn't require you to install any packages, just follow the instructions. https://jackaudio.org/faq/linux_rt_config.html