Virtualbox 3.0.12 Rallentamenti e Lag costanti su Ubuntu Karmic 9.10

This entry was posted by on lunedì, 30 Novembre, 2009 at


Virtual BoxUltimamente sto avendo problemi con la virtualizzazione sotto Ubuntu Karmic (9.10): nello specifico sul mio notebook una Virtual Machine Windows XP SP3 ha numerosi rallentamenti e veri e propri blocchi di 1-2 secondi costanti ogni 20 secondi.

Leggendo sul forum di supporto ufficiale mi sono reso conto che il problema è comune a molti,  sin dalla versione 3.0.10.

Ho fatto numerosi test per riuscire ad avere un indizio sul problema, l’unica cosa comune a tutti è il file di registro vbox.log che riporta questo errore:

00:18:48.868 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.886 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.887 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.904 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.906 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.923 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.924 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.942 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.943 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.961 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.962 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.979 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false
00:18:48.981 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={fd443ec1-0006-4f5b-9282-d72760a66916} aComponent={Mouse} aText={Could not send the mouse event to the virtual mouse (VERR_PDM_NO_QUEUE_ITEMS)} aWarning=false, preserve=false

Vi raccondo cosa è successo; venerdì ho aggiornato i driver della scheda ATI Radeon HD 3400 che ho sul mio notebook (Sony Vaio FW11E) e mi sono accorto che il file xorg.conf presentava una configurazione  standard, senza tutti i riferimenti necessari per ottimizzare il driver proprietario di ATI.

Aggiornando quindi il driver Catalyst all’untima versione per linux 64-bit, la 9.11 scaricabile a questo indirizzo), ho aperto il terminale e lanciato il seguente comando:

aticonfig –initial -f

Dopo il riavvio ho fatto nuovamente dei test e sembra che il problema del rallentamento di VirtualBox sia sparito definitivamente…ed anche tutta la macchina host risulta più reattiva e veloce.

Non sono convinto che il problema di VirtualBox sia riconducibile  VirtualBox stesso, e nemmeno al driver ATI nuovo, ma credo che l’abbinamento con Compiz-fusion e Ati possa rallentare o creare problemi di sincronia con le Virtual Machine Guest; la mia sensazione è che ci sia qualcosa che non vada in modalità sincrona, ecco il perchè dei “tempi morti” di attesa.

Vi allego anche il file xorg.con che sto utilizzando in questo momento, magari potrete prendere spunto per le vostre configurazioni.

xorg.conf

Thread sul forum di Virtualbox qui e qui

Sulla versione precedente di Ubuntu, la 9.04, non avevo mai riscontrato questa problematica, ma avevo i driver ATI perfettamente configurati: sempre sul forum di VirtualBox molti sono i post di questo problema relativo anche a versioni 2.x del prodotto, quindi deduco che il problema non sia nella release 3.x ma nella corretta configurazione dell’ambiente.


Leave a Reply

You must be logged in to post a comment.