JDSP4Linux icon indicating copy to clipboard operation
JDSP4Linux copied to clipboard

App doesn't seem to autostart on kde in a Manjaro installation

Open clmbtti opened this issue 2 years ago • 6 comments

Even though there's an entry to JamesDSP for Linux Systray in kde's autostart settings, the application doesn't load automatically. I need to manually load the app from the application launcher. Running jamesdsp -t on terminal doesn't pop any error out.

clmbtti avatar Apr 25 '22 20:04 clmbtti

I'm under the impression the app might be crashing during or immediately after the system restarts. To test that, I am using a process monitor script:

#!/bin/bash

if [[ -z "$1" ]];then echo "ERROR: must specify program" exit 1 fi

while (( 0 == 0 ));do $@ & pid=jobs -l | awk '{print $2}' wait $pid done

I've been running it as a login script to call jamesdsp like "~/process_monitor.sh jamesdsp -t". By doing that, I am certain that even if the app eventually crashes, it will be running again in no time.

On Tue, 3 May 2022 at 20:47, Tim Schneeberger @.***> wrote:

I noticed this too on my installation after a recent KDE update. I'll look into it

— Reply to this email directly, view it on GitHub https://github.com/Audio4Linux/JDSP4Linux/issues/49#issuecomment-1116766460, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVG27JMNNHQU7MLBBPLE53VIG3IJANCNFSM5UJT7YVA . You are receiving this because you authored the thread.Message ID: @.***>

clmbtti avatar May 04 '22 13:05 clmbtti

If the app was compiled with crash reporting support (by default), it should write a crash dump into /tmp/jamesdsp/crash.dmp and a log to /tmp/jamesdsp/application.log .

Does your workaround fix the issue for you? Perhaps KDE launches the auto-start apps a bit too early when Pulse or Pipewire are not yet fully ready. If there's no pulse/PW server present, this app will terminate itself and refuse to run at the moment.

timschneeb avatar May 04 '22 13:05 timschneeb

The workaround works, but certainly not as elegant as, say, a systemd service, which I would love to see made available in the future. I'm annexing crash-prev.dmp as crash.dmp looks empty. Also, application and application-prev.log.

On Wed, 4 May 2022 at 10:57, Tim Schneeberger @.***> wrote:

If the app was compiled with crash reporting support (by default), it should write a crash dump into /tmp/jamesdsp/crash.dmp and a log to /tmp/jamesdsp/application.log .

Does your workaround fix the issue for you? Perhaps KDE launches the auto-start apps a bit too early when Pulse or Pipewire are not yet fully ready. If there's no pulse/PW server present, this app will terminate itself and refuse to run at the moment.

— Reply to this email directly, view it on GitHub https://github.com/Audio4Linux/JDSP4Linux/issues/49#issuecomment-1117346705, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVG27NJBS4TMRGAEVU6H3DVIJ65HANCNFSM5UJT7YVA . You are receiving this because you authored the thread.Message ID: @.***>

clmbtti avatar May 04 '22 14:05 clmbtti

I missed one of the files.

On Wed, 4 May 2022 at 11:10, Cláudio Bichuetti @.***> wrote:

The workaround works, but certainly not as elegant as, say, a systemd service, which I would love to see made available in the future. I'm annexing crash-prev.dmp as crash.dmp looks empty. Also, application and application-prev.log.

On Wed, 4 May 2022 at 10:57, Tim Schneeberger @.***> wrote:

If the app was compiled with crash reporting support (by default), it should write a crash dump into /tmp/jamesdsp/crash.dmp and a log to /tmp/jamesdsp/application.log .

Does your workaround fix the issue for you? Perhaps KDE launches the auto-start apps a bit too early when Pulse or Pipewire are not yet fully ready. If there's no pulse/PW server present, this app will terminate itself and refuse to run at the moment.

— Reply to this email directly, view it on GitHub https://github.com/Audio4Linux/JDSP4Linux/issues/49#issuecomment-1117346705, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVG27NJBS4TMRGAEVU6H3DVIJ65HANCNFSM5UJT7YVA . You are receiving this because you authored the thread.Message ID: @.***>

clmbtti avatar May 04 '22 14:05 clmbtti

I am experiencing this same issue on Fedora 36. I just can't get it to start at startup, always have to manually start it.

Log: [15:20:17.706] [INF] Application version: 2.3-37-g221a34e (Pipewire flavor) [15:20:17.706] [INF] Qt library version: 5.15.3 [15:20:17.706] [DBG] Launched by system session manager: no [15:20:17.706] [DBG] Environment id: f023069ecf6b47f19140f6a3b60eb0c0 [15:20:17.706] [INF] SingleInstanceMonitor::isServiceReady: Service registration successful [15:20:17.874] [INF] ============ Initializing audio service ============ [15:20:17.874] [INF] Compiled with PipeWire support. [15:20:17.874] [INF] This application flavor does not support PulseAudio. [15:20:17.874] [INF] If you want to use this application with PulseAudio, you need to recompile this app with proper support enabled. [15:20:17.874] [INF] Refer to the README for more detailed information. [15:20:17.874] [INF] [15:20:17.874] [DBG] MainWindow::ctor: Blocklisted apps: [15:20:17.874] [DBG] MainWindow::ctor: Blocklist mode: block [15:20:17.875] [DBG] PwPipelineManager: compiled with pipewire: 0.3.51 [15:20:17.875] [DBG] PwPipelineManager: linked to pipewire: 0.3.51 [15:20:17.877] [DBG] PwPipelineManager: core version: 0.3.51 [15:20:17.877] [DBG] PwPipelineManager: core name: pipewire-0 [15:20:17.877] [DBG] PwPipelineManager: found metadata: settings [15:20:17.877] [DBG] PwPipelineManager: found metadata: default [15:20:17.877] [DBG] PwPipelineManager: found metadata: route-settings [15:20:17.877] [DBG] PwPipelineManager: Audio/Sink 40 jamesdsp_sink was added [15:20:18.256] [DBG] PwPipelineManager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, {"name":"jamesdsp_sink"} [15:20:18.256] [DBG] PwPipelineManager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-SteelSeries_Arctis_Pro_Wireless-00.mono-chat"} [15:20:18.267] [DBG] PwPipelineManager: Filter jdsp_PwJamesDspPlugin_JamesDsp, id = 47, was added [15:20:18.269] [DBG] PwJamesDspPlugin: JamesDsp successfully connected to pipewire graph [15:20:18.269] [DBG] FilterContainer: link from node 40 to node 47 failed [15:20:18.269] [DBG] FilterContainer: link from node 40 to output device 4294967295 failed [15:20:18.291] [DBG] PwPipelineManager: Audio/Sink 54 alsa_output.pci-0000_09_00.1.hdmi-stereo was added [15:20:18.294] [DBG] PwPipelineManager: Audio/Sink 55 alsa_output.usb-SteelSeries_Arctis_Pro_Wireless-00.mono-chat was added [15:20:18.294] [DBG] PwPipelineManager: Audio/Sink 56 alsa_output.usb-SteelSeries_Arctis_Pro_Wireless-00.stereo-game was added [15:20:18.294] [DBG] PwPipelineManager: Audio/Source 57 alsa_input.usb-SteelSeries_Arctis_Pro_Wireless-00.mono-chat was added [15:20:18.312] [DBG] PwPipelineManager: Audio/Source 58 alsa_input.usb-Creative_Technology_Ltd._VF0700_Live__Cam_Chat_HD_2C238752-02.mono-fallback was added [15:20:18.318] [DBG] PwPipelineManager: Audio/Sink 59 alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y73XP8B1B21E7A-00.analog-stereo was added [15:20:18.318] [DBG] PwPipelineManager: Audio/Source 60 alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y73XP8B1B21E7A-00.iec958-stereo was added [15:20:18.336] [DBG] PwPipelineManager: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"jamesdsp_sink"} [15:20:18.336] [DBG] PwPipelineManager: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-SteelSeries_Arctis_Pro_Wireless-00.mono-chat"} [15:20:18.336] [DBG] PwPipelineManager: new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_0b_00.3-usb-0_2.3.3_1.0"} [15:20:18.368] [DBG] ConfigContainer::getString: Key 'Exec' not found [15:20:18.385] [INF] ============ Initializing user interface ============ [15:20:18.392] [DBG] DspHost::update called [15:20:18.392] [DBG] DspHost::update: Property changed: bass_enable -> QVariant(bool, true) [15:20:18.392] [DBG] DspHost::update: Property changed: bass_maxgain -> QVariant(QString, "5") [15:20:18.392] [DBG] DspHost::update: Property changed: compression_aggressiveness -> QVariant(QString, "800") [15:20:18.392] [DBG] DspHost::update: Property changed: compression_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: compression_maxatk -> QVariant(QString, "30") [15:20:18.392] [DBG] DspHost::update: Property changed: compression_maxrel -> QVariant(QString, "200") [15:20:18.392] [DBG] DspHost::update: Property changed: convolver_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: convolver_file -> QVariant(QString, """") [15:20:18.392] [DBG] DspHost::update: Property changed: convolver_optimization_mode -> QVariant(QString, "0") [15:20:18.392] [DBG] DspHost::update: Property changed: convolver_waveform_edit -> QVariant(QString, ""-80;-100;0;0;0;0"") [15:20:18.392] [DBG] DspHost::update: Property changed: crossfeed_bs2b_fcut -> QVariant(QString, "700") [15:20:18.392] [DBG] DspHost::update: Property changed: crossfeed_bs2b_feed -> QVariant(QString, "60") [15:20:18.392] [DBG] DspHost::update: Property changed: crossfeed_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: crossfeed_mode -> QVariant(QString, "3") [15:20:18.392] [DBG] DspHost::update: Property changed: ddc_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: ddc_file -> QVariant(QString, """") [15:20:18.392] [DBG] DspHost::update: Property changed: graphiceq_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: graphiceq_param -> QVariant(QString, ""GraphicEQ: 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"") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_bassboost -> QVariant(QString, "0.25000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_decay -> QVariant(QString, "2.08000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_delay -> QVariant(QString, "0.00000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_enable -> QVariant(bool, false) [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_finaldry -> QVariant(QString, "-7.00000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_finalwet -> QVariant(QString, "-9.00000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lfo_spin -> QVariant(QString, "0.70000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lfo_wander -> QVariant(QString, "0.30000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lpf_bass -> QVariant(QString, "600") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lpf_damp -> QVariant(QString, "9000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lpf_input -> QVariant(QString, "18000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_lpf_output -> QVariant(QString, "17000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_osf -> QVariant(QString, "1") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_reflection_amount -> QVariant(QString, "0.30000") [15:20:18.392] [DBG] DspHost::update: Property changed: reverb_reflection_factor -> QVariant(QString, "1.00000") [15:20:18.393] [DBG] DspHost::update: Property changed: reverb_reflection_width -> QVariant(QString, "0.70000") [15:20:18.393] [DBG] DspHost::update: Property changed: reverb_wet -> QVariant(QString, "-8.00000") [15:20:18.393] [DBG] DspHost::update: Property changed: reverb_width -> QVariant(QString, "1.00000") [15:20:18.393] [DBG] DspHost::update: Property changed: liveprog_enable -> QVariant(bool, false) [15:20:18.393] [DBG] DspHost::update: Property changed: liveprog_file -> QVariant(QString, """") [15:20:18.393] [DBG] DspHost::update: Property changed: master_enable -> QVariant(bool, true) [15:20:18.393] [DBG] DspHost::update: Property changed: master_limrelease -> QVariant(QString, "60") [15:20:18.393] [DBG] DspHost::update: Property changed: master_limthreshold -> QVariant(QString, "0") [15:20:18.393] [DBG] DspHost::update: Property changed: master_postgain -> QVariant(QString, "0") [15:20:18.393] [DBG] DspHost::update: Property changed: stereowide_enable -> QVariant(bool, false) [15:20:18.393] [DBG] DspHost::update: Property changed: stereowide_level -> QVariant(QString, "30") [15:20:18.393] [DBG] DspHost::update: Property changed: tone_enable -> QVariant(bool, true) [15:20:18.393] [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;4;4;3.5;1;0;-0.5;-2;0;2;0;0;3.88382;5.22822;6.57261;8.46473"") [15:20:18.394] [DBG] DspHost::update: Property changed: tone_filtertype -> QVariant(QString, "0") [15:20:18.395] [DBG] DspHost::update: Property changed: tone_interpolation -> QVariant(QString, "0") [15:20:18.395] [DBG] DspHost::update: Property changed: tube_enable -> QVariant(bool, false) [15:20:18.395] [DBG] DspHost::update: Property changed: tube_pregain -> QVariant(QString, "200") [15:20:18.395] [ERR] DspHost::updateConvolver: Impulse response is empty. Disabling convolver. [15:20:18.395] [DBG] DspHost::updateConvolver: Unable to read impulse response. No file selected or abnormal channel count? [15:20:18.395] [DBG] DspHost::refreshLiveprog: Referenced file does not exist anymore. Disabling liveprog. [15:20:18.396] [ERR] DspHost::refreshLiveprog: Cannot open file path. Disabling liveprog.

Exioncore avatar Jun 06 '22 13:06 Exioncore

same error here on archlinux. I need to start it manually, when i check the autostart option on configs it register on the "Tweaks" but does not work. There is some crash on dump files but i'm not sure if this crash comes from autostart or not.

ThiagoSchetini avatar Aug 23 '22 05:08 ThiagoSchetini

This issue is very likely fixed by https://github.com/Audio4Linux/JDSP4Linux/releases/tag/2.5.0. It adds some additional startup logic that should handle this correctly.

timschneeb avatar Jun 17 '23 14:06 timschneeb