Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL - gnome-window-decorator won't start
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
mahound
n00b
n00b


Joined: 20 Oct 2005
Posts: 34

PostPosted: Fri Feb 17, 2006 2:01 pm    Post subject: XGL - gnome-window-decorator won't start Reply with quote

Hello all.
I've built xgl according to http://gentoo-wiki.com/XGL, but I'm having the following problem:

Quote:

mahound@magrathea ~ $ gnome-window-decorator
gnome-window-decorator, Failed to load shadow images


I searched the forums, but it seems no-one has found the solution yet...
Does anybody have a clue abot what's happening?
Back to top
View user's profile Send private message
tolly
n00b
n00b


Joined: 03 Jan 2004
Posts: 13

PostPosted: Fri Feb 17, 2006 11:12 pm    Post subject: Reply with quote

Hi there, this happened for me,

What worked for me is starting compiz (which I'm assuming you're using) is to call it with:

Code:

LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace switcher decoration wobbly fade minimize cube rotate zoom scale move resize place


Note the gconf option is not used. You can then manually start gnome-window-decorator.

Tolly
Back to top
View user's profile Send private message
crazy-bee
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 170

PostPosted: Sat Feb 18, 2006 1:11 pm    Post subject: Reply with quote

I have that problem, too.

I read trillions of HOWTOs and pages in the forum, but I am struck. I have a new user, and *everything* - including window-decoration works perfect. My normal user spits out the "failed to load shadow images" error message. I have no idea why, and I dont know what else to try.

I already deleted .gconf* .gnome* but this did not help in any way.

So why does it work with a new user and not with an existing one? Which (magic) file / config do I have to delete to make it work.

Please, help :-)
Back to top
View user's profile Send private message
tomekk
n00b
n00b


Joined: 10 Feb 2006
Posts: 14

PostPosted: Sat Feb 18, 2006 2:00 pm    Post subject: Reply with quote

I have this problem too, I'm using revision 9 of xgl ovrlay.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Feb 23, 2006 11:10 pm    Post subject: Reply with quote

did you find something about it? I'm here too :(
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Sun Feb 26, 2006 4:31 pm    Post subject: Reply with quote

Me too... followed every step of http://gentoo-wiki.com/XGL (xgl-coffee overlay), and as of today, no luck, always getting the error on gnome-window-decorator.
My video board is (i don't really think that this is the real problem anyway) an ATI RADEON 9100IGP running with xf86-video-ati drivers and the latest drm snapshot for r200.

I really hope that someone get on the bottom of this.
Back to top
View user's profile Send private message
CoffeeBuzz
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 269
Location: Canada Eh.

PostPosted: Sun Feb 26, 2006 5:11 pm    Post subject: Reply with quote

Heres an strace posted in the main XGL thread:
Code:

$ DISPLAY=:1 strace gnome-window-decorator
...
open("/home/frodo/.cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/frodo/.icons/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/frodo/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xorg-x11/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/xorg-x11/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/icons/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/pixmaps/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xorg-x11/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/xorg-x11/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/xorg-x11/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/xorg-x11/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/default/cursors/bottom_right_corner", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
write(3, "^\0\10\0\4\0\200\2\3\0\200\2\3\0\200\2\206\0\207\0\0\0"..., 288) = 288
read(3, 0xbfd33ea8, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1`^\0\0\0\0\0\340\0\0\0\0\0\0\0\0\0\0\0\320\21\245\10"..., 32) = 32
write(3, "\24\0\6\0R\0\0\0\340\0\0\0!\0\0\0\0\0\0\0\1\0\0\0", 24) = 24
read(3, 0xbfd33e84, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\0_\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0"..., 32) = 32
write(2, "gnome-window-decorator, Failed t"..., 53gnome-window-decorator, Failed to load shadow images
) = 53
exit_group(1)                           = ?
Process 1071 detached

To me, this looks like it has something to do with mouse cursor themes. Out of curiosity do you folks have HWCursor or CursorShadow on/off in xorg.conf? Using cursor themes? Probably unrelated but just a thought.
_________________
HP Pavilion zd7260us
Xgl Overlay: http://svn.xgl-coffee.org/xgl-coffee/trunk
Xgl Forums: http://forums.xgl-coffee.org
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Feb 26, 2006 6:22 pm    Post subject: Reply with quote

Code:
grep -i cursor /etc/X11/xorg.conf
just gives nothing :(

I've tried to create an other user, but it doesn't did it for me.

BTW after trying once, and closing all, I often have the error, when starting again:
Code:
 _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running



Then I have to launch it on DISPLAY=:2, may be it's just the same issue as reported in the wiki:
"Note: Many people reported problems to start server at port 0 (the default)." Since I'm "try[ing] it out as another window on an already running X server"
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Sun Feb 26, 2006 8:44 pm    Post subject: Reply with quote

I've tried with and without cursor themes (even tried uninstalling them)... no luck so far.
I have no mention of hardware or software cursor in xorg.conf, but i think it's set to a default of HW in the radeon xorg module ( as with some machines with older video board i had to explicitly enable Software cursor to avoid some glitches ).

Uff...anyway...even without window borders Xgl remains amazing :)
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Tue Feb 28, 2006 9:18 am    Post subject: Reply with quote

Hmmm...had a quick look at the code, i could be wrong but it seems to be something regarding gdkpixbuf

Code:

    shadow_pixmap = pixmap_new_from_inline (_shadow);
    large_shadow_pixmap = pixmap_new_from_inline (_large_shadow);

    if (!shadow_pixmap || !large_shadow_pixmap)
    {
        fprintf (stderr, "%s, Failed to load shadow images\n", argv[0]);
        return 1;
    }


In fact, on my system i had an outdated version installed, i'm going to upgrade and recompile some packages. I'll post here if i find something. If this still doesn't work i'll try to have another look to gnome-window-decorator.c and see if i can find something else.
Back to top
View user's profile Send private message
_tom_
n00b
n00b


Joined: 12 Jul 2002
Posts: 30
Location: Tirol/Austria

PostPosted: Sat Mar 11, 2006 9:18 am    Post subject: Reply with quote

I have the same problem. Has anyone found a solution?
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sat Mar 11, 2006 9:42 am    Post subject: Reply with quote

It seems unresolved for now :(

did you try with an new user (as suggested before)? (it doesn't work for me btw..)
Back to top
View user's profile Send private message
mentorek
n00b
n00b


Joined: 06 Feb 2004
Posts: 55
Location: Sosnowiec, Poland

PostPosted: Sat Mar 11, 2006 4:04 pm    Post subject: Reply with quote

Had the same problem but resolved it when read this comment.
Hope it'll work for others too :)
greetz
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sat Mar 11, 2006 4:30 pm    Post subject: Reply with quote

I had good hopes on this one, unfortunatly, it didn't do the trick :(
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Sat Mar 11, 2006 4:32 pm    Post subject: Reply with quote

Alas, it didn't solve anything for me...
anyone who got it working willing to post his xorg.conf and export output?
Thanks
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Sun Mar 12, 2006 1:20 pm    Post subject: Reply with quote

I was wrong... i tried to do an export XLIB_SKIP_ARGB_VISUALS="0" that didn't worked. but an unset XLIB_SKIP_ARGB_VISUALS did the trick. i still have some problems anyway (applet like windows menu crashing at startup of gnome, i use a 2.13 from gentopia BTW)

THANKS!!
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Mar 15, 2006 7:55 am    Post subject: Reply with quote

Hkz wrote:
worked. but an unset XLIB_SKIP_ARGB_VISUALS did the trick


That did it for me too!!

Thanks so much everybody!
Back to top
View user's profile Send private message
jdoe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 122
Location: Italy - Florence - Empoli

PostPosted: Wed Mar 15, 2006 10:47 am    Post subject: Reply with quote

Hkz wrote:
but an unset XLIB_SKIP_ARGB_VISUALS did the trick.


worked for me.
thanks ;)
_________________
me
Back to top
View user's profile Send private message
Hkz
n00b
n00b


Joined: 26 Feb 2006
Posts: 7

PostPosted: Wed Mar 15, 2006 3:11 pm    Post subject: Reply with quote

Thanks to everybody, now i'm using XGL on gnome 2.14 :)

Now i'm waiting for an Xgl aware metacity ebuild :))
( http://www.gnome.org/%7Edavyd/gnome-2-14/ here they say that metacity 2.14 supports OpenGL compositing :D )

EDIT: Hmm...i should have read a bit more about it, it seems it doesn't rely on XGL for it's effects...we'll see :)
Back to top
View user's profile Send private message
kld
n00b
n00b


Joined: 24 Mar 2006
Posts: 1

PostPosted: Fri Mar 31, 2006 9:51 am    Post subject: Reply with quote

Hello all,
I also have this problem. I tried to install a couple of themes, so gnome-window-decorator can find those cursors, but unfortunately to no avail. Also tried to unset that XLIB_... but again, no success.
Hopefully there wil be a solution soon :(
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sat Apr 01, 2006 6:16 am    Post subject: Reply with quote

where did you unset XLIB_SKIP_ARGB_VISUALS?

You can unset it inside your startxgl script, just to make sure it's unset, once you're in xgl (with no title bar at all) try "echo $XLIB_SKIP_ARGB_VISUALS" and see what happen!
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