| View previous topic :: View next topic |
| Author |
Message |
Rayno n00b

Joined: 08 Feb 2006 Posts: 11
|
Posted: Thu Feb 09, 2006 4:54 am Post subject: |
|
|
If Nihilus's patch works, go with that. It's probably a little safer than just commenting the whole thing out (which is what the one I posted does).
Has anyone using ati's drivers mangaged to get load Xgl from startup using gdm/kde/etc? Mine will just show the splash screen with an hour glass and hangs. The closest I've gotten was starting both X and Xgl but then then dri isn't enable on the Xgl server.
The only other issue I've had so far is that opengl apps don't seem to work for me. (eg. glxgears) Can anyone confirm this? |
|
| Back to top |
|
 |
enzobelmont Guru


Joined: 06 Apr 2004 Posts: 345 Location: Chiapas, Mexico
|
Posted: Thu Feb 09, 2006 5:13 am Post subject: |
|
|
| Nihilus wrote: | | Code: | --- src/screen.c.old 2006-02-08 18:14:36.000000000 +0100
+++ src/screen.c 2006-02-08 18:16:00.000000000 +0100
@@ -680,10 +680,10 @@
currentRoot = s->root;
glxExtensions = glXQueryExtensionsString (s->display->display, screenNum);
- if (!testMode && !strstr (glxExtensions, "GLX_MESA_render_texture")
+if (!testMode && !strstr (glxExtensions, "GLX_EXT_texture_from_pixmap")
&& !strstr(glxExtensions, "GLX_EXT_texture_from_drawable"))
{
- fprintf (stderr, "%s: GLX_MESA_render_texture is missing\n",
+ fprintf (stderr, "%s: GLX_EXT_texture_from_pixmap is missing\n",
programName);
return FALSE;
}
|
/usr/local/portage/x11-misc/glxcompmgr/files/screen.patch lines 1-15/15 (END) |
sorry it didn't work for me... any idea??? |
|
| Back to top |
|
 |
Sangeki Apprentice

Joined: 23 Apr 2005 Posts: 186
|
Posted: Thu Feb 09, 2006 5:21 am Post subject: |
|
|
I have maybe a solution for the black windows.
I found out that if I start the shadow plugin AFTER fade then I will get black windows but if I start it BEFORE the fade plugin it will work.
So give something like this a try:
| Code: | | glxcompmgr cube expose shadow fade rotate wobbly zoom |
|
|
| Back to top |
|
 |
deezid86 n00b

Joined: 21 Nov 2005 Posts: 49
|
Posted: Thu Feb 09, 2006 5:57 am Post subject: |
|
|
@C.MAC
Thanks for these tips.
I will try them later.
PS: very nice Desktop!
regards Dennis |
|
| Back to top |
|
 |
Rayno n00b

Joined: 08 Feb 2006 Posts: 11
|
Posted: Thu Feb 09, 2006 6:38 am Post subject: |
|
|
| enzobelmont wrote: |
sorry it didn't work for me... any idea??? |
Have you messed around with any of the glcompmgr source while you were trying to get it to work? That might cause the patches to not work.
Also, make sure you have the latest version of the overlay. |
|
| Back to top |
|
 |
smasher Tux's lil' helper


Joined: 15 Nov 2003 Posts: 95
|
Posted: Thu Feb 09, 2006 6:46 am Post subject: |
|
|
I finally got xglcompmgr working thanks to the howto on page 15. Xgl and KDE 3.5.1 is working fine here in full screen mode and the effects are great. My setup includes a dual head GeForce FX 5600 with and AMD64 3200 in 32bit mode. Responsiveness in Xgl is about even with X and nvidia's drivers.
There are few things wrong. Xinerama doesn't work, mouse wheel settings on my MX700 mouse, the transparency issue in Wine is back, and IE fails to load under Xgl.
FYI, if you get this:
| Code: | glxcompmgr: glXBindTexImage{EXT,MESA} are missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :0.0 |
Try this: | Code: | | LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr cube expose shadow fade rotate wobbly zoom |
|
|
| Back to top |
|
 |
baeksu l33t


Joined: 26 Sep 2004 Posts: 607 Location: Seoul, Korea
|
Posted: Thu Feb 09, 2006 6:52 am Post subject: |
|
|
| C.MAC wrote: | I have maybe a solution for the black windows.
I found out that if I start the shadow plugin AFTER fade then I will get black windows but if I start it BEFORE the fade plugin it will work.
So give something like this a try:
| Code: | | glxcompmgr cube expose shadow fade rotate wobbly zoom |
|
I'm still having the black windows whatever combination I run for glxcompmgr... I get the "couldn't bind redirected window nnn to texture" thingie.
I'm wondering though. glxinfo in Xgl shows "GLX_EXT_texture_from_pixmap" on the server extensions, but it doesn't show up in client extensions (I do have GLX_MESA_render_texture though). I'm pretty sure I've put all the patches people say work in this thread, but I'm still getting the same errors. Anyone have any good suggestions?
ps. I also get "_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6" when starting Xgl, but I don't think it's related. _________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
| Back to top |
|
 |
dmsnell Tux's lil' helper


Joined: 04 Oct 2005 Posts: 79
|
Posted: Thu Feb 09, 2006 6:55 am Post subject: |
|
|
with the patch I made where I commented out the block, I wasn't too sure if it was a legal diff file - I just wanted to show that it would work if you edit that file and comment out the test for the extension if you know you have the extensions. I don't recommend doing it unless you are sure of this.
I have Xgl working fine with glxcompmgr and all the goodies. Here's how I get it to work with gnome and my normal desktop...
Once the install is successful - from the console
| Code: |
LD_LIBRARY_PATH=/usr/lib/opengl/ati/lib Xgl -ac :1 -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1 metacity &
DISPLAY=:1 gnome-terminal &
|
I realize that I didn't export the LD_LIBRARY_PATH to the mesa drivers because they didn't work when I used them. Anyway, this provides a gnome-terminal on an empty X screen. It doesn't matter in the end what order these next commands are done it, but if you reverse them, Gnome/KDE will take a very-very long time to start.
Create a new terminal ( Ctrl-Shift-N )
| Code: |
su yourusername
gnome-session &
|
With Gnome starting, flip back to the root terminal still open and activate the candy...
| Code: |
glxcompmgr cube expose fade rotate wobbly zoom &
|
Do not load the 'gconf' plugin - it will do weird stuff
Only one more detail and that is the Xgl-Super-Button. I couldn't get the effects at first until I remapped my Control key to the Super key. As the normal user...
| Code: |
xmodmap -e "keysym Control_L = Super_L"
|
Here are the controls... ( Note that Caps-Lock should be off )
- <Ctrl>Button 3 - Zoom In
- <Ctrl>Wheel - Zoom closer/farther
- Release Button 3 to end zoom
- <Ctrl><Tab> - Expose ( Mac-like ) - display all windows at once
- <Ctrl>Button1 - Drag around to rotate desktop cube
By the way, follow the http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency guide in order to set up transset-df so you can do nifty transparencies with your wheel. I have <Ctrl><Up> and <Ctrl><Down> adjust my transparency, but if I hold <Ctrl><Shift><Up> or <Ctrl><Shift><Down>, it will go to either 30% or 100% opacity. It's nice for a quick look at what's behind the current window.
Good luck with Xgl - have patience for compiz - I wait excitedly... |
|
| Back to top |
|
 |
ferg Guru


Joined: 15 Nov 2002 Posts: 411 Location: Cambridge, UK
|
Posted: Thu Feb 09, 2006 8:18 am Post subject: |
|
|
| Nihilus wrote: | | Should it really eat CPU since it's hw accelerated? :-/ What kinda gfx-card do you have? |
I've got a Radeon 9800Pro!
ON looking at CPU usage a bit more, I see it's actually Beagle (mono-beagled) that's taking a lot of CPU! Don't know why, as it normally doesn't. I assumed the increase in speed of the fans when I started the XGL server, was duie to is using a lot of CPU, wherease it was a complete red herring!!!!
XGL seems to be taking about 4% on average, even when I start moving windows around!!!
I'll kill Beagle and restart it, snd see if it keeps doing this!
Cheers
ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
| Back to top |
|
 |
poppa n00b

Joined: 09 Feb 2006 Posts: 12
|
Posted: Thu Feb 09, 2006 8:29 am Post subject: |
|
|
I have Xgl running with the above script but glxcompmgr is not running.
I get the following:
| Code: | # LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr
glxcompmgr: Couldn't allocate color
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :1.0 |
I know I must be overlooking something.
My glxinfo:
| Code: | name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_SGIX_fbconfig, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5700/AGP/SSE2
OpenGL version string: 1.2 (2.0.1 NVIDIA 81.78)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
|
|
|
| Back to top |
|
 |
aslocum Apprentice

Joined: 28 May 2004 Posts: 217 Location: Germany, Frankfurt
|
Posted: Thu Feb 09, 2006 9:43 am Post subject: |
|
|
finally xgl compiled fine (thx to Rayno for his post!)
and what a suprise... it doenst start on a i915gm
well.. maybe later. but it was worth a try  _________________ Dell Latitude d610 1.6Ghz 1GB
gcc-4.0.3 2.6.15-no3
Reiser4 |
|
| Back to top |
|
 |
Sangeki Apprentice

Joined: 23 Apr 2005 Posts: 186
|
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Thu Feb 09, 2006 10:00 am Post subject: |
|
|
Okey guys... I got it running... Feeling kinda nauseus due to the wobbly-thing  _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
pussi l33t

Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Thu Feb 09, 2006 10:16 am Post subject: |
|
|
| David's presentation is also avalibe online (unfortunately with no sound but still) here. |
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Thu Feb 09, 2006 10:21 am Post subject: |
|
|
Butterfux... Do we have to patch compiz? :-/ _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
pijalu Guru


Joined: 04 Oct 2004 Posts: 365
|
Posted: Thu Feb 09, 2006 10:25 am Post subject: |
|
|
 |
|
| Back to top |
|
 |
flowolf Tux's lil' helper


Joined: 22 Jun 2003 Posts: 143
|
Posted: Thu Feb 09, 2006 10:36 am Post subject: |
|
|
Now we only need an ebuild for it... _________________ Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer |
|
| Back to top |
|
 |
omidxo n00b


Joined: 23 Feb 2005 Posts: 61
|
Posted: Thu Feb 09, 2006 10:38 am Post subject: |
|
|
| Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/glitz/glitz-0.4.4.ebuild,v 1.6 2006/01/04 23:23:46 halcy0n Exp $
inherit eutils cvs
ECVS_SERVER="cvs.freedesktop.org:/cvs/xapps"
ECVS_MODULE="compiz"
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Glxcompmgr composite manager"
HOMEPAGE="http://xorg.freedesktop.org"
LICENSE="X11"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="media-libs/mesa"
src_compile() {
./autogen.sh
econf || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
}
|
Need a multilib-fix.patch?
PS. JST emerge libXevie |
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Thu Feb 09, 2006 10:42 am Post subject: |
|
|
Well, I had great probs getting it up and running... Haven't figured out, yet actually, why it complains. _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
cato` Guru


Joined: 03 Jun 2002 Posts: 430 Location: Norway, Trondheim
|
Posted: Thu Feb 09, 2006 10:42 am Post subject: |
|
|
| omidxo wrote: | [code]$Header: /var/cvsroot/gentoo-x86/media-libs/glitz/glitz-0.4.4.ebuild,v 1.6 2006/01/04 23:23:46 halcy0n Exp $
|
Fix the $Header  _________________ Don't mess with the Penguin. |
|
| Back to top |
|
 |
pussi l33t

Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Thu Feb 09, 2006 10:47 am Post subject: |
|
|
Here's an updated ebuild with kde and gnome use-flags: | Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit eutils cvs
ECVS_SERVER="cvs.freedesktop.org:/cvs/xapps"
ECVS_MODULE="${PN}"
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="OpenGL window and compositing manager"
HOMEPAGE="http://xorg.freedesktop.org"
LICENSE="X11"
SLOT="0"
KEYWORDS="-*"
IUSE="gnome kde svg"
DEPEND="media-libs/mesa
x11-libs/libXevie
gnome? (gnome-base/gconf)"
eautogen() {
./autogen.sh \
--prefix=/usr \
--host=${CHOST} \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--cache-file=$CONF_CACHE \
$(use_enable gnome gconf) \
$(use_enable gnome) \
$(use_enable kde) \
$(use_enable svg libsvg-cairo) \
${EXTRA_ECONF} \
"$@"
}
src_compile() {
eautogen || die "./autogen.sh failed"
econf || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
}
|
I don't know if there's any kde or gnome dependencies but it compiled fine here. |
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Thu Feb 09, 2006 11:34 am Post subject: |
|
|
Any succes yet?
Are we there yet? Are we there yet? Are we there yet? Are we there yet?
 _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
omidxo n00b


Joined: 23 Feb 2005 Posts: 61
|
Posted: Thu Feb 09, 2006 11:47 am Post subject: |
|
|
/usr/local/bin/compizrc
| Code: | #!/bin/sh
# $Xgl: CompizRunScript $
sleep 5 &&
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place &
sleep 2 &&
gnome-window-decorator &
|
sudo ln -s /usr/local/bin/compizrc /etc/X11/xinit/xinitrc.d/100compizrc
It's so nice.
libmenu.so is not inside,and no shadow.
Last edited by omidxo on Thu Feb 09, 2006 1:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
flowolf Tux's lil' helper


Joined: 22 Jun 2003 Posts: 143
|
Posted: Thu Feb 09, 2006 12:08 pm Post subject: |
|
|
With compiz I get:
| Code: | flowolf@nibiru ~ $ LD_LIBRARY_PATH=/usr/lib64/opengl/xorg-x11/lib DISPLAY=:1 compiz
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :1
|
I hate them all...  _________________ Religions are like fireflies. They require darkness in order to shine.
Arthur Schopenhauer |
|
| Back to top |
|
 |
Nihilus Tux's lil' helper

Joined: 23 Mar 2005 Posts: 80
|
Posted: Thu Feb 09, 2006 12:28 pm Post subject: |
|
|
| dmsnell wrote: | You need to edit your patches in /usr/local/portage/x11-base/xgl/files
they are
mesa-glx-x11-glxproto-defines.diff
xgl-glxproto-defines.diff
Change references to...
X_GLXvop_BindTexImageMESA -> X_GLXvop_BindTexImageEXT and
X_GLXvop_ReleaseTexImageMESA -> X_GLXvop_ReleaseTexImageEXT. |
Probably you'll have to make the same changes in your mesa/files. _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure  |
|
| Back to top |
|
 |
|
|
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
|
|