Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 467
    • Issues 467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Issues
  • #1528
Closed
Open
Created Aug 18, 2021 by Aaron Cottle@aaronjcottle

rtkit could not set nice-level to -11: Permission denied

Version, Distribution, Desktop Environment: Pipewire 0.3.33, Arch, KDE Plasma 5.22.4-1

Description of Problem: Launching an application (tested ardour6, renoise and supertuxkart) with PIPEWIRE_DEBUG=2 reveals that rtkit cannot set the nice level to -11 despite me having put myself in the rtkit group and the audio group.

I'm suspecting that the lack of realtime priority is the reason for the occasional xruns (1 or 2 every 5 minutes) I've been getting.

❯ PIPEWIRE_DEBUG=2 ardour6
Ardour6.9.0 (built using 6.9 and GCC version 11.1.0)
Ardour: [INFO]: Your system is configured to limit Ardour to 524288 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: Loading user configuration file /home/aaron/.config/ardour6/config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /home/aaron/.config/ardour6/plugin_metadata/plugin_stats
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/aaron/.config/ardour6/ui_config
Ardour: [INFO]: Loading 452 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading color file /usr/share/ardour6/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /etc/ardour6/clearlooks.rc
Ardour: [INFO]: Loading bindings from /etc/ardour6/ardour.keys
Loading ui configuration file /etc/ardour6/clearlooks.rc
[W][00087.804793][     module-rt.c:  111 set_nice()] could not set nice-level to -11: Permission denied
[W][00087.808168][     module-rt.c:  111 set_nice()] could not set nice-level to -11: Permission denied
Found nothing along /home/aaron/.config/ardour6/templates:/usr/share/ardour6/templates
^C

How Reproducible: 100%

Actual Results: nice-level is not set

Expected Results: nice level should be set to -11

attached is my pw-log log

Thanks so much for your awesome work people :)

Edited Aug 18, 2021 by Aaron Cottle
Assignee
Assign to
Time tracking