You are not logged in.
I've been trying to eliminate the crackling issue that comes with pipewire when you first install it onto your system. While I've managed to solve it, (I followed this post: https://bbs.archlinux.org/viewtopic.php?id=283324 ) I'm trying to figure out how to make a setting stick. Every time I go and reboot, the values in the two files mentioned in the post (/proc/sys/dev/hpet , /sys/class/rtc/rtc0 ) switch back to the default values of 64 and I want them to stay on 2048.
I feel like I'm missing something that I didn't read from that guy's post and at https://wiki.archlinux.org/title/Professional_audio
How can I make this value stay?
Last edited by scatherinch (2023-04-05 19:08:00)
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
so from what I'm reading, these are supposed to reset, or simply doing 'echo' only affects the current session?
Offline
Did you read the link I posted? Changing those files at runtime only lasts until the next shutdown / reboot and the files are recreated at boot. The link I posted is specifically for this situation so that you can provide a value to be placed in those files when they are created on boot up.
Last edited by Trilby (2023-04-05 18:38:43)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oh. Sorry. Yeah, I read it, but I misunderstood it and had to read it a few more times to get it
I followed the template in your link and edited the paths to those two directories like this for anyone else who wants to try and tackle the crackling in pipewire:
cd /etc/tmpfiles.d
make file of your choosing ( touch <filenamehere>.conf ) and add contents:
# Path Mode UID GID Age Argument
w /sys/class/rtc/rtc0/max_user_freq - - - - 2048
make another file with name of your choosing (touch <filenamehere>.conf) and add contents:
# Path Mode UID GID Age Argument
w /proc/sys/dev/hpet/max-user-freq - - - - 2048
Thanks for your time!
Last edited by scatherinch (2023-04-05 19:14:33)
Offline