
You can get libcm from GNOME CVS.simkin wrote:I've googled for it but didn't even find the libcm sources. Is it related with gnome, xorg?
There is also a version in the Xgl overlay: http://www.gentoo-wiki.org/Xgl#Checking ... ge_Overlaynrl wrote:You can get libcm from GNOME CVS.simkin wrote:I've googled for it but didn't even find the libcm sources. Is it related with gnome, xorg?
veilig wrote:after I change the ebuild for metacity to --enable-compositor when I emerge metacity it complains that my file is the wrong size....what do I have to to to make this work?
Code: Select all
ebuild metacity-blahblah.ebuild digestIt's only available on certain cards, IIRC only ATI and Intel cards at the moment, Nvidia doesn't support it yet. This is described on the GNOME release notes for 2.16simkin wrote:Thanks, nrl and Dizzutch, for the source.
I couldn't compile libcm from CVS (errors), but the ebuilds in Hanno's Xgl overlay worked fine (Mesa-6.5.1*, libcm-0.22*). With those installed I could finally emerge metacity with --enable-composite. However if I check on compositing_manager for metacity, It crashes. Seems like GLX_texture_from_pixmap extension is missing.
Do you know if I've to enable it in the xorg conf? or may be this requires something else like Xgl? Mine is a radeon 9250 and it's supposed to be supported. Thanks for the help.
Search the output ofgnome.org release notes wrote:Not yet enabled by default, new compositing affects are only available when Metacity is compiled with the special --enable-compositor option. The new compositing features also depend on support for the GLX_texture_from_pixmap extension, which is only available to owners of Intel i830 to i945, and ATI Radeon 7000 to 9250 chips at the present time.
Code: Select all
glxinfoCode: Select all
direct rendering: Yes
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 20060602 AGP 8x x86/MMX+/3DNow!+/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.1
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, 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_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tessCode: Select all
libGL warning: 3D driver claims to not support visual 0x4c
depth: 24
DISPATCH ERROR! _glapi_add_dispatch failed to add glBlendEquationSeparate!
Window manager warning: Log level 16: No texture created - maybe Texture From
Pixmap extension is not present?
Backtrace:
0: X(xf86SigHandler+0x81) [0x80d1f01]
1: [0xffffe420]
2: /usr/lib/dri/r200_dri.so(_mesa_BlendFunc+0x39) [0xaef80c89]
3: /usr/lib/xorg/modules/extensions/libglx.so [0xb7bed330]
4: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xef) [0xb7be4f9f]
5: /usr/lib/xorg/modules/extensions/libglx.so [0xb7be9dce]
6: X(Dispatch+0x18d) [0x80867ed]
7: X(main+0x47e) [0x806e58e]
8: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cad87c]
9: X(FontFileCompleteXLFD+0xa5) [0x806d8c1]
Fatal server error:
Caught signal 11. Server aborting
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): EngineRestore (32/32)
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x81f72e0)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0): MC_FB_LOCATION : 0x1fff0000
(**) RADEON(0): MC_AGP_LOCATION : 0x27ff2000
(**) RADEON(0): Map Changed ! Applying ...
(**) RADEON(0): Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x00000007 0x00060065 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=7, fd=101, pd=6
(**) RADEON(0): Ok, leaving now...
The application 'gnome-session' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
xinit: connection to X server lost.
gnome_segv2: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
gnome_segv2: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
Window manager warning: Could not find display for X display 0x817c2b0,
probably going to crash
Bug in window manager: IO error received for unknown display?

Code: Select all
(chroot) livecd / # layman -a xeffects
* Running command "/usr/bin/svn co "svn://svn.gentoo-xeffects.org/xeffects/trunk/" "/usr/portage/local/layman/xeffects""...
/usr/bin/svn: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
* Failed to add overlay "xeffects".
* Error was: Adding the overlay failed!you need to revdep-rebuildBlack Zer0 wrote:Code: Select all
(chroot) livecd / # layman -a xeffects * Running command "/usr/bin/svn co "svn://svn.gentoo-xeffects.org/xeffects/trunk/" "/usr/portage/local/layman/xeffects""... /usr/bin/svn: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory * Failed to add overlay "xeffects". * Error was: Adding the overlay failed!

Code: Select all
(chroot) livecd / # revdep-rebuild
bash: revdep-rebuild: command not found
Code: Select all
Option "XAANoOffscreenPixmaps" "True"Code: Select all
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A library with a xlib wrapper and a gl based scene graph"
HOMEPAGE="http://www.gnome.org"
SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/${PN}/0.1/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-libs/glib-2.0
x11-libs/libX11
x11-libs/libXext
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXtst
virtual/glut"
RDEPEND="${DEPEND}"
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}Code: Select all
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/metacity/metacity-2.16.3.ebuild,v 1.11 2007/01/18 23:51:54 jer Exp $
inherit eutils gnome2
DESCRIPTION="Gnome default windowmanager"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="xinerama"
# not parallel-safe; see bug #14405
MAKEOPTS="${MAKEOPTS} -j1"
RDEPEND=">=x11-libs/gtk+-2.10
>=x11-libs/pango-1.2
>=gnome-base/gconf-2
>=dev-libs/glib-2.6
>=x11-libs/startup-notification-0.7
!x11-misc/expocity
x11-libs/libcm"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/pkgconfig-0.9
>=dev-util/intltool-0.35"
DOCS="AUTHORS ChangeLog HACKING NEWS README *.txt doc/*.txt"
pkg_setup() {
G2CONF="$(use_enable xinerama) --enable-compositor"
}