[systemd-devel] Tuning A/V at Boot
systemdkiosk at yopmail.com
systemdkiosk at yopmail.com
Sat Jun 8 17:43:30 PDT 2013
Where in boot sequence tune A/V latency? Is sound.target relevant?
Following advice on
https://wiki.archlinux.org/index.php/ProAudio#System_Configuration
I'm getting script failures and wondering why. The script runs well stand-alone.
It must have boot sequencing issues.
Kernel command line params may be a better way, if anyone can say.
If systemd can handle the job beautiful. Lend advice on
Before=, After=, RequiredBy= and such like. Thanks.
------------------------------------------------------------
# /etc/systemd/system/audiovisualtweaks.service
[Unit]
Description=Audio-visual performance tweaks
[Service]
ExecStart=/etc/systemd/system/audiovisualtweaks.sh
Type=oneshot
[Install]
WantedBy=multi-user.target
------------------------------------------------------------
#!/usr/bin/env bash
# /etc/systemd/system/audiovisualtweaks.sh
set -e
echo 2048 > /sys/class/rtc/rtc0/max_user_freq
# default for all PCI
setpci -d *:* latency_timer=b0
# PCI sound card
setpci -s 00:09.0 latency_timer=ff
# AGP video card
setpci -s 01:00.0 latency_timer=ff
--
http://www.fastmail.fm - Send your email first class
More information about the systemd-devel
mailing list