View previous topic :: View next topic |
Author |
Message |
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun May 14, 2006 10:42 am Post subject: problem solved! |
|
|
TemplarKnight wrote: | Ok i've setup xgl quite good both on my desktop (using an nvidia card) and on my laptop (using an ati one). The problem that i am dealing with has to do with the inability to switch ttys using alt+ctrl+(F1-F12). While in my desktop pc i can use the key combinations and switch ttys, from my laptop configuration i cannot. Is anyone dealing with it?? It is very strange because i did the same setup on both machines using gdm and the wiki instructions.
Also, from my laptop i cannot start a new X server (using xinit) from within the XGL one. For my desktop, no problem again, xinit works great and i can launch any games or other opengl stuff that has problems with XGL.
Are there any advice for these things?
I'm using compiz-vanilla.
|
Never mind, problem solved, actually it was a buggy emergence of x11-misc/xkeyboard-config.
x11-misc/xkbdata is not needed after all. I did:
Code: | rm -R /usr/X11R6/lib/X11/xkb
rm -R /usr/share/X11/xkb
emerge xkeyboard-config |
And i can switch ttys now.
Thnx. |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Sun May 14, 2006 7:03 pm Post subject: |
|
|
valmar wrote: | Hi all! I've been happily using xgl for some weeks now. I just noticed one problem (or feature, maybe I don't understand it). Sometimes when I click on a window, the focus is passed to a window beneath it, and not to the window itself. Is this intentional or a bug? Is there a way to tweak this?
Thank you in advance for the help!
Valerio |
Ok, this problem just came back for me. Sometimes it does it and sometimes it doesn't. Does anyone else have this problem? |
|
Back to top |
|
|
jbinto n00b
Joined: 21 Aug 2005 Posts: 74
|
Posted: Sun May 14, 2006 8:38 pm Post subject: Re: problem solved! |
|
|
Quote: |
Never mind, problem solved, actually it was a buggy emergence of x11-misc/xkeyboard-config.
x11-misc/xkbdata is not needed after all. I did:
Code: | rm -R /usr/X11R6/lib/X11/xkb
rm -R /usr/share/X11/xkb
emerge xkeyboard-config |
And i can switch ttys now.
Thnx. |
I have the same problem. This did not help.
I didn't have anything in /usr/X11R6/lib/X11, but I removed the files from /usr/share/X11/xkb, and re-emerged xkeyboard-config. Still cannot switch TTYs in modular xorg 7.0 (using Xgl or not).
I think this goes back to me mistakenly emerging xkbdata and then commiting all of the config changes (100+ of them) with etc-update. I can't remember where those changes went, of course.
Any hints? |
|
Back to top |
|
|
jbinto n00b
Joined: 21 Aug 2005 Posts: 74
|
Posted: Sun May 14, 2006 8:44 pm Post subject: |
|
|
I also have a problem with compiz.
Quote: |
jb@xglgen ~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz gconf &
[2] 8057
compiz: No GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :1
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
Could not init font path element /usr/share/fonts/TTF, removing from list!
|
I run fglrx on a ATI Mobility Xpress 200M. Haven't seen this error anywhere on gentoo forums, only in Google searches relating to ubuntu. Am I missing something in my xorg.conf? I use ati-drivers-8.23.7, as for some reason the ~x86 drivers 8.24.8 will not work with DRI. I run at 24 bit color depth.
Thanks for any help. |
|
Back to top |
|
|
GD Tux's lil' helper
Joined: 11 May 2005 Posts: 138 Location: Greece
|
Posted: Sun May 14, 2006 10:17 pm Post subject: |
|
|
Hello everyone...
It took me a very long time to get Xgl working with gdm, but I've run into trouble after emerging the latest ati-drivers...
_________________________________________________________________________________________
Here's what happens:
1)If xdm is configured to start at the default runlevel (with rc-update add) then all I get is an X screen with the hourglass icon for about 10-20 seconds. X immediately restarts after that and the same behaviour is repeated over and over again
2)If I stop xdm (or use rc-update del to remove it from the default runlevel) I am able to get it to work by doing the following: I manually start Xgl using the following script:
Code: |
Xgl :1 -br -kb -ac -accel glx:pbuffer -accel xv:pbuffer -fullscreen &
|
and immediately after that: Code: |
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib DISPLAY=:1 compiz --replace gconf &
DISPLAY=:1 gnome-window-decorator &
DISPLAY=:1 startkde
|
This starts Xgl/compiz successfully. I then EXIT Xgl (ctrl+alt+backspace) and run /etc/init.d/xdm start. This time gdm/xgl/compiz start successfully.
_________________________________________________________________________________________
It seems like gdm will start provided Xgl has been manually started at least once before the /etc/init.d/xdm script is run.
I have kept logs from both case 1 and 2 mentioned above... Here's a diff:
Code: |
hex ~ # diff ./compare /var/log/Xorg.94.log.old
14c14
< (==) Log file: "/var/log/Xorg.94.log", Time: Mon May 15 00:53:04 2006
---
> (==) Log file: "/var/log/Xorg.94.log", Time: Mon May 15 00:55:50 2006
710,712c710,712
< (II) fglrx(0): [drm] added 8192 byte SAREA at 0xcb000
< (II) fglrx(0): [drm] mapped SAREA 0xcb000 to 0xb6fc3000
< (II) fglrx(0): [drm] framebuffer handle = 0xcc000
---
> (II) fglrx(0): [drm] added 8192 byte SAREA at 0xc000
> (II) fglrx(0): [drm] mapped SAREA 0xc000 to 0xb6fc8000
> (II) fglrx(0): [drm] framebuffer handle = 0xd000
726c726
< (II) fglrx(0): [drm] register handle = 0x000cd000
---
> (II) fglrx(0): [drm] register handle = 0x0000e000
735c735
< (II) fglrx(0): [drm] texture shared area handle = 0x000d1000
---
> (II) fglrx(0): [drm] texture shared area handle = 0x00012000
804a805,807
> (II) fglrx(0): [drm] removed 1 reserved context for kernel
> (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xc000 at 0xb6fc8000
> FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
|
I can't figure out what might be going wrong here... I've searched the forums/net and found that this font thing is to be considered trivial... Does the "removed 1 reserved context for kernel" message make any difference? Any suggestions?
Thanks,
George |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Sun May 14, 2006 11:18 pm Post subject: |
|
|
I just figured I would try the testing overlay and see if it fixes the focus problem. After compiling all I get now is a white screen! So a warning: DO NOT USE TESTING, it has problems.
Then I tried going back to the xgl-coffee overlay and followed the wiki step by step. Now I have the same problem. I have my cube, multiple desktops but nothing else. Everything is white. There are slight lines where my programs are but everything is white.
What could have gone wrong? |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun May 14, 2006 11:36 pm Post subject: |
|
|
No idea, but are you using an ATI card? I have always used the testing overlay, and am now a maintainer, and I have no problems. |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Mon May 15, 2006 12:14 am Post subject: Re: problem solved! |
|
|
jbinto wrote: | Quote: |
Never mind, problem solved, actually it was a buggy emergence of x11-misc/xkeyboard-config.
x11-misc/xkbdata is not needed after all. I did:
Code: | rm -R /usr/X11R6/lib/X11/xkb
rm -R /usr/share/X11/xkb
emerge xkeyboard-config |
And i can switch ttys now.
Thnx. |
I have the same problem. This did not help.
I didn't have anything in /usr/X11R6/lib/X11, but I removed the files from /usr/share/X11/xkb, and re-emerged xkeyboard-config. Still cannot switch TTYs in modular xorg 7.0 (using Xgl or not).
I think this goes back to me mistakenly emerging xkbdata and then commiting all of the config changes (100+ of them) with etc-update. I can't remember where those changes went, of course.
Any hints? |
Hm...
In fact right now i only got x11-misc/xkeyboard-config installed:
Code: | hydra birbilakos # emerge -va x11-misc/xkbdata x11-misc/xkeyboard-config
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] x11-misc/xkeyboard-config (is blocking x11-misc/xkbdata-1.0.1)
[ebuild N ] x11-misc/xkbdata-1.0.1 USE="-debug" 0 kB
[ebuild R ] x11-misc/xkeyboard-config-0.8 0 kB
Total size of downloads: 0 kB |
Try removing xkbdata and emerging xkeyboard-config.
Also, i think its xkeyboard-config that causes so many etc-update confs...
I too etc-updated all of the with no problem |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 12:34 am Post subject: |
|
|
nesl247 wrote: | No idea, but are you using an ATI card? I have always used the testing overlay, and am now a maintainer, and I have no problems. |
I'm using an nvidia card.
Well, I see everything when it is loading. It seems to go white as soon as it loads gnome-window-decorator. Which package is gnome-window decorator in? Maybe if I recompile it it will work.
Last edited by Xamindar on Mon May 15, 2006 12:38 am; edited 1 time in total |
|
Back to top |
|
|
jbinto n00b
Joined: 21 Aug 2005 Posts: 74
|
Posted: Mon May 15, 2006 12:34 am Post subject: |
|
|
Quote: | Try removing xkbdata and emerging xkeyboard-config. |
Tried that, no effect.
Somehow, though, Xorg still starts without either xkbdata or xkeyboard-config installed. Isn't that fishy?
My xorg.conf keyboard section:
Code: |
Identifier "Keyboard0"
Driver "keyboard"
Option "xkblayout" "us"
Option "XkbModel" "pc105"
# For most OSs the protocol can be omitted (it defaults to "Standard").
Option "AutoRepeat" "500 30"
Option "XkbOptions" "compose:rwin"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xfree86"
|
Perhaps I should try using evdev as my keyboard driver? Or will that lead to more problems? |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 12:43 am Post subject: |
|
|
I have a question about the wiki:
It tells me to put things in package.keywords but it seems there are two options for libwnck.
It already has ">=x11-libs/libwnck-2.14 ~x86" and then it tells me to add "x11-libs/libwnck" if im using quinnstorm. So I should have both entries in that case?
EDIT: Ok, if im in X and try to run it in a window I get this error:
Code: | xamindar@lain ~ $ Xgl :2 -ac -accel glx:pbuffer -accel xv
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/lain:2
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 148 (GLX)
Minor opcode of failed request: 2 (X_GLXRenderLarge)
Serial number of failed request: 89
Current serial number in output stream: 90
|
|
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Mon May 15, 2006 1:19 am Post subject: |
|
|
I updated xgl-testing a few hours ago [195], with the install script.
It hanged on cairo, problems with pdf2ps, then i continued installing with emerge world -uDpv.
I got some problems that in part solved during the upgrade [white desktop, compiz couldn't start for GLX error] ... only gnome-window-decorator now does strange things ... if i start it @ login, it crash for some pango deps [color ...] but if i start it from console with strace [strace gnome-window-decorator &] ... it works ...
also i got a segfault with gset-compiz as user, instead as root works ... _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 1:48 am Post subject: |
|
|
unz wrote: | I updated xgl-testing a few hours ago [195], with the install script.
It hanged on cairo, problems with pdf2ps, then i continued installing with emerge world -uDpv.
I got some problems that in part solved during the upgrade [white desktop, compiz couldn't start for GLX error] ... only gnome-window-decorator now does strange things ... if i start it @ login, it crash for some pango deps [color ...] but if i start it from console with strace [strace gnome-window-decorator &] ... it works ...
also i got a segfault with gset-compiz as user, instead as root works ... |
Ok, it looks like we have similar problems. Is the latest update the cause? |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Mon May 15, 2006 1:56 am Post subject: |
|
|
Hmm. I haven't heard about this white desktop problem. Especially since I am using compiz-quinnstorm from the latest revision..
Can you please post your GLX error and the pango dep errors?
Gset-compiz is probably oudated and that might be why. I am not sure on that as I don't use it and haven't looked for any updates to it.
Hopefully your error messages will provide enough information for me to give you a solution.
nesl247 |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Mon May 15, 2006 2:23 am Post subject: |
|
|
i just upgraded to xgl-testing 196
all is working great except it tried to downgrade my glproto to 1.4.6 from 1.4.7
so i notice glproto is no longer included in xgl-testing but 1.4.7 is now in portage
so i did a emerge --sync and all went well
I am not seeing the errors you guy's are getting _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 2:24 am Post subject: |
|
|
Gosh this is soo anoying! I have recompiled EVERYTHING I can think of and still no change. Could there be something wrong with the script I use to load compiz?
Code: | lain scripts # more usecompiz.sh
#!/bin/bash
#
#
#
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
sleep 2
gnome-window-decorator &
|
That is run every time I enter gnome and until I goofed with xgl-testing it is what works. Could this be the cause?
It's so strange. My programs start, I can move them around and they jiggle. It's just that they are all white, no title, no nothing, just white rectangles. |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Mon May 15, 2006 2:32 am Post subject: |
|
|
Xamindar wrote: | Gosh this is soo anoying! I have recompiled EVERYTHING I can think of and still no change. Could there be something wrong with the script I use to load compiz?
Code: | lain scripts # more usecompiz.sh
#!/bin/bash
#
#
#
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
sleep 2
gnome-window-decorator &
|
That is run every time I enter gnome and until I goofed with xgl-testing it is what works. Could this be the cause?
It's so strange. My programs start, I can move them around and they jiggle. It's just that they are all white, no title, no nothing, just white rectangles. |
just a thought but what version of glproto are you using
if i remember correctly since compiz-quinnstorm rev 10.7 glproto had to be 1.4.7
if compiling XGL/Compiz ourselves
xgl-testing rev 195 and 196 are using compiz-quinnstorm rev 10.14 _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Last edited by Jupiter1TX on Mon May 15, 2006 2:36 am; edited 1 time in total |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Mon May 15, 2006 2:35 am Post subject: |
|
|
Try this:
Code: | #!/bin/bash
if [ `ps -A | grep Xgl | wc -l` == "1" ]; then
compiz --replace gconf &
gnome-window-decorator &
fi
exit 0; |
Add that to /bin/compizrc, add compizrc to your gnome session.
Copy /bin/startx to /bin/startxgl. Edit /bin/startxgl. In the final few lines, there should be a part that says /usr/bin/X, change it to /usr/bin/Xgl. Then chmod 755 /bin/startxgl and run startxgl. |
|
Back to top |
|
|
Admiral_Trigger_Happy Guru
Joined: 05 Sep 2004 Posts: 337 Location: Australia
|
Posted: Mon May 15, 2006 5:40 am Post subject: |
|
|
I upgrade recently and now I've got issues with too many things going woobly, or getting the wrong effect, I get menus doing a similar thing to the windows when I maximize them.
I want to make my menus go back to the way they were before, any ideas, I couldn't find the right setting in gconf-editor.
Also any news of getting a better config app in the overaly? _________________ Admiral Trigger Happy
-------------------------------
www.kiba-dock.org |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 6:14 am Post subject: |
|
|
Jupiter1TX wrote: | Xamindar wrote: | Gosh this is soo anoying! I have recompiled EVERYTHING I can think of and still no change. Could there be something wrong with the script I use to load compiz?
Code: | lain scripts # more usecompiz.sh
#!/bin/bash
#
#
#
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
sleep 2
gnome-window-decorator &
|
That is run every time I enter gnome and until I goofed with xgl-testing it is what works. Could this be the cause?
It's so strange. My programs start, I can move them around and they jiggle. It's just that they are all white, no title, no nothing, just white rectangles. |
just a thought but what version of glproto are you using
if i remember correctly since compiz-quinnstorm rev 10.7 glproto had to be 1.4.7
if compiling XGL/Compiz ourselves
xgl-testing rev 195 and 196 are using compiz-quinnstorm rev 10.14 |
I have 1.4.7 instaled. It was one of the packages I reinstalled to try to fix this problem. Thanks though. |
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Mon May 15, 2006 6:23 am Post subject: |
|
|
nesl247 wrote: | Try this:
Code: | #!/bin/bash
if [ `ps -A | grep Xgl | wc -l` == "1" ]; then
compiz --replace gconf &
gnome-window-decorator &
fi
exit 0; |
Add that to /bin/compizrc, add compizrc to your gnome session.
Copy /bin/startx to /bin/startxgl. Edit /bin/startxgl. In the final few lines, there should be a part that says /usr/bin/X, change it to /usr/bin/Xgl. Then chmod 755 /bin/startxgl and run startxgl. |
That script seems to work the same as my other one. White screen.
I can't find /usr/bin/X in startx, doesn't it call another script for launching X? But I use gdm to launch my xserver anyway so here is what I have in my gdm.conf file:
Code: | [servers]
0=Xgl
[server-Xgl]
name=Xgl
command=/usr/bin/Xgl -ac -accel glx:pbuffer -accel xv
flexible=true
chooser=false
handled=true
priority=0
[server-Terminal]
name=Terminal server
command=/usr/bin/X -audit 0 -terminate
flexible=false
handled=false
[server-Chooser]
name=Chooser server
command=/usr/bin/X -audit 0
flexible=false
chooser=true
|
|
|
Back to top |
|
|
nauticat33 n00b
Joined: 27 Sep 2004 Posts: 6
|
Posted: Mon May 15, 2006 7:31 am Post subject: |
|
|
zehnan1 wrote: | Cairo insist that my autoconf is too old. It is the latest in portage 2.59-r7.
What can be done?
emerge -v1a cairo produces
Code: |
>>> Compiling source in /var/tmp/portage/cairo-1.1.1_p20060323/work/cairo ...
autogen.sh: ERROR: `autoconf' is too old.
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(version 2.54 or newer is required)
!!! ERROR: x11-libs/cairo-1.1.1_p20060323 failed.
Call stack:
!!! autogen failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
|
Exactly the same problem here. Any suggestions? |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Mon May 15, 2006 10:41 am Post subject: |
|
|
Cairo 1.1.6 problems can be solved reading this
For white windows' plague try re-emerging xgl-0.0.1_p20060508
gnome-window-decorator dies with :
Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed
aborting... _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Mon May 15, 2006 1:47 pm Post subject: |
|
|
I had that error. I think I solved it by re-emerging pango, xgl, mesa, and compiz*. |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Mon May 15, 2006 4:25 pm Post subject: |
|
|
Admiral_Trigger_Happy wrote: | I upgrade recently and now I've got issues with too many things going woobly, or getting the wrong effect, I get menus doing a similar thing to the windows when I maximize them.
I want to make my menus go back to the way they were before, any ideas, I couldn't find the right setting in gconf-editor.
Also any news of getting a better config app in the overaly? |
wobbly instructions say this, so i guess do the reverse to turn off wobbly menu's
Enable Wobbly Menus
To make menus wobble, set the map_effect key to Shiver. Also ensure that Unknown is included in the map_window_types key. Note: If zooming menus is currently enabled, it will take priority over this option. _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz |
|
Back to top |
|
|
|