PDA

View Full Version : 8.42.3, debian sid and compiz fusion: massive performance problems


C167
10-28-2007, 07:07 AM
Hi there,
I finally got the new 8.42.3 running together with a Xorg 7-3 (X 1.4) on my Debian Sid system.
when I run compiz, the screen goes black for ~15-20sec, then the windows reappear, without borders. After ~10-15 sec the borders appear. from now on, compiz.real consumes ~60-80 % cpu-power. Everything is quite slow.

Xorg.conf:# 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 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 "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "gfx"
EndSection

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScroll_Delta" "0"
# Option "SHMConfig" "on"
EndSection

Section "Monitor"
Identifier "Standardbildschirm"
HorizSync 28.0 - 84.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Driver "fglrx"
Identifier "Standardgrafikkarte"
BusID "PCI:1:0:0"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "true"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Standardgrafikkarte"
Monitor "Standardbildschirm"
DefaultDepth 24
SubSection "Display"
Modes "1680x1050"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "on"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Xorg.0.log warnings and Errors:# grep WW Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
(WW) Warning, couldn't open module gfx
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Only one display is connnected,so single mode is enabled
(WW) fglrx(0): could not detect X server version (query_status=-3)
(WW) fglrx(0): Option "AllowGLXWithComposite" is not used
(WW) fglrx(0): Option "AddARGBGLXVisuals" is not used
(WW) fglrx(0): Option "TripleBuffer" is not used
(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
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(WW) AIGLX: 3D driver claims to not support visual 0x33
(WW) AIGLX: 3D driver claims to not support visual 0x34
(WW) AIGLX: 3D driver claims to not support visual 0x35
(WW) AIGLX: 3D driver claims to not support visual 0x36
(WW) AIGLX: 3D driver claims to not support visual 0x37
(WW) AIGLX: 3D driver claims to not support visual 0x38
(WW) AIGLX: 3D driver claims to not support visual 0x39
(WW) AIGLX: 3D driver claims to not support visual 0x3a
(WW) AIGLX: 3D driver claims to not support visual 0x3b
(WW) AIGLX: 3D driver claims to not support visual 0x3c
(WW) AIGLX: 3D driver claims to not support visual 0x3d
(WW) AIGLX: 3D driver claims to not support visual 0x3e
(WW) AIGLX: 3D driver claims to not support visual 0x3f
(WW) AIGLX: 3D driver claims to not support visual 0x40
(WW) AIGLX: 3D driver claims to not support visual 0x41
(WW) AIGLX: 3D driver claims to not support visual 0x42
(WW) AIGLX: 3D driver claims to not support visual 0x43
(WW) AIGLX: 3D driver claims to not support visual 0x44
(WW) AIGLX: 3D driver claims to not support visual 0x45
(WW) AIGLX: 3D driver claims to not support visual 0x46
(WW) AIGLX: 3D driver claims to not support visual 0x47
(WW) AIGLX: 3D driver claims to not support visual 0x48
(WW) AIGLX: 3D driver claims to not support visual 0x49
(WW) AIGLX: 3D driver claims to not support visual 0x4a
(WW) AIGLX: 3D driver claims to not support visual 0x4b
(WW) AIGLX: 3D driver claims to not support visual 0x4c
(WW) AIGLX: 3D driver claims to not support visual 0x4d
(WW) AIGLX: 3D driver claims to not support visual 0x4e
(WW) AIGLX: 3D driver claims to not support visual 0x4f
(WW) AIGLX: 3D driver claims to not support visual 0x50
(WW) AIGLX: 3D driver claims to not support visual 0x51
(WW) AIGLX: 3D driver claims to not support visual 0x52
(WW) AIGLX: 3D driver claims to not support visual 0x53
(WW) AIGLX: 3D driver claims to not support visual 0x54
(WW) AIGLX: 3D driver claims to not support visual 0x55
(WW) AIGLX: 3D driver claims to not support visual 0x56
(WW) AIGLX: 3D driver claims to not support visual 0x57
(WW) AIGLX: 3D driver claims to not support visual 0x58
(WW) AIGLX: 3D driver claims to not support visual 0x59
(WW) AIGLX: 3D driver claims to not support visual 0x5a
(WW) AIGLX: 3D driver claims to not support visual 0x5b
(WW) AIGLX: 3D driver claims to not support visual 0x5c
(WW) AIGLX: 3D driver claims to not support visual 0x5d
(WW) AIGLX: 3D driver claims to not support visual 0x5e
(WW) AIGLX: 3D driver claims to not support visual 0x5f
(WW) AIGLX: 3D driver claims to not support visual 0x60
(WW) AIGLX: 3D driver claims to not support visual 0x61
(WW) AIGLX: 3D driver claims to not support visual 0x62
(WW) AIGLX: 3D driver claims to not support visual 0x63
(WW) AIGLX: 3D driver claims to not support visual 0x64
(WW) AIGLX: 3D driver claims to not support visual 0x65
(WW) AIGLX: 3D driver claims to not support visual 0x66
(WW) AIGLX: 3D driver claims to not support visual 0x67
(WW) AIGLX: 3D driver claims to not support visual 0x68
(WW) AIGLX: 3D driver claims to not support visual 0x69
(WW) AIGLX: 3D driver claims to not support visual 0x6a
(WW) AIGLX: 3D driver claims to not support visual 0x6b
(WW) AIGLX: 3D driver claims to not support visual 0x6c
(WW) AIGLX: 3D driver claims to not support visual 0x6d
(WW) AIGLX: 3D driver claims to not support visual 0x6e
(WW) AIGLX: 3D driver claims to not support visual 0x6f
(WW) AIGLX: 3D driver claims to not support visual 0x70
(WW) AIGLX: 3D driver claims to not support visual 0x71
(WW) AIGLX: 3D driver claims to not support visual 0x72
stva:/var/log# grep EE Xorg.0.log
Current Operating System: Linux stva 2.6.22.5 #1 SMP PREEMPT Fri Aug 24 12:51:14 CEST 2007 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module "gfx" (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER

My system is a ThinkPad Z61m with a X1400, after installing the new driver, nexuiz shows ~10% more fps

Oh, and if I run compiz:$ compiz --force-fglrx --replace
A handler is already registered for the path starting with path[0] = "org"The Message appears several times.
When starting compiz fusion icons, I get an area with dark pixels in the lower right corner and sometimes a quadratic flickering field below the mouse cursor (which disappears when hovering a link in FF 3.0A8)

Any hints?
C167

Kano
10-28-2007, 08:10 AM
Go back to Xserver 1.3.

C167
10-28-2007, 09:07 AM
that's not possible anymore, because debian removed the 7.2 packages some weeks ago... maybe i have those packages in my local cache...
€dit: Nope

Kano
10-28-2007, 09:51 AM
Add testing repository.

C167
10-28-2007, 11:19 AM
ah, good idea :)
okay, downgraded to 7.2 and load is much lower. some things still react a bit slower than normal and kicker seems to be frozen, but that doesn't matter at the moment
thx
C167

C167
10-28-2007, 11:31 AM
hm... but now videos and OpenGL-Based games flicker like hell

Kano
10-28-2007, 02:12 PM
Remove your options in the Driver section. These are for nvidia cards mainly.

C167
10-28-2007, 03:38 PM
no change, the driver simply ignored the three lines

sabriah
10-29-2007, 02:24 AM
ah, good idea :)
okay, downgraded to 7.2 and load is much lower. some things still react a bit slower than normal and kicker seems to be frozen, but that doesn't matter at the moment
thx
C167



While you are at it. Don't forget to put xserver-xorg and a few others on "hold", as in "aptitude hold xserver-xorg". Otherwise they will be upgraded along with other apps.

C167
10-29-2007, 05:10 AM
already done, I had to stay on 7.2 since sid changed to 7.3 because of the old driver ;)

BigMadWolf
10-29-2007, 11:47 AM
I have exactly the same problem with xorg 7.3 and the latest fglrx drivers. So I will soon downgrade to 7.2... Hope it will work!

My graphic card is an ATI Mobility Radeon X700.

pm_64
10-29-2007, 11:50 AM
check the output of 'glxinfo' please and see if 'GLX_EXT_texture_from_pixmap' is listed under 'GLX extensions'. If it is not there you have no hardware acceleration by the gpu and everything is processed by the cpu hence the high cpu load and slow effects. I experience the same problems... -> http://www.phoronix.com/forums/showthread.php?t=6143

Kano
10-29-2007, 11:52 AM
Doesn't that card work with ati or radeon driver? In some cases it works, but enables external monitor by default, so override option would be needed.

pm_64
10-29-2007, 12:06 PM
Somehow my posting disappeared... ok, again. I have the same problem. The reason for the poor performance is that indirect rendering is used. Direct rendering with AIGLX seems not to be supported by the current version 8.42.3 ('GLX_EXT_texture_from_pixmap' is missing in the 'GLX extensions' section of the output of 'glxinfo'.

see: http://www.phoronix.com/forums/showthread.php?t=6143

BigMadWolf
10-29-2007, 12:21 PM
I wasn't able to make the DRI work with the free ati/radeon driver under xorg 7.3 (but it works with fglrx). I think the driver is buggy, unless you have a tip for me? What do you mean with "the overriding option for the external monitor"? I've never heard about it.

This is my xorg.conf, which used to work under xorg 7.2 (please let me know if it's deprecated):
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" "fr"
Option "XkbVariant" "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies Inc Radeon Mobility X700 (PCIE)"
Driver "ati"
Option "MonitorLayout" "LVDS,AUTO"
Option "BusType" "PCIE"
Option "XAANoOffscreenPixmaps" "true"
Option "EnablePageFlip" "on"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc Radeon Mobility X700 (PCIE)"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection

C167
10-29-2007, 01:22 PM
are you sure your driver's name is ati?
AFAIK, the name of the free driver is "radeon" and the binary-driver is named fglrx...

Kano
10-29-2007, 01:44 PM
ati is the generic name, it switches then to radeon if possible for your card, some cards require the direct use of radeon, most work with ati.

BigMadWolf
10-29-2007, 02:28 PM
are you sure your driver's name is ati?
AFAIK, the name of the free driver is "radeon" and the binary-driver is named fglrx...

Yeah, according to man it works. ;)

ati is an Xorg wrapper driver for ATI video cards. It autodetects whether your hardware has a Radeon, Rage 128, or Mach64 or earlier class of chipset, and loads the radeon(4), r128(4), or atimisc driver as appropriate.

C167
10-29-2007, 02:49 PM
ati is the generic name, it switches then to radeon if possible for your card, some cards require the direct use of radeon, most work with ati.

okay, didn't know that, sry