View previous topic :: View next topic |
Author |
Message |
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 8:55 am Post subject: Compiz/XGL error [SOLVED] |
|
|
I was using the howto for XGL on Gentoo-wiki
Code: | quatre@q-desktop ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz gconf
compiz: Couldn't open display :1
quatre@q-desktop ~ $ DISPLAY=:1 gnome-window-decorator
(gnome-window-decorator:19318): Gtk-WARNING **: cannot open display:
quatre@q-desktop ~ $ DISPLAY=:1 xterm
xterm Xt error: Can't open display: :1 |
Any ideas why it's doing that? I'll post more information as it's requested
EDIT:
I just had to re-emerge xorg-x11 with the proper drivers and use gdm instead of kdm because for some strange reason xgl locks kdm
Last edited by Quatrerwin on Thu Aug 10, 2006 7:36 am; edited 1 time in total |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Aug 09, 2006 9:21 am Post subject: |
|
|
are you sure XGL is running?
could you post :
Code: | ps aux | grep -i Xgl |
|
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Wed Aug 09, 2006 9:33 am Post subject: |
|
|
And you're sure it's running on display 1 (you'll get 0 unless you tell it otherwise). _________________ What are you, stupid? |
|
Back to top |
|
|
Growlizing Tux's lil' helper
Joined: 25 Jul 2005 Posts: 94
|
Posted: Wed Aug 09, 2006 9:39 am Post subject: |
|
|
My comp didn't work on display :1, I had to use :0 to get it working.. _________________ Is this where I write something clever? |
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 9:40 am Post subject: |
|
|
Code: | quatre@q-desktop ~ $ ps aux | grep -i Xgl
quatre 18977 0.0 0.0 1500 476 pts/1 R+ 04:38 0:00 grep -i Xgl |
I should also mention that when XGL starts, through xglstart, it just gives a gray screen for an indefinite time like its loading up kdm, gdm or xdm
Also, for :0 I tried that first and I get
Code: | quatre@q-desktop ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:0 compiz gconf
compiz: No composite extension |
|
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
|
Back to top |
|
|
Growlizing Tux's lil' helper
Joined: 25 Jul 2005 Posts: 94
|
Posted: Wed Aug 09, 2006 9:50 am Post subject: |
|
|
Afaik, composite is an X(gl/xorg?) extension, but it's perfectly possible I'm wrong. _________________ Is this where I write something clever?
Last edited by Growlizing on Wed Aug 09, 2006 9:51 am; edited 1 time in total |
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 9:51 am Post subject: |
|
|
I went through all of those. I was about to post
Code: | quatre@q-desktop ~ $ Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/q-desktop:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+us" };
xkb_geometry { include "pc(pc105)" };
Could not init font path element /usr/share/fonts/TTF, removing from list! |
|
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 9:53 am Post subject: |
|
|
I'll just try re-emerging xorg |
|
Back to top |
|
|
Growlizing Tux's lil' helper
Joined: 25 Jul 2005 Posts: 94
|
Posted: Wed Aug 09, 2006 9:53 am Post subject: |
|
|
What kind of hardware are you trying to run it on? _________________ Is this where I write something clever? |
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 9:56 am Post subject: |
|
|
My video card is an ATI Radeon 9800 Pro, need any other specific hardware and I can tell you |
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 10:59 am Post subject: |
|
|
I get a message saying
Code: | FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing. |
and it stops loading there it seems |
|
Back to top |
|
|
Quatrerwin n00b
Joined: 17 Mar 2006 Posts: 33
|
Posted: Wed Aug 09, 2006 12:37 pm Post subject: |
|
|
I just had to re-emerge my xorg-x11 and/or change my xorg.conf to include the correct driver. Just one more thing before I can call this solved.
KDM freezes and the graphics distort upon loading. However, startxgl works BUT ONLY AS ROOT. Here is what I changed/added:
In File: /usr/kde/3.5/share/config/kdm/kdmrc
Code: | ServerTimeout=30
ServerCmd=/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv:pbuffer |
In File: /etc/env.d/99kde-env
Code: | KDEWM=compiz-decorator |
Made this file: /usr/local/bin/compiz-decorator
Code: | compiz --replace gconf &
sleep 2
gnome-window-decorator & |
And ran
Code: | chmod +x /usr/local/bin/compiz-decorator |
|
|
Back to top |
|
|
|