View previous topic :: View next topic |
Author |
Message |
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Thu Aug 31, 2006 1:26 am Post subject: aixgl +i915 |
|
|
Hi all guys
Since i have already get to work XGL under gentoo (on my main system with X1800XT), i decided to try it on my laptop.
I read on the forums that XGL is too much for my i915 chipset, so i tried installing aixgl following the how-to (http://gentoo-wiki.com/HOWTO_AIGLX) in the wiki.
The gentoo system was built from scratch.
I emerged all the necessary packages, but when i try to run /usr/bin/compizrc all my windows borders disappear.
If i hit control+c in the console where i run compizrc the program exit with this error:
Quote: | /usr/bin/compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed. |
What can i do to fix it?
I googled it but i haven't found any real working solution
this is my xorg.conf
Quote: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
Load "xtt"
Load "glx"
Load "dri"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "LCD"
HorizSync 31.5 - 48.5
VertRefresh 50-70
EndSection
Section "Device"
Identifier "i915"
Driver "i810"
VideoRam 131072
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "i915"
Monitor "LCD"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Option "AIGLX" "true"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
|
Thanks you all guys |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Thu Aug 31, 2006 3:53 am Post subject: Re: aixgl +i915 |
|
|
The script at the gentoo-wiki is incorrect. You'll have to change it to something like this: Code: | #!/bin/bash
unset XLIB_SKIP_ARGB_VISUALS
killall <your window manager here> &
LIBGL_ALWAYS_INDIRECT=1 /usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
You could always try without "unset XLIB_SKIP_ARGB_VISUALS", but it hardlocks without it on my i915. :/
P.S. Remember that the "lines" with all the Compiz plugins should be on only one line in your script, or you'll have some problems. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Thu Aug 31, 2006 11:31 am Post subject: |
|
|
Hi,
i tried your script (my window manager is kwin) but i get the same results, no windows borders and locked up X.
I also tried commenting out the line "unset XLIB_SKIP_ARGB_VISUALS" but it's the same.
I switched to metacity using "metacity --replace", modified the script to kill metacity but nothing changed.
I read that many users succesfully run aixgl with i915... what am i missing?
thanks for the help |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Thu Aug 31, 2006 12:38 pm Post subject: |
|
|
Well, try using alt+tab or something. I had problems with the window borders myself at first, but all of a sudden when I was playing around, it started working. You could also try running gnome-window-decorator in another console if alt+tab works. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Fri Sep 01, 2006 12:22 am Post subject: |
|
|
aiglx **used** to work fine for me (using Hanno's overlay)
but somewhere along the line gnome-window-decorator
stopped working. Everything else is fine; compiz runs and
all the plugins work (except for water). It's stable and fast
but I wish the window decorations would come back.
(This is a fujitsu p7010 ...)
I'd be interested if your problem is just with the window
decorator. What happens if you step through the script
commands in a terminal. For me, kwin dies gracefully, taking
the window decorations with it. Then compiz starts and gives two
warnings: one about the "stencil buffer" (whatever that is) and
one about some problem with the water plugin.
Then I try gnome-window-decorator and just nothing happens.
I can drag windows with alt and grab (and they wobble) and the
cube works and etc ...
good luck, anyway |
|
Back to top |
|
|
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Sat Sep 02, 2006 12:11 pm Post subject: |
|
|
This is the script i tried as suggested by Sachankara:
Quote: | #!/bin/bash
unset XLIB_SKIP_ARGB_VISUALS
killall <your window manager here> &
LIBGL_ALWAYS_INDIRECT=1 /usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I tried to go trough that step by step, i noticed that X freezes when i hit:
Quote: |
/usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I can move the mouse but nothing happens and keyboard is locked up, all i can do is ctrl+alt+backspace |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Sat Sep 02, 2006 12:35 pm Post subject: |
|
|
Jool wrote: | This is the script i tried as suggested by Sachankara:
Quote: | #!/bin/bash
unset XLIB_SKIP_ARGB_VISUALS
killall <your window manager here> &
LIBGL_ALWAYS_INDIRECT=1 /usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I tried to go trough that step by step, i noticed that X freezes when i hit:
Quote: |
/usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I can move the mouse but nothing happens and keyboard is locked up, all i can do is ctrl+alt+backspace | If it crashes on compiz starting, try removing some plugins listed. Start with just gconf, the gradually add one after another and see if it works. Sorry I couldn't give you a better suggestion. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Sat Sep 02, 2006 12:39 pm Post subject: |
|
|
ok, i managed to get it to work, i updated the overlay and recompiled mesa and compiz, now it is working, But i thought it would be faster, it's pretty damn slow...
Any tweaks for that?
thanks to all of you guys |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Sat Sep 02, 2006 12:52 pm Post subject: |
|
|
Jool wrote: | ok, i managed to get it to work, i updated the overlay and recompiled mesa and compiz, now it is working, But i thought it would be faster, it's pretty damn slow...
Any tweaks for that?
thanks to all of you guys | Slow in what? Window scrolling and window resizing is incredible slow, but moving windows is quite fast here. *
You could always add:
Option "XaaNoOffscreenPixmaps" "true"
To your /etc/X11/xorg.conf, under the "Device" section.
* One wonders why they claim that XGL/AIGLX is the fastest of all 3D desktop "thingies"? Mac OS X litterally owns XGL/AIGLX in performance. There's no lagging when scrolling a web page on a MacBook, unlike XGL/AIGLX. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Sat Sep 02, 2006 1:01 pm Post subject: |
|
|
Already done...
i think that i915 is a very shitty card especially in 3d so this is the best i can achieve with this system...
Is there a configuration utility like gset-compiz for aixgl? how can i emerge it?
I have xgl running on my main machine with an ati card (X1800XT) and it's very fast and stable... |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Sat Sep 02, 2006 1:06 pm Post subject: |
|
|
Jool wrote: | Already done...
i think that i915 is a very shitty card especially in 3d so this is the best i can achieve with this system...
Is there a configuration utility like gset-compiz for aixgl? how can i emerge it?
I have xgl running on my main machine with an ati card (X1800XT) and it's very fast and stable... | Well, since the MacBook have i915 cards too (as far as I remember), and run just fine with them, it must be something in the Linux drivers or the way AIGLX/XGL works. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
Jool n00b
Joined: 26 Sep 2005 Posts: 16
|
Posted: Sat Sep 02, 2006 1:23 pm Post subject: |
|
|
Is there a configuration utility like gset-compiz for aixgl? |
|
Back to top |
|
|
Vadatajs Tux's lil' helper
Joined: 11 May 2003 Posts: 89 Location: New York
|
Posted: Sat Sep 02, 2006 5:17 pm Post subject: |
|
|
Sachankara wrote: | Jool wrote: | This is the script i tried as suggested by Sachankara:
Quote: | #!/bin/bash
unset XLIB_SKIP_ARGB_VISUALS
killall <your window manager here> &
LIBGL_ALWAYS_INDIRECT=1 /usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I tried to go trough that step by step, i noticed that X freezes when i hit:
Quote: |
/usr/bin/compiz --replace --strict-binding gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
/usr/bin/gnome-window-decorator |
I can move the mouse but nothing happens and keyboard is locked up, all i can do is ctrl+alt+backspace | If it crashes on compiz starting, try removing some plugins listed. Start with just gconf, the gradually add one after another and see if it works. Sorry I couldn't give you a better suggestion. |
What exactly will that accomplish?
If you use gconf it ignores everything else. It has been this way for several months. _________________ Te occidere possunt sed te erde non possunt nefas est.
so it goes |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Sat Sep 02, 2006 5:47 pm Post subject: |
|
|
Vadatajs wrote: | What exactly will that accomplish?
If you use gconf it ignores everything else. It has been this way for several months. | Interesting claim, as it does make a difference for me. Using the Hanno overlay which I "fetched" last week. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
|