Dołączyłem się do grupy audio poprzez ustawienia system/administracja/użytkownicy i grupy
Załączam dwa zapisy wiadomości.
1) Pierwszy dla połączenia bez realtime:
Kod: Zaznacz cały
20:42:02.578 Patchbay deactivated.
20:42:02.585 Statistics reset.
20:42:02.688 ALSA connection graph change.
20:42:02.964 ALSA connection change.
20:42:11.490 Startup script...
20:42:11.492 artsshell -q terminate
sh: artsshell: not found
20:42:11.894 Startup script terminated with exit status=32512.
20:42:11.894 JACK is starting...
20:42:11.894 /usr/bin/jackd -p128 -dalsa -dhw:0 -r44100 -p1024 -n3 -s -m
20:42:11.897 JACK was started with PID=2365.
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
SSE2 detected
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|soft-mode|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
20:42:13.954 Server configuration saved to "/home/brombox/.jackdrc".
20:42:13.956 Statistics reset.
20:42:13.958 Client activated.
20:42:13.960 JACK connection change.
20:42:13.964 JACK connection graph change.
SSE2 detected
2) Próba połączenia z realtime
Kod: Zaznacz cały
21:02:48.576 Patchbay deactivated.
21:02:48.601 Statistics reset.
21:02:48.676 ALSA connection graph change.
21:02:48.917 ALSA connection change.
21:03:16.688 Startup script...
21:03:16.688 artsshell -q terminate
sh: artsshell: not found
21:03:17.091 Startup script terminated with exit status=32512.
21:03:17.091 JACK is starting...
21:03:17.091 /usr/bin/jackd -R -P1 -p128 -dalsa -dhw:0 -r44100 -p1024 -n3 -s -m
21:03:17.094 JACK was started with PID=2045.
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10)
[for thread -1417287952, from thread -1417287952]
(1: Operation not permitted)
cannot create engine
21:03:17.416 JACK was stopped successfully.
21:03:17.417 Post-shutdown script...
21:03:17.418 killall jackd
jackd: nie znaleziono ??adnego procesu
21:03:17.858 Post-shutdown script terminated with exit status=256.
21:03:19.163 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Zrobiłem to, co sugerują strony Jack. Ustawiłem preemptible oraz wpisałem linijki z kodem @audio... Wchodziłem do kernela, ale zatrzymałem się tutaj z pewną bojaźnią. Znalazłem artykuł, który mówi, że manipulowanie na CPU Group Scheduler, a więc szczególnie plikach sched_rt_runtime_us oraz sched_rt_period_us jest niebezpieczne. Innymi słowy, JACK wymaga żeby manipulować na pracy procesora, co może powodować niestabilność pracy systemu. Z pragmatycznego punktu widzenia program działa i inne programy które z nim współpracujące też, więc co mi da "realtime"? Próbuję rozgryźć tę funkcję, ale brak już mi opcji.