Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
feat: CachyOS audio-related configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Mar 17, 2024
1 parent 20ce33f commit 31ac103
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/files/shared/etc/modprobe.d/nvidia.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
options nvidia NVreg_UsePageAttributeTable=1 NVreg_InitializeSystemMemoryAllocations=0 NVreg_DynamicPowerManagement=0x02
options nvidia_drm modeset=1 fbdev=1
2 changes: 2 additions & 0 deletions config/files/shared/etc/security/limits.d/99-audio.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@audio - rtprio 99
@audio - memlock unlimited
1 change: 1 addition & 0 deletions config/files/shared/etc/security/limits.d/99-esync.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* hard nofile 2097152
2 changes: 2 additions & 0 deletions config/files/shared/etc/security/limits.d/99-realtime.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@realtime - rtprio 99
@realtime - memlock unlimited
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Service]
LogLevelMax=info
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Increase the highest requested RTC interrupt frequency
# https://wiki.archlinux.org/title/Professional_audio#System_configuration
w! /sys/class/rtc/rtc0/max_user_freq - - - - 3072
w! /proc/sys/dev/hpet/max-user-freq - - - - 3072
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"

0 comments on commit 31ac103

Please sign in to comment.