Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider Preferences do not save. ( Fedora 35 packages out of date fixed by compiling latest from source ) #164

Open
Skrappjaw opened this issue Nov 13, 2022 · 11 comments
Labels
question Documentation or clarification is requested by the issuer creator

Comments

@Skrappjaw
Copy link

Mixer preferences do not save. Interface, Scales, nor MIDI. I like the 70DB scale to avoid clipping channels, and the Pickup Value option avoids slamming a fader to the gills on accident. But every time I reload the preset, these are set to defaults.

@SpotlightKid
Copy link
Contributor

SpotlightKid commented Nov 13, 2022

Thanks for the report. What version of jack_mixer are you using (see "help/About" menu) and which Linux distro? Can you run jack_mixer from a terminal with the debug flag (jack_mixer -d) and load your settings and post the terminal output here? Also, please post your mixer settings XML file and your global settings file (~/.config/jack_mixer/preferences.ini)).

@SpotlightKid SpotlightKid added the needs feedback Waiting for further information from reporter or third-party label Nov 13, 2022
@Skrappjaw
Copy link
Author

Skrappjaw commented Nov 14, 2022

Fedora 35
Version 14

$ jack_mixer -d -c /home/skrapp/Audio_configs/UMC-Korg
WARNING: Cannot load PyXDG. Your preferences will not be preserved across jack_mixer invocations

There is no folder in .config for jack_mixer

The settings XML - The mixer channels all load fine. It's just everything in the preferences that fail.

<jack_mixer geometry="755x435" paned_position="528" visible="True">
<input_channel name="Mic" type="mono" volume="-15.826771" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="1" mute_midi_cc="48" solo_midi_cc="32"/>
<input_channel name="Guitar" type="mono" volume="-inf" balance="0.000000" wide="True" out_mute="True" volume_midi_cc="2" mute_midi_cc="49" solo_midi_cc="33"/>
<input_channel name="SYSTEM-AUDIO" type="stereo" volume="2.598425" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="3" mute_midi_cc="50" solo_midi_cc="34"/>
<input_channel name="Voip" type="stereo" volume="-3.070866" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="4" balance_midi_cc="24" mute_midi_cc="51" solo_midi_cc="35"/>
<input_channel name="Games" type="stereo" volume="-8.740157" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="5" balance_midi_cc="28" mute_midi_cc="52" solo_midi_cc="36"/>
<output_channel name="Voip_out" type="stereo" muted_channels="SYSTEM-AUDIO|Voip" color="rgb(38,162,105)" volume="-9.212599" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="7" balance_midi_cc="0" mute_midi_cc="54"/>
<output_channel name="Main" type="stereo" color="rgb(153,193,241)" volume="2.125984" balance="0.000000" wide="True" out_mute="False" volume_midi_cc="8" mute_midi_cc="55"/>
<gui_factory confirm-quit="False" default_meter_scale="K20" default_slider_scale="linear_30dB" midi_behavior_mode="0" use_custom_widgets="False" vumeter_color="#ccb300" vumeter_color_scheme="default"/>
</jack_mixer>

@SpotlightKid
Copy link
Contributor

Release 14 is more than two years old. Current release is version 17, released more than a year ago. Please test with a current version.

Also, as the warning message says, you need PyXDG installed for proper settings saving and restoring.

@Skrappjaw
Copy link
Author

Makes sense. Must be a packaging issue on Fedora's end.

@Skrappjaw
Copy link
Author

Is there a way to compile this without jack installed? I'm on pipewire and have no intention of "jacking" up my system trying to compile one program just to revert back to pipewire.

@SpotlightKid
Copy link
Contributor

Tbh, I don't really know. I don't use pipewire's JACK part, only the pulseaudio replacement.

On Arch Linux, the package pipewire-jack installs Pipepwire's version of libjack.so in the usual place (/usr/lib), so I guess there compilation should work out-of-the-box, if that package is installed and it reports a version that is compatible with that of JACK1 or JACK2. I haven't tried, though. I'm also not sure, how Pipewire is packaged on Fedora and where it installs its version of libjack.so.

@SpotlightKid SpotlightKid added question Documentation or clarification is requested by the issuer creator and removed needs feedback Waiting for further information from reporter or third-party labels Nov 15, 2022
@Skrappjaw
Copy link
Author

I found the pipewire-jack files in a different location. Tried to make a simlink in /usr/lib but it shows not a recent enough version of jack. But Fedora has version 1.9.19. Compiler only requires 1.9.11.

@SpotlightKid
Copy link
Contributor

SpotlightKid commented Nov 16, 2022

You can try removing the version requirement in the meson.build file:

https://github.com/jack-mixer/jack_mixer/blob/main/meson.build#L16

@SpotlightKid
Copy link
Contributor

Does pipewire-jack on Fedora come with a pkgconf file (jack.pc) for JACK? If so, what does pkgconf --modversion jack report?

@Skrappjaw
Copy link
Author

Noting. Did a search on pkgs.org through the all the jack/pipewire packages fedora ships.
Found it. It's not shipped in the default packages, but it is in the devel packages. Add this note for Fedora users to the installation instructions. I'll also attempt to hit up the Fedora team to let them know jack_mixer is severely out of date/version parity. Thanks for the help.
sudo dnf install pipewire-jack-audio-connection-kit-devel

@Skrappjaw Skrappjaw changed the title Slider Preferences do not save. Slider Preferences do not save. ( Fedora 35 packages out of date fixed by compiling latest from source ) Nov 16, 2022
@SpotlightKid
Copy link
Contributor

Yes, on debian and redhat-based distros you always need to install the -dev packages for the libraries you want to compile/link with.

Thanks for your research.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Documentation or clarification is requested by the issuer creator
Projects
None yet
Development

No branches or pull requests

2 participants