Skip to content

Feature Request: Default limits configuration for audio/ESYNC workloads (limits.d) #249

Description

@daedaevibin

Hey team,

It would be awesome if CachyOS shipped with a default resource limits configuration (via /etc/security/limits.d/) to support low-latency audio (PipeWire) and high file-descriptor limits needed for game compatibility like ESYNC out of the box.

Hardcoding a specific username won't work globally, but applying them to a system group (like @audio or @realtime) coupled with a quick user setup hook could solve it cleanly.

Recommended Profile:

@audio       soft    rtprio          98
@audio       hard    rtprio          98 
@audio       soft    memlock         unlimited
@audio       hard    memlock         unlimited
@audio       soft    nice            -11   
@audio       hard    nice            -20
@audio       soft    nofile          524288
@audio       hard    nofile          524288

Would something like this make sense to roll into CachyOS-Settings for out-of-the-box gaming and audio stability?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions