Wireplumber realtme problem and Realtime tweaks for Pro Audio

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

gabtram
Established Member
Posts: 38
Joined: Wed Nov 23, 2022 12:01 pm
Been thanked: 1 time

Re: Wireplumber realtme problem and Realtime tweaks for Pro Audio

Post by gabtram »

Hi Largos,

thanks so:
I read the thread and the script.
So it's the same of this command:

Code: Select all

pw-metadata -n settings 0 clock force-quantum 256
And pw-metadata -n settings 0 clock.force-rate 48000

And the scripts create on the fly a bash script. But i hjave to execute this script after boot. Correctly?

Is' also similar to this

Code: Select all

# echo 2048 > /sys/class/rtc/rtc0/max_user_freq
# echo 2048 > /proc/sys/dev/hpet/max-user-freq

Suggest in the pro audio arch linux guide?

With Jack delay, you run it and it creates an jack application instance you connect the jack delay output > whatever you want to measure the latency of > jack delay input and it measures the round trip. So (without watching it) what unfa was probably doing was connecting jack delay output > interface output > interface input > jack delay input.

This is the video https://www.youtube.com/watch?v=5zFA5piXf8Q
Usually i connect my guitar to focus rite input then link to ouput and to jack_iodelay then to input. So i made a round with the pipewire graphic tool Qgraphctl

For the rest have you some suggestions?
I set the governor to performance and other kind of things but i receive some kernel failure at boot after following
https://wiki.archlinux.org/title/Professional_audio and besides i haven't yet:

  • Installed the real time kernel pachset cause i don't kno how to configure the boot. Is it possible i can0t find a guide to do this?

  • I haven't inserted

    Code: Select all

    noatime 

    in my fstab cause i don't know if is secure to set on my sda1 (boot) ad also sd3(hdd)

  • latecy enhance on my internal pci audiocard

    Code: Select all

    sudo setpci -v -s00:1f:3 latency_timer=ff setpci: Warning: No devices selected for operation group 1.

Thnaks!!!
Bye

Ps: i will try guitarix with you suggestions.

User avatar
Largos
Established Member
Posts: 639
Joined: Mon Oct 05, 2020 12:21 pm
Has thanked: 72 times
Been thanked: 186 times

Re: Wireplumber realtme problem and Realtime tweaks for Pro Audio

Post by Largos »

gabtram wrote: Thu Feb 22, 2024 2:44 pm

Hi Largos,

thanks so:
I read the thread and the script.
So it's the same of this command:

Code: Select all

pw-metadata -n settings 0 clock force-quantum 256
And pw-metadata -n settings 0 clock.force-rate 48000

And the scripts create on the fly a bash script. But i hjave to execute this script after boot. Correctly?

The command in your quote sets a single value that all applications and only does so temporarily so it will be reset at boot. The script I posted changes the default setting persistently. This means you don't need to run a command or script every boot and if applications want to specify a buffer other than the default they may.

Is' also similar to this

Code: Select all

# echo 2048 > /sys/class/rtc/rtc0/max_user_freq
# echo 2048 > /proc/sys/dev/hpet/max-user-freq

Suggest in the pro audio arch linux guide?

I don't know those settings.

Usually i connect my guitar to focus rite input then link to ouput and to jack_iodelay then to input. So i made a round with the pipewire graphic tool Qgraphctl

jack_iodelay isn't meant to measure your guitar input. It generates it's own sound and measures how long the sound takes for it to go from the ouput to the input. You put things in between them and it measures how long those things hold the sound up.

For the rest have you some suggestions?

No, I don't bother with any of that myself.

User avatar
LAM
Established Member
Posts: 992
Joined: Thu Oct 08, 2020 3:16 pm
Has thanked: 141 times
Been thanked: 349 times

Re: Wireplumber realtme problem and Realtime tweaks for Pro Audio

Post by LAM »

It's probaly worth mentioning this interesting post about latency compensation in PW (unless something changed and made the entire process user friendly):

https://discourse.ardour.org/t/how-does ... /107381/12

in mix, nobody can hear your screen

Post Reply