PDA

View Full Version : How To: Install Xgl/compiz with Dapper, ATI, Gnome


Pages : [1] 2 3

mattisking
February 16th, 2006, 02:51 AM
HEY: Ignore this... it's too outdated and no longer really relevant. Besides, there are far newer packages than what's in Dapper right now and this thread won't get you there. THIS, however, worked perfectly for me: http://www.compiz.net/viewtopic.php?id=389




Many people have contributed to this, some more than others as I've picked up the pieces I needed to make this work from through-out these forums.
But, in particular: terrax, JoWilly, and poofyhairguy

1. Get your xorg.conf setup properly. The main thread has more than enough information on this. Follow it paying attention to the ATI differences that are well noted.

Just to be clear however, these instructions are targeted for those people using the ATI Proprietary Driver ("fglrx"). This is configured in your xorg.conf. If you're using "ati" that's not going to work for you. If you're using "radeon" then this is theoretically possible (radeon is the OSS driver targeted more - for now - for your lower end Radeon cards, in particular the 9000/9200/9250)... but I wasn't able to get it to work with my lower end PC that uses the 9200. In both cases, there are known/outstanding bugs with both sets of drivers that require work arounds described below.

To make sure you are "accelerated", running with the new driver, try typing fglrxinfo in a terminal and see what you get. If it talks about ATI then awesome... if it talks about Mesa, you still don't have your driver setup properly (xorg.conf).

**For ATI do not enable composite in xorg.conf, xgl does not need it.

2. Install all the new stuff from the Dapper universe repository... this includes xserver-xgl, compiz, libgl1-mesa, libgl1-mesa-dri, libglitz1, libglitz-glx1 and any dependencies.

3. Modify /etc/gdm/gdm.conf-custom - For most this file is generally full of empty stubs. Look for the one called [servers] and do this:

[servers]
# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
1=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true


4. Modify /etc/gdm/gdm.conf to change your display:
#0=Standard
1=Standard


** You may have noticed in both steps 3 and 4 that we're using Display 1 instead of 0... this is due to a bug in the current proprietary ATI driver and this is the workaround.

5. Another bug in the driver... And for video, there is a bug with xv, so we want to start "gstreamer-properties" and tell it not to use xv for video. (This is the same as starting "Multimedia Systems Selector", a Preferences application that is currently hidden in your menu system)

6. Modify your session ("Menu System" -> "Preferences" -> "Sessions") by adding in the following two items:
gnome-window-decorator (must be on top, start first)
compiz --replace gconf

7. Start gconf-editor and go to "apps/compiz/general/all screens/options", and adjust "plugins" in the following order:
gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
It MUST be in this order as there are dependencies between them. If you've already been playing with this from earlier debs - maybe from battlehorse, or maybe you rolled your own - this is an important step because it's very likely in the wrong order. Most people that are missing certain plugins or are missing things like "alt-switch" will find they need to correct this and restart.

8. To get around the problem with <Shift> and <Backspace> enter this in your terminal whenever you login:
xmodmap /usr/share/xmodmap/xmodmap.<language>
where <language> refers to your country's code. For the US, it would be:
xmodmap /usr/share/xmodmap/xmodmap.us

Once everything is running along happily, this is a good appendix for the commands for using the nifty stuff compiz gives you:
http://en.opensuse.org/Compiz

That's about as easy as I can make it. Good luck.

Some Issues

This is a wonderful resource for looking into your video card/driver: http://en.opensuse.org/Xgl
It appears that you might need a 9800 or better ATI right now.
It appears there may be problems with Mobility users (laptops)
The latest compiz package may have a bug that doesn't put the necessary gconf settings in place. One possible work-around is to install the battlehorse v1 deb for compiz, then update to the universe deb.


UPDATES:
I just got this tip for slightly lower end Radeon's like this user's 9600se:

1) sudo gedit /etc/gdm/gdm.conf
2) Go to line 198 and change:
GdmXserverTimeout=10
to
GdmXserverTimeout=50

poofyhairguy
February 16th, 2006, 03:01 AM
Excellent. I will make one for Nvidia. Thanks!

Bou
February 16th, 2006, 04:35 AM
To make sure you are "accelerated", running with the new driver, try typing fglrxinfo in a terminal and see what you get. If it talks about ATI then awesome... if it talks about Mesa, you still don't have your driver setup properly (xorg.conf).

OK, I did a fresh install just to follow this guide from the ground up so... I installed the fglrx driver and set it to xorg.conf

Section "Device"
Identifier "ATI Technologies, Inc. RV280 [Radeon 9200 PRO]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

I installed the packages, too, though I can't find either libgl-mesa nor libgl-mesa-dri at the repos: I do find libgl1-mesa and libgl1-mesa-dri... are those the correct names?

I modified gdm.conf-custom too:

[servers]
# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
1=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true

And gdm.conf as well:

[servers]
# These are the standard servers. You can add as many you want here and they
# will always be started. Each line must start with a unique number and that
# will be the display number of that server. Usually just the 0 server is
# used.
#0=Standard
1=Standard

Bou
February 16th, 2006, 04:39 AM
But then, when I try to reboot, I get the following messages:

http://img119.imageshack.us/img119/7996/fallo24fu.jpg

http://img119.imageshack.us/img119/6193/fallo36me.jpg

I didn't even add the dnome-window-manager and compiz stuff to the session startup. Why can this be caused?

vaskark
February 16th, 2006, 05:35 AM
I have a Radeon 9200 SE 128Mb card with acceleration enabled. I followed your instructions up until Step 6. Xgl is running, I'm in gnome but it is sooo slow. I do step 6 and my screen goes black (although I can still see/move my mouse cursor). Also, both Xgl AND Xorg appear to be running. Is this normal? And is my card too low-end for this maybe? I'm on a P4 3GHz with 512 Mb RAM.

aamukahvi
February 16th, 2006, 05:40 AM
You should change your name to mattisGOD, thank you (and the credited others). Got it finally working on my R9500 :KS

My keyboard layout seems to have changed from FI to US. How can I switch back? :-k

MrRoboto
February 16th, 2006, 05:48 AM
I can't get Xgl to work. I get the following error:

Couldn't open RGB_DB '/usr/share/X11/rgb'

any ideas?

golfie
February 16th, 2006, 05:59 AM
Like all previous times I tried: Can someone give me the final answer how to handle this problem. I installed the latest fglrx driver from the ati site.

And with fglrxinfo I get:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5642 (8.22.5)

So that's ok. But when I want to run compiz I always get this error message:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

I also got them from the self-compiled version. But with the packages from the repos I still get this message. When I type glxinfo i get:

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_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
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5642 (8.22.5)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_multisample, GL_ARB_occlusion_query, 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_transpose_matrix,
GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ARB_draw_buffers,
GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap,
GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
GL_ATI_texture_env_combine3, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
GL_ATIX_vertex_shader_output_point_size, 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_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, 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_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

And no GLX_EXT_texture_from_pixmap? I saw more people have this problem, but how can it be solved, since also many people have compiz working on their ati card. My card is actually a ATI Mobility Radeon 9700?

risbac
February 16th, 2006, 06:26 AM
Also, both Xgl AND Xorg appear to be running. Is this normal?

Yes it is, Xgl runs on top of Xorg. Nothing to worry about

risbac
February 16th, 2006, 06:27 AM
To everybody and in order to answer faster to your problems, it would be useful to provide also:

1 your graphic card model and which driver are you using (really using, check with glxinfo which driver is loaded)
2 where did you install from ? (compile, internet deb, repo?)
3 how do you run Xgl ? (in a terminal, from modification in gdm?)
4 copy your Xgl launch command
5 copy your compiz launch command

Thanks in advance!

poyner
February 16th, 2006, 06:31 AM
awesome! thanks so much for this. It's working a treat.

I do have a couple of questions though.
1. I don't seem to be able to set transperancy. when I right click on windows I don't get any opacity options. I read somewhere that you need to have transset installed but I already have this. Any other ideas of what could be wrong?

2. in gconf editor I don't seem to have the menu plugin installing correctly. Could there be a reason for this? could it be related to my other problem above?

3. What is the 'super' key to get zoom going?

4. in the nvidia thread someone has posted about not needing to add the plugins to the startup line as they can get them from gconf. is this the same for ati cards?

5. is there any way to slowly turn the cube and pause half way?

risbac
February 16th, 2006, 06:36 AM
Answer to poyner:

1. yes you need to install transset, no it's not enough : ) Didn't find the solution for this for the moment in the forums, so it's a half answer only, sorry.

2. same, so no answer this time

3. the Windows key. They should have called it "evil key", everybody would have understood ... ;-)

4. Yes. If you define the plugins in your gconf, no need to specify them in the launch command. But it's not done by default, you need to edit your gconf!

5. Pause halfway ? To admire the landscape and take some pics ? ;-) You should be able to set this in the plugin menu from gconf that you don't have yet. So answer to 2 should answer to 5 maybe.

Bou
February 16th, 2006, 06:41 AM
OK, There we go:

1 your graphic card model and which driver are you using (really using, check with glxinfo which driver is loaded)

-ATI Technologies Inc RV280 [Radeon 9200 PRO]

-I don't know what you exactly mean, so I'll post the whole glxinfo output.

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_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
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.1041 (X4.3.0-8.21.7)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_occlusion_query, GL_ARB_point_parameters,
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_transpose_matrix, GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_ATI_element_array,
GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,
GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,
GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,
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_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_stencil_wrap, GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, 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_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

2 where did you install from ? (compile, internet deb, repo?)

Repo. I installed the packages recommended on this thread, except for libgl-mesa and libgl-mesa-dri, which I didn't find. Instead, I installed libgl1-mesa and libgl1-mesa-dri. I don't know if that's what I should have done.

3 how do you run Xgl ? (in a terminal, from modification in gdm?)

Modification in gdm. Just like the guide specifies. Read my post above to see the modifications.

4 copy your Xgl launch command

There's no command.

5 copy your compiz launch command

I couldn't even try loading compiz, since Xgl won't load.

Thanks for any help.

risbac
February 16th, 2006, 06:45 AM
Bou, this guide is for the fglrx driver of ATI cards. It says that the Radeon driver MIGHT work, but it's not sure at all. And you are using this radeon driver apparently:

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.1041 (X4.3.0-8.21.7)

I'm quite sure that in your xorg.conf you have a "radeon" driver specified.

So it would be better to first install the fglrx driver, then you can try again to run Xgl.

aamukahvi
February 16th, 2006, 06:47 AM
Almost everything is working nice and dandy. Even my keyb is back to FI, somehow :) But I can't move my dialog windows without using the Alt key. All other windows move by just dragging the title bar. Move plugin is loaded.

So, how to move dialogs by their title bars?

.k2600.
February 16th, 2006, 06:50 AM
Like all previous times I tried: Can someone give me the final answer how to handle this problem. I installed the latest fglrx driver from the ati site.

And with fglrxinfo I get:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5642 (8.22.5)

So that's ok. But when I want to run compiz I always get this error message:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

I also got them from the self-compiled version. But with the packages from the repos I still get this message. When I type glxinfo i get:

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_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
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5642 (8.22.5)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_multisample, GL_ARB_occlusion_query, 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_transpose_matrix,
GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ARB_draw_buffers,
GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap,
GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
GL_ATI_texture_env_combine3, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
GL_ATIX_vertex_shader_output_point_size, 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_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, 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_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

And no GLX_EXT_texture_from_pixmap? I saw more people have this problem, but how can it be solved, since also many people have compiz working on their ati card. My card is actually a ATI Mobility Radeon 9700?


Same here.. Installed fglrx (8.22.5) and everything from repos, tried gdm.config and gdm.config-custom altering, tried running with different combos of Xgl and compiz from terminal - always the same:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

The card is Radeon 9800 pro... Xgl can start from terminal, but not from gdm, it just displays same error message like Bou posted earlier. Anyone?

risbac
February 16th, 2006, 06:53 AM
Xgl can start from terminal, but not from gdm, it just displays same error message like Bou posted earlier. Anyone?

Did you try both in display 0 and display 1?

Display 0 should be default in gdm.conf. Then in gdm.conf-custom, make sure you don't try to run Xgl on 1!

Also, please post the error message you have from Xgl. You need first to be able to start Xgl from gdm, then you can have a beer, relax an hour, and try compiz.

Bou
February 16th, 2006, 06:54 AM
Bou, this guide is for the fglrx driver of ATI cards. It says that the Radeon driver MIGHT work, but it's not sure at all. And you are using this radeon driver apparently:

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.1041 (X4.3.0-8.21.7)

I'm quite sure that in your xorg.conf you have a "radeon" driver specified.

So it would be better to first install the fglrx driver, then you can try again to run Xgl.

Not really, here's my corg.conf:

Section "Device"
Identifier "ATI Technologies, Inc. RV280 [Radeon 9200 PRO]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

I have packages xorg-driver-fglrx version 6.9.0-8 and fglrx-kernel-source version 8.21.7 installed, too. If there's no other package I should install, I don't know what to say.

risbac
February 16th, 2006, 07:03 AM
Ok Bou, so you are using fglrx apparently.
Can you post your gdm.conf-custom then?

Bou
February 16th, 2006, 07:05 AM
Sure, I'll copy both .conf and -custom

[servers]
# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
1=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true

[servers]
# These are the standard servers. You can add as many you want here and they
# will always be started. Each line must start with a unique number and that
# will be the display number of that server. Usually just the 0 server is
# used.
#0=Standard
1=Standard

And, well, the error I get, again.

http://img119.imageshack.us/img119/7996/fallo24fu.jpg

risbac
February 16th, 2006, 07:08 AM
Bou, locate Xgl please, confirm us it's really in /usr/bin... It could be in /usr/local/bin.

aamukahvi
February 16th, 2006, 07:18 AM
And Bou, the screencap on your post seems to indicate that you have the :1 there twice i.e. /usr/bin/Xgl :1 :1. Get rid of the other :1. Good luck! Xgl really rocks.

spotk
February 16th, 2006, 07:20 AM
Hi all,
since yesterday, i manage to get thouse famouses Xgl and compiz working on my setup but with no luck...

here is the setup:
Ati X700 with fglrx module rebuilt from latest ati driver :
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X700 Generic
OpenGL version string: 2.0.5642 (8.22.5)


xgl-server , compiz and libs from repos.

when i try to launch xgl , either with gdm stuff or with scripts, it fails loading...
and each time xgl is loaded, fglrxinfo reports mesa drivers instead of Ati one...

here is my xorg Modules and device section:


Section "Device"
Identifier "ATIX700"
Driver "fglrx"
BusID "PCI:1:0:0" # vendor=1002, device=5652
EndSection

Section "Module"
#Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection





And here is the gdm stuff used to launch :

/etc/gdm/gdm.conf is modified with 1=Standard


[servers]
# Override display 0 to use Xgl.
1=Xgl

[server-Xgl]
name=Xgl server
command=/usr/local/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true



If anybody can give me a reason why Mesa is used when Xgl launched ...

Thanks in advance
Spotk

Bou
February 16th, 2006, 07:29 AM
Bou, locate Xgl please, confirm us it's really in /usr/bin... It could be in /usr/local/bin.

I'm so dumb. I was sure I had installed xserver-xgl, but I hadn't.

The thing is, now that the packaged is installed -I double-checked the other ones- Gnome seems to start, but the screen is all screwed up and I can only see lots of colors and the mouse cursor.

Is that supposed to happen? Do I have to add "gnome-window-decorator" and "compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher" for this not to happen, or have they nothing to do?

Thanks and sorry.

EDIT: aamukahvi, you can see my gdm.conf-custom above, there's no repeated :1 (I looked for it too)

aamukahvi
February 16th, 2006, 07:50 AM
I'm so dumb. I was sure I had installed xserver-xgl, but I hadn't.

The thing is, now that the packaged is installed -I double-checked the other ones- Gnome seems to start, but the screen is all screwed up and I can only see lots of colors and the mouse cursor.

Is that supposed to happen? Do I have to add "gnome-window-decorator" and "compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher" for this not to happen, or have they nothing to do?

Thanks and sorry.

EDIT: aamukahvi, you can see my gdm.conf-custom above, there's no repeated :1 (I looked for it too)
Ok, I noticed that, too, but figured that maybe you copied that from a FAQ or something ;) As for the garbled up screen, that shouldn't happen. Once Xgl is installed and configured, everything should be pretty normal. Then starting gnome-window-decorator and compiz just add the icing on the cake, so to say :mrgreen:

risbac
February 16th, 2006, 07:52 AM
Is that supposed to happen?

I don't think so... You can run Xgl without running Compiz. I think it's better to go step by step, run Xgl first, then run Compiz. Apparently your Xgl is not running so fine... Do you have a specific configuration? Like dual monitor?

Bou
February 16th, 2006, 08:03 AM
I don't think so... You can run Xgl without running Compiz. I think it's better to go step by step, run Xgl first, then run Compiz. Apparently your Xgl is not running so fine... Do you have a specific configuration? Like dual monitor?

Nope. Fresh install, nothing special. No dual monitors, no nothing.

zasf
February 16th, 2006, 08:31 AM
I personally discourage running Xgl as primary xserver, since not stable at all. Morevore it's good to test it "the consolle way", see my howto http://battlehorse.homelinux.net/w/Wiki.jsp?page=HowToXglATI.

MrRoboto
February 16th, 2006, 08:37 AM
here we are!

I got Xgl running after installing the latest ATI drivers.

Xgl starts fine, the problem is compiz:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

I own a 9200 Pro

solutions?

DeeZiD
February 16th, 2006, 08:41 AM
@Mr. Roboto

You could try to recompile glitz from cvs.
The newest update contains some fixes for this bug ;)


regards Dennis

risbac
February 16th, 2006, 08:47 AM
solutions?

Did you insist? And sudo it? Personnaly, I need a few attempts to be able to run Compiz on my i850 card... And I think I need a sudo.

gravious
February 16th, 2006, 08:50 AM
I have followed this tutorial and compiz segfaults with with message
compiz.real[5648]: segfault at 0000000000000000 rip 00002aaaab7c47b3 rsp 00007fffff9f1358 error 4

I also have strange artefacts being drawn with Xgl loaded.

MrRoboto
February 16th, 2006, 08:51 AM
thanx for the info.
which is the right --prefix?

risbac
February 16th, 2006, 08:53 AM
Try sudo compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher --replace

Then run gnome-window-decorator

aamukahvi
February 16th, 2006, 08:55 AM
Try sudo compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher --replace
Why sudo?

risbac
February 16th, 2006, 09:00 AM
>Why sudo?

I wish I knew : ) It just didn't work when I tried without... But maybe I didn't try enough?

MrRoboto
February 16th, 2006, 09:01 AM
Try sudo compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher --replace

Then run gnome-window-decorator

with sudo nothing change

Denton
February 16th, 2006, 09:18 AM
Hi, I have ATI X200 IGP, xgl/compiz/glitz from repos, fglrx driver and I changed the symling /etc/X11/X to point to /usr/bin/Xgl.
Everything is running fine, but when I try to start totem or open any directory with nautilus, system will freeze. It happened also when I started Xgl with modified /etc/gdm/gdm.conf-custom without changed /etc/X11/X symlink.
Is it possible to fix the freeze problem?

didit
February 16th, 2006, 09:23 AM
I'm so dumb. I was sure I had installed xserver-xgl, but I hadn't.

The thing is, now that the packaged is installed -I double-checked the other ones- Gnome seems to start, but the screen is all screwed up and I can only see lots of colors and the mouse cursor.

Is that supposed to happen? Do I have to add "gnome-window-decorator" and "compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher" for this not to happen, or have they nothing to do?

Thanks and sorry.

EDIT: aamukahvi, you can see my gdm.conf-custom above, there's no repeated :1 (I looked for it too)

I think your problem is exactly the same with mine. I have ATI M9000 in my laptop. I install Xgl etc from the repro. I even fresh install my Ubuntu from the begining beforehand. What I get is a distorted screen. After digging Google to find some clues, I get some from http://gentoo-wiki.com/HOWTO_XGL and It is pretty sad that a solution is unkown :(

.k2600.
February 16th, 2006, 09:24 AM
Did you try both in display 0 and display 1?

Display 0 should be default in gdm.conf. Then in gdm.conf-custom, make sure you don't try to run Xgl on 1!

Also, please post the error message you have from Xgl. You need first to be able to start Xgl from gdm, then you can have a beer, relax an hour, and try compiz.

Sure, i tried both, error message from Xgl is exactly the same one as seen on photos earlier in post. Except when i start it with "0" from gdm all i get is gray screen with hourglass and nothing happens after that .... If i start it from terminal - compiz says it missing GLX_EXT... and no managable screens found.

Bou
February 16th, 2006, 09:27 AM
I think your problem is exactly the same with mine. I have ATI M9000 in my laptop. I install Xgl etc from the repro. I even fresh install my Ubuntu from the begining beforehand. What I get is a distorted screen. After digging Google to find some clues, I get some from http://gentoo-wiki.com/HOWTO_XGL and It is pretty sad that a solution is unkown :(

It's weird, because I get it WITHOUT using compiz.

aamukahvi
February 16th, 2006, 09:35 AM
>Why sudo?
I wish I knew : ) It just didn't work when I tried without... But maybe I didn't try enough?
Hehe, mysterious. Maybe it's got something to do with the phase of the moon? :p

MrRoboto
February 16th, 2006, 09:36 AM
i've instaled the new glitz from cvs but no luck

MadMan2k
February 16th, 2006, 09:40 AM
its not glitz its compiz and the compiz from the repositories already contains a fix for that..

MrRoboto
February 16th, 2006, 09:57 AM
its not glitz its compiz and the compiz from the repositories already contains a fix for that..


whatever... compiled and installed... no luck

qrlgftrt
February 16th, 2006, 10:12 AM
Hi, I have ATI X200 IGP, xgl/compiz/glitz from repos, fglrx driver and I changed the symling /etc/X11/X to point to /usr/bin/Xgl.
Everything is running fine, but when I try to start totem or open any directory with nautilus, system will freeze. It happened also when I started Xgl with modified /etc/gdm/gdm.conf-custom without changed /etc/X11/X symlink.
Is it possible to fix the freeze problem?

wait for new ati drivers that support xgl and for xgl itself to be more stable...
which knowledgeable people on the forums expect to happen in 3-12 months...
same problems here, it crashes also on resize (ati mobility x600)

kro
February 16th, 2006, 10:29 AM
I think your problem is exactly the same with mine. I have ATI M9000 in my laptop. I install Xgl etc from the repro. I even fresh install my Ubuntu from the begining beforehand. What I get is a distorted screen. After digging Google to find some clues, I get some from http://gentoo-wiki.com/HOWTO_XGL and It is pretty sad that a solution is unkown :(

damned ... i've got the same problem with my T40p (ATI Fire GL inside)
I wish the next version of ocmpiz will solve the bug ...

aamukahvi
February 16th, 2006, 10:45 AM
wait for new ati drivers that support xgl and for xgl itself to be more stable...
which knowledgeable people on the forums expect to happen in 3-12 months...
same problems here, it crashes also on resize (ati mobility x600)
Weird. Maybe the drivers are more stable for the R9500? Mine hasn't crashed once. Not resizing, not nautilus, not totem, not anything. Just one unfortunate Shift + Backspace :p

I have everything from the repos, including the drivers. i386/k7.

mattisking
February 16th, 2006, 11:00 AM
I have a Radeon 9200 SE 128Mb card with acceleration enabled. I followed your instructions up until Step 6. Xgl is running, I'm in gnome but it is sooo slow. I do step 6 and my screen goes black (although I can still see/move my mouse cursor). Also, both Xgl AND Xorg appear to be running. Is this normal? And is my card too low-end for this maybe? I'm on a P4 3GHz with 512 Mb RAM.

I'm still trying to work out the 9200. My secondary PC is a very moderate P4 1.2 Celeron with a Radeon 9200 128 MB. I don't know what kind of overhead Xgl adds to my processor... but my understanding is that Xgl is supposed to "move" the rendering to my video card's 3D hardware so if my Dapper runs great without Xgl (which it does) then theoretically, as long as the video card is up to it, then it should run fine-ish, even on my lower end machine. (It rocks on my high end machine). Unlike you I have so far NOT been able to get my lower end machine with the 9200 to use the fglrx driver for some reason. It just won't... not accelerated anyway. Our 9200 is not meant for use by the fglrx driver... we're supposed to use the "radeon" driver which SPECIFICALLY supports the 9200/9250 (and I think the 9000) for acceleration. There are some pending bugs on the todo list and I honestly think once they are solved, we might get this working properly.

So, I think, though I will continue to try, that you may be out of luck for now with the 9200.

mattisking
February 16th, 2006, 11:07 AM
[server-Xgl]
name=Xgl server
command=/usr/local/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true
[/code]


should be:
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer

mattisking
February 16th, 2006, 11:10 AM
Hi, I have ATI X200 IGP, xgl/compiz/glitz from repos, fglrx driver and I changed the symling /etc/X11/X to point to /usr/bin/Xgl.
Everything is running fine, but when I try to start totem or open any directory with nautilus, system will freeze. It happened also when I started Xgl with modified /etc/gdm/gdm.conf-custom without changed /etc/X11/X symlink.
Is it possible to fix the freeze problem?

Did you try the suggested change in Multimedia Systems Selector for video? Maybe that is related? It's in the "How To"

mattisking
February 16th, 2006, 11:16 AM
here we are!

I got Xgl running after installing the latest ATI drivers.

Xgl starts fine, the problem is compiz:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

I own a 9200 Pro

solutions?

That error, I believe is related to missing patches from MESA. You have some options I think.

First, either use battlehorse debs (they work well) or the universe debs. Don't mix and match. If you tried previously with the battlehorse debs, and want to switch to the universe released ones, make sure you remove (completely - with synaptic or --purge with apt-get) the "mesa" deb (that's exactly how it would show up) and the "xserver" deb... again, don't mess with the xserver-whatever packages but if you installed from battlehorse there will be a plain "xserver" package that needs to be removed to install xserver-xgl from universe.

Another option... switch TO battlehorse debs. Remove universe debs, in particular, xserver-xgl and compiz (the others can stay I think) and install the compiz, mesa, and xserver battlehorse debs. His How-To can help you fix the script changes to get the paths right.

unf
February 16th, 2006, 12:18 PM
unf@~$ compiz.real: Support for non power of two textures missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

Running ATI 9600
direct rendering : yes

Lagging like hell :)

.k2600.
February 16th, 2006, 12:35 PM
unf@~$ compiz.real: Support for non power of two textures missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

Running ATI 9600
direct rendering : yes

Lagging like hell :)

I got that one - while trying to use mesa libs from battlehorse with everything else from repos ...

zachtib
February 16th, 2006, 12:47 PM
ok, im trying again from a fresh install.

should I use the repo fglrx drivers, or the 8.22.5 from ati.com?

and should I use the repo debs or the battlehorse debs?

I know both can work, someone just give me a recommendation

mcduck
February 16th, 2006, 12:55 PM
Thanks for this great how-to. I got Compiz running on a fresh Breezy in 20 minutes :D

I have Radeon 9600 XT, and I installed everything from the repositories. Everything seems fairly stable (about Windows-like stable ;)).

Only thing not working is adjusting window transparency. This (http://en.opensuse.org/Compiz) guide tells to right-click windows's titlebar and select 'Opacity', only I don't have such option. But everyhing looks so sweet anyway so that's not a serious problem.

aamukahvi
February 16th, 2006, 12:55 PM
ok, im trying again from a fresh install.

should I use the repo fglrx drivers, or the 8.22.5 from ati.com?

and should I use the repo debs or the battlehorse debs?

I know both can work, someone just give me a recommendation
I have R9500 and everything from repo. WORKS. Videos are a bit laggy (totem-xine). No crashes.

firetux
February 16th, 2006, 12:56 PM
It appears there may be problems with Mobility users (laptops)

What kind of problems? I have an acer 5024WLMi (x700 mobility):(

aamukahvi
February 16th, 2006, 12:56 PM
Only thing not working is adjusting window transparency. This (http://en.opensuse.org/Compiz) guide tells to right-click windows's titlebar and select 'Opacity', only I don't have such option.
Same here.

mattisking
February 16th, 2006, 01:15 PM
Yeah, I don't have the Opacity either. I'll look into that this evening.

mattisking
February 16th, 2006, 01:16 PM
What kind of problems? I have an acer 5024WLMi (x700 mobility):(

Have you tried it? It doesn't hurt to try and just undo the changes if it doesn't work by undoing the gdm.conf and gdm.conf-custom changes. I only listed this because I have heard from more than one user of problems getting this to work on their X700 or higher mobility. That doesn't mean it won't work for you.

risbac
February 16th, 2006, 01:25 PM
ATI AIW9600 Pro / PIV 2.8Ghz / 1Go
Dapper, Xgl from repo, fglrx driver
Xgl is running with a modified gdm.conf & -custom
I would have said quite stable, but my post was just deleted with a crash : )

To start Compiz, I had to remove "gconf" from the command line.

compiz decoration move resize place switcher wobbly fade minimize cube rotate zoom scale --replace

If I add gconf anywhere in the command, it's failing. I don't know why. All the other plugins are working fine, be careful with the order, you can't change it the way you want, there are some dependencies (some plugins must be loaded before others).

No need of any sudo, you can forget about my previous advise.

So far, it's very smooth, I will talk about the stability after some tests.

mattisking
February 16th, 2006, 01:36 PM
To start Compiz, I had to remove "gconf" from the command line.


Could you check something for me? Use the gconf editor and go to apps. Is there an entry for compiz? There have been reports (I have also seen this on my lower end PC) that sometimes compiz is missing from gconf which would indicate a possible bug in the compiz package. Theoretically, if it IS missing for you, then using the gconf option WOULD fail.

If it IS missing and you have a moment, try uninstalling compiz (completely), install the battlehorse deb (the first one) and see if compiz is now listed under apps with the gconf editor. If it IS, then make the changes from the How-To (putting in the correct order), Upgrade your compiz to the package in universe, add gconf back into your compiz startup command and reboot to see if it starts working with gconf included.

risbac
February 16th, 2006, 02:00 PM
No prob. Yes I have a compiz entry in gconf, but nothing about "plugins" anywhere. I wanted to play with the settings, but except "general", nothing else...

I have the latest compiz from the repo I think (0.0.2-4).

Goon
February 16th, 2006, 02:00 PM
I've followed the tutorial and it (almost) works. Xgl starts, I've got my desktops on a cube but I can't launch any application through the menu. Any idea?

I've used battlehorse packages, maybe I forgot to clean something?

risbac
February 16th, 2006, 02:02 PM
I can't remember who asked, but to move the dialog windows, you can't grab the title bar and move them. The other solution for the moment is to hold the ALT key and move the window by clicking anywhere on it, just like the usual way.

mattisking
February 16th, 2006, 02:13 PM
I've used battlehorse packages, maybe I forgot to clean something?

It's possible. I can drag windows without any trouble. However, the battlehorse debs, in general, install under opt and usr/local/bin so as long as none of your config stuff points to the wrong place you should be ok. There may be left over garbage in gconf maybe?

mattisking
February 16th, 2006, 02:16 PM
No prob. Yes I have a compiz entry in gconf, but nothing about "plugins" anywhere. I wanted to play with the settings, but except "general", nothing else...
I have the latest compiz from the repo I think (0.0.2-4).

If you don't mind trying it out, could you do as I suggested anyway then? I'm curious about trying to get the proper gconf settings in there. On my primary PC I started with battlehorse debs and then switched to Universe as packages became available and I had no trouble... but on my lower end PC I went straight from the repositories and there are no compiz options listed at all under gconf. I will test this myself later on today after work when I'm home but that will be quite a while.

firetux
February 16th, 2006, 02:20 PM
Have you tried it? It doesn't hurt to try and just undo the changes if it doesn't work by undoing the gdm.conf and gdm.conf-custom changes. I only listed this because I have heard from more than one user of problems getting this to work on their X700 or higher mobility. That doesn't mean it won't work for you.


I didn't try it yet.
Its good to know that I can simply undo the changes, probably I'll try it tomorrow, I have plenty of time tomorrow to troubleshoot.:)

btw: thanks a lot for the guide, its exactly what I've been waiting for to try XGL.

zachtib
February 16th, 2006, 02:28 PM
I think your problem is exactly the same with mine. I have ATI M9000 in my laptop. I install Xgl etc from the repro. I even fresh install my Ubuntu from the begining beforehand. What I get is a distorted screen. After digging Google to find some clues, I get some from http://gentoo-wiki.com/HOWTO_XGL and It is pretty sad that a solution is unkown :(

same problem, same card. which fglrxdrivers are you running, and from where?
also, if i try starting compiz without as many plugins, it does start, but the whole screen is black. however, I can tell that some things are working

mattisking
February 16th, 2006, 02:30 PM
same problem, same card. which fglrxdrivers are you running, and from where?
also, if i try starting compiz without as many plugins, it does start, but the whole screen is black. however, I can tell that some things are working

Try just using one or two ... leave out gconf. Maybe just wobbly... though I think wobbly requires something now that it didn't use to.

fluxin
February 16th, 2006, 03:02 PM
Can anyone else confirm that the application open animation runs very poorly under Xgl, I've disabled all of the animations under gconf, but I can't stop the wastebasket animation. Anyone else have this problem?

aamukahvi
February 16th, 2006, 03:07 PM
Can anyone else confirm that the application open animation runs very poorly under Xgl, I've disabled all of the animations under gconf, but I can't stop the wastebasket animation. Anyone else have this problem?
Yes, exactly the same one... And no, can't stop the wastebasket animation.

zachtib
February 16th, 2006, 03:12 PM
Try just using one or two ... leave out gconf. Maybe just wobbly... though I think wobbly requires something now that it didn't use to.

now compiz is thowing the non power of two textures errors again...
ill try some more later, but i have a paper due in less than 24 hours, and I kinda haven't started yet

.k2600.
February 16th, 2006, 03:18 PM
Well, I got xgl to boot with gdm, but compiz still gives:

GLX_EXT_texture_from_pixmap is missing
Failed to manage screen: 0
No managable screens found on display :1.0

So as an experiment i tried glxcompmgr, found a deb for ubuntu somewhere, and
guess what? Same thing:

Couldn't allocate color
Failed to manage screen: 0
No managable screens found on display:1.0

(everything from repos, fglrx 8.22.5, r9800pro ....)
Any ideas?

mattisking
February 16th, 2006, 03:32 PM
Sorry k2600... all I can say is that the problem you are having is VERY common and listed all over google. Anything I've read so far seems to indicate some enum differences between Xgl and mesa. Since I'm using only Universe packages and it works fine I can only think of a couple of scenarios:
1) You have left over pieces on your system from attempts to build and install it yourself in which case a clean install might be something to consider.
2) Somehow universe and battlehorse debs are interfering with one another. If you're using universe debs and at one time used the battlehorse debs, go into synaptic and COMPLETELY remove the battlehorse ones... and vice versa if you're using the battlehorse debs instead of the universe ones.
3) There may be (and likely are) still bugs in the packaging that aren't quite worked out yet and only manifest in certain configurations and situations. A clean install from the beginning is your best bet..

Ultimately this is incredibly cool but still riddled with bugs and work-arounds and no matter how awesome it will be in the future, right now it's really just a novelty until it's had much more time to mature... so reinstalling just for this is only something to consider if you really have the time (and the data backups) to make it worthwhile.

born_confused
February 16th, 2006, 03:35 PM
Ok, not working here either

fglrx 8.22.5

Without the xgl server fglrx loads fine, with it I see this in a printout of dmesg

[4314113.570000] [fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[4314113.570000] [fglrx:firegl_unlock] *ERROR* Process 10875 using kernel context 0
[4314168.547000] [fglrx:firegl_lock_free] *ERROR* lock was not held by 1! (*lock=0x00000000)
[4314168.547000] [fglrx:firegl_unlock] *ERROR* firegl_lock_free failed!
[4314170.826000] [fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[4314170.826000] [fglrx:firegl_unlock] *ERROR* Process 10903 using kernel context 0


My gdm.conf-custom looks like this


[servers]
1=Xgl

[server-Xgl]
name = Xgl server
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible = true


finally, the gdm.conf bit looks like this

[servers]
# These are the standard servers. You can add as many you want here and they
# will always be started. Each line must start with a unique number and that
# will be the display number of that server. Usually just the 0 server is
# used.
#0=Standard
1=Standard


Slightly below that I see


[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0
flexible=true
# Indicates that the X server should be started at a different process
# priority. Values can be any integer value accepted by the setpriority C
# library function (normally between -20 and 20) with 0 being the default. For
# highly interactive applications, -5 yields good responsiveness. The default
# value is 0 and the setpriority function is not called if the value is 0.


ps ax shows this ...


10902 ? S 0:03 /usr/bin/Xgl :1 :1 -fullscreen ...i took out the rest

fluxin
February 16th, 2006, 03:52 PM
Can you check to see if you have a .Xsession anywhere on your computer?


sudo updatedb
locate .Xsession


I'm using locate because I'm unsure of permissions. If you find any rename it .Xsessionbak or something along those lines, then try it.

Ok, not working here either

fglrx 8.22.5

Without the xgl server fglrx loads fine, with it I see this in a printout of dmesg

[4314113.570000] [fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[4314113.570000] [fglrx:firegl_unlock] *ERROR* Process 10875 using kernel context 0
[4314168.547000] [fglrx:firegl_lock_free] *ERROR* lock was not held by 1! (*lock=0x00000000)
[4314168.547000] [fglrx:firegl_unlock] *ERROR* firegl_lock_free failed!
[4314170.826000] [fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[4314170.826000] [fglrx:firegl_unlock] *ERROR* Process 10903 using kernel context 0


My gdm.conf-custom looks like this


[servers]
1=Xgl

[server-Xgl]
name = Xgl server
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible = true


finally, the gdm.conf bit looks like this

[servers]
# These are the standard servers. You can add as many you want here and they
# will always be started. Each line must start with a unique number and that
# will be the display number of that server. Usually just the 0 server is
# used.
#0=Standard
1=Standard


Slightly below that I see


[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0
flexible=true
# Indicates that the X server should be started at a different process
# priority. Values can be any integer value accepted by the setpriority C
# library function (normally between -20 and 20) with 0 being the default. For
# highly interactive applications, -5 yields good responsiveness. The default
# value is 0 and the setpriority function is not called if the value is 0.


ps ax shows this ...


10902 ? S 0:03 /usr/bin/Xgl :1 :1 -fullscreen ...i took out the rest

born_confused
February 16th, 2006, 03:59 PM
just checked, no nothing, I did a restart and that error message seems to have gone. However, fglrxinfo says "Error: unable to open display:0".

zachtib
February 16th, 2006, 04:02 PM
you have to
fglrxinfo -display :1

born_confused
February 16th, 2006, 04:07 PM
I see, well it says


fglrxinfo -display :1
display: :1.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)


now the question is, without xgl fine, with xgl no

and this

/usr/bin/Xgl :1 :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer -auth /var/lib/gdm/:1.Xauth -nolisten tcp vt

repeated :1

fluxin
February 16th, 2006, 04:13 PM
In regards to the wastebasket opening, I removed the applet from the bottom bar, and enabled the desktop icon


gconf-editor
/apps/nautilus/desktop/trash_icon_visible


Double clicking the desktop icon does not cause the animation to happen, this is such a minor thing, but with everything moving so smoothly it's sad to see that poor animation happening

mattisking
February 16th, 2006, 04:29 PM
born_confused

The stuff you see further down is overridden by the settings in gdm.conf-custom.

At any rate, let's see your xorg.conf and what video card do you have?

born_confused
February 16th, 2006, 04:35 PM
born_confused

The stuff you see further down is overridden by the settings in gdm.conf-custom.

At any rate, let's see your xorg.conf and what video card do you have?

I have a radeon 9600 256mb

and heres my xorg.conf file


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbVariant" "uk"
Option "XkbOptions" "qwerty"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Monitor"
Identifier "17'' LCD"
HorizSync 28.0 - 50.0
VertRefresh 43.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
Monitor "17'' LCD"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

fluxin
February 16th, 2006, 04:44 PM
can you do a

grep 'Xgl :1' * -R'

in /etc/gdm and in your home directory

.k2600.
February 16th, 2006, 04:49 PM
[QUOTE=mattisking]Sorry k2600... all I can say is that the problem you are having is VERY common and listed all over google. Anything I've read so far seems to indicate some enum differences between Xgl and mesa. Since I'm using only Universe packages and it works fine I can only think of a couple of scenarios:
1) You have left over pieces on your system from attempts to build and install it yourself in which case a clean install might be something to consider.
2) Somehow universe and battlehorse debs are interfering with one another. If you're using universe debs and at one time used the battlehorse debs, go into synaptic and COMPLETELY remove the battlehorse ones... and vice versa if you're using the battlehorse debs instead of the universe ones.
3) There may be (and likely are) still bugs in the packaging that aren't quite worked out yet and only manifest in certain configurations and situations. A clean install from the beginning is your best bet..

1 and 2 are not an option since i didn't install anything else than debs from repos, and upgraded them. Reinstalled them too, nothing helps. But thanks for your trouble.

P.S.
One more thing - aticonfig didn't do much to my xorg.conf beside
messing with refresh rates so I manually added stuff concerning DDX part, and there was a screen:0 or 1 line in there... Anyone?

born_confused
February 16th, 2006, 04:53 PM
sure

results from home


grep 'Xgl :1' * -R


results from /etc/gdm

grep 'Xgl :1' * -R
gdm.conf-custom:command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer

loulou
February 16th, 2006, 05:10 PM
sorry for my English .....


I use compiz + Xgl on thinkpad T42p (Ati Fire GL T2)

with the fglrx from repository (6.xxx) no pb to use compiz
but with the driver 8.22.5 it's not possible.
I obtain "non power of two textures errors"

Someone try to use a glistz with fglrx patch, maybe this can accelerate XV for movie ???

mattisking
February 16th, 2006, 05:29 PM
born_confused

You may have set yourself up with the fglrx driver but it's not using it for accelerated desktop. It might be that the fglrx driver isn't compatible with your card which means you would theoretically need to use the radeon driver (open source driver) instead. Unfortunately I have been unable to make it work with the radeon driver. The clue is in the response to fglrxinfo you reported:
fglrxinfo -display :1
display: :1.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)

If you look at the how-to you should see that if acceleration is working properly you should get a message in the vendor string about ATI, not Mesa. That's why it's not working for you. I will be looking into this more in depth this evening as my seconday PC has a 9200. I plan to trying to get it running with fglrx (couldn't before) and also with the "radeon" driver again.

born_confused
February 16th, 2006, 05:33 PM
born_confused

You may have set yourself up with the fglrx driver but it's not using it for accelerated desktop. It might be that the fglrx driver isn't compatible with your card which means you would theoretically need to use the radeon driver (open source driver) instead. Unfortunately I have been unable to make it work with the radeon driver. The clue is in the response to fglrxinfo you reported:
fglrxinfo -display :1
display: :1.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)

If you look at the how-to you should see that if acceleration is working properly you should get a message in the vendor string about ATI, not Mesa. That's why it's not working for you. I will be looking into this more in depth this evening as my seconday PC has a 9200. I plan to trying to get it running with fglrx (couldn't before) and also with the "radeon" driver again.

matt, I dont know, if I startx without xgl, everything works fine, it shows fglrx on fglrxinfo, 3d works great, and Ive always used fglrx and play nexuiz regularly, it works fine. Perhaps it isnt set up for it, but ATI say it is, mtippett of ati says it is, and others who have used it say it is.

Ive yet to find someone who has managed it successfully with a 9600. I guess Ill just have to wait.

zachtib
February 16th, 2006, 05:44 PM
matt, I dont know, if I startx without xgl, everything works fine, it shows fglrx on fglrxinfo, 3d works great, and Ive always used fglrx and play nexuiz regularly, it works fine. Perhaps it isnt set up for it, but ATI say it is, mtippett of ati says it is, and others who have used it say it is.

Ive yet to find someone who has managed it successfully with a 9600. I guess Ill just have to wait.

exact same here
fglrx reports correctly in a normal X.org session, but in Xgl it says mesa

born_confused
February 16th, 2006, 05:50 PM
exact same here
fglrx reports correctly in a normal X.org session, but in Xgl it says mesa

well heres another odd thing


lsmod | grep fglrx
fglrx 454476 7
agpgart 34888 2 fglrx,sis_agp


fglrx in use? strange ...

aamukahvi
February 16th, 2006, 05:51 PM
I have a radeon 9600 256mb

and heres my xorg.conf file


yada yada

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

yada yada

Remove those zeroes and tell me if it works ;)

born_confused
February 16th, 2006, 06:13 PM
removed the zeros, still no unfortunately

just tried to rmmod fglrx, well ...

ERROR: Module fglrx is in use

fluxin
February 16th, 2006, 07:12 PM
Is anyone able to run glxgears while in Xgl? I have everything accelerated but glxgears doesn't work at all, just checking to see if that's correct

david.cab
February 16th, 2006, 07:17 PM
exact same here
fglrx reports correctly in a normal X.org session, but in Xgl it says mesa
I've been having exacly the same problem with a X700 Mobile.
Just can't figure out why Xgl doesn't like my fglrx driver... :confused:

fluxin
February 16th, 2006, 07:27 PM
same here, but I'm not sure that's a problem, I could be wrong though

fluxin
February 16th, 2006, 07:57 PM
sure

results from home


grep 'Xgl :1' * -R


results from /etc/gdm

grep 'Xgl :1' * -R
gdm.conf-custom:command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer


Here we go
Restart the computer
when GDM comes up goto a terminal (Alt-F1)
do a
sudo /etc/init.d/gdm stop
wait
do a
killall Xorg
killall Xgl
just in case
now do a
sudo apt-get --reinstall install libgl1-mesa

See if that works

born_confused
February 16th, 2006, 08:04 PM
Here we go
Restart the computer
when GDM comes up goto a terminal (Alt-F1)
do a
sudo /etc/init.d/gdm stop
wait
do a
killall Xorg
killall Xgl
just in case
now do a
sudo apt-get --reinstall install libgl1-mesa

See if that works

unfortunately no, thanks for the help, but I may leave it a while ... Ill see

born_confused
February 16th, 2006, 08:14 PM
just confirm, using dappers repositories, what is the LD_LIBRARY_PATH i am supposed to specify? seeing as fglrx seems to be in use, perhaps its just reporting wrong? I dont know ...

what library is it supposed to see?
If its the mesa libraries why is it when I slocate mesa, not a single one of the results look like library files.

macmasterxiv
February 16th, 2006, 08:27 PM
I'm having the same problem. fglrx in xorg and mesa in xgl. I'm not sure if this matters but I'm using a deb created by the ati-installer v8.22.5

fluxin
February 16th, 2006, 08:32 PM
don't use a LD_LIBRARY_PATH or set it to /usr/lib

born_confused
February 16th, 2006, 08:37 PM
don't use a LD_LIBRARY_PATH or set it to /usr/lib

neither?

well, I get the somewhat common error

GLX_EXT_texture_from_pixmap is missing
Failed to manage screen: 0
No managable screens found on display :1

fluxin
February 16th, 2006, 08:46 PM
Just for fun, stop GDM goto a promp and issue a
apt-get update
apt-get --reinstall install xserver-xgl compiz libgl1-mesa libgl1-mesa-dri libglitz1 libglitz-glx1

born_confused
February 16th, 2006, 08:57 PM
Just for fun, stop GDM goto a promp and issue a
apt-get update
apt-get --reinstall install xserver-xgl compiz libgl1-mesa libgl1-mesa-dri libglitz1 libglitz-glx1

fun? lol

did that, nope, no difference

mattisking
February 16th, 2006, 09:18 PM
Sorry guys. I've been away for a bit and I think I may have mislead you in that last bit. I must have misread myself. born_confused, if fglrxinfo properly identifies itself WITHOUT Xgl running but then reports Mesa WHEN it's running... that is normal. This is because Xgl is currently hard coded to Mesa in this way. You still have to have the fglrx driver working properly FIRST but then it's normal to see Mesa... Let's see if I can find the quote...

born_confused
February 16th, 2006, 09:23 PM
Sorry guys. I've been away for a bit and I think I may have mislead you in that last bit. I must have misread myself. born_confused, if fglrxinfo properly identifies itself WITHOUT Xgl running but then reports Mesa WHEN it's running... that is normal. This is because Xgl is currently hard coded to Mesa in this way. You still have to have the fglrx driver working properly FIRST but then it's normal to see Mesa... Let's see if I can find the quote...

Oh thats fantastic, because then it makes sense
FGLRX is in use while, Xgl is running, and can be removed once its turned off

Now, compiz ... Im using the dapper repositories
if i dont specify paths then it complains that GLX_EXT_texture_from_pixmap is missing. However if I specify the libGL, fglrx one, it complains about support for non power of two textures missing.

born_confused
February 16th, 2006, 09:31 PM
Well looked into the libraries in this website

http://battlehorse.homelinux.net

and in the mesa library there exists libGLw.so

I did an slocate on mine, it doesnt exist ...

at the same time mine has libGLEW.so which doesnt seem to exist in the other sites mesa lib.

macmasterxiv
February 16th, 2006, 09:44 PM
In the case of accel then, Xgl works fine, however it does seem very sluggish; whenever I run the compiz command (with all the extra stuff, after the gnome-window-decorator) all my window borders and panel bars disappear.

captcanuk
February 16th, 2006, 09:58 PM
Here's the low down on ATI and XGL.

Radeon 8x00 and 9[012]00 should probably use the open source driver.

Everyone else, install the driver from repository or download the installer and generate debs (http://wiki.cchtml.com ; click on Ubuntu on the right and follow the full installation guide).

Before you proceed, make sure you have accelerated 3D by typing fglrxinfo and seeing ATI as the vendor.

Install all the fun stuff listed before (glitz, compiz, XGL, libmesa, ...).

Press ctrl-alt-f1 to drop to console and log in as root.
Type: /etc/init.d/gdm stop
to shutdown GDM.

Then type the following to launch Xgl:
/usr/local/bin/Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &

You can now launch glxcompmgr and metacity or just compiz.

If you are having problems with missing extensions, one of two things is wrong - both related to libGL.so.1.2.

How does Xgl work? It's a fully functioning top layer that launches X within itself and handles the calls. What does this mean? It means it uses the 3D driver so it requires a working 3D Driver.

When XGL is running (right now at least), all the OpenGL calls are rerouted through software GL (Mesa). This requires you to point the application you are starting to the correct libmesa installed libGL. DO NOT MOVE your libGL's around if your 3D driver is working. Instead, once inside Xgl, set the LD_LIBRARY_PATH before you launch the app like so:
LD_LIBRARY_PATH=/usr/lib /usr/bin/compiz gconf cube zoom wobbly

If you are having troubles with missing MESA extensions, then type:
locate libGL.so.1.2
and set the LD_LIBRARY_PATH from above to each of the directories that contain that file and try launching compiz or glxcompmgr. Also make sure that each of the directories you do that with also have 2 symlinks pointing to libGL.so.1.2 - one name "libGL.so" and one name "libGL.so.1".

Because of the usage of Mesa libGL, typing fglrxinfo from inside Xgl results in Mesa as the renderer (expected!).

I also found that one of the older tutorials stated you should copy the /usr/lib/libGL.so.1.2.fglrx to a new directory and set the LD_LIBRARY_PATH to that new directory (try this if all else fails).


Now I just have to figure out why compiz won't draw my window decorations via gnome-window-decorator and why my shortcut keys aren't actually activating expose/zoom/rotate like they once did!

born_confused
February 16th, 2006, 10:06 PM
well, taking on board what you have said, I have tried specifying the fglrx libGL.so.1.2 as mentioned earlier

this is what I get specifying the /usr/lib where theres another libGL.so.1.2


/usr/lib$ compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1

/usr/lib$ glxinfo -display :1 | grep GLX_EXT_texture_from_pixmap
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap



and with the fglrx path


compiz.real: Support for non power of two textures missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1

zachtib
February 16th, 2006, 10:30 PM
upgrade to fglrx 8.22.5, still n oluck. tried the fglrx-glitz package from battlehorse, no good. this is really startingto annoy me. cant wait to go home this weekend and try this on my nvidia computer

.k2600.
February 17th, 2006, 01:37 AM
Look at this command output:

glxinfo | grep GL_EXT_texture
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, 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,

There is no GLX_EXT_texture_pixmap. Running 8.22.5 with ati's libGL.so.1.2 ... ??
And libgl1-mesa points to same place: /usr/lib/libGL.so.1.2 where ati installer put it's libGL.so.1.2. Tried
manually replacing it with one from libgl1-mesa - result is that xgll won't start anymore...

aamukahvi
February 17th, 2006, 02:55 AM
just confirm, using dappers repositories, what is the LD_LIBRARY_PATH i am supposed to specify? seeing as fglrx seems to be in use, perhaps its just reporting wrong? I dont know ...

what library is it supposed to see?
If its the mesa libraries why is it when I slocate mesa, not a single one of the results look like library files.
I told you to remove the zeroes because I don't have them in my conf. Sorry it didn't work.
LD_LIBRARY_PATH? I didn't specify any library paths and it works just fine.
Are you sure you changed the 0 to 1 in gdm.conf? Like this:
#0=Standard
1=Standard

mattisking
February 17th, 2006, 10:53 AM
Guys.... updates to mesa and xserver-xgl have been accepted. It's just a matter of time until they hit the repos, probably sometime today. There are some comments in the updates that seem like they may fix this problem for some of you, so stay tuned.

aamukahvi
February 17th, 2006, 11:02 AM
Guys.... updates to mesa and xserver-xgl have been accepted. It's just a matter of time until they hit the repos, probably sometime today. There are some comments in the updates that seem like they may fix this problem for some of you, so stay tuned.
Nice. What does the MANUALDEPWAIT state mean on Xgl_i386? Is it waiting until Mesa is built? Or some other dependencies? EDIT: I guess not. Mesa is already built.

thekiller
February 17th, 2006, 11:05 AM
I tried to install the latest fglrx driver from ati's website, and first it complained about not been able to find a matchin directory 'x700' for the current xorg server (7.0.0, of course). I corrected that according to the help given within the error and overrode it with 'x690' (xorg6.9.0). I preferred the automatic install, and from the gui it seemed like everything was installed. However, when i checked the logs, it complained about not been able to pre-compile the kernel module. I overlooked that, and instead tried to use "aticonfig" as was suggested in ATI's gui. And waala, no aticonfig found !!!
I used the same installer over 5 times, to get aticonfig recognized. Eventually, I had that available after 5-6 tries. And when I ran it, it just said "Found a fglrx device section in /etc/X11/xorg.conf" and that was it. I checked xorg.conf and there were fancy ati weirdo thingies written all over my xorg.conf which made me think, it indeed did something. Anyway, I rebooted yada yada yada....installed everything else needed for my 3D to work, but the damn thing didnt work. Am i cursed or what ? lol....I tried both Nvidia (of course the older version) and ATI (9000 Radeon), and my eventual step using both these methods was to :

apt-get remove ... .... .... .... .... .... .... .... ....

cantas
February 17th, 2006, 11:18 AM
Hi,
is compiz working with Mobility 9000?
I installed it, everything seems to be fine, but all I get is a Gnome desktop (after login) which is completely messed up, and it reminds me of the same problem there is between radeonfb and fglrx (the desktop is split into many tiles and they are all mixed up).

Any clue?

Stefano

zachtib
February 17th, 2006, 11:22 AM
Hi,
is compiz working with Mobility 9000?
I installed it, everything seems to be fine, but all I get is a Gnome desktop (after login) which is completely messed up, and it reminds me of the same problem there is between radeonfb and fglrx (the desktop is split into many tiles and they are all mixed up).

Any clue?

Stefano

not for me, yet

Bou
February 17th, 2006, 12:04 PM
updates to mesa... seem like they may fix this problem for some of you

Is the mesa update for us who can't even start Xgl, or for compiz only?

aamukahvi
February 17th, 2006, 12:20 PM
I just installed the new mesa and the desktop seems to respond better. Snappier.

EDIT: Also tried on my other comp w/ R8500. No dice. Just a garbled screen with lots of odd bright colours.

MrRoboto
February 17th, 2006, 12:22 PM
I just installed the new mesa and the desktop seems to respond better. Snappier.


interesting...

but I get this stupid error!

E: /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu6_i386.deb: impossibile creare `./usr/lib/libGL.so.1.2'

aamukahvi
February 17th, 2006, 12:27 PM
interesting...

but I get this stupid error!

E: /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu6_i386.deb: impossibile creare `./usr/lib/libGL.so.1.2'
Have you tried removing and reinstalling the package? You have installed everything from the repos, right?

MrRoboto
February 17th, 2006, 12:28 PM
Have you tried removing and reinstalling the package? You have installed everything from the repos, right?

yes I did, but if I click ok it will try to remove half of the system :D

fluxin
February 17th, 2006, 12:42 PM
do a apt-get --reinstall install, that will keep it from removing everything!

MrRoboto
February 17th, 2006, 12:44 PM
do a apt-get --reinstall install, that will keep it from removing everything!

did already... same error :(

superm1
February 17th, 2006, 12:54 PM
Updated mesa libs still doesn't help this problem:

supermario@portablemario:~$ compiz --replace
compiz.real: Support for non power of two textures missing

Corrosionx
February 17th, 2006, 01:15 PM
I tried everything here, and finally everything stopped working, my aptitude has problems with libfreetype.so.6 and libgtk2.0 and libgtk2.0-bin are ruined, immodules gives me errors when doing dpkg --configure -a

... man that's gonna be cool when it works but now it's hair pulling time...

CHUCKYCHUCK
February 17th, 2006, 03:38 PM
hi ! i'm not a dapper drake user, but i just would like to know if xgl will be able to run on my computer

P4 3Ghz
512 Ram
ATI M 9700 128 Mb

it was said that we should have a 9800 card minimum, but do you think it's gonna run on my laptop ??

thank you

aamukahvi
February 17th, 2006, 03:45 PM
hi ! i'm not a dapper drake user, but i just would like to know if xgl will be able to run on my computer

P4 3Ghz
512 Ram
ATI M 9700 128 Mb

it was said that we should have a 9800 card minimum, but do you think it's gonna run on my laptop ??

thank you
That should work just fine. I have the R9500 and everything is smooth except "starting apps animation" (can be disabled) and videos. Oh, and resizing. But that's common to all ATI cards because of the drivers.

fluxin
February 17th, 2006, 04:11 PM
Not only common to ATI, All the cards have slow resizing basically. I don't think that the 9500 is really any slower in regards to anything, it's just some of the small quirks that happen with Xgl, (the slow animation, movies, etc...) You are disabling XV video acceleration so it's going to be slow (unless your cpu can handle it)

CHUCKYCHUCK
February 17th, 2006, 04:34 PM
That should work just fine. I have the R9500 and everything is smooth except "starting apps animation" (can be disabled) and videos. Oh, and resizing. But that's common to all ATI cards because of the drivers.

thx,
now we just have to hope that ati will release better drivers ... :)

bye

fluxin
February 17th, 2006, 05:02 PM
Anyone able to run gnome-xchat under Xgl?

aamukahvi
February 17th, 2006, 05:15 PM
Not only common to ATI, All the cards have slow resizing basically. I don't think that the 9500 is really any slower in regards to anything, it's just some of the small quirks that happen with Xgl, (the slow animation, movies, etc...) You are disabling XV video acceleration so it's going to be slow (unless your cpu can handle it)
I stand corrected :) The xv-problem is actually my main gripe. I hate switching back to metacity just to watch the weekly episode of LOST. 8-[

fluxin
February 17th, 2006, 05:24 PM
Have you disabled XV under gstreamer-properties? If not try that, you won't be pumping textures through XV to xgl then, it might help a bit.

aamukahvi
February 17th, 2006, 05:28 PM
Have you disabled XV under gstreamer-properties? If not try that, you won't be pumping textures through XV to xgl then, it might help a bit.
Yes, I did that when enabling Xgl. Since then I've tried all possible settings but they're no different.

fluxin
February 17th, 2006, 05:32 PM
So is anyone able to run any 3d apps once compiz is running under xgl? i.e. fgl_glxgears, glxgears, etc...

aamukahvi
February 17th, 2006, 05:39 PM
So is anyone able to run any 3d apps once compiz is running under xgl? i.e. fgl_glxgears, glxgears, etc...
fgl_glxgears doesn't seem to start, and glxgears doesn't show the gears, just black background.

fluxin
February 17th, 2006, 05:47 PM
okay, same thing here

born_confused
February 17th, 2006, 06:01 PM
well, just upgraded, same problem exactly, its something else. I tried compiz without the LD_ stuff ... same thing

I just dont get it ... Xgl loads, it seems to be using fglrx, I see the mesa extension in glxinfo, yet it still complains about it

fluxin
February 17th, 2006, 06:15 PM
I stand slightly corrected, it appears that with an Nvidia card you can keep XV
I stand corrected :) The xv-problem is actually my main gripe. I hate switching back to metacity just to watch the weekly episode of LOST. 8-[

Rob2687
February 17th, 2006, 08:34 PM
Has anyone gotten this to work with older ATI cards using the open source "radeon" drivers?
The suse page says it kinda works but with no Pbuffer or FBO support. Everytime I try to start it, it says
Fatal server error:
no screens found

mattisking
February 18th, 2006, 12:12 AM
I'm going to try again this weekend on my lower end system that includes a Radeon 9200. If I get anywhere with it, all of that will be added to the "How To".

mattisking
February 18th, 2006, 12:24 AM
Updated mesa libs still doesn't help this problem:
compiz.real: Support for non power of two textures missing

The How-To was recently updated... take a look at the line for launching Xgl in the gdm.conf-custom file in the How-To. I've changed the last parameter from perror to fbo... something that others have shown seems to work more often for some users. I tried it myself and didn't notice much. It's worth a shot anyway.

superm1
February 18th, 2006, 12:58 AM
The How-To was recently updated... take a look at the line for launching Xgl in the gdm.conf-custom file in the How-To. I've changed the last parameter from perror to fbo... something that others have shown seems to work more often for some users. I tried it myself and didn't notice much. It's worth a shot anyway.

You should have seen the look on my face when I read this post, i was so happy to maybe have a fix. Unfortunately it still doesn't go. :(

I did see you also mentioned that many laptop users are having issues. Do you know why its effecting laptop users (and not desktop in that matter). I have a Fire GL T2 128 in my lappie that I use with dapper.

melalcoolique
February 18th, 2006, 01:26 AM
Few words about Xgl and ATI 9200 with "radeon" driver.

1) glxinfo returns me i've no direct rendering. Doh. My login screen (GDM) appears slowly. Through, Gnome and some effects are really smooth. My CPU load is quite high when moving a window (between 20 and 8O%).

2) I've a black screen with Totem and GSTreamer.

3) I noticed I've two compiz running. Running? Hmm not really, one is zombie and the second one is called compiz.real.

4) My keyboard scheme mess up. I tried the following command but so i lose shortcuts for "exposé" and "cube" and some others.

xmodmap /usr/share/xmodmap/xmodmap.fr

5) The cursor theme is not "Human" anymore but the default black Xorg

Any of you could confirm these issues with open radeon drivers. Any tips or tricks? Thank you. Xgl just kick a*s. :mrgreen:

Meta
February 18th, 2006, 01:42 AM
I been having similar problems to what other people have posted and recently have gotten everything to work now. I have a laptop with a Fire GL Mobility T2. I was able to install Xgl and compiz from the repositories and install the latest fglrx drivers which showed up properly under xorg but not Xgl using fglrxinfo. Apparently this is normal I found out. compiz needs the patched mesa libraries but needs the xorg on display 93 to load the fglrx dri modules. Using the mesa libraries from the repositories compiz always complaining about a missing GLX_EXT_texture_from_pixmap extension. Also any opengl application showed an empty window (i.e. glxgears). To get around this I install the mesa library from battlehorse [http://battlehorse.homelinux.net/w/Wiki.jsp?page=Xgl]. Then after setting the LD_LIBRARY_PATH=/opt/mesa/lib, I was able to run compiz and gnome-window-decorator and other opengl programs. However the first time I needed to not include the gconf option to compiz since none of the plugins would load. I had to do it by the command line.

compiz --replace decoration wobbly fade cube minimize rotate zoom scale move resize place menu &

After that I was able to setup the gconf with gconfig-editor. There is some guides to this on the battlehorse site.

Once in a while compiz will still complain about the missing extension but this appears to go away after several tries. I have not been able to start compiz without setting the LD_LIBRARY_PATH to the other mesa package. This leads me to believe the version in the repository is not equivalent.

After getting things to work compiz and Xgl run great. :p The performance and stability appear to be good. Opengl apps like glxgears appear to be slower then with the fglrx libraries in use. I hope someone finds this helpful or points out something that I an not doing correctly.

mattisking
February 18th, 2006, 02:42 AM
Very good infor Meta. I'm glad you managed to get it working for you. The other thread focused on Nvidia cards mentions running compiz multiple times to get it to work... maybe I should add something along those lines but I've never had that problem. It's always worked or not worked for me.

Jonq
February 18th, 2006, 04:58 AM
does any ati x700 users able to run this thing ? i'm keep getting texture missing message, tried everything on forums none of them work, I hope we can find a solution for that asap :D

micampe
February 18th, 2006, 05:21 AM
phew, I went through the painful registration (required birthday?!) just to post this, please appreciate the effort.

If you get the "compiz.real: GLX_EXT_texture_from_pixmap is missing" message, you need to LD_PRELOAD the Mesa libGL.so, because fglrx overwrites it. If you made the debian packages (which you should) it is in /usr/share/fglrx/diversions/, otherwise you need to get it somehow (for example reinstalling the libgl1-mesa package).

For details: http://micampe.it/2006/02/18/ubuntu-fglrx-xgl-compiz-and-missing-glx_ext_texture_from_pixmap

Benjamin_Lebsanft
February 18th, 2006, 05:40 AM
I installed compiz from universe but I don't have any gconf options. /apps doesn't list compiz. This is on amd64, is there something I can do?

aamukahvi
February 18th, 2006, 05:47 AM
Try running compiz once without the gconf, but with all the plugins.
compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
I kinda remember someone saying that would help. :-k

Mysling
February 18th, 2006, 08:21 AM
Hello all! ;)

This is my first post to this forum. I just wanna say thank you for all the help, everything is now working topnotch, except from the video-playback.. Im gonna be sticking around to help people as much as i can, the same way you helped me. :D

Just one question.. The one thing that will make video playback better, is for ati to release new drivers, right? If so, guess i'll just have to wait..

oelph
February 18th, 2006, 08:53 AM
Try running compiz once without the gconf, but with all the plugins.
compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
I kinda remember someone saying that would help. :-k

I can confirm this works. I had no compix options in gconf-editor but after running manually its now there.

Something I'm noticing - when moving windows, it sometimes takes a while for them to 'unblur' and look crisp again. One time the window didn't unblur at all leaving me thinking my eyesight was going!! :D Anyone else found this?

firetux
February 18th, 2006, 09:07 AM
6. Modify your session ("Menu System" -> "Preferences" -> "Sessions") by adding in the following two items:
"gnome-window-decorator" (must be on top, start first)
"compiz --replace gconf"


I dont really understand this: do I need to add these items to "startup progs"?

Benjamin_Lebsanft
February 18th, 2006, 09:32 AM
I can confirm this works. I had no compix options in gconf-editor but after running manually its now there.

Something I'm noticing - when moving windows, it sometimes takes a while for them to 'unblur' and look crisp again. One time the window didn't unblur at all leaving me thinking my eyesight was going!! :D Anyone else found this?
I tried but it doesn't work as compiz doesn't start because XGL isn't running due to some RGB error already mentionend in this thread. Does anyone know a solution for this?

Couldn't open RGB_DB '/usr/share/X11/rgb'

oelph
February 18th, 2006, 09:44 AM
I dont really understand this: do I need to add these items to "startup progs"?

It confused me a bit too. Go to System | Preferences | Sessions. Then click the Startup Programs tab. Click add and type 'compiz --replace gconf' and ok. Click Add again and type 'gnome-window-decorator' and ok. That should do it in the right order. My startup programs look like this:

gnome-window-decorator
compiz --replace gconf
gnome-power-manager
gnome-volume-manager --sm-disable