Strona 1 z 1

[+] compiz + fglrx - działa poprawnie na otwartym sterowniku

: 13 lipca 2008, 11:16
autor: jarman
Witam!
Compiz-Fusion dzialal calkiem niezle na otwartych sterownikach ATI. Postawilem sterownik zamkniety (lepsze wyniki glxgears), ale cos compiz sie nie odpala brakuje jakiegos wpisu w xorg.conf. Prosze osoby, ktore maja ten problem rozwiazany o pomoc.
Moj xorg.conf:

Kod: Zaznacz cały

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Screen0" 0 0
	InputDevice    "Keyboard0"
	InputDevice    "Mouse0"
	InputDevice    "Touchpad"
EndSection

Section "Files"
	RgbPath      "/etc/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	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"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "glx"
	Load  "xtrap"
	Load  "GLcore"
	Load  "dbe"
	Load  "extmod"
	Load  "dri"
	Load  "record"
#	
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "freetype"
	Load  "int10"
	Load  "vbe"
	Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
	Option	    "SHMConfig" "true"
EndSection

Section "InputDevice"
	Identifier  "Touchpad"
	Driver      "synaptics"
	Option	    "SendCoreEvents"
	#Option		"Device"		"/dev/psaux"#
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "PS/2"
	#Option		"HorizScrollDelta"	"0"
	Option	    "SHMConfig" "true"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# [i]
        #Option     "AGPMode"            	# [i]
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# [i]
        #Option     "GARTSize"           	# [i]
        #Option     "RingSize"           	# [i]
        #Option     "BufferSize"         	# [i]
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# [i]
        #Option     "DepthBits"          	# [i]
        #Option     "PCIAPERSize"        	# [i]
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# [i]
        #Option     "RageTheatreCrystal" 	# [i]
        #Option     "RageTheatreTunerPort" 	# [i]
        #Option     "RageTheatreCompositePort" 	# [i]
        #Option     "RageTheatreSVideoPort" 	# [i]
        #Option     "TunerType"          	# [i]
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# [i]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 [Mobility Radeon 9600 M10]"
	Option	    "XAANoOffscreenPixmaps" "true"
	Option	    "Dynamic Clocks" "true"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "XAANoOffscreenPixmaps" "true"
	Option	    "TexturedVideo" "on"
	Option      "VideoOverlay" "on"
 	Option      "OpenGLOverlay" "off
	Option	    "Dynamic Clocks" "true"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes    "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes    "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes    "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x800" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
	Option 	    "RENDER" "Enable"
	Option      "DAMAGE" "Enable"
EndSection

: 13 lipca 2008, 14:02
autor: jmarcin_1984
Witaj. Mnie compiz-fusion dziala na sterownikach zamknietych fglrx, ktore instalowalem z repozytorium Lennego. Moze sprobuj w xorgu w sekcji Device w tym miejscu

Kod: Zaznacz cały

  Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 [Mobility Radeon 9600 M10]"
    Option        "XAANoOffscreenPixmaps" "true"
    Option        "Dynamic Clocks" "true"
    BusID       "PCI:1:0:0" 

zmienic driver radeon na fglrx. Mnie to pomogło :)
Ja z kolei mam inny problem. Moj compiz nie dziala na sterownikach otwartych ATI , po odpaleniu pojawia sie bialy ekran. Moja karta to radeon mobility 9700. Moze cos poradzisz? Pozdrawiam.

: 13 lipca 2008, 19:59
autor: jarman
No ale ja nie po to kompiluje fglrx zeby korzystac ze starego sterownika. To tak samo jakby zalozyc do auta nitro i nigdy nie uzyc... ba, nawet przycisku wlaczajacego nie zamontowac

: 13 lipca 2008, 22:40
autor: diabolic3
Zauważ że w twoim xorgu dublują się sekcje: "ServerLayout", "Monitor", "Device" oraz "Screen" spowodowane jest to pewnie tym, że już wcześniej ręcznie konfigurowałeś xorga a jak wgrywałeś fglrx'y to dałeś żeby ci automatycznie zmienił xorga. Powywalaj z tych dublujących się sekcji te które tycza się wolnych sterów a te co tycza się fglrx zostaw i powinno już ruszyć. Pozdrawiam

: 14 lipca 2008, 13:51
autor: jarman
No tak, wpierw napisalem posta a potem zakomentowalem odpowiednie linijki w xorg.conf... dla pewnosci:

Kod: Zaznacz cały

jarman@debian:~$ cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Touchpad"
	Option      "AIGLX"   "true"
EndSection

#Section "ServerLayout"
#	Identifier     "Default Layout"
#	Screen         "Screen0" 0 0
#	InputDevice    "Keyboard0"
#	InputDevice    "Mouse0"
#	InputDevice    "Touchpad"
#EndSection

Section "Files"
	RgbPath      "/etc/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	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"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "glx"
	Load  "xtrap"
	Load  "GLcore"
	Load  "dbe"
	Load  "extmod"
	Load  "dri"
	Load  "record"
#	
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "freetype"
	Load  "int10"
	Load  "vbe"
	Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
	Option	    "SHMConfig" "true"
EndSection

Section "InputDevice"
	Identifier  "Touchpad"
	Driver      "synaptics"
	Option	    "SendCoreEvents"
	#Option		"Device"		"/dev/psaux"#
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "PS/2"
	#Option		"HorizScrollDelta"	"0"
	Option	    "SHMConfig" "true"
EndSection

#Section "Monitor"
#	Identifier   "Monitor0"#
#	VendorName   "Monitor Vendor"
#	ModelName    "Monitor Model"
#	Option	    "DPMS"
#EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

#Section "Device"

        ### Available Driver options are:-
        ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# [i]
        #Option     "AGPMode"            	# [i]
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# [i]
        #Option     "GARTSize"           	# [i]
        #Option     "RingSize"           	# [i]
        #Option     "BufferSize"         	# [i]
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# [i]
        #Option     "DepthBits"          	# [i]
        #Option     "PCIAPERSize"        	# [i]
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# [i]
        #Option     "RageTheatreCrystal" 	# [i]
        #Option     "RageTheatreTunerPort" 	# [i]
        #Option     "RageTheatreCompositePort" 	# [i]
        #Option     "RageTheatreSVideoPort" 	# [i]
        #Option     "TunerType"          	# [i]
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# [i]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
	#Identifier  "Card0"
	#Driver      "radeon"
	#VendorName  "ATI Technologies Inc"
	#BoardName   "RV350 [Mobility Radeon 9600 M10]"
	#Option	    "XAANoOffscreenPixmaps" "true"
	#Option	    "Dynamic Clocks" "true"
	#BusID       "PCI:1:0:0"
#EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "XAANoOffscreenPixmaps" "true"
	Option 	    "AddARGBGLXVisuals" "True"	
	Option	    "TexturedVideo" "on"
	Option      "VideoOverlay" "on"
 	Option      "OpenGLOverlay" "off
	Option	    "Dynamic Clocks" "true"
	BusID       "PCI:1:0:0"
EndSection

#Section "Screen"
#	Identifier "Screen0"
#	Device     "Card0"
#	Monitor    "Monitor0"
#	SubSection "Display"
#		Viewport   0 0
#		Depth     1
#		Modes    "1280x800"
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     4
#		Modes    "1280x800"
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     8
#		Modes    "1280x800"
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     15
#		Modes    "1280x800"
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     16
#		Modes    "1280x800"
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     24
#		Modes    "1280x800" "1024x768" "800x600"
#	EndSubSection
#EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
	Option 	    "RENDER" "Enable"
	Option      "DAMAGE" "Enable"
EndSection
Oto chyba winowajca:

Kod: Zaznacz cały

jarman@debian:~$ compiz-manager 
Checking for Xgl: not present. 
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity 
Co z tym zrobic?

: 14 lipca 2008, 22:11
autor: diabolic3
Hmmm :-| właśnie sprawdzałem w terminalu polecenie i też wywaliło

Kod: Zaznacz cały

diabolic@diabolic:~$ compiz-manager
Checking for Xgl: not present. 
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity 
no /usr/bin/metacity found, exiting
tylko, że u mnie compiz na fglrx działa. Dla pewności masz tutaj mojego xorga
Jedyny problem mam tylko jak oglądam filmy to strasznie obraz miga ale tylko jak w oknie na fulscreenie już nie i jak obracam kostką to obraz zostaje w miejscu gdzie był. Jakby ktos wiedział co z tym zrobic to prosiłbym o pomoc gdyż nigdzie nie znalazłem rozwiązania.

: 15 lipca 2008, 12:46
autor: jarman
No niestety. Wciaz ten sam blad podczas odpalania. Mimo, ze moj xorg.conf bardzo przypomina Twoj (w kazdym razie w zakresie ustawien karty graficznej). Co jeszcze moze byc nie tak?

: 23 lipca 2008, 09:47
autor: jarman
Hmmm, po krotkiej przerwie ciagne temat dalej.
Odinstalowalem wszystkie paczki zwiazane z compizem, usunalem pliki konfiguracyjne z

Kod: Zaznacz cały

/home/user/.gconf
/home/user/.config
Nastepnie restart, instalacja compiza, znowu restart i polecenie compiz-check:

Kod: Zaznacz cały

jarman@debian:~$ compiz-check 

Gathering information about your system.

 Distribution:          Debian GNU/Linux (lenny/sid)
 Desktop environment:   GNOME
 Graphics chip:         ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
 Driver in use:         fglrx
 Rendering method:      AIGLX

Checking if it's possible to run Compiz on your system...

 Checking for texture_from_pixmap...               [ OK ]
 Checking for non power of two support...          [ OK ]
 Checking for composite extension...               [ OK ]
 Checking for FBConfig...                          [ OK ]
 Checking for hardware/setup problems...           [ OK ]
No i teraz odpalam compiza i znowu ,,cukierek'':

Kod: Zaznacz cały

jarman@debian:~$ compiz-manager 
Checking for Xgl: not present. 
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity 
Czy ktos ma pomysl co jest grane?

: 23 lipca 2008, 11:47
autor: xavar
No whitelisted driver found
i masz odpowiedź.
do /usr/bin/compiz dodaj do sekwqencji WHITELIST twój sterownik, zeby wyglądało to mniej więcej tak
# Driver whitelist
WHITELIST="nvidia intel ati radeon i810"

: 24 lipca 2008, 12:27
autor: jarman
xavar pisze: do /usr/bin/compiz dodaj do sekwqencji WHITELIST twój sterownik, zeby wyglądało to mniej więcej tak
# Driver whitelist
WHITELIST="nvidia intel ati radeon i810"
Faktycznie, to rozwiazuje moj problem z tym, ze edycji podlega plik /usr/bin/compiz-manager.
Dzieki wielkie! Problem uwazam oficjalnie za rozwiazany a temat zamykam.

pozdrawiam