Beryl+AIGLX su Unichrome

Configurazione e uso dell'interfaccia utente predefinita fino alla versione 16.04 di Ubuntu.
Bardamu81
Prode Principiante
Messaggi: 19
Iscrizione: martedì 15 maggio 2007, 21:13

Beryl+AIGLX su Unichrome

Messaggio da Bardamu81 »

Non sono ovviamente un esperto, quindi cercherò di esporre il mio problema chiaramente:

Il mio grep rendering mi da Yes, ma il test di Beryl mi dà questo:
Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension              : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support  : failed

Support for non power of two textures missing
Il log di Xorg mi dà invece questo:
(==) AIGLX enabled
(WW) AIGLX: 3D driver claims to not support visual 0x22
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(II) AIGLX: Loaded and initialized /usr/lib/dri/unichrome_dri.so

Se disinstallo libgl1-mesa-dri il test di Beryl lo passa, ma il grep rendering no, quindi se faccio partire Beryl è tutto bianco... Non consigliatemi compiz o xgl, peggio che andar di notte: AIGLX+ Beryl è la soluzione che mi ha avvicinato il più possibile ad un minimo funzionamento...

Nel forum francese di Ubuntu qualcuno ha riscontrato lo stesso problema, senza risolverlo http://forum.ubuntu-fr.org/viewtopic.php?id=114802

Vi posto anche il mio xorg.conf, se può essere utile...
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
Driver "via"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Synaptics"
InputDevice    "stylus" "SendCoreEvents"
InputDevice    "cursor" "SendCoreEvents"
InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

Spero di non aver violato regole, ho fatto anche una ricerca prima: grazie in anticipo!
Divilinux

Re: Beryl+AIGLX su Unichrome

Messaggio da Divilinux »

anche a me dava dei problemi con le texture (ati 9200 e radeon)
ho risolto portando a 16 bit la profondita' di colore predefinita..hai gia' provato?

Codice: Seleziona tutto

Checking for non power of two texture support   : failed
perche' per il resto e' tutto ok...
Bardamu81
Prode Principiante
Messaggi: 19
Iscrizione: martedì 15 maggio 2007, 21:13

Re: Beryl+AIGLX su Unichrome

Messaggio da Bardamu81 »

No, se mi spieghi come fare ci provo... Devo scrivere qualcosa su xorg.conf?

Scusa la banalità delle domande, ma uso linux solo da un paio di mesi (al lavoro) e a casa l'ho messo sul portatile una settimana fa: è l'ultima cosa che mi manca per configurare ubuntu come vorrei, se risolvo grazie a te ti faccio un monumento... Ma sei quello del blog? In tal caso complimenti, è molto chiaro.  (good)

Nel frattempo faccio una ricerca sul web per vedere se riesco da solo, grazie comunque, sei già stato molto utile!
Divilinux

Re: Beryl+AIGLX su Unichrome

Messaggio da Divilinux »

basta mettere nella sezione dello xorg.conf DefaultDepth  16 invece che 24

Section "Screen"
  Identifier  "Default Screen"
  Device      "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
  Monitor      "Generic Monitor"
  DefaultDepth  16
  SubSection "Display"

ps. grazie per il blog..
Bardamu81
Prode Principiante
Messaggi: 19
Iscrizione: martedì 15 maggio 2007, 21:13

Re: Beryl+AIGLX su Unichrome

Messaggio da Bardamu81 »

Fatto, e il risultato è che mi dà questo errore digitando glxinfo | grep render:
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  18
  Current serial number in output stream:  19
ovviamente il test di Beryl lo passa alla grande come con altri tentativi precedenti: se va il 3d, Beryl non va e viceversa... (3d-desktop gira benissimo infatti)
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension              : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support  : passed
Checking maximum texture size                  : passed (2048x2048)
Grazie dell'aiuto e dell'interessamento, ma in sti tre giorni mi sono letto forum in inglese, francese, spagnolo portoghese e tedesco senza venirne a capo, in fondo al cuore ormai ci ho rinunciato (asd): l'unica speranza (dicono le leggende) è che gli sviluppatori di openchrome si applichino per risolvere sto problema, ma attualmente nessuno se ne sta occupando: pazienza, più per il cubo mi seccava per gli angoli attivi che sono davvero comodi, di certo non vado ad investire soldi per cambiare scheda video al mio modesto portatile.

PS: unico appunto: se in queste condizioni faccio partire beryl, invece di crashare come quando avevo xgl il cubo funziona (angoli attivi compresi), ma è tutto bianco... è un buon segno o un cattivo segno?
Ultima modifica di Bardamu81 il martedì 22 maggio 2007, 20:50, modificato 1 volta in totale.
Divilinux

Re: Beryl+AIGLX su Unichrome

Messaggio da Divilinux »

hai provato ad aggiungere allo xorg.conf,nella sezione "Device"

   

Codice: Seleziona tutto

Option "VideoRam" "65536"
    Option "CacheLines" "1980"
    
?
di solito l'errore BadAlloc (insufficient resources for operation) avviene quando non c'e' abbastanza RAM per gestire risoluzioni di 1024x768 o piu'...
Bardamu81
Prode Principiante
Messaggi: 19
Iscrizione: martedì 15 maggio 2007, 21:13

Re: Beryl+AIGLX su Unichrome

Messaggio da Bardamu81 »

Adesso mettendo queste impostazioni è tornato da capo, quindi render yes e Beryl failed (dopo ogni prova ho fatto il riavvio della macchina per scrupolo), quindi ho rimesso tutto come prima, mi sa che dovrò sperare nel futuro (anche se ne dubito): o va uno o va l'altro a quanto pare: è un rischio provare a mettere una versione precedente di beryl? (qualcuno ha risolto così ho visto): cmq nemmeno compiz mi andava... Pazienza, grazie lo stesso, se ti vengono in mente altri accorgimenti sei il benvenuto.
Divilinux

Re: Beryl+AIGLX su Unichrome

Messaggio da Divilinux »

il cubo bianco..dipende..
dipende sia dalla versione di beryl che dalle opzioni in piu' che hai aggiunto allo xorg.conf (a me lo fa con un paio di opzioni che pero' nn ricordo perche' e' il pc dell'ufficio)
quindi avresti beryl..ma non il 3d...molto strano perche' vuol dire che allora i tuoi driver supportano solo il 2d
per caso hai kde ?..dal kinfocenter si puo' guardare che moduli openGL e che driver (specifici) utilizza la scheda..
Scrivi risposta

Ritorna a “Unity”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti