[Compiz] Compiz+Matrox G550.

Configurazione e uso dell'interfaccia utente predefinita fino alla versione 16.04 di Ubuntu.
nEcR0SoFt
Prode Principiante
Messaggi: 43
Iscrizione: venerdì 25 febbraio 2005, 13:28

[Compiz] Compiz+Matrox G550.

Messaggio da nEcR0SoFt »

Ciao

Volevo chiedere se qualcuno era riuscito a far funzionare compiz su una Matrox Millennium G550. Cercando sul forum mi pare che qualcuno abbia abilitato il supporto 3D su "vecchie" versioni si Ubuntu ma niente Compiz. Oggi come oggi, su 8.04, qualcuno ha novità sul funzionamento del 3D/Compiz per la G550?

Grazie

ciao!
Jester
Prode Principiante
Messaggi: 6
Iscrizione: giovedì 14 agosto 2008, 17:05

Re: [Compiz] Compiz+Matrox G550.

Messaggio da Jester »

Ciao

Anche io vorrei sapere se è possibile avere più informazioni a riguardo. Io ho provato ad abilitare compiz con una MatroxG550. Il mio tentativo è:

1. Ho configurato xorg per utilizzare il dri e glx così:

Codice: Seleziona tutto

Section "Files"
	FontPath "/usr/share/fonts/X11/misc"
	FontPath "/usr/X11R6/lib/X11/fonts/misc"
	FontPath "/usr/share/fonts/X11/cyrillic"
	FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath "/usr/share/fonts/X11/Type1"
	FontPath "/usr/X11R6/lib/X11/fonts/Type1"
	FontPath "/usr/share/fonts/X11/100dpi"
	FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath "/usr/share/fonts/X11/75dpi"
	FontPath "/usr/X11R6/lib/X11/fonts/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 "Configured Mouse"
	Driver "mouse"
	Option "CorePointer"
	#Option "Device" "/dev/input/mice"
	#Option "Protocol" "ImPS/2"
	#Option "Emulate3Buttons" "true"
EndSection

Section "Device"
	Identifier "Videocard0"
	Driver "mga"
	VendorName "Videocard vendor"
	BoardName "Matrox Millennium G550"
EndSection

#Section "Device"
#	Identifier "Videocard1"
#	Driver "mga"
#	VendorName "Videocard Vendor"
#	BoardName "Matrox Millennium G550"
#	BusID "PCI:1:0:0"
#	Screen 1
#EndSection

Section "Monitor"
	Identifier "Monitor0"
	VendorName "Monitor Vendor"
	ModelName "Samsung SyncMaster 930BF"
	#DisplaySize 375 300
	HorizSync 30.0 - 81.0
	VertRefresh 56.0 - 75.0
	Option "dpms"
EndSection

#Section "Monitor"
#	Identifier "Monitor1"
#	VendorName "Monitor Vendor"
#	ModelName "Sony CPD-E200/E200E"
#	HorizSync 30.0 - 85.0
#	VertRefresh 48.0 - 120.0
#	Option "dpms"
#EndSection

Section "Screen"
	Identifier "Screen0"
	Device "Videocard0"
	Monitor "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Depth 1
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 4
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 8
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 15
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 16
		Modes "1920x1440" "1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 24
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

#Section "Screen"
#	Identifier "Screen1"
#	Device "Videocard1"
#	Monitor "Monitor1"
#	DefaultDepth 24
#	SubSection "Display"
#		Viewport 0 0
#		Depth 24
#		Modes "1152x864"
#	EndSubSection
#EndSection

#Section "ServerLayout"
#	Identifier "Multihead layout"
#	Screen 0 "Screen0" LeftOf "Screen1"
#	Screen 1 "Screen1" 0 0
#	InputDevice "Generic Keyboard"
#	InputDevice "Configured Mouse"
#	Option "Xinerama" "on"
#	Option "Clone" "off"
#EndSection

Section "DRI"
	Mode 0666
EndSection

2. Controllo che la scheda sia riconosciuta:

glxinfo | grep direct
direct rendering: Yes

glxheads
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
  glxheads xdisplayname ...
Example:
  glxheads :0 mars:0 venus:1
Name: :0
  Display:    0x805e008
  Window:      0x3600002
  Context:    0x8069450
  GL_VERSION:  1.2 Mesa 7.0.3-rc2
  GL_VENDOR:  VA Linux Systems Inc.
  GL_RENDERER: Mesa DRI G400 20061030 AGP 1x x86/MMX+/3DNow!+/SSE

NOTA: Pare riconoscerla come una G400 ma il supporto DRI pare abilitato e i vari glx* rispondono.

glxgears
1837 frames in 5.0 seconds = 367.200 FPS
1836 frames in 5.0 seconds = 367.109 FPS
1839 frames in 5.0 seconds = 367.763 FPS

NOTA: tanto? Poco?

Però, però, però, se provo ad abilitare gli effetti da "System->Appearence" mi dice che non è possibile abilitarli.

Allora ho provato a lanciare compiz --replace e ovviamente mi dice che l'hardware non è whitelisted. In /usr/bin/compiz ho aggiunto alla withelist anche mga e a quel punto ottengo questo output:

compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 03:00.0 0300: 102b:2527 (rev 01) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x1024) to maximum 3D texture size (1024): Failed.
aborting and using fallback: /usr/bin/metacity

E ovviamente compiz non viene caricato.

Si può risolvere in qualche modo? Qualche anima pia sa come aiutarci?

grazie!

Ciao!
Jester
Prode Principiante
Messaggi: 6
Iscrizione: giovedì 14 agosto 2008, 17:05

Re: [Compiz] Compiz+Matrox G550.

Messaggio da Jester »

nessuno, nessuno? :(
Avatar utente
Luka7
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 559
Iscrizione: mercoledì 22 agosto 2007, 19:37

Re: [Compiz] Compiz+Matrox G550.

Messaggio da Luka7 »

Comparing resolution (1280x1024) to maximum 3D texture size (1024): Failed.
non so se dipende dalla scheda o dai driver, ma pare che la tua configurazione non supporti texture abbastanza grandi da poter mettere i desktop come facce del cubo

potresti provare a cercare un workaround per questo, ma non è garantito che esista...
Scrivi risposta

Ritorna a “Unity”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti