Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fixed: jack durch pipwire ersetzt - Problem mit limits.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2576
Location: Heidelberg - Germany

PostPosted: Sun Jan 07, 2024 3:26 pm    Post subject: Fixed: jack durch pipwire ersetzt - Problem mit limits.conf Reply with quote

Hallo,

ich habe pipewire mit USE=jack-sdk gebaut und es funktioniert hervorragend. Pipewire emuliert jetzt jack und dadurch ergibt sich eine optimal Desktop Integration und Bequemlichkeit.

Leider hat das jetzt einen Haken:
Pipewire blockt mit dem USE=jack-sdk das paket "jack-audio-connection-kit" und diese wird daher deinstalliert. Das macht erstmal nix aber leider verschwindet damit auch die Gruppe "realtime", durch welche in der /etc/security/limits.conf festgelegt wurde, dass das Speicher - und Prioritätslimit aufgehoben wurde:

Code:

@realtime  -       rtprio          99
@realtime  -       memlock         unlimited
@realtime  -       nice            -19


Als Konsequenz beschwert sich jetzt Ardour beim Start darüber. Das kann man irgnorien aber es hatte ja einen Sinn, dass dieses nicht limitiert ist. Als Lösungsversuch habe ich nun die Gruppe "audio", in der meine user ist, entsprechend privilegiert:
Code:

@audio  -       memlock         unlimited

@pipewire - rtprio 99
@pipewire - nice -19
@pipewire - memlock unlimited


Leider bewirkt das nichts, Ardour weißt bei jedem Start darauf hin, dass der Speicher limitiert ist und daher ggf. ausgehen könnte.

ulimit -l sagt:
Code:

martin@kellerkind ~ $ id
uid=1000(martin) gid=1000(martin) Gruppen=1000(martin),7(lp),10(wheel),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),27(video),35(games),80(cdrw),85(usb),100(users),101(vboxusers),102(scanner),103(realtime),105(plugdev),106(lpadmin),250(portage),509(pipewire),998(davfs2)
martin@kellerkind ~ $ ulimit -l
4194304


Wie man sieht, bin ich in der Gruppe pipewire und auch audio. Trotzdem ist das Memorylimit 4GB.

Und genau das verstehe ich nicht. Kann mir hier jemand weiterhelfen?

Grüße
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W


Last edited by Erdie on Sun Jan 07, 2024 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2576
Location: Heidelberg - Germany

PostPosted: Sun Jan 07, 2024 4:25 pm    Post subject: Reply with quote

Habe die Lösung hier gefunden:
https://forums.gentoo.org/viewtopic-t-1134159-start-0.html

Danke
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum