Probleme avec Guitarix [Réglé]
failed to lock memory
Logiciels / Musique MAO Synthèse vocale
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
J'ai juste installé guitarix mais j'ai un souci d'allocation de memoire: "system init *** mlockall failed" "failed to lock memory".
Pourtant je me suis mis dans le groupe audio, dans le groupe realtime et j'ai mis comme dans https://www.mageialinux-online.org/wiki/m-a-o-musique-assistee-par-ordinateur dans /etc/security/limits.conf:
@audio - memlock 16000000
@audio - rtprio 90
Qu'en pensez vous?
Merci du coup de main
B
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
De quelle taille de mémoire vive dispose la bécane ?
Là, tu lui indiques de réserver 16 Go.
As-tu redémarré après ces modifications ? Je ne sais pas si elle s'appliquent directement ou au démarrage uniquement.
Yves

Yuusha Membre non connecté
-
- Voir le profil du membre Yuusha
- Inscrit le : 04/07/2017
- Groupes :
-
Modérateur
-
Administrateur
-
Forgeron
Je n'y connais rien à Guitarix, mais as-tu essayé ces indications ?
Tu as aussi cette vérification à effectuer. Chez moi la réponse n'est pas unlimited mais 64. Il faudrait changer cette valeur.

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Citation :
Je ne sais pas si elle s'appliquent directement ou au démarrage uniquement.
S' agissant d' un fichier de configuration et vu le nom des paramètres, je pencherais pour la deuxième solution, les paramètres étant probablement liés à un processus, si celui ci ne relit pas sa conf (encore plus si c' est du noyau), la chance que ce soit pris en compte est quasi nulle à mon avis.
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
papoteur :
De quelle taille de mémoire vive dispose la bécane ?
Là, tu lui indiques de réserver 16 Go.
Là, tu lui indiques de réserver 16 Go.
J'ai récupéré une vielle station de travail Bi-Processeur avec 56Go de ram, d'ou les 16Go.
J'ai redémarré plusieurs fois.
J'ai un doute sur la validité du fichier limits.conf. Quand je l'ai ouvert tout était commenté.
Je vais jeter un œil aux indications de Yuusha et je vous fait un retour
Merci
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
[p][baptiste@localhost ~]$ ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 225142
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 225142
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
D'après https://superuser.com/questions/740000/modify-and-apply-limits-conf-without-reboot et https://stackoverflow.com/questions/24180048/linux-limits-conf-not-workingil il semble que il y ait plusieurs fichiers a regarder:
/etc/security/limits.conf
/etc/systemd/user.conf
/etc/pam.d/su
Je m'y perds un peu

Édité par Anonymous23 Le 13/05/2022 à 20h32
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
/etc/systemd/user.conf:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# You can override the directives in this file by creating files in
# /etc/systemd/user.conf.d/*.conf.
#
# See systemd-user.conf(5) for details
[Manager]
#LogLevel=info
#LogTarget=console
#LogColor=yes
#LogLocation=no
#LogTime=no
#SystemCallArchitectures=
#TimerSlackNSec=
#StatusUnitFormat=description
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=inherit
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
#DefaultTimeoutAbortSec=
#DefaultRestartSec=100ms
#DefaultStartLimitIntervalSec=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultLimitCPU=
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
#DefaultLimitCORE=
#DefaultLimitRSS=
#DefaultLimitNOFILE=
#DefaultLimitAS=
#DefaultLimitNPROC=
DefaultLimitMEMLOCK=unlimited
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
DefaultLimitRTPRIO=98
#DefaultLimitRTTIME=
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# You can override the directives in this file by creating files in
# /etc/systemd/user.conf.d/*.conf.
#
# See systemd-user.conf(5) for details
[Manager]
#LogLevel=info
#LogTarget=console
#LogColor=yes
#LogLocation=no
#LogTime=no
#SystemCallArchitectures=
#TimerSlackNSec=
#StatusUnitFormat=description
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=inherit
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
#DefaultTimeoutAbortSec=
#DefaultRestartSec=100ms
#DefaultStartLimitIntervalSec=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultLimitCPU=
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
#DefaultLimitCORE=
#DefaultLimitRSS=
#DefaultLimitNOFILE=
#DefaultLimitAS=
#DefaultLimitNPROC=
DefaultLimitMEMLOCK=unlimited
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
DefaultLimitRTPRIO=98
#DefaultLimitRTTIME=
/etc/security/limits.conf
# /etc/security/limits.conf
#
#This file sets the resource limits for the users logged in via PAM.
#It does not affect resource limits of the system services.
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
#
#Where:
#<domain> can be:
# - a user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open file descriptors
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
#
#<domain> <type> <item> <value>
#
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
@audio - memlock 16000000
@audio - rtprio 90
@realtime - rtprio 95
@realtime - memlock 16000000
# End of file
#
#This file sets the resource limits for the users logged in via PAM.
#It does not affect resource limits of the system services.
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
#
#Where:
#<domain> can be:
# - a user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open file descriptors
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
#
#<domain> <type> <item> <value>
#
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
@audio - memlock 16000000
@audio - rtprio 90
@realtime - rtprio 95
@realtime - memlock 16000000
# End of file
/etc/pam.d/su:
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth include system-auth
account sufficient pam_succeed_if.so uid = 0 use_uid quiet
account include system-auth
password include system-auth
session include system-auth
session optional pam_xauth.so
session required pam_limits.so
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth include system-auth
account sufficient pam_succeed_if.so uid = 0 use_uid quiet
account include system-auth
password include system-auth
session include system-auth
session optional pam_xauth.so
session required pam_limits.so
Édité par Anonymous23 Le 18/02/2024 à 14h48
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
Je suis sous Mate.
J’ouvre un terminal normal:
[baptiste@localhost ~]$ ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 225142
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 225142
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
J'ouvre un terminal Mate
[baptiste@localhost ~]$ ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 99
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 225142
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 99
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Et guitarix s'allume.
Quelle est la différence entre les deux terminaux?
@+
B
Édité par Anonymous23 Le 14/05/2022 à 11h34
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
J'ai du revenir à un noyau plus ancien (5.10).
Dernier double bug, QjackCtl ne sauvegarde pas les configs que je lui rentre et je ne peux pas glisser déposer mes presets dans guitarix
Enfin je me pose la question de reinstaller avec un bureau Gnome. J'avais fait une première instal ou qjackctl ne buguait pas, et depuis que j'ai reinstallé en mettant Mate ça bugue. Est ce possible que le bureau influe?
Édité par Anonymous23 Le 15/05/2022 à 09h52
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
Cela semble marcher.
Pour autant dès que je rentre un script dans QjackCtl pour paramétrer celui ci ça plante (une fois sur deux, c'est bizarre)
Je marque le sujet réglé puisque guitarix se lance, mais cela ne marche pas encore parfaitement
Édité par Anonymous23 Le 15/05/2022 à 20h39
Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
-
- Voir le profil du membre Anonymous23
- Inscrit le : 19/03/2022
- Groupes :
-
Forgeron
J'ai réussi à régler Jack en important une baie de brassage générée sous Librazik.
La faute n'est probablement pas à Mageia, les commandes jack sont très capricieuses.
On peut importer ses presets sur Guitarix en les faisant glisser juste en haut de la liste de presets.
Tout marche donc.

Dell Précision 5520 et 7810. MGA9 Mate et KDE et Librazik 4
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie