Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiz/XGL error [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 8:55 am    Post subject: Compiz/XGL error [SOLVED] Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Aug 09, 2006 9:21 am    Post subject: Reply with quote

are you sure XGL is running?

could you post :
Code:
ps aux | grep -i Xgl
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Wed Aug 09, 2006 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Growlizing
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2005
Posts: 94

PostPosted: Wed Aug 09, 2006 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 9:40 am    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Aug 09, 2006 9:45 am    Post subject: Reply with quote

Did you miss this step: http://www.gentoo-wiki.com/XGL#Windowed

You can also try this: http://www.gentoo-wiki.com/XGL#Generic_startxgl_script
Back to top
View user's profile Send private message
Growlizing
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2005
Posts: 94

PostPosted: Wed Aug 09, 2006 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 9:51 am    Post subject: Reply with quote

truc wrote:
Did you miss this step: http://www.gentoo-wiki.com/XGL#Windowed

You can also try this: http://www.gentoo-wiki.com/XGL#Generic_startxgl_script



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
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 9:53 am    Post subject: Reply with quote

I'll just try re-emerging xorg
Back to top
View user's profile Send private message
Growlizing
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2005
Posts: 94

PostPosted: Wed Aug 09, 2006 9:53 am    Post subject: Reply with quote

What kind of hardware are you trying to run it on?
_________________
Is this where I write something clever?
Back to top
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 9:56 am    Post subject: Reply with quote

My video card is an ATI Radeon 9800 Pro, need any other specific hardware and I can tell you
Back to top
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Quatrerwin
n00b
n00b


Joined: 17 Mar 2006
Posts: 33

PostPosted: Wed Aug 09, 2006 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum