View previous topic :: View next topic |
Author |
Message |
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sat Sep 23, 2006 2:46 am Post subject: |
|
|
OddFox wrote: | What message does it give you upon failing? |
Code: | * Applying NVIDIA_i2c.patch ...
* Failed Patch: NVIDIA_i2c.patch !
* ( /usr/local/portage/x11-drivers/nvidia-drivers/files/NVIDIA_i2c.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/nvidia-drivers-1.0.9625/temp/NVIDIA_i2c.patch-31823.out |
And /var/tmp/portage/nvidia-drivers-1.0.9625/temp/NVIDIA_i2c.patch-31823.out" Code: | ***** NVIDIA_i2c.patch *****
============================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/x11-drivers/nvidia-drivers/files/NVIDIA_i2c.patch
============================
patching file usr/src/nv/nv-i2c.c
Hunk #1 FAILED at 138.
1 out of 1 hunk FAILED -- saving rejects to file usr/src/nv/nv-i2c.c.rej
============================ |
Yet no .rej file is created. |
|
Back to top |
|
|
ZeroDivide Tux's lil' helper
Joined: 15 Mar 2003 Posts: 86
|
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Sat Sep 23, 2006 3:26 am Post subject: |
|
|
OddFox wrote: | Works fine for me after making sure the custom ebuild uses the i2c patch, however now my resolution is only going up to 1280x1024, 1680x1050 is no longer being detected... gotta figure that one out. *sighs* |
I'm stuck at 800x600
Code: | (**) NVIDIA(0): Option "AddARGBGLXVisuals" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 GT at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.46.68
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6600 GT at PCI:1:0:0:
(--) NVIDIA(0): @@@ (CRT-0)
(--) NVIDIA(0): @@@ (CRT-0): 400.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(WW) NVIDIA(0): No valid modes for "1600x1200"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0): No valid modes for "800x600"; removing.
(WW) NVIDIA(0): No valid modes for "640x480"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 800 x 600 |
|
|
Back to top |
|
|
OddFox Apprentice
Joined: 28 Nov 2002 Posts: 270 Location: Spokane, WA
|
Posted: Sat Sep 23, 2006 4:03 am Post subject: |
|
|
That sucks, but there's a little more information on what's going on in the nvnews.net forums here. Seems like the resolution problems might be limited to DVI, since VGA works fine over here (Although I loathe it compared to DVI). I'm hoping a patch makes an appearance soon. _________________ Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Sat Sep 23, 2006 4:58 am Post subject: |
|
|
OddFox wrote: | That sucks, but there's a little more information on what's going on in the nvnews.net forums here. Seems like the resolution problems might be limited to DVI, since VGA works fine over here (Although I loathe it compared to DVI). I'm hoping a patch makes an appearance soon. |
I'm using the VGA port on my geforce.
The problem seems to be that the 9xxx drivers detect an EDID for the gfx card, where as the 8774 drivers do not detect an EDID.
Code: | (--) NVIDIA(0): --- EDID for @@@ (CRT-0) ---
(--) NVIDIA(0): Maximum Image Size : 65535mm x 65535mm
(--) NVIDIA(0): Valid HSync Range : 4294967 kHz - 0 kHz
(--) NVIDIA(0): Valid VRefresh Range : -1 Hz - 0 Hz
(--) NVIDIA(0): EDID maximum pixel clock : 0.0 MHz |
example mode validation:
Code: | (II) NVIDIA(0): Validating Mode "1600x1200":
(II) NVIDIA(0): 1600 x 1200 @ 65 Hz
(II) NVIDIA(0): Mode Source: X Server
(II) NVIDIA(0): Pixel Clock : 175.50 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1600, 1664
(II) NVIDIA(0): HSyncEnd, HTotal : 1856, 2160
(II) NVIDIA(0): VRes, VSyncStart : 1200, 1201
(II) NVIDIA(0): VSyncEnd, VTotal : 1204, 1250
(II) NVIDIA(0): H/V Polarity : +/+
(WW) NVIDIA(0): Mode is rejected: PixelClock (175.5 MHz) too high for EDID
(WW) NVIDIA(0): (EDID Max: 0.0 MHz). |
|
|
Back to top |
|
|
OddFox Apprentice
Joined: 28 Nov 2002 Posts: 270 Location: Spokane, WA
|
Posted: Sat Sep 23, 2006 5:02 am Post subject: |
|
|
Have you tried explicitly disabling Edid functionality in xorg.conf? I have
Code: | Option "UseEdidFreqs" "True" |
but maybe I should try putting False instead. Omitting the line entirely doesn't change the situation so I'm thinking maybe it's a new default in the drivers. _________________ Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Sat Sep 23, 2006 5:06 am Post subject: |
|
|
OddFox wrote: | Have you tried explicitly disabling Edid functionality in xorg.conf? I have |
I got it resolved by adding the following line to my nvidia Device section. Code: | Option "UseEDID" "false" |
|
|
Back to top |
|
|
OddFox Apprentice
Joined: 28 Nov 2002 Posts: 270 Location: Spokane, WA
|
Posted: Sat Sep 23, 2006 6:00 am Post subject: |
|
|
Glad to hear you got it fixed! _________________ Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Sat Sep 23, 2006 6:36 am Post subject: |
|
|
Oh hell freakin' yes!!!!!!!!!!
Everything emerged and is running silky smooth (including the i2c patch). AIGLX, here I come! Good thing too because I've been going through compile withdrawl since I haven't messed with my system lately. |
|
Back to top |
|
|
lucida Apprentice
Joined: 20 Feb 2003 Posts: 191
|
Posted: Sat Sep 23, 2006 10:00 am Post subject: |
|
|
Anyone notice a performance drop in glxgears? I got ~15000fps w/8774 and only 10000fps in 9625.
the card is a 7900GT. |
|
Back to top |
|
|
fyrewall77 n00b
Joined: 22 Sep 2006 Posts: 4 Location: Switzerland
|
Posted: Sat Sep 23, 2006 1:47 pm Post subject: gnome-window-decorator missing |
|
|
I have installed the following packages from portage (No overlays):
x11-drivers/nvidia-drivers 1.0.9625 (From ebuild above)
x11-base/xorg-x11 7.1
x11-base/xorg-server 1.1.1-r1
media-libs/mesa 6.5.1-r1
x11-wm/compiz 0.0.13_pre20060921
kde-base/kde-meta 3.5.4
gnome-base/gnome 2.14.2
x11-libs/libdrm 2.0.2
I get all the wobbly windows, and cube running smoothly. The problem is, when I run compiz-aiglx, my kde windows (kwin) decorations dissapear! I understand that kwin doesnt support aiglx, but I have NO windows decorations. What do I have to do to get window decorations??? HELP, Im sooo close!
Ive added one thing to the compiz-aiglx start script LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1 to get the correct opengl libs to be used.
Thanks in advance! (Thanks NVidia for this beta!)
ps: If you see anything wrong with my xorg.conf, let me know (im also guessing what options I need).
/usr/bin/compiz-aiglx:
gnome-window-decorator --replace &
LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1 LIBGL_ALWAYS_INDIRECT=1 compiz --replace --use-cow --indirect-rendering --strict-binding gconf move resize minimize place decoration wobbly cube rotate scale switcher zoom fade screenshot dbus
eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11
LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1 ldd `which compiz`
linux-gate.so.1 => (0xffffe000)
/usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7e64000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7e1d000)
libz.so.1 => /lib/libz.so.1 (0xb7e0c000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7e09000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7e05000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7e00000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7dfc000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7df3000)
libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0xb7deb000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7de2000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7dca000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7dc7000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7dc2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7cd1000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7cc3000)
libdl.so.2 => /lib/libdl.so.2 (0xb7cbf000)
libm.so.6 => /lib/libm.so.6 (0xb7c9a000)
libc.so.6 => /lib/libc.so.6 (0xb7b81000)
libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb7303000)
libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb7301000)
/lib/ld-linux.so.2 (0xb7ef1000)
xorg.conf
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Device"
Identifier "GeForce4MX440"
Driver "nvidia"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "XAANoOffscreenPixmaps" "true"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "GeForce4MX440"
Monitor "SyncMaster"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
...
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
EndSection
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
GLX version: 1.3
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_f ... |
|
Back to top |
|
|
TNorthover Guru
Joined: 25 Jan 2004 Posts: 434 Location: Edinburgh, UK
|
Posted: Sat Sep 23, 2006 5:28 pm Post subject: Re: gnome-window-decorator missing |
|
|
fyrewall77 wrote: | I get all the wobbly windows, and cube running smoothly. The problem is, when I run compiz-aiglx, my kde windows (kwin) decorations dissapear! I understand that kwin doesnt support aiglx, but I have NO windows decorations. What do I have to do to get window decorations??? HELP, Im sooo close! |
Even on kde, compiz uses the gnome window decorator. This won't be compiled unless gnome-base/control-center is installed for fairly arcane reasons. So try emerging that then re-emerging compiz. |
|
Back to top |
|
|
Emopig Apprentice
Joined: 15 Mar 2006 Posts: 188
|
Posted: Sat Sep 23, 2006 7:30 pm Post subject: |
|
|
I got this working with compiz-20060921 with no problems, the new drivers seem to works fine except...
The performance of compiz under Xorg+nVidia's drivers seems to be much much worse than under XGL and Mesa When compiling/emerging I can hardly move any windows, they are so jerky. I never had this problem under XGL and Mesa.
Let's hope nVidia have alot of optimisation up their sleeves. _________________ 2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sat Sep 23, 2006 9:27 pm Post subject: |
|
|
Could all this be included for example in Overlay "portage-xgl" ? |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Sat Sep 23, 2006 10:01 pm Post subject: |
|
|
I'm able to use compiz without any trouble. but I try to modify metacity ebuild. I want to try it but when I enable the compositing manager the screen become totally blue, I can see only the border of the window. when I click again on the compositing manager for disable the feature all work perfectly. I have an nvidia 6200. there's nobody running metacity with compositing manager?
EDIT: I also try to downgrade to 2.15.21 from an overlay because I can enable the features via Use flag but the result is the same.
I found this when I try to launch metacity from terminal:
Code: | Log level 16: No texture created - maybe Texture From Pixmap extension is not present?
|
but:
Code: | glxinfo | grep pixmap
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
|
|
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Sun Sep 24, 2006 12:13 am Post subject: |
|
|
Gregoire wrote: | Could all this be included for example in Overlay "portage-xgl" ? | Read the posts here:
https://bugs.gentoo.org/show_bug.cgi?id=148670
There is an overlay you can DL in one of them. It includes all the patches needed. I think some patches were commented out in the ebuild in this thread, but here, none of them are commented out. However, the module.s file is removed from it, so don't remove your old one in /etc/modules.d/nvidia.
I can say that it works for me. Even that new option to select which monitor you want as the default one for TwinView. It works perfectly. I love that option. DFP is now Screen one!!! I am very happy.
Cheers. _________________ Nothing to read in this sig. Move along. |
|
Back to top |
|
|
vikbon n00b
Joined: 13 Sep 2006 Posts: 10
|
Posted: Sun Sep 24, 2006 8:07 am Post subject: |
|
|
Has anyone managed to get compiz-quinn working with aiglx on the beta nvidia drivers. If so any chance you could post a mini howto. thanks _________________ amd64 3200+ Nvidia Fx5200 |
|
Back to top |
|
|
Fran Guru
Joined: 29 Feb 2004 Posts: 530 Location: Coruña (Spain)
|
Posted: Sun Sep 24, 2006 8:35 am Post subject: |
|
|
Emopig wrote: | I got this working with compiz-20060921 with no problems, the new drivers seem to works fine except...
The performance of compiz under Xorg+nVidia's drivers seems to be much much worse than under XGL and Mesa When compiling/emerging I can hardly move any windows, they are so jerky. I never had this problem under XGL and Mesa.
Let's hope nVidia have alot of optimisation up their sleeves. |
++
The performace was much better with xorg7+xgl+mesa, and is much better with xorg7.1+aiglx+intel i945 open drivers in my laptop. Strange, considering that I have a 6600GT in my desktop |
|
Back to top |
|
|
devilheart l33t
Joined: 17 Mar 2005 Posts: 848 Location: Villach, Austria
|
Posted: Sun Sep 24, 2006 9:21 am Post subject: |
|
|
this is way too strange
i have compiled compiz form 20060923 source snapshot. of course I am running nvidia beta driver (which always have worked).
if I run compiz with
compiz --replace --use-cow gconf&
it works but it is very slow
if I run compiz with
compiz --replace --use-cow --indirect-rendering gconf&
i works correctly
how is this possible? i was sure that direct rendering is faster... |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Sun Sep 24, 2006 10:11 am Post subject: |
|
|
Ic3M4n wrote: | I try to modify metacity ebuild. I want to try it but when I enable the compositing manager the screen become totally blue, I can see only the border of the window. when I click again on the compositing manager for disable the feature all work perfectly. I have an nvidia 6200. there's nobody running metacity with compositing manager?
|
++
You can actually see the effects working(wobbly windows, shatter on close, etc...), but everything is blue. |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sun Sep 24, 2006 12:28 pm Post subject: |
|
|
Hi.
Have checked around in the net.
And found thet the compiz in portage link against the wrong GL lib.
It should link to the nvidia OpenGL lib.
Check by
|
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Sun Sep 24, 2006 12:42 pm Post subject: |
|
|
keyson wrote: | Hi.
Have checked around in the net.
And found thet the compiz in portage link against the wrong GL lib.
It should link to the nvidia OpenGL lib.
Check by
|
Code: | # ldd `which compiz`
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x000000300e800000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x000000301fe00000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x0000003020800000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x000000300ee00000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x000000300f000000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x0000003022e00000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x000000300e000000)
libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0x000000301ca00000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x0000003011200000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x0000003011400000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x000000300da00000)
libdl.so.2 => /lib/libdl.so.2 (0x000000300d200000)
libm.so.6 => /lib/libm.so.6 (0x000000300d000000)
libc.so.6 => /lib/libc.so.6 (0x000000300cc00000)
libz.so.1 => /lib/libz.so.1 (0x000000300d400000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x000000300ea00000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x000000300de00000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x000000300d800000)
/lib64/ld-linux-x86-64.so.2 (0x000000300b400000)
|
|
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Sun Sep 24, 2006 12:53 pm Post subject: |
|
|
sirdilznik wrote: |
++
You can actually see the effects working(wobbly windows, shatter on close, etc...), but everything is blue. |
yes, exact. but I don't understand what is wrong. Xorg.0.log doesn't have WW and EE.
but metacity sayd Code: | No texture created - maybe Texture From Pixmap extension is not present? |
but I have these thing enabled. |
|
Back to top |
|
|
Anarcho Advocate
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Sun Sep 24, 2006 7:21 pm Post subject: |
|
|
vikbon wrote: | Has anyone managed to get compiz-quinn working with aiglx on the beta nvidia drivers. If so any chance you could post a mini howto. thanks |
I would be thankfull, too!
I always segfaults on startup, the normal compiz is working correct (but has no xinerama support...) _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
|
Devport Guru
Joined: 15 Dec 2004 Posts: 361
|
Posted: Sun Sep 24, 2006 7:35 pm Post subject: |
|
|
To build compiz-quinnstorm for AIGLX ( patches taken from compiz.net forum - but they have been taken away because beryl doesn't need them ) :
Copy these patches to the files dir :
mesa-fix.diff :
Code: | --- src/Makefile.am.old 2006-09-05 00:41:55.000000000 +0800
+++ src/Makefile.am 2006-09-18 21:55:20.000000000 +0800
@@ -7,10 +7,7 @@
bin_PROGRAMS = compiz
bin_SCRIPTS = compiz-start
-../mesa/lib/libGL.a:
- make -C ../mesa/
-
-compiz_LDADD = @COMPIZ_LIBS@ ../mesa/lib/libGL.a -lm
+compiz_LDADD = @COMPIZ_LIBS@ -lGL -lm
compiz_LDFLAGS = -export-dynamic
compiz_SOURCES = \
main.c \
|
screen.diff
Code: | --- src/screen.c.old 2006-09-17 12:29:56.000000000 +0800
+++ src/screen.c 2006-09-23 02:19:59.000000000 +0800
@@ -1407,6 +1407,7 @@
XVisualInfo *vi;
int visual_depth;
vi = glXGetVisualFromFBConfig(dpy, fbConfigs[j]);
+ if (! vi) continue;
visual_depth = vi->depth;
XFree(vi);
if (visual_depth != i)
|
Modify the compiz-quinnstorm ebuild to apply the patches and remove the hardcoded linking path, e.g.
Code: | --with-gl-libs="-Wl,-R/usr/$(get_libdir)/opengl/xorg-x11/lib/ -L/usr/$(get_libdir)/opengl/xorg-x11/lib/ -lGL" \ | or use this one ( based on cvs ebuild - may not work anymore since cvs may be taken down due to beryl replacement ) :
compiz-quinnstorm-9999.ebuild
Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils cvs flag-o-matic multilib gnome2 autotools
ECVS_SERVER="metascape.afraid.org:/cvsroot"
ECVS_MODULE="compiz"
ECVS_LOCALNAME="compiz"
S=${WORKDIR}/${ECVS_LOCALNAME}
DESCRIPTION="Compiz window manager for AiGLX and XGL (cvs)"
HOMEPAGE="http://compiz.net"
SRC_URI=""
LICENSE="X11"
SLOT="0"
KEYWORDS="-*"
IUSE="gnome svg"
PDEPEND=">=x11-misc/compiz-quinnstorm-plugins-0.12
x11-wm/cgwd
x11-misc/csm
x11-misc/compiz-manager"
DEPEND=">=media-libs/mesa-6.5.1_alpha20060515
x11-libs/startup-notification
media-libs/libpng
media-libs/glew
sys-apps/dbus
x11-libs/libXdamage
x11-libs/libXrandr
x11-libs/libXcomposite
gnome? (
>=gnome-base/gconf-2.14
x11-libs/libwnck
gnome-base/gnome-desktop
gnome-base/control-center
)
>=gnome-base/librsvg-2
!x11-wm/compiz"
RDEPEND="${DEPEND}
x11-apps/xvinfo
x11-apps/xlsclients"
src_unpack() {
cvs_src_unpack
cd "${S}"
epatch "${FILESDIR}/${PN}-dbus.service.patch"
epatch "${FILESDIR}/mesa-fix.diff"
epatch "${FILESDIR}/screen.diff"
}
src_compile() {
use amd64 && replace-flags -O[1-9] -O0
cd ${S}
eautoreconf || die "eautoreconf failed"
glib-gettextize --copy --force || die
econf \
--disable-kde \
`use_enable gnome` || die "econf failed"
emake || die "make failed"
}
src_install() {
gnome2_src_install
insinto /usr/share/dbus-1/services
newins "${S}"/compiz.service org.compiz.dbus.service
}
|
That way compiz-quinnstorm works fine for me with AIGLX. Yet compiz on AIGLX has the lag that it had in former versions of XGL - a possible solution may be found here http://www.compiz.net/topic-4707-1.html - see sched.c ( I didn't try ). |
|
Back to top |
|
|
|