View Full Version : compiz-fusion on slackware 12.0
purehate
November 3rd, 2007, 04:20 PM
Hi all, I come from the remote exploit forums where I am a long time member. I've been dialoging with barabas over there about getting compiz running in slackware 12.0. here is a link (http://forums.remote-exploit.org/showthread.php?t=9357&page=3) to the thread where we are discussing it. I know it can be done with my hard ware. Slackware 12.0 with 2.6.22.9 kernel. I've worked through almost everything but this
root@backtrack:~# fusion-icon
* Using the Qt4 Interface
* libQtGui.so.4: cannot open shared object file: No such file or directory
... Trying another interface
* Using the Qt3 Interface
* Searching for installed applications...
/usr/bin/ccsm
/usr/bin/compiz
/usr/bin/gtk-window-decorator
/usr/bin/kde-window-decorator
/usr/bin/emerald
/usr/bin/kwin
/usr/bin/xfwm4
* kde session
* Intel found, exporting: INTEL_BATCH=1
* Executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz: No composite extension
First do I need qt4. it doesnt seem To be the case.
And then the obvious composite extension error. this seems to be a lot of trouble for alot of people when I google the error but I can't seem to find a solution so any help would be apreciate. Every thing I have done is documented in the above mentioned thread but if any other command outputs are needed I will be happy to post them.
Edit so i went back to qt3 so now i have this....
root@backtrack:~# fusion-icon
* Using the Qt4 Interface
* libQtGui.so.4: cannot open shared object file: No such file or directory
... Trying another interface
* Using the Qt3 Interface
* Searching for installed applications...
/usr/bin/ccsm
/usr/bin/compiz
/usr/bin/gtk-window-decorator
/usr/bin/kde-window-decorator
/usr/bin/emerald
/usr/bin/kwin
/usr/bin/xfwm4
* kde session
* Intel found, exporting: INTEL_BATCH=1
* No GLX_EXT_texture_from_pixmap present with direct rendering context
... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
* Executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
compiz: No composite extension
adamk
November 3rd, 2007, 08:17 PM
What video card? You probably need to just enable the Composite extension in your xorg.conf file.
Adam
purehate
November 3rd, 2007, 08:53 PM
Thank you for replying. I believe I have the xorg.conf set up correctly. here it is if you would like to take a look
root@backtrack:~# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "dri"
Load "extmod"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "SEC"
ModelName "4241"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "DRI" "true"
Option "AccelMethod" "EXA"
Option "PageFlip" "true"
Option "TripleBuffer" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSectionroot@backtrack:~#
Here is a list of all my installed packages....
root@backtrack:~# cd /root/compiz
root@backtrack:~/compiz# ls
cairo-1.4.10.tar.gz
ccsm-0.5.2-i686-1stk.lzm*
ccsm-0.5.2-i686-2stk.lzm*
ccsm-0.5.2-i686-3stk.lzm*
compiz-0.5.2-i686-1stk.lzm*
compiz-bcop-0.5.2-i686-1stk.lzm*
compiz-fusion-plugins-extra-0.5.2-i686-1stk.lzm*
compiz-fusion-plugins-main-0.5.2-i686-1stk.lzm*
compiz-fusion-plugins-unsupported-0.5.2-i686-1stk.lzm*
compizconfig-backend-gconf-0.5.2-i686-1stk.lzm*
compizconfig-python-0.5.2-i686-1stk.lzm*
emerald-0.5.2-i686-1stk.lzm*
emerald-themes-0.5.2-i686-1stk.lzm*
fusion-icon-git070822-i686-1stk.lzm*
libcompizconfig-0.5.2-i686-1stk.lzm*
libwnck-2.18.3-i486-1sl.lzm*
mesa-6.5.1-i586-1.tgz
mesa-6.5.2-i486-1.lzm*
new
pycairo-1.4.0-i686-1br.lzm*
pygobject-2.13.1-i686-1br.lzm*
pygtk-2.10.6-i486-1sl.lzm*
root@backtrack:~/compiz#
here is glxgears...
root@backtrack:~# glxgears
4595 frames in 5.0 seconds = 918.809 FPS
4679 frames in 5.0 seconds = 935.652 FPS
4596 frames in 5.0 seconds = 919.114 FPS
4566 frames in 5.0 seconds = 913.118 FPS
4679 frames in 5.0 seconds = 935.619 FPS
4716 frames in 5.0 seconds = 943.161 FPS
and here is glxinfo....
A LISP programmer knows the value of everything, but the cost of
nothing.
root@backtrack:~# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.5.1
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.5.1
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
GLX version: 1.4
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.5 Mesa 6.5.1
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
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_logic_op, 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_depth_bounds_test, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, 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_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_timer_query, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_IBM_multimode_draw_arrays,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_program_debug,
GL_MESA_resize_buffers, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_fragment_program, GL_NV_light_max_exponent,
GL_NV_point_sprite, GL_NV_texture_rectangle, GL_NV_texgen_reflection,
GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGI_texture_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x27 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x28 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x29 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2a 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2b 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2c 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2d 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2e 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2f 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x30 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x31 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x32 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
root@backtrack:~#
and that leaves me with this...
root@backtrack:~# fusion-icon
* Using the Qt4 Interface
* libQtGui.so.4: cannot open shared object file: No such file or directory
... Trying another interface
* Using the Qt3 Interface
* Searching for installed applications...
/usr/bin/ccsm
/usr/bin/compiz
/usr/bin/gtk-window-decorator
/usr/bin/kde-window-decorator
/usr/bin/emerald
/usr/bin/kwin
/usr/bin/xfwm4
* kde session
* Intel found, exporting: INTEL_BATCH=1
* Executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
compiz: No composite extension
purehate
November 3rd, 2007, 08:57 PM
Sorry to double post. i thought my other one may have been getting to long. As I was posting that info I noticed direct rendering was off. So I reinstalled the mesa .lzm. and now it is on. Could it be that some other drivers are loading and erasing my mesa drivers at start up? I recall barbaras mentioning somthing to that effect.
root@backtrack:~/compiz# lzm2dir mesa-6.5.2-i486-1.lzm /
root@backtrack:~/compiz# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
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_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5.2
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_shadow, 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_vertex_program, 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_cull_vertex, 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_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, 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_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_client_storage, GL_APPLE_packed_pixels,
GL_ATI_blend_equation_separate, 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_NV_vertex_program, GL_NV_vertex_program1_1,
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, GL_SGIX_depth_texture,
GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
root@backtrack:~/compiz#
adamk
November 3rd, 2007, 09:01 PM
Can we get a look at your /var/log/Xorg.0.log file?
Also, why are you running everything as root? You're not logged into your X server as root, are you?
Adam
purehate
November 3rd, 2007, 09:16 PM
Sure I'll have to use pastebin or something. I am running as root only because the backtrack distro is run from root by default. I have just converted the whole thing to slackware 12.0 from 11.0. i also upgraded the kerel to 2.6.22.9 and some other stuff. i have to be honest not created a normal user yet. I don't understand why that could be my problem but if it is let me know.
adamk
November 3rd, 2007, 09:17 PM
It shouldn't cause this problem, it's just bad practice :-)
Adam
purehate
November 3rd, 2007, 09:30 PM
here you go
http://pastebin.com/m38cfac60
As soon as the build is complete I plan to add a new user for normal OS use
adamk
November 3rd, 2007, 09:36 PM
Well, your log file says Composite is enabled... One thing that I did notice, however, is that your log file says it's using /root/xorg.conf though you posted your /etc/X11/xorg.conf file above. I'm not sure if this is causing any problems, but you should get rid of the one in /root since it will be preferred over the one in /etc/X11/
Finally, what's the output of 'xdpyinfo | grep -i composite'?
Adam
purehate
November 3rd, 2007, 09:45 PM
You were right. i made a back up of the file and forgot to rename it and it was using that one and I didnt even know it. Now it won't load the new one. let me try a little more and I'll report back
purehate
November 3rd, 2007, 09:55 PM
okay now I canot load my xorg.conf because of a parse error at line 95 which would be the added section where composite is enabled. Am I doing some thing wrong here.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "True"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "GLcore"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "SEC"
ModelName "4241"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "DRI" "true"
Option "AccelMethod" "EXA"
Option "PageFlip" "true"
Option "TripleBuffer" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Option composite enable is the offending line 95
Oh and there is NO out put to that command you gave me it just re prompts
root@backtrack:~# xdpyinfo | grep -i composite
root@backtrack:~#
adamk
November 3rd, 2007, 10:05 PM
Hmm... This is what I have... Maybe try it instead:
Section "Extensions"
Option "Composite" "on"
EndSection
purehate
November 3rd, 2007, 10:19 PM
Okay still does not work. the exact error is "unexpected EOF" "missing end section keyword?
Is there a way to check if the actual place this file is pointing to indeed exists
Deciare
November 3rd, 2007, 10:22 PM
Try inserting one blank line at the end of your xorg.conf file. It looks like the editor you're using doesn't automatically terminate the last line in the file with a newline character.
purehate
November 3rd, 2007, 10:58 PM
Thank you sirs. you were right about the last line in the config file. Just for future reference it was Kwrite that was screwing me. So now I've got new issues the display is all jacked up. So where do i go for adjustments?
Deciare
November 3rd, 2007, 11:12 PM
"All jacked up"? I'm afraid that's a little too generic for me to understand. ^^;
purehate
November 4th, 2007, 12:04 AM
"All jacked up"? I'm afraid that's a little too generic for me to understand. ^^;
Sorry I know that was a stupid way to put it. I'm having trouble putting into words but the whole screen is just off configure I guess. Its a little 13.1 inch laptop so I dont know if that requires a adjustment. I belive the problem is still in my xorg file. when selecting window mangers the other 2 work but compiz does not.
Deciare
November 4th, 2007, 12:19 AM
I still don't understand the problem. Is Compiz crashing on startup? Is the whole screen scrunched into the upper-left corner? Are you seeing pure white windows? Pure black windows? Randomly coloured pixels all over? There must be some way to describe the appearance of the problem.
If all else fails, can you capture it in a screenshot or photograph?
purehate
November 4th, 2007, 12:27 AM
ok I have more usefull info this time. I worked with my xorg.conf a little and now it loads fine into kde. now the kwin and xfwm4 windows work fine but when i switch to compiz i lose the title bars and some other usability but at least now it is looking fine. So I get this output now........
* Searching for installed applications...
/usr/bin/ccsm
/usr/bin/compiz
/usr/bin/gtk-window-decorator
/usr/bin/kde-window-decorator
/usr/bin/emerald
/usr/bin/kwin
/usr/bin/xfwm4
* kde session
* Intel found, exporting: INTEL_BATCH=1
* Active WM is already running
* switching to compiz...
* Executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
compiz: GLX_EXT_texture_from_pixmap is not supported by indirect rendering context, trying direct rendering context instead
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0
I'm assuming that my graphics card or the mesa drivers are not configured correctly.
I also have this how too but I dont know if thats what I need (http://intellinuxgraphics.org/install.html)
adamk
November 4th, 2007, 12:57 AM
Let's see your most recent /var/log/Xorg.0.log file, please, as well as the output of 'glxinfo'.
Adam
purehate
November 4th, 2007, 01:06 AM
latest log - http://pastebin.com/m14d4f210
root@backtrack:~# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.5.1
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.5.1
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
GLX version: 1.4
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.5 Mesa 6.5.1
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
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_logic_op, 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_depth_bounds_test, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, 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_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_timer_query, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_IBM_multimode_draw_arrays,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_program_debug,
GL_MESA_resize_buffers, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_fragment_program, GL_NV_light_max_exponent,
GL_NV_point_sprite, GL_NV_texture_rectangle, GL_NV_texgen_reflection,
GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGI_texture_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x27 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x28 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x29 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2a 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2b 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2c 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2d 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2e 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2f 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x30 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x31 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x32 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x64 32 tc 0 32 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
root@backtrack:~#
adamk
November 4th, 2007, 01:09 AM
Well your server has enabled direct rendering... I'm not sure if your Mesa library just wasn't built without support for direct rendering, or if something else is going on here...
Do you get any extra output from 'LIBGL_DEBUG=verbose glxinfo'?
Adam
purehate
November 4th, 2007, 02:05 AM
Every time I log in and out of x i seem to lose the direct rendering.
root@backtrack:~# LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
display: :0 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_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, GLX_MESA_copy_sub_buffer
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_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
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_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, 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_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_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, 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, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 15 tc 0 15 0 r y . 5 5 5 0 0 16 0 0 0 0 0 0 0 None
0x24 15 tc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 0 0 0 None
0x25 15 tc 0 23 0 r y . 5 5 5 8 0 16 8 16 16 16 16 0 0 None
0x26 15 tc 0 23 0 r . . 5 5 5 8 0 16 8 16 16 16 16 0 0 None
0x27 15 dc 0 15 0 r y . 5 5 5 0 0 16 0 0 0 0 0 0 0 None
0x28 15 dc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 0 0 0 None
0x29 15 dc 0 23 0 r y . 5 5 5 8 0 16 8 16 16 16 16 0 0 None
0x2a 15 dc 0 23 0 r . . 5 5 5 8 0 16 8 16 16 16 16 0 0 None
0x5b 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
root@backtrack:~#
adamk
November 4th, 2007, 12:46 PM
According to your Xorg.0.log file (that you linked to at the top of this page), you're still using /root/xorg.conf... Are you aware of this?
All I can guess, a the moment, is that the version of mesa you have is not compiled with the linux-dri target and, as such, does not provide hardware 3D support.
Adam
purehate
November 4th, 2007, 12:51 PM
Yes I am now aware that the one in root is the modified one and the etc one is the original in case of any problems. the mesa drivers I have were a .lzm which was made for this application. I also have the source .tgz mesa file. If I compile it now is it to late? do I need to start over or do you think its worth a shot? or better yet can you direct me to the correct mesa drivers?
adamk
November 4th, 2007, 12:57 PM
Sorry, I don't know much about Slackware... I *thought* that the version of mesa that came with Slackware had DRI support. Maybe try reinstalling it? If you have the mesa source, you should be able to compile it by changing into the root directory of the source tree and typing "make linux-dri". The libraries will then be built and copied to ./lib (relative to the root directory of the source tree, of course).
Adam
purehate
November 4th, 2007, 01:05 PM
Ok I'll see what I can do with it. What about this (http://intellinuxgraphics.org/download.html)Could this help me. It seems i would have to rebuild the kernel with this which is no problem but seems extreme.
adamk
November 4th, 2007, 01:09 PM
As far as I can tell, you already have the first two components on your machine and working. Your Xorg.0.log file shows you using the intel 2D driver and it says that direct rendering is enabled, which means the kernel module is loaded. The only possibly missing piece of the puzzle is the /usr/lib/libGL.so.1.2 file (which you clearly have, but it is not providing the correct DRI functionality as far as I cal tell). Building the mesa source package you have would be the same as the third step on that page... The source code from git would be newer, but is development code, so it could be buggy.
Adam
werner
November 4th, 2007, 03:16 PM
Since long time, i provide packages for compiz-fusion and mesa 7 which works, and which Iself use on my server. There is only a small problem now after changing to glibc 2.7 (but on glibc 2.3 and gl.bc 2.5 there are no problems). Observation: one have to use the OLD compiz-manager of '8/07, because the new ones don't work, for the old one there is also a package. Of these my packages, one should use the compilations of 20071028 together (emerald-themes 20071021, compiz-manager 20070826, mesa 20070820)
With glibc 2.7, there occur the following problems:
/ the thing for change the size of the windows, dont work longer, i.e. one can use the windows only with the size they open. This happens also with the packages compiled and working before. Thus, on this, something is dirtily programmed and should be checked
/ compiz don't compile, it demands libGL.a and libGL.la . This didn't occure before. One courd resolve this, by providing them both, by recompile mesa for both its dinamical and statical libraries. However, this is not normal; instead of this, should be searched/corrected the reason in the compiz code.
compiz snapshot and all accessory progs, the developers should compile with glibc 2.7 (updating/recompiling with it glib2 too !) , X 7.3, and all other progs around updated !!!!
copaya.yi.org/tgz (ftp: or http: )
purehate
November 4th, 2007, 09:37 PM
Since long time, i provide packages for compiz-fusion and mesa 7 which works, and which Iself use on my server. There is only a small problem now after changing to glibc 2.7 (but on glibc 2.3 and gl.bc 2.5 there are no problems). Observation: one have to use the OLD compiz-manager of '8/07, because the new ones don't work, for the old one there is also a package. Of these my packages, one should use the compilations of 20071028 together (emerald-themes 20071021, compiz-manager 20070826, mesa 20070820)
With glibc 2.7, there occur the following problems:
/ the thing for change the size of the windows, dont work longer, i.e. one can use the windows only with the size they open. This happens also with the packages compiled and working before. Thus, on this, something is dirtily programmed and should be checked
/ compiz don't compile, it demands libGL.a and libGL.la . This didn't occure before. One courd resolve this, by providing them both, by recompile mesa for both its dinamical and statical libraries. However, this is not normal; instead of this, should be searched/corrected the reason in the compiz code.
compiz snapshot and all accessory progs, the developers should compile with glibc 2.7 (updating/recompiling with it glib2 too !) , X 7.3, and all other progs around updated !!!!
copaya.yi.org/tgz (ftp: or http: )
I'm a little unclear as to what this person is saying I need to do.
adamk
November 4th, 2007, 09:38 PM
I think you can/should ignore them, frankly :-)
Adam
purehate
November 4th, 2007, 09:42 PM
root@backtrack:~/Mesa-7.0.1# make
Please choose a configuration from the following list:
aix
aix-64
aix-64-static
aix-gcc
aix-static
beos
bluegene-osmesa
bluegene-osmesa~
darwin
darwin-static
darwin-static-x86ppc
darwin-x86ppc
freebsd
freebsd-dri
freebsd-dri-amd64
freebsd-dri-x86
hpux10
hpux10-gcc
hpux10-static
hpux11-32
hpux11-32-static
hpux11-32-static-nothreads
hpux11-64
hpux11-64-static
hpux11-ia64
hpux11-ia64-static
hpux9
hpux9-gcc
irix6-64
irix6-64-static
irix6-n32
irix6-n32-static
irix6-o32
irix6-o32-static
linux
linux-alpha
linux-alpha-static
linux-debug
linux-directfb
linux-dri
linux-dri-debug
linux-dri-ppc
linux-dri-x86
linux-dri-x86-64
linux-dri-xcb
linux-fbdev
linux-glide
linux-ia64-icc
linux-ia64-icc-static
linux-icc
linux-icc-static
linux-indirect
linux-osmesa
linux-osmesa16
linux-osmesa16-static
linux-osmesa32
linux-osmesa32~
linux-ppc
linux-ppc-static
linux-profile
linux-solo
linux-solo-ia64
linux-solo-x86
linux-sparc
linux-sparc5
linux-static
linux-ultrasparc
linux-x86
linux-x86-32
linux-x86-64
linux-x86-64-debug
linux-x86-64-static
linux-x86-debug
linux-x86-glide
linux-x86-static
netbsd
openbsd
osf1
osf1-static
solaris-x86
solaris-x86-gcc
solaris-x86-gcc-static
sunos4
sunos4-gcc
sunos4-static
sunos5
sunos5-64-gcc
sunos5-gcc
sunos5-smp
sunos5-v8
sunos5-v8-static
sunos5-v9
sunos5-v9-cc-g++
sunos5-v9-static
ultrix-gcc
Then type 'make <config>' (ex: 'make linux-x86')
(ignore the following error message)
make: *** [configs/current] Error 1
root@backtrack:~/Mesa-7.0.1#
What should I use for my make architecture? I did it with linux-x86 but it did not solve my problem.
adamk
November 4th, 2007, 09:47 PM
I told you in a post above :-) 'make linux-dri'
Adam
purehate
November 4th, 2007, 09:48 PM
I think you can/should ignore them, frankly :-)
Adam
Thank you. You have been more than helpful and seem quite knowledgeable so I shall stick with you and the other mod who was trying to help. Doing make dri right now
purehate
November 4th, 2007, 09:55 PM
Here is my newest error...
compiz: No GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0
I have the default depth set in my xorg.conf at 16 or 15.
adamk
November 4th, 2007, 10:12 PM
That still has to do with direct rendering, 9 out of 10 times. What's the output of 'LIBGL_DEBUG=verbose glxinfo' now?
Adam
purehate
November 4th, 2007, 11:10 PM
root@backtrack:~# LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 7.0.1
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 7.0.1
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
GLX version: 1.4
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 7.0.1
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shader_objects, GL_ARB_shading_language_100,
GL_ARB_shading_language_120, GL_ARB_shadow, GL_ARB_shadow_ambient,
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_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, 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_logic_op, 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_depth_bounds_test, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, 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_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_timer_query, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_ATI_separate_stencil,
GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_program_debug, GL_MESA_resize_buffers,
GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGI_texture_color_table, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 15 tc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x24 15 tc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x25 15 tc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x26 15 tc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x27 15 dc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x28 15 dc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x29 15 dc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x2a 15 dc 0 15 0 r y . 5 5 5 0 0 16 8 16 16 16 16 0 0 None
0x5b 32 tc 0 32 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
root@backtrack:~#
It seems you are right. direct rndering is always off unless i use the .lzm I started with. Any ideas?
adamk
November 4th, 2007, 11:13 PM
Sorry, but I'm out of ideas. I think this is something you should take up with the slackware folks.
Adam
werner
November 4th, 2007, 11:22 PM
Whom don't lissen me, merits to suffer :)
Ref #30: I said that since long time i'm making packages for Slackware, which are working, too, inclusive on my own server. To download here: ftp://copaya.yi.org/tgz
For more details, read again my post #29.
Essentially:
/ With glibc version 2.7 (new), compiz have problems . Use glibc 2.3 or 2.5
/ Use the packages of compiz-fusion of 20071028 and the last packages of emerald-* , compiz-manager, mesa
purehate
November 4th, 2007, 11:27 PM
Sorry, but I'm out of ideas. I think this is something you should take up with the slackware folks.
Adam
Adam, Thank you anyway for all your help and patience. werner your suggestions are unclear so i would be willing to give it a look but I barely understand what you mean. I can not downgrade my glib as other things are dependent on it. So what else are you saying?
werner
November 4th, 2007, 11:32 PM
Pick up the packages from my site, and try them out. And when something isn't working, i continue to watch here in this forum and perhaps I can help
PS: When DRI and compiz is working, you should see on your screen what you see on the annexed foto (contens of the window from dri/drm , margin efects from compiz / emerald, and moving windows and menus should show 3d effects)
purehate
November 6th, 2007, 01:02 AM
A friend working with the same set up as me has suggested that the kernel I'm using may not allow direct rendering. Has any one else had a issue with a particular kernel? I'm using 2.6.22.9.
adamk
November 6th, 2007, 01:46 AM
(II) intel(0): direct rendering: Enabled
You should not get that line if you didn't have the kernel module loaded. This does not at all appear to be a kernel related issue, but a mesa one.
Adam
purehate
November 7th, 2007, 01:24 PM
I and a few others have solved this problem. If I knew how to change the title to solved I would but I'm sure thats a mod thing. I now have all the newest packages of compiz-fusion and the emerald theme running in slackware 12.0 with the 2.6.22.9kernel and a intel 945 graphics card. Thanks to adam and deciare for really going out of the way to look at my logs and try to help out. I thought the helpfulness in these forums was outstanding. A also thanks to barbaras and dr.green over at my home forum of remote-exploit. Anyway if any one is interested in how we did it please post and I will create a how to. FYI it had nothing to do with glib 2.7 or the source code of compiz or whatever werner was talking about.
adamk
November 7th, 2007, 01:35 PM
I'm am kind of curious what the problem was :-)
Also, you can mark the thread as resolved by editing your very first post and going into the Advanced Options.
Adam
Deciare
November 7th, 2007, 01:39 PM
Whoo, congratulations!
I didn't do much, Adam was the one making most of the suggestions. It was nice being able to help by pointing out a few small details, though. ^^v
And yes, I'm sure other Slackware users who happen to be lurking here would love to see a solution, too.
purehate
November 7th, 2007, 02:38 PM
Dr green did most of the work. He suggested we start over from scratch because I had tried so much stuff I was running 940 something in ram. any way i started all over and had the same problem. The key for me was a program called pixman that i thought I had but after I installed it every thing worked and thaks to dr. green I had to add this
#!/bin/sh
LIBGL_ALWAYS_INDIRECT=TRUE \
compiz --replace png svg decoration wobbly fade minimize cube switcher move resize place rotate zoom scale water firepaint &
emerald --replace &
to my kde autostart folder. Ive never used compiz but it seems to be fully functioning except one thing. In barbaras post some time ago he it was said that this had to be done to create the icon in the kde menu and it gave the small icon where you can right click and get the window manger selection and other stuff.
mkdir /.kde/env
nano /.kde/env/compiz.sh
#!/bin/bash
KDEWM+fusion-icon
So I no longer can switch between window managers which is annoying. I guess I need to figure out how to run those commands together.
I also made sure to fully update and upgrade EVERY package in the slackware 12.0 distro before proceeding. And yes I am running glib 2.7 with all the upto date compiz packages
One last thing. The thing that Caught my eye about compiz was a video i saw where every time a window was x'd out it appeared to poof away in flame and smoke any one know about that?
werner
November 7th, 2007, 05:10 PM
When running glibc 2.7 and using packages compiled/packed under 2.5 or 2.3, then this essentially works, besides of small problems. This is what at the moment I'm doing, too, using the last packages of 2007 10 28, just before Slackware 'current' brought glibc 2.7.
What's the problem is that with glibc 2.7, some packages don't compile longer. Because of this, actually I cannot compile the last 'snapshot's for compiz. Meanwhile was verified that the problem really comes by the update to glinb 2.7, not by any auxiliary program.
It's in vain to ignore this problem. When coming more people to glibc 2.7, compiz will have to resolve that problem anyway. Part of the problem is that the compilation of compiz never before but now demands libGL.a , .la . Nor on Slackware, nor as I verified now on many other distros, these libs come. They coming only on proprietary nvidia/ati drivers, compiled statically and working only on the corresponding kernel and glibc
However, I'm glad for you that you resolved your problem. Using old packages works more or less, giving only small problems. Your initial problem thar DRI didn't work was exclusively one of mesa, the necessary modules are compiled in all Slackware kernel (in the kernel packages what I prepare and put for download, they are even inside the kernel) and are loaded automatically when needed, what you can verify with #lsmod
purehate
November 7th, 2007, 06:11 PM
Your missing the point I'm NOT using old packages. I have all the latest packages that the slackware repository has to offer and glib 2.7. I can't say for sure whether every little last plugin or effect is working because really I know squat about compiz. We just liked it. There was no slackware distribution so we made it work our selves. Mainly backtrack is a pentesting distro but I was interested in having the cube and a few other things. So call me a compiz n00b or whatever its working good enough for me.
werner
November 8th, 2007, 01:01 AM
Slackware 'current' included glibc 2.7 just a few days ago. So it's completely clear that, in opposite to your opinion, the Slackware compiz packages which are more 'old' than one week, NOT were compiled with glibc 2.7, but with glibc 2.5 -- this is what i call 'old'. I also made own packages, last on Oct 28, stlll with glibc 2.5, and these works too (although since I changed to glibc, they have some small problems, but at least they work). THEN TRY TO COMPILE SNAPSHOTs FROM THE GIT DEPOSITE, WITH GLIBC 2.7 . WHEN YOU HAVE INSTALLED libGL.a and libGL.la , THEN ONLY WHEN YOU BEFORE ONE TIME HAD INSTALLED ANY PROPRIETARY DRIVER (because they install the statics libs). I'M STILL WAITING THAT YOU VERIFY WITH KPACKAGE WHAT SLACKWARE PACKAGES WOULD PROVIDE libGL.la , libGL.a , OR LOOK INTO YOUR /usr/lib IF THESE LIBS ARE THERE. AND THEN POST THE RESULT !
Deciare
November 10th, 2007, 05:53 AM
The key for me was a program called pixman that i thought I had but after I installed it every thing worked
Wow, that was good! I never would have thought of that. Literally--my distribution pulls in pixman as a dependency for xorg-server, so I didn't even know I had it installed.
and thaks to dr. green I had to add this
#!/bin/sh
LIBGL_ALWAYS_INDIRECT=TRUE \
compiz --replace png svg decoration wobbly fade minimize cube switcher move resize place rotate zoom scale water firepaint &
emerald --replace &
That's kind of strange. Neither the ccp nor gconf plugin are loaded, so how are you configuring Compiz? Unless /usr/bin/compiz (or whatever `which compiz` returns) is actually a script on your system that auto-loads ccp (which is pretty common on numerous popular distros) or gconf (less common), that command line wouldn't give you access to any configuration system at all.
In barbaras post some time ago he it was said that this had to be done to create the icon in the kde menu and it gave the small icon where you can right click and get the window manger selection and other stuff.
mkdir /.kde/env
nano /.kde/env/compiz.sh
#!/bin/bash
KDEWM+fusion-icon
So I no longer can switch between window managers which is annoying. I guess I need to figure out how to run those commands together.
That's almost correct. The last line should read:
KDEWM=fusion-icon
fusion-icon should automatically start Compiz, so there wouldn't be a need for the compiz command line you were using above. However, I've had nothing but trouble with fusion-icon lately--failing to launch at all because of a DBus error, and even when it launches, not drawing an icon in the tray--so I've backed out to using a compiz command line, myself.
You can still switch back to KDE's window manager by running kwin --replace then switch back to Compiz at any time by running the same command you used to start it before. I assigned those commands to panel icons to automate the process a bit.
One last thing. The thing that Caught my eye about compiz was a video i saw where every time a window was x'd out it appeared to poof away in flame and smoke any one know about that?
That's a function of the animation ("Animations") plugin, which your command line above doesn't load. It's easiest to configure this using ccsm, which in turn requires the ccp plugin to be loaded.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.