~jmaibaum

Berlin, Germany

Trackers

~jmaibaum/wip-flatpak-manifests

Last active 2 months ago

~jmaibaum/gst-ltcsrc

Last active 5 months ago

#4 SuperCollider: Build documentation browser 2 months ago

Comment by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Closed in fb639451.

REPORTED RESOLVED FIXED

#4 SuperCollider: Build documentation browser 2 months ago

Ticket created by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Needs qtwebengine

#3 SuperCollider: Support Quarks system 2 months ago

Ticket created by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Needs git:

Fetching https://github.com/supercollider-quarks/quarks.git
ERROR: Quarks requires git to be installed
ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git
ERROR: Primitive '_FileReadLine' failed.
Failed.

#2 SuperCollider: Investigate issues with `/etc/security/limits{.conf,.d/*}` 2 months ago

Comment by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Turns out it's nothing to do with flatpak, but the host system needs to be configured correctly.

The following is a quick step by step reference for users of Fedora Silverblue 33 (read: rpm-ostree-based system without systemd-users), like me.

  1. Add user to audio and jackuser groups:
# grep -E '^audio:' /usr/lib/group >> /etc/group
# groupadd jackuser
# grep -E '^jackuser:' /usr/lib/group >> /etc/group
# usermod -aG audio,jackuser <your-user-name>
  1. Create /etc/security/limits.d/95-jack.conf with the following contents:
# Default limits for users of jack-audio-connection-kit

@jackuser - rtprio 70	
@jackuser - memlock 4194304

@pulse-rt - rtprio 20
@pulse-rt - nice -20
  1. Make sure to set the correct SELinux context on the newly generated file:
$ ls -dZ /etc/security/limits.d/
system_u:object_r:etc_t:s0 /etc/security/limits.d/
$ ls -Z /etc/security/limits.d/95-jack.conf 
unconfined_u:object_r:etc_t:s0 /etc/security/limits.d/95-jack.conf
$ sudo chcon -u system_u /etc/security/limits.d/95-jack.conf
$ ls -Z /etc/security/limits.d/95-jack.conf 
system_u:object_r:etc_t:s0 /etc/security/limits.d/95-jack.conf
  1. Reboot/relogin

#Resources

REPORTED RESOLVED FIXED

#2 SuperCollider: Investigate issues with `/etc/security/limits{.conf,.d/*}` 2 months ago

Ticket created by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Flatpaks want us to jump through a few more hoops in order to get true realtime permissions, even if /etc/security/limits{.conf,.d/*} configuration is present on the host, and the user is in the appropriate groups.

For SuperCollider, there is an error message in the logs, whenever it starts processing audio, falling back to non-rt mode:

Couldn't set realtime scheduling priority 1: Die Operation ist nicht erlaubt

#1 EP-MK1: Consider building Camomile + the plugin ourselves 2 months ago

Ticket created by ~jmaibaum on ~jmaibaum/wip-flatpak-manifests

Currently the maifest just pulls the prebuilt release from Github. Consider changing this to build everything, including Camomile, from within the manifest.

#1 ltcsrc sometimes crashes on armhf (Raspberry Pi) 5 months ago

Comment by ~jmaibaum on ~jmaibaum/gst-ltcsrc

Handling latency queries on our own, as per 875c1f38 seems to have fixed this, since I am no longer able to reproduce on armhf (Raspberry Pi 3B). The default implementation from GstBaseSrc was reporting 0 latency before.

REPORTED RESOLVED FIXED

#2 Only 44100 sample rate works reliably 7 months ago

Comment by ~jmaibaum on ~jmaibaum/gst-ltcsrc

This has been fixed in 3cca02c7.

REPORTED RESOLVED FIXED

#2 Only 44100 sample rate works reliably 7 months ago

bug added by ~jmaibaum on ~jmaibaum/gst-ltcsrc

#2 Only 44100 sample rate works reliably 7 months ago

Ticket created by ~jmaibaum on ~jmaibaum/gst-ltcsrc

For other sample rates, ltcsrc currently outputs only partial buffers.