View previous topic :: View next topic |
Author |
Message |
atrus123 Guru
Joined: 06 Jul 2005 Posts: 339 Location: Annapolis, MD
|
Posted: Sun Feb 12, 2006 4:52 pm Post subject: XGL (part 2) |
|
|
Edit by nixnut: Continued from here
I'm just getting started, and I'm not really sure what to do about this. I tried both overlays, but I still get the same error during xgl compile. Ideas?
Code: | Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xgl-20060209-r2 to /
>>> md5 files ;-) xgl-20060209-r2.ebuild
>>> md5 files ;-) xgl-20060209.ebuild
>>> md5 files ;-) files/xgl-symlink-glapi.diff
>>> md5 files ;-) files/mesa-glx-x11-glxproto-defines.diff
>>> md5 files ;-) files/r200-copy-pixels-1.patch
>>> md5 files ;-) files/digest-xgl-20060118
>>> md5 files ;-) files/digest-xgl-20060209
>>> md5 files ;-) files/mesa-glx-x11-get-drawable-attribs-fix-1.diff
>>> md5 files ;-) files/xgl-mesa-stable-180106.diff
>>> md5 files ;-) files/digest-xgl-20060118-r1
>>> md5 files ;-) files/digest-xgl-20060118-r2
>>> md5 files ;-) files/xgl-glxproto-defines.diff
>>> md5 files ;-) files/digest-xgl-20060209-r2
>>> md5 src_uri ;-) xgl-cvs-20060209.tar.bz2
>>> md5 src_uri ;-) MesaLib-6.4.2.tar.bz2
>>> Unpacking source...
>>> Unpacking xgl-cvs-20060209.tar.bz2 to /var/tmp/portage/xgl-20060209-r2/work
>>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/xgl-20060209-r2/work
>>> Source unpacked.
>>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/xgl-20060209-r2/work/xgl-xorg
/var/tmp/portage/xgl-20060209-r2/work/xgl-xorg/Mesa-6.4.2 /var/tmp/portage/xgl-20060209-r2/work/xgl-xorg
* Applying mesa-glx-x11-get-drawable-attribs-fix-1.diff ... [ ok ]
* Applying r200-copy-pixels-1.patch ... [ ok ]
* Applying xgl-mesa-stable-180106.diff ... [ ok ]
* Applying mesa-glx-x11-glxproto-defines.diff ... [ ok ]
/var/tmp/portage/xgl-20060209-r2/work/xgl-xorg
* Applying xgl-glxproto-defines.diff ... [ ok ]
* Applying xgl-symlink-glapi.diff ... [ ok ]
autoreconf-2.59: Entering directory `.'
autoreconf-2.59: configure.ac: not using Gettext
autoreconf-2.59: running: aclocal
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/noxmms.m4:17: warning: underquoted definition of NOXMMS_TEST_VERSION
/usr/share/aclocal/noxmms.m4:62: warning: underquoted definition of AM_PATH_NOXMMS
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
autoreconf-2.59: configure.ac: tracing
autoreconf-2.59: running: libtoolize --copy
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/noxmms.m4:17: warning: underquoted definition of NOXMMS_TEST_VERSION
/usr/share/aclocal/noxmms.m4:62: warning: underquoted definition of AM_PATH_NOXMMS
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
autoreconf-2.59: running: /usr/bin/autoconf-2.59
autoreconf-2.59: running: /usr/bin/autoheader-2.59
autoreconf-2.59: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
GL/glx/Makefile.am: installing `./depcomp'
GL/mesa/Makefile.am: installing `./compile'
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
autoreconf-2.59: automake failed with exit status: 1
|
Edit: A world update fixed the problem.
Thanks!
J. _________________ "I cannot support a movement that exploded spending and borrowing and blames its successor for the debt."
-Andrew Sullivan
Last edited by atrus123 on Sat Feb 25, 2006 11:06 pm; edited 3 times in total |
|
Back to top |
|
|
TheS4int Tux's lil' helper
Joined: 18 May 2005 Posts: 79
|
Posted: Sun Feb 12, 2006 4:53 pm Post subject: |
|
|
DeeZiD wrote: |
TheS4int: xine & mplayer work very fine here with xv, is gl2 faster? |
in window mode no problem with xv, but fullscreen is horrobly cpu intensive.
not with gl2, there are the same frame rates und same intension.
Last edited by TheS4int on Sun Feb 12, 2006 4:54 pm; edited 1 time in total |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Feb 12, 2006 4:53 pm Post subject: |
|
|
LL0rd wrote: | Okay, Xgl works for me now, but what are the commands? How can I rotate to the other side of the cube? |
ctrl+alt+left mouse on the destop button ykou can rotate.
ctrl+alt+arrow (left or right) works as well for rotating.
windows key + mousewheel is for zooming.
ctrl+alt+left mouse on a window you can drag the window in sticky mode. |
|
Back to top |
|
|
rob2687 n00b
Joined: 05 Feb 2006 Posts: 27
|
Posted: Sun Feb 12, 2006 4:58 pm Post subject: |
|
|
How do you activate the zoom, cube switching and stuff?
When I do those listed above it just goes to the main xserver not the XGL i have running in a window.
Last edited by rob2687 on Sun Feb 12, 2006 4:59 pm; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Sun Feb 12, 2006 4:58 pm Post subject: |
|
|
DeeZiD wrote: | TheS4int:
Does your german keyboard-layout work under Xgl?
It does't work for me
But I really like compiz an it effects.
Is there any way to activate other layouts than the english one?
regards Dennis |
For german layout, emerge setxkbmap and the run Code: | setxkbmap -model pc105 -layout de -variant basic |
|
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Feb 12, 2006 5:03 pm Post subject: |
|
|
rob2687 wrote: | How do you activate the zoom, cube switching and stuff?
When I do those listed above it just goes to the main xserver not the XGL i have running in a window. | You will probably need to run it as a separate x-server. |
|
Back to top |
|
|
pijalu Guru
Joined: 04 Oct 2004 Posts: 365
|
Posted: Sun Feb 12, 2006 5:06 pm Post subject: |
|
|
DeeZiD wrote: | The -kb-option doesn't seem to work
regards Dennis |
I use gdm to start it with it, and I got a working french keyboard - change made to /etc/X11/gdm/gdm.conf
Code: |
--- gdm.conf.ori 2006-02-07 21:50:29.000000000 +0100
+++ gdm.conf 2006-02-12 14:23:15.000000000 +0100
@@ -448,8 +448,9 @@
# and they will always be started. Each line must start with a unique
# number and that will be the display number of that server. Usually just
# the 0 server is used.
-0=Standard
-#1=Standard
+0=Xgl
+#0=Standard
+1=Standard
# Note the VTAllocation and FirstVT keys on linux and freebsd.
# Don't add any vt<number> arguments if VTAllocation is on, and set FirstVT to
# be the first vt available that your gettys don't grab (gettys are usually
@@ -467,6 +468,12 @@
# line
#0=Chooser
+[server-Xgl]
+name=Xgl server
+#command=/usr/bin/Xgl -accel xv:pbuffer -accel glx:pbuffer -ac -kb -audit 0 -br
+command=/usr/bin/Xgl -accel xv -accel glx:pbuffer -accel xv:fbo -ac -kb -audit 0 -br
+flexible=true
+
## Note:
# is your X server not listening to TCP requests? Perhaps you should look
# at the security/DisallowTCP setting!
|
This start 2 x session on tty7 and 8. One is XGL and the other is normal Xorg... (usefull to do few things that don't work on xgl...)
This seems to no be usuable with ATI (even if you change accel... but i think adding a DISPLAY=:0 to the command may work (and updating the accel to ATI)... anyway, i don't have ati machine, so i cannot test this... |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Feb 12, 2006 5:10 pm Post subject: |
|
|
boniek wrote: | So far almost everything works great. Things to improve:
1) thumb buttons on my mx500 don't work :/ - larger button is detected as button number 49 (wtf?) and smaller one is not detected at all (checked in xev). Also xgl uses xorg6.8's way of mapping mouse keys so only 7 buttons are available to the user.
2) my gnome pager used to switch desktops looks funky - it uses taskbar color as color for desktop's preview background
3) why xgl messes with input (eg. mouse - look 1) ) and window decoration stuff? this is bad, why would we want to reinvent things (obviusly I don't know what Xgl infact is)?
4) very rarely 100% cpu usage by xgl, also I can't shut down Xgl without zapping it (ctrl+alt+backspace)
5) it would be nice to see fluid animation when changing transparency levels instead of immediate change
Other than that it is nice (till I find another irritating bug )! Great work and many thanks for Novell and David Reveman.
My specs:
~x86 system,
ati radeon 9500 @ fglrx 8.22.5,
xgl & rest of stuff emerged yesterday using latest hanno's ebuilds. |
I have the high cpu useage problem (Especially when running emerge), and the evdev problem where xgl won't let xbindkeys run properly like I can in Xorg7.
But also, can anyone use the gnome-theme-manager? It seems to crash for me because the themes don't support compiz or something. |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 5:20 pm Post subject: |
|
|
Gusar: Thanks for the tip, but it does't work.
Code: |
setxkbmap -model pc105 -layout de -variant basic
XKB extension not present on :0.0 |
|
|
Back to top |
|
|
TheS4int Tux's lil' helper
Joined: 18 May 2005 Posts: 79
|
Posted: Sun Feb 12, 2006 5:26 pm Post subject: |
|
|
Code: | setxkbmap -model pc105 -layout de -variant basic |
it does for me. THX |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 5:36 pm Post subject: |
|
|
TheS4int:
how do you start Xgl?
Are there any special options in your xorg.conf.?
I start it from kdm. I modified the kdmrc and put a script for compiz in .kde/autostart. That works fine me.
And from xorg.conf:
Code: | Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection
|
Is that ok?
I already tried modprobe xkb
regards Dennis |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 5:48 pm Post subject: |
|
|
IT WORKS!!!
although it's not perfect: can't use backsplash when pushing shift - strange thing^^
I only had to set the following thing in my xorg.conf:
Code: |
from:
Option "XkbRules" "xfree86"
to:
Option "XkbRules" "xorg"
|
I used an old config from my suse because I'm a bit lazy to search for modelines for my 1680x1050px 20'TFT
regards Dennis |
|
Back to top |
|
|
trorrr n00b
Joined: 12 Feb 2006 Posts: 5
|
Posted: Sun Feb 12, 2006 5:54 pm Post subject: Language and i915 patch |
|
|
if you are using gnome, you can use the utility to configure it. It seems to work with spanish layout. Use it from the Desktop-Preferences-Keyboard.
Seems that http://bugs.freedesktop.org is down, someone knows what is happening? There were yesterday two patches for i810-i915 vblank bug in DRI/MESA... |
|
Back to top |
|
|
trorrr n00b
Joined: 12 Feb 2006 Posts: 5
|
|
Back to top |
|
|
suka Developer
Joined: 22 Apr 2002 Posts: 383
|
Posted: Sun Feb 12, 2006 6:43 pm Post subject: |
|
|
nesl247 wrote: |
I have the high cpu useage problem (Especially when running emerge), and the evdev problem where xgl won't let xbindkeys run properly like I can in Xorg7. |
Same problem here, especially when compiling. Might be a scheduling problem, but that's just a wild guess...
Another problem I've got is that gnome-screensaver unfortunately doesn't work for me anymore, other than that, I seem to be one of the lucky ones where nearly everything works |
|
Back to top |
|
|
superstoned Guru
Joined: 17 Dec 2004 Posts: 432
|
Posted: Sun Feb 12, 2006 6:50 pm Post subject: |
|
|
so all this works/should work with KDE if one just shuts down kwin and uses the gnome window manager? i don't have any gtk packages, currently - what is the name of the gnome window manager? |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 6:53 pm Post subject: |
|
|
GLX_EXT_texture_from_pixmap is currently rendered in software because actual graphicsdrivers from ati and nvidia doesn't support it.
When this extension gets its hardwareaccelation Xgl should be fast as without compiling.
regards Dennis |
|
Back to top |
|
|
Plastic l33t
Joined: 24 Mar 2004 Posts: 649
|
Posted: Sun Feb 12, 2006 6:54 pm Post subject: |
|
|
Everything seems to work here; I just wanted to share a couple things I noticed. Enabling anti-aliasing causes bad flickering while rotating the cube (probably an nvidia only problem). Compiz seems very sensitive to CFLAGS, Ctrl + Alt + Button1 for mouse rotation would cause it to segfault. Zoom did this as well. I was able to fix this by blanking my CFLAGS (no, I'm not using -omg-optimalized, -funroll-fruit-loops, -ffast-math, or anything that would be considered insane, just -O2 and some other safe stuff). Wobbly is problematic. It doesn't work and causes compiz to segfault soon after starting. I'm using AMD64 is it makes any difference... |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 6:59 pm Post subject: |
|
|
@Plastic
I've non of these problems. Wobbly causes not even a single problem.
I'm using Hanno's ebuild from 02-11-06 and GCC 4.0.2
My CFLAGS:
Code: |
CFLAGS="-O3 -march=athlon-xp -pipe -fvisibility-inlines-hidden"
|
which card do you have?
regards Dennis |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Sun Feb 12, 2006 7:06 pm Post subject: |
|
|
I think I might be the only person having this problem.. Everyone else at least gets an error message, I get nothing. When I run Xgl :1 -ac -accel glx:pbuffer -accel xv, Nothing happens, and it doesn't give me any errors. Has anyone else experienced this? What could be happening here? How can I at least see an error? |
|
Back to top |
|
|
smcallis182 Apprentice
Joined: 04 Apr 2004 Posts: 197 Location: Kansas City
|
Posted: Sun Feb 12, 2006 7:10 pm Post subject: |
|
|
monkeyBox wrote: | I think I might be the only person having this problem.. Everyone else at least gets an error message, I get nothing. When I run Xgl :1 -ac -accel glx:pbuffer -accel xv, Nothing happens, and it doesn't give me any errors. Has anyone else experienced this? What could be happening here? How can I at least see an error? |
You can see the process running? Do you have another xorg server going as well? How about ctrl-F8, does that bring it up? |
|
Back to top |
|
|
duby2291 Guru
Joined: 17 Oct 2004 Posts: 583
|
Posted: Sun Feb 12, 2006 7:17 pm Post subject: |
|
|
[quote="ianegg"] duby2291 wrote: | Well I have run into a problem, I am not able to find anyone else with this problem so I figured I can post a question to see if anyone else is having a similar problem
Anyone seen this before?
[/code]
Quote: | duby229@xgl-test ~ $ Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer
dlopen: libGLcore.so.1: cannot open shared object file: No such file or directory
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xgl-test:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running |
If you don't have another X server running, you may need to delete the lock files in /tmp. Happened to me a few times.. The way I got rid of them is: Code: | rm /tmp/.X?-lock
rm /tmp/.X11-unix/X? | Then try starting it again. |
No I still get the same error. I deleted the lock files as you suggest but it still happens. It has something to do with missing opengl files.
It is looking for them in /usr/lib... So I did an slocate libGLcore and found one in /usr/lib64/opengl/nvidia/lib/ It then starts up but then complains that fglrx cannot be loaded....
Keep in mind I no longer have an nvidia card installed, I switched to an ATI card But I cannot find a libGLcore for ati.... I'm stumped |
|
Back to top |
|
|
DeeZiD n00b
Joined: 18 Jun 2005 Posts: 34
|
Posted: Sun Feb 12, 2006 7:18 pm Post subject: |
|
|
@superstoned
if compiz and xgl are installed you can do the following.
Open a terminal and open the kdmrc:
Code: |
nano /usr/kde/3.5/share/config/kdm/kdmrc
|
Than replace the ServerCmd-line:
Code: |
ServerCmd=/usr/bin/Xgl -kb -br -accel glx:pbuffer -accel xv:fbo -fullscreen #ati-users use xv:pbuffer
|
Then create a compiz.desktop with the following lines:
Code: | [Desktop Entry]
Comment=
Comment[de]=
Encoding=UTF-8
Exec=LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib DISPLAY=:0 compiz --replace decoration wobbly fade switcher move resize place minimize cube rotate zoom scale & gnome-window-decorator
GenericName=
GenericName[de]=
Icon=
MimeType=
Name=compiz
Name[de]=compiz
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
|
put it into your homefolder in .kde/autostart
ISSUES:
Code: | - colorselection doesn't work
- systray only works for gtk-apps
- if cube is enabled the pager only shows one virtual desktop
- the show desktop button doesn't work |
Have a nice day |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Sun Feb 12, 2006 7:21 pm Post subject: |
|
|
smcallis182 wrote: | monkeyBox wrote: | I think I might be the only person having this problem.. Everyone else at least gets an error message, I get nothing. When I run Xgl :1 -ac -accel glx:pbuffer -accel xv, Nothing happens, and it doesn't give me any errors. Has anyone else experienced this? What could be happening here? How can I at least see an error? |
You can see the process running? Do you have another xorg server going as well? How about ctrl-F8, does that bring it up? |
Yes, the process is running. Taking 0% cpu and 1.6% memory. I'm assuming you meant ctrl+alt+F8 .. that just brings me to an inactive terminal (blank screen with blinking cursor). |
|
Back to top |
|
|
smcallis182 Apprentice
Joined: 04 Apr 2004 Posts: 197 Location: Kansas City
|
Posted: Sun Feb 12, 2006 7:23 pm Post subject: |
|
|
monkeyBox wrote: | smcallis182 wrote: | monkeyBox wrote: | I think I might be the only person having this problem.. Everyone else at least gets an error message, I get nothing. When I run Xgl :1 -ac -accel glx:pbuffer -accel xv, Nothing happens, and it doesn't give me any errors. Has anyone else experienced this? What could be happening here? How can I at least see an error? |
You can see the process running? Do you have another xorg server going as well? How about ctrl-F8, does that bring it up? |
Yes, the process is running. Taking 0% cpu and 1.6% memory. I'm assuming you meant ctrl+alt+F8 .. that just brings me to an inactive terminal (blank screen with blinking cursor). |
Yeah sorry, ctrl-alt-F8, are there any other xorg processes running (you should see Xgl and Xorg running when you launch xgl, if you have another Xorg server running you'll see two xorg processes) |
|
Back to top |
|
|
|