Strona 1 z 1

Wolne działanie beryla i compiza

: 26 kwietnia 2007, 16:33
autor: daris
Na kubuntu beryl śmigał szybciej a na debianie nie dość że wolno działa to jeszcze się przycina. To samo compiz. Z zainstalowaniem nie było problemów.
darek@debian:~$ glxinfo | grep direct
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
darek@debian:~$ glxgears -printfps
libGL warning: 3D driver claims to not support visual 0x4b
9149 frames in 5.0 seconds = 1829.716 FPS
9669 frames in 5.0 seconds = 1933.800 FPS
9855 frames in 5.0 seconds = 1970.923 FPS
9520 frames in 5.0 seconds = 1903.998 FPS
9841 frames in 5.0 seconds = 1968.160 FPS

Z uruchomionym berylem FPS'y wynoszą ~900.

: 26 kwietnia 2007, 18:25
autor: bieszczaders
Mysle, ze bedzie latwiej nam Ci pomoc jak pokazesz nam swojego xorga.

: 26 kwietnia 2007, 18:52
autor: daris

Kod: Zaznacz cały

# /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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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"
	# path to defoma fonts
    FontPath 	"/usr/share/fonts/X11/misc"
    FontPath 	"/usr/share/fonts/X11/100dpi:unscaled"
    FontPath 	"/usr/share/fonts/X11/75dpi:unscaled"
    FontPath 	"/usr/share/fonts/X11/Type1"
    FontPath 	"/usr/local/share/fonts"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
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	"ATI Technologies Inc RV350 AP [Radeon 9600]"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Option "AddARGBGLXVisuals" "On" 
	Option "XAANoOffscreenPixmaps" "true" 
	Option "RenderAccel" "true"
EndSection

Section "Monitor"
	Identifier	"Q773"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc RV350 AP [Radeon 9600]"
	Monitor		"Q773"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Option "AIGLX" "true"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection


Section "Extensions" 
	Option "Composite" "Enable" 
	Option "RENDER" "Enable" 
EndSection
EDIT:
W xorg'u kubuntu są dodatkowo "type1" i "v4l"
Skróciłem troszkę mojego xorg'a :-) (pozbyłem się zbędnych ... (jak przetłumaczyć depth :?: ) depthów :-D )

: 26 kwietnia 2007, 19:54
autor: bieszczaders
Ja Ci dam mojego configa beryl smiga na nim jak szalony.

Kod: Zaznacz cały

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option         "AIGLX" "true"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "record"
	Load  "dri"
	Load  "glx"
	Load  "drm"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc104"
	Option      "XkbLayout" "pl"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
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     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	Option      "XAANoOffscreenPixmaps" "true"
	Option      "DRI" "true"
	Option      "AGPMode" "4" 
	Option	    "ColorTiling" "on" 
	Option      "AccelMethod" "XAA" 
	Option      "EnablePageFlip" "on"  
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 AS [Radeon 9550]"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
    Group	"video"
    Mode	0660
EndSection

Section "Extensions"
    Option	"Composite" "Enable"
EndSection

: 26 kwietnia 2007, 21:04
autor: daris
Dodałem niektóre opcje twojego xorg'a i nadal w KDE wolno chodzi.

Zalogowałem się w sesji gnome i tutaj beryl trochę szybciej śmiga.


EDIT: Teraz to może nawet szybciej chodzi niż na kubuntu - ale denerwuje mnie jedna rzecz - przycina się kostka kiedy jakieś okno nie było na niej pokazane od paru sekund. Chodzi mi o to że jak obrucę kostką i znajdzie się tam okno które nie było widoczne od na przykład 5 sekund to następuje drobne przycięcie i tak na każdym pulpicie. (tak jakby beryl to do pamięci czy gdzieś ładował)

Gorzej jest jak dorzucę przezroczystość do kostki - wtedy kostka się tnie


EDIT 2: Na debianie mogę sobie nawet rozmywanie włączyć i płynnie chodzi animacja spalania. Tylko z przezroczystością w kostce coś jest nie tak i na początku coś się tnie.