View previous topic :: View next topic |
Author |
Message |
mahound n00b
Joined: 20 Oct 2005 Posts: 34
|
Posted: Fri Feb 17, 2006 2:01 pm Post subject: XGL - gnome-window-decorator won't start |
|
|
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 |
|
|
tolly n00b
Joined: 03 Jan 2004 Posts: 13
|
Posted: Fri Feb 17, 2006 11:12 pm Post subject: |
|
|
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 |
|
|
crazy-bee Apprentice
Joined: 03 Jan 2003 Posts: 170
|
Posted: Sat Feb 18, 2006 1:11 pm Post subject: |
|
|
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 |
|
|
tomekk n00b
Joined: 10 Feb 2006 Posts: 14
|
Posted: Sat Feb 18, 2006 2:00 pm Post subject: |
|
|
I have this problem too, I'm using revision 9 of xgl ovrlay. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Feb 23, 2006 11:10 pm Post subject: |
|
|
did you find something about it? I'm here too |
|
Back to top |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Sun Feb 26, 2006 4:31 pm Post subject: |
|
|
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 |
|
|
CoffeeBuzz Apprentice
Joined: 15 Jun 2005 Posts: 269 Location: Canada Eh.
|
Posted: Sun Feb 26, 2006 5:11 pm Post subject: |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sun Feb 26, 2006 6:22 pm Post subject: |
|
|
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 |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Sun Feb 26, 2006 8:44 pm Post subject: |
|
|
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 |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Tue Feb 28, 2006 9:18 am Post subject: |
|
|
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 |
|
|
_tom_ n00b
Joined: 12 Jul 2002 Posts: 30 Location: Tirol/Austria
|
Posted: Sat Mar 11, 2006 9:18 am Post subject: |
|
|
I have the same problem. Has anyone found a solution? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Mar 11, 2006 9:42 am Post subject: |
|
|
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 |
|
|
mentorek n00b
Joined: 06 Feb 2004 Posts: 55 Location: Sosnowiec, Poland
|
Posted: Sat Mar 11, 2006 4:04 pm Post subject: |
|
|
Had the same problem but resolved it when read this comment.
Hope it'll work for others too
greetz |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Mar 11, 2006 4:30 pm Post subject: |
|
|
I had good hopes on this one, unfortunatly, it didn't do the trick |
|
Back to top |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Sat Mar 11, 2006 4:32 pm Post subject: |
|
|
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 |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Sun Mar 12, 2006 1:20 pm Post subject: |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Mar 15, 2006 7:55 am Post subject: |
|
|
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 |
|
|
jdoe Tux's lil' helper
Joined: 02 Jun 2003 Posts: 122 Location: Italy - Florence - Empoli
|
Posted: Wed Mar 15, 2006 10:47 am Post subject: |
|
|
Hkz wrote: | but an unset XLIB_SKIP_ARGB_VISUALS did the trick. |
worked for me.
thanks _________________ me |
|
Back to top |
|
|
Hkz n00b
Joined: 26 Feb 2006 Posts: 7
|
Posted: Wed Mar 15, 2006 3:11 pm Post subject: |
|
|
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 )
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 |
|
|
kld n00b
Joined: 24 Mar 2006 Posts: 1
|
Posted: Fri Mar 31, 2006 9:51 am Post subject: |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Apr 01, 2006 6:16 am Post subject: |
|
|
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 |
|
|
|