Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiz
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Fri Jun 22, 2012 9:48 am    Post subject: Compiz Reply with quote

Hey everyone!

I've recently done my first install of gentoo, I found the handbook excellent and learned alot about linux in the process. I also enjoy having a fully featured OS thats nearly the speed of puppy!

Although I'd love to have compiz working and can't quite get there. I've followed the intructions here: http://en.gentoo-wiki.com/wiki/Compiz but I still can't get window borders or anything to work :(

If I try running compiz-manager directly i get the following...

Code:
david@david-desktop ~ $ compiz-manager
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA: 02:00.0 0300: 10de:1201 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1920x1080) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald
/usr/bin/compiz-manager: line 383:  4421 Segmentation fault      ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS
XGetWindowProperty() returned non-success value (1) for window 'david@david-desktop:~'.


Any help is much appreciated!

Thanks in advance.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 646

PostPosted: Fri Jun 22, 2012 10:15 am    Post subject: Reply with quote

Well, it's crashing. Try starting it directly (not via compiz-manager) and obtain a backtrace.
e.g.:
Code:
gdb compiz
r
bt
q
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Fri Jun 22, 2012 10:19 am    Post subject: Reply with quote

Thanks for your reply, I tried doing that although I don't think I got anything usefull from it.

Code:
david@david-desktop ~ $ gdb compiz
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/compiz...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/compiz
[Thread debugging using libthread_db enabled]
/usr/bin/compiz (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
/usr/bin/compiz (core) - Fatal: No manageable screens found on display :0.0
[Inferior 1 (process 5924) exited with code 01]
(gdb) bt
No stack.
(gdb) q
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Fri Jun 22, 2012 10:22 am    Post subject: Reply with quote

Code:
david@david-desktop ~ $ gdb --args compiz --replace
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/compiz...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/compiz --replace
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff0cb0700 (LWP 5961)]
[New Thread 0x7ffff04af700 (LWP 5962)]
[New Thread 0x7fffefcae700 (LWP 5963)]
[New Thread 0x7fffef4ad700 (LWP 5964)]
/usr/bin/compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
/usr/bin/compiz (core) - Error: Failed to manage screen: 0
/usr/bin/compiz (core) - Fatal: No manageable screens found on display :0.0
[Thread 0x7fffefcae700 (LWP 5963) exited]
[Thread 0x7ffff04af700 (LWP 5962) exited]
[Thread 0x7ffff0cb0700 (LWP 5961) exited]
[Thread 0x7fffef4ad700 (LWP 5964) exited]
[Inferior 1 (process 5958) exited with code 01]
(gdb) bt
No stack.
(gdb) q
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 646

PostPosted: Fri Jun 22, 2012 11:27 am    Post subject: Reply with quote

Hmm, interesting. Now it's not crashing anymore but just exiting.
Can you post the output of glxinfo (part of x11-apps/mesa-progs)? (no need to post the long table with glx visuals it provides, just the bits before that)
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 4:35 am    Post subject: Reply with quote

Code:

david@david-desktop ~ $ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
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_fbconfig,
    GLX_SGIX_pbuffer, GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and 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_EXT_framebuffer_sRGB,
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
    GLX_MESA_swap_control, 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_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe
OpenGL version string: 2.1 Mesa 7.11.2
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture,
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array,
    GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
    GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_rescale_normal,
    GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB,
    GL_ARB_multitexture, GL_EXT_framebuffer_sRGB,
    GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query,
    GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map,
    GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs,
    GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_primitive_restart, GL_ARB_fragment_program_shadow,
    GL_ARB_half_float_pixel, GL_ARB_occlusion_query2, GL_ARB_point_sprite,
    GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two,
    GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate,
    GL_EXT_blend_equation_separate, GL_OES_read_format,
    GL_ARB_pixel_buffer_object, GL_ARB_texture_float,
    GL_ARB_texture_rectangle, GL_EXT_pixel_buffer_object,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_rectangle,
    GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,
    GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,
    GL_ARB_vertex_array_object, GL_ATI_separate_stencil,
    GL_ATI_texture_mirror_once, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_env_combine,
    GL_EXT_texture_sRGB_decode, GL_OES_EGL_image, GL_ARB_copy_buffer,
    GL_ARB_draw_instanced, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
    GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
    GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
    GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
    GL_AMD_draw_buffers_blend, GL_ARB_ES2_compatibility,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_provoking_vertex, GL_ARB_sampler_objects,
    GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_ARB_robustness


Thanks for your help so far as well
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sat Jun 23, 2012 8:04 am    Post subject: Reply with quote

davidc538

what about:

compiz --indirect-rendering --loose-binding --debug --replace --sm-disable ccp

have a look at this:

http://wiki.compiz.org/FAQ

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 8:18 am    Post subject: Reply with quote

Code:

david@david-desktop ~ $ compiz --indirect-rendering --loose-binding --debug --replace --sm-disable ccp
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libcore.so : No such file or directory
compiz (core) - Debug: Could not stat() file /usr/lib64/compiz/libcore.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libccp.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libfirepaint.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libmove.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libgnomecompat.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libdecoration.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libneg.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz/plugins/libwater.so : No such file or directory
Segmentation fault


Looking at this it seems fairly obvious that those libs are missing. Shouldn't portage have installed them though? wierd....
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 8:25 am    Post subject: Reply with quote

emerge'd compiz-plugins-main and compiz-plugins-extra and still getting the same output :(

am I the only one thinking its odd that its looking inside my home folder for those files though?
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sat Jun 23, 2012 9:34 am    Post subject: Reply with quote

davidc538
try:


sudo compiz --indirect-rendering --loose-binding --debug --replace --sm-disable ccp

and post the output of:

emerge -av compiz libcompizconfig compiz-plugins-main compiz-plugins-unsupported compizconfig-python compiz-plugins-extra ccsm compiz-fusion

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 10:36 am    Post subject: Reply with quote

looks like i cant get gnome to start properly now. i only get a black screen. i think its because i have my desktop manager set to compiz right now in gconf-editor, is there any way to change it back to gnome-wm from the command line? also when i try to emerge those packages i get an emake failed for x11-wm/compiz-0.8.8

will upload a few pictures of the output in a moment
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 10:47 am    Post subject: Reply with quote

http://i567.photobucket.com/albums/ss112/davidc538/4ad718e7.jpg
http://i567.photobucket.com/albums/ss112/davidc538/c6208a2f.jpg

sorry if these are a little hard to read but i dont have a working window manager on my gentoo install at the moment :( had to upload them with my ipad
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sat Jun 23, 2012 11:18 am    Post subject: Reply with quote

davidc538


i need to see the build.log to help you with your error.

pastebin your /var/tmp/portage/x11-wm/compiz-0.8.8/temp/build.log



regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sat Jun 23, 2012 11:29 am    Post subject: Reply with quote

hedmo wrote:
davidc538


i need to see the build.log to help you with your error.

pastebin your /var/tmp/portage/x11-wm/compiz-0.8.8/temp/build.log



regards hedmo


away from my computer for now but ill do that after work. thanks for your help so far though
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sun Jun 24, 2012 5:32 am    Post subject: Reply with quote

here you are:

http://pastebin.com/az6tuLfy
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sun Jun 24, 2012 7:17 am    Post subject: Reply with quote

davidc538

here is your problem:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libxcb-util.so.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libstartup-notification-1.so, not found (try using -rpath or -rpath-link)

try to re emerge libxcb

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sun Jun 24, 2012 8:08 am    Post subject: Reply with quote

Same error I believe :(

http://pastebin.com/fWTFMjRS
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sun Jun 24, 2012 9:05 am    Post subject: Reply with quote

davidc538

how about revdep-rebuild :?: :?:

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Sun Jun 24, 2012 9:49 am    Post subject: Reply with quote

i get a command not found when tryingto run that
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sun Jun 24, 2012 10:08 am    Post subject: Reply with quote

davidc538

that one should work:


hedmo@mybox ~ $ su
Password:
mybox hedmo # revdep-rebuild
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.


do you have gentoolkit installed :?:

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Mon Jun 25, 2012 5:42 am    Post subject: Reply with quote

ive been using sudo instead of logging into root but no i didnt have gentoolkit installed until now. revdep-rebuild is running now and reemerging a few packages. i think it will work
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Mon Jun 25, 2012 6:27 am    Post subject: Reply with quote

revdep-rebuild reemerged a few packages and now i can get back to my desktop. afterwords i emerged compiz successfully but when i run compiz --replace i get missing window borders (there enabled in ccsm) and if i run "/usr/bin/compiz-manager && emerald --replace" compiz works with window borders, wobbly windows and whatnot but its highly unstable. not sure where to go from here. thanks for getting me this far though :)
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Mon Jun 25, 2012 6:55 am    Post subject: Reply with quote

davidc538


i have never been using compiz-0.8.8.i dont know how wobbly windows is (i am on compiz-0.9.8 ).
about window borders.you dont need to use "emerald --replace" just do this:

http://imageshack.us/f/807/snapshot1b.png/

regards hedmo
Back to top
View user's profile Send private message
davidc538
n00b
n00b


Joined: 22 Jun 2012
Posts: 31

PostPosted: Mon Jun 25, 2012 8:09 am    Post subject: Reply with quote

compiz-manager on its own works but the desktop is still very unstable. is there any way to dump the output of compiz-manager to a file for you to look at?
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Mon Jun 25, 2012 8:24 am    Post subject: Reply with quote

davidc538 wrote:
compiz-manager on its own works but the desktop is still very unstable. is there any way to dump the output of compiz-manager to a file for you to look at?


davidc538

i think:

compiz --indirect-rendering --loose-binding --debug --replace --sm-disable ccp


should do the trick.

regards hedmo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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