Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2009-06-13 Thread brian m. carlson
On Sat, Jun 13, 2009 at 12:08:08PM +0200, Brice Goglin wrote:
> Does this still happen with latest intel driver from Lenny?
> And from unstable or experimental where UXA replaces/improves EXA?

No.  The driver from unstable is fine with EXA and the one from
experimental works fine with UXA.  It's fine with me if you close the
bug.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187


signature.asc
Description: Digital signature


Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2009-06-13 Thread Julien Valroff
Le samedi 13 juin 2009 à 12:08 +0200, Brice Goglin a écrit :
> On Sat, Nov 17, 2007 at 02:55:32AM +, brian m. carlson wrote:
> > Package: xserver-xorg-video-intel
> > Version: 2:2.2.0-1
> > Severity: important
> >
> > The intel video driver now uses EXA by default.  When using Compiz as my 
> > window manager, Xorg consistently uses >50% of the CPU when scrolling in 
> > Firefox or doing other simple (and formerly efficient) operations.
> >
> > This did not occur with XAA, because I used XAANoOffscreenPixmaps, which  
> > is recommended with Compiz.  Now, using EXA, offscreen memory is  
> > allocated, which I believe to be the cause of the CPU waste.
> 
> Does this still happen with latest intel driver from Lenny?
> And from unstable or experimental where UXA replaces/improves EXA?

Everything is working now, using driver from unstable, with or without
UXA.

Cheers,
Julien




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2009-06-13 Thread Brice Goglin
On Sat, Nov 17, 2007 at 02:55:32AM +, brian m. carlson wrote:
> Package: xserver-xorg-video-intel
> Version: 2:2.2.0-1
> Severity: important
>
> The intel video driver now uses EXA by default.  When using Compiz as my 
> window manager, Xorg consistently uses >50% of the CPU when scrolling in 
> Firefox or doing other simple (and formerly efficient) operations.
>
> This did not occur with XAA, because I used XAANoOffscreenPixmaps, which  
> is recommended with Compiz.  Now, using EXA, offscreen memory is  
> allocated, which I believe to be the cause of the CPU waste.

Does this still happen with latest intel driver from Lenny?
And from unstable or experimental where UXA replaces/improves EXA?

Brice



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2007-11-22 Thread Michel Dänzer

On Wed, 2007-11-21 at 18:26 +, brian m. carlson wrote:
> On Wed, Nov 21, 2007 at 12:19:25PM +0100, Michel Dänzer wrote:
> >Not really; the problem is that GLX_EXT_texture_from_pixmap is
> >implemented inefficiently. XaaNoOffscreenPixmaps just happens to make it
> >usable, at the cost of basically disabling 2D acceleration. While the
> >same workaround could be implemented for EXA, there's little point in
> >using it (or XAA, for that matter) at all in that case. So there's
> >really no point in implementing such an option for EXA, compared to just
> >switching to XAA.
> 
> Ah.  That explains a lot.  However, XVideo doesn't work with XAA, while 
> it does with EXA.  Upstream has no intention of fixing this, AFAIK.  
> Which means that programs (like miro) that don't allow disabling XVideo 
> don't work with XAA.  Oops.

It's not a matter of intention but simply not fixable reliably with XAA.
(Textured video also can't work without offscreen memory)


> >With the i915tex Mesa driver (or the i915 driver from upstream Git, but
> >that also requires xserver Git), EXA allows for more efficient
> >GLX_EXT_texture_from_pixmap together with 2D acceleration, but
> >unfortunately this is difficult to set up.
> 
> How do I enable the i915tex driver?  It seems it's already present in 
> libgl1-mesa-dri.

At the very least, you need libdrm and the i915 kernel module from the
drm Git branch i915tex-compat. I'm not sure it'll work without
rebuilding Mesa and/or xf86-video-intel (2.1; 2.2 is incompatible with
i915tex, it requires the i915 driver from mesa Git master for this)
though. Then you'll need Option "Legacy3D" "off" to make it use i915tex
instead of i915.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer




Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2007-11-21 Thread brian m. carlson

On Wed, Nov 21, 2007 at 12:19:25PM +0100, Michel Dänzer wrote:

Not really; the problem is that GLX_EXT_texture_from_pixmap is
implemented inefficiently. XaaNoOffscreenPixmaps just happens to make it
usable, at the cost of basically disabling 2D acceleration. While the
same workaround could be implemented for EXA, there's little point in
using it (or XAA, for that matter) at all in that case. So there's
really no point in implementing such an option for EXA, compared to just
switching to XAA.


Ah.  That explains a lot.  However, XVideo doesn't work with XAA, while 
it does with EXA.  Upstream has no intention of fixing this, AFAIK.  
Which means that programs (like miro) that don't allow disabling XVideo 
don't work with XAA.  Oops.



With the i915tex Mesa driver (or the i915 driver from upstream Git, but
that also requires xserver Git), EXA allows for more efficient
GLX_EXT_texture_from_pixmap together with 2D acceleration, but
unfortunately this is difficult to set up.


How do I enable the i915tex driver?  It seems it's already present in 
libgl1-mesa-dri.


--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187


signature.asc
Description: Digital signature


Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2007-11-21 Thread Michel Dänzer

On Sat, 2007-11-17 at 02:55 +, brian m. carlson wrote: 
> 
> The intel video driver now uses EXA by default.  When using Compiz as 
> my window manager, Xorg consistently uses >50% of the CPU when scrolling 
> in Firefox or doing other simple (and formerly efficient) operations.
> 
> This did not occur with XAA, because I used XAANoOffscreenPixmaps, which 
> is recommended with Compiz.  Now, using EXA, offscreen memory is 
> allocated, which I believe to be the cause of the CPU waste.

Not really; the problem is that GLX_EXT_texture_from_pixmap is
implemented inefficiently. XaaNoOffscreenPixmaps just happens to make it
usable, at the cost of basically disabling 2D acceleration. While the
same workaround could be implemented for EXA, there's little point in
using it (or XAA, for that matter) at all in that case. So there's
really no point in implementing such an option for EXA, compared to just
switching to XAA.

With the i915tex Mesa driver (or the i915 driver from upstream Git, but
that also requires xserver Git), EXA allows for more efficient
GLX_EXT_texture_from_pixmap together with 2D acceleration, but
unfortunately this is difficult to set up.

It's all kind of messy at the moment, but work is going on upstream to
make it all work nicely out of the box in the hopefully not too distant
future.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer




Bug#451571: Bug #451571 - xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2007-11-17 Thread Julien Valroff
Hi,

> The intel video driver now uses EXA by default.  When using Compiz as 
> my window manager, Xorg consistently uses >50% of the CPU when scrolling 
> in Firefox or doing other simple (and formerly efficient) operations.

I second this.

I am not sure it is related, but the shadows around the windows are not
smooth with the new xserver-xorg-video-intel

They look like oblong gradient around the windows.

Cheers,
Julien





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA

2007-11-16 Thread brian m. carlson

Package: xserver-xorg-video-intel
Version: 2:2.2.0-1
Severity: important

The intel video driver now uses EXA by default.  When using Compiz as 
my window manager, Xorg consistently uses >50% of the CPU when scrolling 
in Firefox or doing other simple (and formerly efficient) operations.


This did not occur with XAA, because I used XAANoOffscreenPixmaps, which 
is recommended with Compiz.  Now, using EXA, offscreen memory is 
allocated, which I believe to be the cause of the CPU waste.


Please fix this.

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2007-05-02 00:44 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1827360 2007-09-29 21:13 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML 
Express Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 2716 2007-11-05 04:17 /etc/X11/xorg.conf

Contents of /etc/X11/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 "Files"
EndSection

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

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules""xorg"
Option  "XkbModel""pc104"
Option  "XkbLayout"   "us"
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  "SHMconfig"   "true"
Option  "HorizScrollDelta""0"
EndSection

Section "Device"
Identifier  "Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller"
Driver  "i810"
BusID   "PCI:0:2:0"
Option  "XAANoOffscreenPixmaps" "true"
EndSection

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

Section "Screen"
Identifier  "Default Screen"
Device  "Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1600x1200" "1280x960" "1024x768" "800x600" 
"640x480"
EndSubSection
EndSection

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


Xorg X server log files on system:
-rw-r--r-- 1 root root 36378 2007-11-17 02:29 /var/log/Xorg.0.log

Contents of mo