Problema con i Midi e Rosegarden

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
x-davide
Linux 0.x
Linux 0.x
Messaggi: 32
Iscritto il: mer 8 nov 2006, 14:58
Località: R3

Problema con i Midi e Rosegarden

Messaggio da x-davide »

Ciao a tutti, dunque, passo alla descrizione del problema: quando apro rosegarden per editare o ascolare dei midi, questo mi restituisce un errore, dicendomi che rosegarden non ha trovato una sorgente del timer ad alta risoluzione...con la diretta conseguenza di non poter ascoltare nessun midi. Qualcuno ha qualche idea?? :cry:

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

5.6. What does "System timer resolution is too low" mean?

If you see this message in an error dialog when Rosegarden starts up, then you are probably using a Linux kernel that doesn't offer sufficiently high-resolution system timers for MIDI use.

Rosegarden uses ALSA sequencer queue scheduling (inside the Linux kernel) for its MIDI output. The sequencer queue can use a variety of timing sources, of which the default is the kernel system timer. The kernel system timer was 1000Hz in Linux 2.6 kernels up to 2.6.12, but as of 2.6.13 it's now 250Hz in mainline kernels. This is not good enough for good MIDI timing.

Your options are:
Switch the sequencer to use a different timing source (Settings -> Configure Rosegarden... -> Sequencer -> Synchronisation). The best one in theory is the RTC timer, which is only available if you have snd-rtctimer loaded, but unfortunately that has a habit of totally locking systems running real-time kernels. Meanwhile, the PCM timers only work if the JACK audio server is running, and suffer jitter corresponding to the JACK buffer size.

Recompile your kernel with HZ set to 1000. Sadly there's no way to change this without a recompile. It's the best solution though.

Switch to a different Linux distribution that provides a kernel more appropriate for multimedia use.

Put up with the poorer timing of a 250Hz timer (if you want to get rid of the warning while continuing to use this timer, set the timer source to "system timer" rather than "(auto)").

Hopefully future versions of Rosegarden and/or the Linux kernel will provide better ways to solve this problem.

x-davide
Linux 0.x
Linux 0.x
Messaggi: 32
Iscritto il: mer 8 nov 2006, 14:58
Località: R3

Messaggio da x-davide »

Gohanz, thank you for your suggestions...I will try to recompile the kernel (2.6.17.13), and I will post my results!! :)

sir_alex
Linux 3.x
Linux 3.x
Messaggi: 735
Iscritto il: lun 21 mar 2005, 0:00
Kernel: 2.6.35-22
Desktop: KDE4
Distribuzione: Ubuntu
Località: Milano - Corbola (RO)
Contatta:

Messaggio da sir_alex »

Anche a me dava lo stesso errore e la ricompilazione è andata a buon fine, voglio solo sottolineare che dopo la compilazione è stato necessario impostare su rosegarden la sincronizzazione a rtc...

ermastr
Linux 1.x
Linux 1.x
Messaggi: 101
Iscritto il: ven 8 set 2006, 11:32

Problemi con Rosegarden

Messaggio da ermastr »

Salve a tutti Quando avvio il programma ricevo il messaggio: Rosegarden non ha trovato una sorgente del timer ad alta risoluzione per la riproduzione MIDI.
Questo potrebbe significare che si sta usando un kernel Linux con una risoluzione del timer troppo bassa. Durante l'installazione ho caricato il Kernel 2.6.18 testing dal dvd ed ho una Audigy 1 [SB0090].
Make menuconfig:

<M> Sound card support
Advanced Linux Sound Architecture


<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[*] OSS Sequencer API
<M> RTC Timer support
[*] Use RTC as default sequencer timer
[ ] Dynamic device file minor numbers
[*] Support old ALSA API
[*] Verbose procfs contents
[ ] Verbose printk
[ ] Debug
Recompile your kernel with HZ set to 1000- Come faccio a settare HZ?, cioè: dove trovo HZ?
Oppure: Switch to a different Linux distribution that provides a kernel more appropriate for multimedia use. :cry: A me dispiacerebbe molto poichè anche Noteedit rimane muto.
Grazie ermanno :)

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

Quella voce è sotto Processor Type and Features

ermastr
Linux 1.x
Linux 1.x
Messaggi: 101
Iscritto il: ven 8 set 2006, 11:32

Messaggio da ermastr »

:D ricevuto con tempestività, ringrazio di cuore e ora proverò a ricompilare, spero bene :? saluti :D

Rispondi