PDA

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



Pages : [1] 2 3

mattisking
February 16th, 2006, 08: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, 09:01 AM
Excellent. I will make one for Nvidia. Thanks!

Bou
February 16th, 2006, 10: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, 10: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, 11: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, 11: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, 11: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, 11: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, 12:26 PM
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, 12:27 PM
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, 12:31 PM
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, 12:36 PM
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, 12:41 PM
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, 12:45 PM
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, 12:47 PM
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, 12:50 PM
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, 12:53 PM
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, 12:54 PM
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, 01:03 PM
Ok Bou, so you are using fglrx apparently.
Can you post your gdm.conf-custom then?

Bou
February 16th, 2006, 01:05 PM
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, 01:08 PM
Bou, locate Xgl please, confirm us it's really in /usr/bin... It could be in /usr/local/bin.

aamukahvi
February 16th, 2006, 01:18 PM
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, 01:20 PM
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, 01:29 PM
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, 01:50 PM
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, 01:52 PM
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, 02:03 PM
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, 02:31 PM
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, 02:37 PM
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, 02:41 PM
@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, 02:47 PM
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, 02:50 PM
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, 02:51 PM
thanx for the info.
which is the right --prefix?

risbac
February 16th, 2006, 02:53 PM
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, 02:55 PM
Try
sudo compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher --replace
Why sudo?

risbac
February 16th, 2006, 03:00 PM
>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, 03:01 PM
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, 03:18 PM
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, 03:23 PM
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, 03:24 PM
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, 03:27 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 :(

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

aamukahvi
February 16th, 2006, 03:35 PM
>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, 03:36 PM
i've instaled the new glitz from cvs but no luck

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

MrRoboto
February 16th, 2006, 03:57 PM
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, 04:12 PM
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, 04:29 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 :(

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, 04:45 PM
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, 05:00 PM
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, 05:07 PM
[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, 05:10 PM
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, 05:16 PM
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, 06: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, 06: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, 06: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, 06: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, 06: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, 06: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, 06: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, 07:15 PM
Yeah, I don't have the Opacity either. I'll look into that this evening.

mattisking
February 16th, 2006, 07: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, 07: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, 07: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, 08: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, 08: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, 08: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, 08: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, 08: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, 08: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, 08: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, 08: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, 09: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, 09: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, 09: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, 09: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, 09: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, 09: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, 09: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, 09: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, 10:02 PM
you have to

fglrxinfo -display :1

born_confused
February 16th, 2006, 10: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, 10: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, 10: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, 10: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, 10:44 PM
can you do a


grep 'Xgl :1' * -R'

in /etc/gdm and in your home directory

.k2600.
February 16th, 2006, 10: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, 10: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, 11: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, 11: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, 11: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, 11: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, 11: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, 11: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 17th, 2006, 12:13 AM
removed the zeros, still no unfortunately

just tried to rmmod fglrx, well ...

ERROR: Module fglrx is in use

fluxin
February 17th, 2006, 01:12 AM
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 17th, 2006, 01:17 AM
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 17th, 2006, 01:27 AM
same here, but I'm not sure that's a problem, I could be wrong though

fluxin
February 17th, 2006, 01:57 AM
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 17th, 2006, 02:04 AM
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 17th, 2006, 02:14 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.

macmasterxiv
February 17th, 2006, 02:27 AM
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 17th, 2006, 02:32 AM
don't use a LD_LIBRARY_PATH or set it to /usr/lib

born_confused
February 17th, 2006, 02:37 AM
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 17th, 2006, 02:46 AM
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 17th, 2006, 02:57 AM
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 17th, 2006, 03:18 AM
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 17th, 2006, 03:23 AM
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 17th, 2006, 03:31 AM
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 17th, 2006, 03:44 AM
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 17th, 2006, 03:58 AM
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 17th, 2006, 04:06 AM
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 17th, 2006, 04:30 AM
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, 07: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, 08: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, 04:53 PM
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, 05:02 PM
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, 05:05 PM
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, 05:18 PM
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, 05:22 PM
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, 06: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, 06: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, 06: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, 06: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, 06: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, 06:42 PM
do a apt-get --reinstall install, that will keep it from removing everything!

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

did already... same error :(

superm1
February 17th, 2006, 06: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, 07: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, 09: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, 09: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, 10: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, 10: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, 11:02 PM
Anyone able to run gnome-xchat under Xgl?

aamukahvi
February 17th, 2006, 11: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, 11: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, 11: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, 11: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, 11: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, 11:47 PM
okay, same thing here

born_confused
February 18th, 2006, 12:01 AM
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 18th, 2006, 12:15 AM
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 18th, 2006, 02:34 AM
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, 06: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, 06: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, 06: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, 07: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, 07: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, 08: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, 10: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, 11: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, 11: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, 11: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, 02:21 PM
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, 02:53 PM
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, 03:07 PM
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, 03:32 PM
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, 03:44 PM
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

Obviously the last two lines aren't needed for Xgl/Compiz but just for completeness.

Benjamin_Lebsanft
February 18th, 2006, 03:46 PM
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

Obviously the last two lines aren't needed for Xgl/Compiz but just for completeness.

my list is always ordered alphabetical no matter in which order i put the programs in

aamukahvi
February 18th, 2006, 03:57 PM
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?
do this (from nvidia howto and god knows how many other threads ;)):

Run the command:
gconf-editor

Now go to:
apps>compiz>general>screen0>option

Then turn off the "detect_refresh_rate" option.
Then set the "refresh_rate" to 60

david.cab
February 18th, 2006, 03:59 PM
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
I have a X700 and I've been able to run Xgl and compiz. I had no problems with missing textures.
The only problem I had was that compiz woudn't work. Then I tried removing the 'gconf' option when running it and it worked fine, wobbly and cube effects and all.
Now the only problem remaining is Xgl crashing every 2 minutes or so... :???:

born_confused
February 18th, 2006, 04:13 PM
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

Tried that earlier, I appreciate the post. As stated earlier, I get



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

var
February 18th, 2006, 04:27 PM
I can't find the "apps/compiz/general/all screens/options" in gconf-editor.
how can I fix it?

thanks. :)

oelph
February 18th, 2006, 04:37 PM
Thanks aamukahvi.

Var see the replies on page 16.

born_confused
February 18th, 2006, 04:46 PM
Does this look right? Direct Rendering: No?


DISPLAY=:1 glxinfo | more
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon

spotk
February 18th, 2006, 05:35 PM
Does this look right? Direct Rendering: No?

I'me affraid that not...

Direct Rendering: No , is ok, but as in my case (X700)
GL_{NV,EXT,ARB}_texture_rectangle or the GL_ARB_texture_non_power_of_two extension
is missing from your glxinfo report, and as you know compiz will complain about that.

One question : can success users report if they have this extension loaded while Xgl running ?

i've tested every Driver and mesa libs ( ubuntu fglrx driver, Ati latest one, ubuntu last mesa libs , battlehorse mesa libs) and never have this f... extension loaded under Xgl.

Cheers

Spotk

aamukahvi
February 18th, 2006, 05:42 PM
One question : can success users report if they have this extension loaded while Xgl running ?
I would like to help, but I can't get glxinfo running. Any suggestions?

realjenius
February 18th, 2006, 06:09 PM
Ok, I'm having problems; I'll document here what I have done so far. Let me prefix this by saying that I'm still fairly new to Ubuntu, so I may be missing some obvious things.

I *believe* that my problems are probably coming from the fact I'm using a Mobility (which has been marked as being a potential problem for this approach), however I just want to post here for a sanity check.

I can get XGL running, but it is *very* *slow*.

I have the drivers from ATI's website installed, I'm not sure if those are 'fglrx', or not - they certainly report properly. If not, it would be nice if someone could point me to some instructions for reverting the ATI drivers and getting the FGLRX variety installed.

Ok, first, my Xorg.conf - Note that even though step 1 is to change Xorg.conf, I did not change this from the default configuration from aticonfig --initial because I couldn't find anything to change based on the three threads:


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

(...)

Section "Device"
Identifier "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection


Here is some additional output -
fglrxinfo:


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)


glxinfo:


name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_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


Ok, so far so good. Now, I pulled everything down from the repository:


:~$ sudo apt-get install xserver-xgl compiz libgl1-mesa libgl1-mesa-dri libglitz1 libglitz-glx1
Reading package lists... Done
Building dependency tree... Done
xserver-xgl is already the newest version.
compiz is already the newest version.
libgl1-mesa is already the newest version.
libgl1-mesa-dri is already the newest version.
libglitz1 is already the newest version.
libglitz-glx1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Now I'm ready to try the GDM part of the install. I have tried a configuration on display 0 and display 1; only display 1 worked at all.
gdm.conf


1=Standard
#0=Standard
...
[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0


gdm.conf-custom


[servers]
1=Xgl

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


XGL is installed in /usr/bin/Xgl, and it does work; just poorly!

Ok, now I restart.

At this point my *gut* feeling is that the CPU is doing all of my rendering. My sys-monitor shows the CPU spiking to 100% any time I move, scroll, etc. Here is some diagnostics:

ps ax


4066 ? R 0:06 /usr/bin/Xgl :1 :1 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo -auth /var/lib/gdm/:1.Xauth -nolisten tcp vt7
(...)
4088 tty7 SLs+ 1:08 /usr/bin/Xorg vt7 -auth /tmp/.Xgl-auth-5VgMFE -nolisten tcp -dpms -v -s 0 :93 -terminate


fglrxinfo AFTER XGL startup


~$ fglrxinfo
Error: unable to open display :0


glxinfo AFTER XGL startup


~$ glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon



This print out leads me to believe that I've reverted in some fashion to the Mesa drivers.

Any thoughts/help would of course be appreciated!

jasay
February 18th, 2006, 06:31 PM
I would like to help, but I can't get glxinfo running. Any suggestions?
Probably not helpful, but glxinfo takes a long time to run for in Xgl (~30s). Maybe you just don't give it long enough?:-k Also if you run it from the virtual terminal or whatever alt-ctrl-f1 is called you may need to do something like
DISPLAY=:1 glxinfo

aamukahvi
February 18th, 2006, 06:34 PM
realjenius:

Modify your gdm.conf-custom. You have a line there like this:
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
It should read:
command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer

aamukahvi
February 18th, 2006, 06:37 PM
Probably not helpful, but glxinfo takes a long time to run for in Xgl (~30s). Maybe you just don't give it long enough?:-k Also if you run it from the virtual terminal or whatever alt-ctrl-f1 is called you may need to do something like
DISPLAY=:1 glxinfo
Hehe, seems that 10s was too long for me. I ran it a couple of times but I figured it had stalled so I killed it. ;) Here's the output:

name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon
I am running Compiz at good framerates, definitely HW-accelerated.

superm1
February 18th, 2006, 06:44 PM
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon
So it would appear that this GL_ARB_texture_non_power_of_two really isn't even shown during correct usage. I wonder how compiz manages to use it then?

Can you repeat with

DISPLAY=:1 LD_PRELOAD=/usr/share/fglrx/diversions/libGL.so.1.2 glxinfo

realjenius
February 18th, 2006, 06:45 PM
aamukahvi,

Thanks for the quick response. I have changed the command to use 'pbuffer'; unfortunately it's still slow as all get-out.

born_confused
February 18th, 2006, 06:53 PM
strange, doing the LD_PRELOAD on glxinfo shows it



DISPLAY=:1 LD_PRELOAD=/usr/share/fglrx/diversions/libGL.so.1.2 glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_HP_occlusion_test,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon



The question is, is it possible to append onto Xgl, and how so?

aamukahvi
February 18th, 2006, 07:03 PM
Here's my libGL:

$ locate libGL /usr/lib/xorg/modules/extensions/libGLcore.so
/usr/lib/libGLU.so.1.3.060401
/usr/lib/libGL.so.1.2
/usr/lib/libGLU.so.1
/usr/lib/libGL.so.1
/usr/lib/libGLEW.so.1.3.1
/usr/lib/fglrx/libGL.so.1.xlibmesa
/usr/lib/fglrx/libGL.so.1.2.xlibmesa
/usr/lib/libGLEW.so.1.3


I tried two times, first with /usr/lib/fglrx/libGL.so.1.2.xlibmesa but I didn't get ATI as client. Then I tried with /usr/lib/libGL.so.1.2 which reported ATI. Output:

$ DISPLAY=:1 LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_HP_occlusion_test,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon

$ DISPLAY=:1 LD_PRELOAD=/usr/lib/libGL.so.1.2 glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon

superm1
February 18th, 2006, 07:07 PM
I was just looking through compiz sources to see what its really saying is going on when this error is reported.

Apparantly the Support for non power of two textures can mean 3 different things.

1) Actually doesn't support GL_ARB_non_power_of_two_textures
2) Doesn't support at least one of : GL_NV_texture_rectangle, GL_EXT_texture_rectangle, or GL_ARB_texture_rectangle.
3) For some external reason, the call to determine extensions is being returned as Null before even checking for extensions.

I may just start rebuilding compiz with my own debugging info to figure out which of these is actually the case.

For those curious, I determined that it could be any of these 3 by looking in compiz/src/screen.c at this subsection:


glExtensions = (const char *) glGetString (GL_EXTENSIONS);
if (strstr (glExtensions, "GL_NV_texture_rectangle") ||
strstr (glExtensions, "GL_EXT_texture_rectangle") ||
strstr (glExtensions, "GL_ARB_texture_rectangle"))
s->textureRectangle = 1;

s->textureNonPowerOfTwo = 0;
if (strstr (glExtensions, "GL_ARB_texture_non_power_of_two"))
s->textureNonPowerOfTwo = 1;

if (!(s->textureRectangle || s->textureNonPowerOfTwo))
{
fprintf (stderr, "%s: Support for non power of two textures missing\n",
programName);
return FALSE;
}

superm1
February 18th, 2006, 07:12 PM
Here's my libGL:

$ DISPLAY=:1 LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_HP_occlusion_test,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon

$ DISPLAY=:1 LD_PRELOAD=/usr/lib/libGL.so.1.2 glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1 0 Ncon

So in conclusion here, glxinfo by default is using the /usr/lib/libGL.so.1.2 which explains why these extensions aren't enabled for ATI's GL in Xgl. When using the newer mesa, all of these "missing" extensions are indeed being loaded. Even on my non functioning compiz box, I get all the required extensions loaded with an LD_PRELOAD. Compiz still refuses to agree with this though.

Mysling
February 18th, 2006, 07:39 PM
I *believe* that my problems are probably coming from the fact I'm using a Mobility (which has been marked as being a potential problem for this approach), however I just want to post here for a sanity check.

This is not gonna help much really, just want to tell that i got mine working with a R9700Mobility.. Maybe there's different kinds og R9700's. Once i got the driver working with the right output from fglrxinfo, i just followed this howto step by step, and i didn't encounter any problems.

Maybe a fresh install of dapper would help?

zachtib
February 18th, 2006, 07:46 PM
This is not gonna help much really, just want to tell that i got mine working with a R9700Mobility.. Maybe there's different kinds og R9700's. Once i got the driver working with the right output from fglrxinfo, i just followed this howto step by step, and i didn't encounter any problems.

Maybe a fresh install of dapper would help?
How recently did you do this? i havent tried since the latest updates were added to dapper, about to try again, radeon M9000

Mysling
February 18th, 2006, 07:56 PM
Just yesterday.. Had alot of problems getting my drivers working, but this howto did the trick:

https://wiki.ubuntulinux.org/BinaryDriverHowto/ATI

Says for 9500 or higher though, you might have to find another way.

beskyddaren
February 18th, 2006, 07:57 PM
Just for the record, I'm on a laptop with the ati mobiliti 9700(9800) chip, and everything works great, including no sign of any slow resizes.

My only woe is not being able to play enemy territory (it launches in a window and spits out probably a single frame every two seconds ;-))

born_confused
February 18th, 2006, 08:13 PM
I dont know how much this means but



glewinfo | grep rectangle
GL_ARB_texture_rectangle: OK
GL_EXT_texture_rectangle: OK
GL_NV_texture_rectangle: OK




glewinfo | grep non_power
GL_ARB_texture_non_power_of_two: OK

macmasterxiv
February 18th, 2006, 09:07 PM
I've been having the non_power error also and here is what I got:

jm@jmbox:~ $ glewinfo | grep rectangle
GL_ARB_texture_rectangle: MISSING
GL_EXT_texture_rectangle: OK
GL_NV_texture_rectangle: MISSING


jm@jmbox:~ $ glewinfo | grep non_power
GL_ARB_texture_non_power_of_two: MISSING


I ran all of these commands under the standard xorg. For the record I have a 9800 Pro:

jm@jmbox:~ $ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 Pro Generic
OpenGL version string: 2.0.5642 (8.22.5)

Could OpenGL 2.0 be the issue?

superm1
February 18th, 2006, 09:23 PM
If your going to test with glewinfo, be sure to LD_PRELOAD the right library first.
(/usr/share/fglrx/diversions/libGL.so.1.2)

macmasterxiv
February 18th, 2006, 09:29 PM
If your going to test with glewinfo, be sure to LD_PRELOAD the right library first.
(/usr/share/fglrx/diversions/libGL.so.1.2)

Just did that, same results.

born_confused
February 18th, 2006, 09:32 PM
If your going to test with glewinfo, be sure to LD_PRELOAD the right library first.
(/usr/share/fglrx/diversions/libGL.so.1.2)

yeah, my results were due to doing so.

born_confused
February 18th, 2006, 09:34 PM
Nevermind ...

Tharna
February 18th, 2006, 09:41 PM
I was just looking through compiz sources to see what its really saying is going on when this error is reported.

Apparantly the Support for non power of two textures can mean 3 different things.

1) Actually doesn't support GL_ARB_non_power_of_two_textures
2) Doesn't support at least one of : GL_NV_texture_rectangle, GL_EXT_texture_rectangle, or GL_ARB_texture_rectangle.
3) For some external reason, the call to determine extensions is being returned as Null before even checking for extensions.

I may just start rebuilding compiz with my own debugging info to figure out which of these is actually the case.

For those curious, I determined that it could be any of these 3 by looking in compiz/src/screen.c at this subsection:


I was having the same non power of two problem. Inspired by superm1's background work I tried to build compiz commenting a bit of that out, and got it working (at least in some level, wasnt able to build decoration, so didnt do much testing). Maby others could continue from here, and I'll go to sleep.

macmasterxiv
February 18th, 2006, 10:17 PM
Could OpenGL 2.0 be the issue?

Well, it isn't, I just tried the fglrx 8.20.8 driver which was the last one before opengl 2.0 support. The same extensions were missing.

superm1
February 18th, 2006, 10:32 PM
I've never built a deb from source, so I had a bit of trouble learning about how to get build-deps going and the correct commands to actually build a source deb. It seems that it is failing in both the cases for the test. Actually the call for glGetString is only returning:

GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_draw_range_elements GL_EXT_multi_draw_arrays GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_SGIS_texture_border_clamp GL_SUN_multi_draw_arrays

So, now the real problem is - why does compiz when supplied with the correct libGL still claim that library doesn't contain the necessary extensions?

macmasterxiv
February 18th, 2006, 10:44 PM
So, now the real problem is - why does compiz when supplied with the correct libGL still claim that library doesn't contain the necessary extensions?

I'm not sure compiz is at fault here. Whenever I run Xgl without it, the user interface is incredibly slow as in not even mesa acceleration 2d or 3d. Just the standard metacity max/minimize effects peg the cpu and take 3 seconds to complete. I don't think compiz will perform a miracle and miraculously speed up the ui while turning effects on. Something else is wrong here, at least in my case.

born_confused
February 18th, 2006, 10:52 PM
I'm not sure compiz is at fault here. Whenever I run Xgl without it, the user interface is incredibly slow as in not even mesa acceleration 2d or 3d. Just the standard metacity max/minimize effects peg the cpu and take 3 seconds to complete. I don't think compiz will perform a miracle and miraculously speed up the ui while turning effects on. Something else is wrong here, at least in my case.

hmm, true, as you said metacity is incredibly slow on Xgl

lulin
February 18th, 2006, 10:57 PM
I did a fresh install today from a daily build install cd and followed the howto. Everything went fine, except that including wobbly in the plugins always crashes my system after some seconds/minutes. I'm using a 9600,

Zek
February 18th, 2006, 11:44 PM
hello,

Everything works fine for me, except opengl.

here is the log :



22:26 nicolas@Tux ~% fglrxinfo
Error: unable to open display :0
zsh: exit 255 fglrxinfo

23:14 nicolas@Tux ~% echo $DISPLAY
:1.0
23:14 nicolas@Tux ~%


how do i modify the display from 0 to 1 in fglrx ?

thanks

born_confused
February 18th, 2006, 11:46 PM
hello,

Everything works fine for me, exept opengl.

here is the log :



22:26 nicolas@Tux ~% fglrxinfo
Error: unable to open display :0
zsh: exit 255 fglrxinfo

23:14 nicolas@Tux ~% echo $DISPLAY
:1.0
23:14 nicolas@Tux ~%


how do i modify the display from 0 to 1 ?

thanks

generally its DISPLAY=:1 for fglrxinfo fglrxinfo -display :1

Zek
February 19th, 2006, 12:02 AM
Thanks :)

realjenius
February 19th, 2006, 01:45 AM
Thanks for the responses Mysling and others - it's good to hear the mobility can run it even if only in some configurations.

It looks like maybe I do have the wrong drivers installed; using the binary-driver howto, did you install them via the repo, or from the ATI website?

realjenius
February 19th, 2006, 01:47 AM
I'm not sure compiz is at fault here. Whenever I run Xgl without it, the user interface is incredibly slow as in not even mesa acceleration 2d or 3d. Just the standard metacity max/minimize effects peg the cpu and take 3 seconds to complete. I don't think compiz will perform a miracle and miraculously speed up the ui while turning effects on. Something else is wrong here, at least in my case.

I'm having this same problem with XGL - the max/min effects are extraordinarily slow for me too - it has prevented me from moving forward at all.

Someone else mentioned that they installed the binary drivers from the Wiki binary driver how-to - that's probably my next step...

concept10
February 19th, 2006, 02:57 AM
I need some advice/help from one of you guys. I want to get this installed but not sure which direction to proceed. I have a HP latop ze5570 with an ATI card.

lspci: 0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M

I'm not sure if this will work with XGL. Someone enlighten me, please!

I have been using the default "ati" drivers on Breezy, and I tried to install and reconfigure to the fglrx drivers from Seveas' repo. It did'nt work for me. :cry: I got these errors from /var/log/Xorg.0.log:

(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found

:confused:

Suggestions anyone?? Thanks in advance.

born_confused
February 19th, 2006, 03:02 AM
Well, I reinstalled Dapper. And ... it works. It looks so good, no slow down, the Shadows really help. I just need to get used to it now

.k2600.
February 19th, 2006, 10:00 AM
Did a fresh install, Xorg 7.0 and fglrx 8.22.5 and xgl/compiz from repo, could someone explain this:

root@box:~# glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
---cut

So, finally, there's texture_from_pixmap, but compiz still gives:

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

And when i try LD_PRELOAD=/usr/share/fglrx/diversions/libGL.so.1.2 compiz.real ....
then power_of_two_textures is missing?

Mysling
February 19th, 2006, 12:04 PM
It looks like maybe I do have the wrong drivers installed; using the binary-driver howto, did you install them via the repo, or from the ATI website?

I used those from the repo: sudo apt-get install xorg-driver-fglrx. They should be just fine. I don't think you will get better performance using those from the ATI website.

Shutdownrunner
February 19th, 2006, 01:17 PM
I exactly followed the instructions from the first post, but I get the following problems.
-After modifying gdm.conf, gdm-custom.conf, fglrxinfo says that I don't have direct rendering and so on. Even if if try fglrxinfo --display :1, it still shows that I have indirect mesa...
-Issuing compiz --replace..... causes strange things. The screen looks as if I tried to watch encrypted TV without a decoder. If I don't issue compiz --replace... nothing happens, no cool effects and GNOME works just terribly slow.

I have Radeon 9000 PRO. I don't know. Maybe my xorg.conf is to blame, but you wrote that if fglrxinfo is ok, then no changes to xorg.conf are required.

aamukahvi
February 19th, 2006, 01:45 PM
I have Radeon 9000 PRO. I don't know. Maybe my xorg.conf is to blame, but you wrote that if fglrxinfo is ok, then no changes to xorg.conf are required.
I think it's the drivers. My R8500 has exactly the same symptoms, but R9500 works fine.

zafar
February 19th, 2006, 05:24 PM
Did a fresh install, Xorg 7.0 and fglrx 8.22.5 and xgl/compiz from repo, could someone explain this:

root@box:~# glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
---cut

So, finally, there's texture_from_pixmap, but compiz still gives:

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

And when i try LD_PRELOAD=/usr/share/fglrx/diversions/libGL.so.1.2 compiz.real ....
then power_of_two_textures is missing?

I'm getting the exact same problem.. I don't know what else to try.

d3x7r0
February 19th, 2006, 06:29 PM
Has anyone gotten a radeon 9600pro 256mb to work? It keeps giving me mesa when I type in fglrxinfo in the console :cry:

macmasterxiv
February 19th, 2006, 06:58 PM
I GOT IT WORKING! I was having the non_power bug and after reinstalling dapper with a daily cd, it now works! Previously I was on a breezy-upgraded dapper.

born_confused
February 19th, 2006, 07:11 PM
Has anyone gotten a radeon 9600pro 256mb to work? It keeps giving me mesa when I type in fglrxinfo in the console :cry:

Yup, I do, use the fglrx drivers in repo. Use a clean dapper. :-#

d3x7r0
February 19th, 2006, 08:45 PM
I'm using a clean dapper and the repo version :cry:

Just formated again, gonna try it one more time :?

EDIT:

display: :0.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)

Still the same :(

sephiroth_4
February 19th, 2006, 09:19 PM
GREAT TUTORIAL!~! But I screwed up!


Step 6...I put the quotes in....
I couldn't see the compiz in the gconf-editor so I rebooted...
Machine locks @ login splash.
I assume the quotes have something to do with it ;)
What do I do now to get rid of those quotes and the lockups?

firetux
February 19th, 2006, 10:02 PM
Undo the changes you made in /etc/gdm/gdm.conf-custom.

sephiroth_4
February 19th, 2006, 10:06 PM
Thank you for the quick reply!

So boot with rescue cd and vi those changes in /etc/gdm/gdm.conf-custom?

THANKS AGAIN!

edit...it worked!

BUT....how do I now get rid of the ugly "gnome-win..." and "comiz --repl..." in the sessions options of the sessions editor as the buttons are grey'd out...and I need to re apply those changes in the gdm.conf..

born_confused
February 19th, 2006, 10:07 PM
I'm using a clean dapper and the repo version :cry:

Just formated again, gonna try it one more time :?

EDIT:


Still the same :(

Write down the exact steps you took

zafar
February 19th, 2006, 10:17 PM
Shouldn't an updated breezy to dapper with all updates be the same as a daily dapper?..
Can one of you who moved to a clean dapper install poke around some of the packages like mesa and the driver and see if you notice anything different than you remember with your breezy upgraded to dapper?

d3x7r0
February 19th, 2006, 10:26 PM
ok let's see:
- install dapper flight 4
- upgrade-manager
- sudo apt-get install xorg-driver-fglrx
- sudo nano -w /etc/X11/xorg.conf
- changed driver to fglrx
- ctrl + alt + backspace (restart gnome)
- fglrxinfo

And it gives the same result... I've tried a couple of variations like downgrading the kernel to -14 instead of -15 (that comes in the cd), login in single-user mode to do the steps... you name it. Can't get what's wrong and from the looks of this thread I'm not the only 9600 user with this sort of issue :(

firetux
February 19th, 2006, 10:37 PM
Thank you for the quick reply!

So boot with rescue cd and vi those changes in /etc/gdm/gdm.conf-custom?

THANKS AGAIN!

edit...it worked!

BUT....how do I now get rid of the ugly "gnome-win..." and "comiz --repl..." in the sessions options of the sessions editor as the buttons are grey'd out...and I need to re apply those changes in the gdm.conf..

I just ignored sessions, its greyed out here too.
You could also have rebooted with the rescue option in grub and used "nano -w file.name" (I think nano is easier than vi).
Just undo all changes, normally undoing gdm.conf-custom is enough.

sephiroth_4
February 19th, 2006, 10:45 PM
ok...I hate to do this...
BUT
in the gconf-editor, i don't have the compiz in apps. I ran the app as mentioned on page 16, but to no avail. The services did start up though in the current session I am assuming since it's now listed there.

When Compiz with all options is run, I get compiz.real: No composite extension and then nothing happens.

guyhersh
February 19th, 2006, 10:53 PM
Hey,

Thanks for the guide! Although I'm having a little problem. I'll review what I did.

1. Installed DapperFlight4 from scratch.
2. Modified sources.list file to check universe repositorys.
3. Ran apt-get update, and apt-get upgrade
4. Installed fglrx ati drivers from ubuntu repository.
5. installed all files neccessary listed in step 2 of your guide
6. Followed guide exactly EXCEPT compiz wasnt in gconf-config so i had to run this manually "compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher " and then i was able to edit it in gconf-config.

During that session when i started compiz manually, Xgl worked great.

Then i added "gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher" to active_plugins (didnt see a plugins) under "apps/compiz/general/all screens/options"

It now freezes before signin or while loggin in most of the time. And the time I did get in, there were no toolbars around the windows or anything and I had to run compiz manually again.

Any ideas?

Guy

arrowes
February 19th, 2006, 11:56 PM
Hi, Thanks for all

I have a problem with Xgl, first of all I do this:

1. Installed DapperFlight4
2. Changed the sources and upgraded
3. Installed the ati drivers (I have a Radeon 9600)
4. Steps 1 to 4. I try to start Xgl from gdm but I only see a grey screen and then crashes.

The log shows it:

(EE) fglrx(0): === [R200DALSetControllerConfigForRemap] === CWDDC ControllerSetConfig failed: 6 - 0

Any idea?

jscat
February 20th, 2006, 12:32 AM
Thanks for the how-to. Followed it step by step and works great. The only issue I had was gconf-editor not showing compiz, but that was fixed by the help on page 16 and a reboot. Thanks again.

sephiroth_4
February 20th, 2006, 12:55 AM
Thanks for the how-to. Followed it step by step and works great. The only issue I had was gconf-editor not showing compiz, but that was fixed by the help on page 16 and a reboot. Thanks again.


NOooooo.... I'm gonna try to do some damage, if that doesn't work I'm starting over.
If I come up with anything...I'll be glad to post.

rahmza
February 20th, 2006, 01:25 AM
Hey, forgive me if this problem has been stated here already, but I can't seem to find any information on it. Whenever I use Xgl, it will freeze when opening some programs. Sometimes it happens on gdm before I can even enter a login. Sometimes it will go log all the way in and then freeze when opening a program (firefox oftentimes does it). When it does freeze the entire system locks up and I can't switch to a terminal or anything to do anything.

I'm using a Gateway M460XL Laptop. My fglrxinfo when not running Xgl gives this

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X600 Generic
OpenGL version string: 2.0.5582 (8.21.7)

I followed the full guide at the beginning, except I took out the loading of compiz and gnome-window-decorator and instead added them to a script like in the nvidia guide. I'm also using the latest universe debs.

Any ideas on the problem or the fix?

qrlgftrt
February 20th, 2006, 01:42 AM
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X600 Generic
OpenGL version string: 2.0.5582 (8.21.7)
Any ideas on the problem or the fix?

Hi,
i have the same card and the same problems, on several xgl versions. if you can live without nautilus, firefox and resizing windows, you will be fine...

if there is a fix out there i would like to hear about it, too

guyhersh
February 20th, 2006, 01:46 AM
rahmza, I'm having the same problem. Some times freezes at login, sometimes DURING login. If I do get in it also freezes usually when I start Firefox, and ALWAYS when I click the Exit door shut down icon in the upper right.

Note: I'm using a mobility Radeon x700

Note #2: I'm getting really pissed cuz I cant enjoy the effects on my Desktop OR Laptop. Desktop has x850xt which doesnt work with proprietary fglrx driver (even though release notes say so, many other people have this problem), and now my laptop's video card freezes.

I'm not very happy with ATi ATM..

Kevin
February 20th, 2006, 08:35 AM
Well you had me scared there with the warning about Mobility users, since after using it for a while on nVidia on my desktop, I can't go without it :) But it works flawlessly on my mobility radeon 9600 (the laptop is a Gateway m505)

Everything except videos at anything other than 100% scaling... is there a solution to that yet?

zachtib
February 20th, 2006, 01:39 PM
still getting the corrupted screen when i start compiz, ati m9000

zasf
February 20th, 2006, 01:46 PM
if you can live without nautilus, firefox and resizing windows, you will be fine...

Have you tried to run compiz without the resize plugin enabled?

It's just a hint, I experience the same problems, but had very few time to test it myself.

Roybotnik
February 20th, 2006, 02:48 PM
Hi,
I got xgl and compiz working great on my 9600 mobility after following this guide(thanks!!), but I'm noticing a couple problems and wondering if these are normal.

When I start an app, there is no animation aside from a laggy black outline of the window shooting up, and in order to run compiz I have to use sudo.

Anyone have a clue how to fix these problems? Dunno if these are just known bugs, but thanks for your help =)

Vinterstum
February 20th, 2006, 02:54 PM
Hiya guys,

A couple of things to try if you're having problems:

If 3D acceleration doesn't work but there's no error messages (and fglrxinfo displays ATI), try doing:

export LIBGL_DEBUG=verbose
glxgears

And see if there are any error messages printed out. In my case (Breezy-updated Dapper, with messed up fglrx), I had to copy fglrx_dri.o from something like /usr/share/dri to /usr/X11R6/lib/dri. I don't remember the exact paths, but if there is a complaining error message, you'll figure it out :)


Secondly:
The recipe in the first post didn't work for me (X300 Mobility).
What did work:

*Create an init file somewhere. Say, /usr/bin/startxgl.sh. The init file should be executable, and contain something like:


#!/bin/bash

Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:fbo & sleep 2 && DISPLAY=:1 gnome-session



*Create a file called /usr/share/xsessions/xgl.desktop, containing:

[Desktop Entry]
Encoding=UTF-8
Name=XGl
Exec=/path/to/init/file/here
Icon=
Type=Application


You still need to start compiz and gnome-window-decorator yourself at some point (for example using the method in the original post).

Oh, the above will basically make Xgl appear as a Session option on the login screen (where you select between GNOME, KDE, etc).

EDIT: Updated info after a bit more testing.

qrlgftrt
February 20th, 2006, 03:03 PM
Have you tried to run compiz without the resize plugin enabled?

It's just a hint, I experience the same problems, but had very few time to test it myself.

yes, it did not work very well. I don't remember exactly, but either it kept crashing on resizing or I couldn't resize at all. For now, I'm just updating xgl time after time and wait for the bugs to disappear

Roybotnik
February 20th, 2006, 03:12 PM
I just installed the compiz update that came out today, and now gnome-window-decorator doesn't work =O. Compiz still works but since there arent any window decorations it's kinda useless =X.

locohijo
February 20th, 2006, 03:33 PM
Hey, forgive me if this problem has been stated here already, but I can't seem to find any information on it. Whenever I use Xgl, it will freeze when opening some programs. Sometimes it happens on gdm before I can even enter a login. Sometimes it will go log all the way in and then freeze when opening a program (firefox oftentimes does it). When it does freeze the entire system locks up and I can't switch to a terminal or anything to do anything.

I do also experienced the same with my X600, but it seems that the problem just happened lately after some updates as when I first configured XGL on it, I was able to play for almost about 5 hrs without any problem before I shut down my machine.

I did tried disabling compiz and then used metacity but still I encountered the same problem, I don't believe that there were any recent upgrades to the fglrx driver. Could it be caused by XGL? or fglrx? or both? :-k

I'll try a fresh install of Flight 4 tomorrow morning and will see how things will get by.

baddduh
February 20th, 2006, 04:32 PM
I have glx and compiz installed and everything works fine.
I only don't know how I can make windows transprant and also don't know how I can adapt the percentage en the size of the shade under the windows, can someone explain this to me?

zafar
February 20th, 2006, 06:05 PM
I just installed the compiz update that came out today, and now gnome-window-decorator doesn't work =O. Compiz still works but since there arent any window decorations it's kinda useless =X.


sudo apt-get install compiz-gnome

They apparently seperated the decorators into compiz-kde and compiz-gnome.

fangorious
February 20th, 2006, 07:27 PM
Still with todays compiz update I still don't have any gconf keys. I tried running it manually without the gconf plugin, but I sitll got the error about

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'm using an Ati Mobility FireGL v5000 with the binary fglrx drivers v 8.22.5 installed using mlomker's HOWTO which works fine without the xgl/compiz stuff. When I try running the xgl+compiz stuff, I don't get a window manager or nautilus. Yesterday I didn't even get a panel, so it's improving, but still not really usable. For me.

DeeZiD
February 20th, 2006, 07:31 PM
@fangorious:
As an ATi-user you should start compiz on screen 1.

DISPLAY=:1 compiz --replace .........


regards Dennis

superm1
February 20th, 2006, 07:33 PM
Still with todays compiz update I still don't have any gconf keys. I tried running it manually without the gconf plugin, but I sitll got the error about

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'm using an Ati Mobility FireGL v5000 with the binary fglrx drivers v 8.22.5 installed using mlomker's HOWTO which works fine without the xgl/compiz stuff. When I try running the xgl+compiz stuff, I don't get a window manager or nautilus. Yesterday I didn't even get a panel, so it's improving, but still not really usable. For me. Using xorg-driver-fglrx from the ATI release doesn't add a certain symlink that a lot of people are missing.


sudo ln -s /usr/share/fglrx/diversions/libGL.so.1.2 /usr/lib/fglrx/libGL.so.1.2.xlibmesa

fangorious
February 20th, 2006, 09:03 PM
Using xorg-driver-fglrx from the ATI release doesn't add a certain symlink that a lot of people are missing.

sudo ln -s /usr/share/fglrx/diversions/libGL.so.1.2 /usr/lib/fglrx/libGL.so.1.2.xlibmesa


That at least got nautilus working so I now have a desktop drawn and get a context menu from right-clicking on it. But I still don't get a window manager :(



As an ATi-user you should start compiz on screen 1.

DISPLAY=:1 compiz --replace .........


I thought the error indicated that it tried display 1 and couldn't find a useable screen. I tried updating the startup command in gnome-session-properties to include the --display flag (I don't use the gconf option because I don't have any gconf keys for compiz). Speaking of which, no matter what order I enter startup programs, it always reorders them. they're not alphabetical, but it reorders them the same order every time. See the screenshot for details.



compiz --replace --display :1 decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher


That didn't help. So after in a gnome-terminal I did this



[justin@justinxp ~]
$ pidof compiz
[justin@justinxp ~]
$ pidof gnome-window-decorator
5093
[justin@justinxp ~]
$ pkill gnome-window-decorator
[justin@justinxp ~]
$ pidof gnome-window-decorator
5093
[justin@justinxp ~]
$ kill -9 5093
[justin@justinxp ~]
$ killall gnome-window-decorator
gnome-window-decorator: no process killed
[justin@justinxp ~]
$ gnome-window-decorator

[1]+ Stopped gnome-window-decorator
[justin@justinxp ~]
$ bg
[1]+ gnome-window-decorator &
[justin@justinxp ~]
$ compiz --replace --display :1 gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
[justin@justinxp ~]
$ 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

[justin@justinxp ~]
$ DISPLAY=:1 --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
bash: --replace: command not found
[justin@justinxp ~]
$
[justin@justinxp ~]
$ DISPLAY=:1 compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
[justin@justinxp ~]
$ 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

[justin@justinxp ~]
$ DISPLAY=:1 compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
[justin@justinxp ~]
$ 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

[justin@justinxp ~]
$ pidof compiz
[justin@justinxp ~]
$ pidof gnome-window-decorator
5218

jwolf
February 20th, 2006, 09:26 PM
Using xorg-driver-fglrx from the ATI release doesn't add a certain symlink that a lot of people are missing.


sudo ln -s /usr/share/fglrx/diversions/libGL.so.1.2 /usr/lib/fglrx/libGL.so.1.2.xlibmesa


Thank you this helped enormously. I've now got gnome up and running without corrupting the display, however, I now realize why things are running so choppy.


$ 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)


Well, now I know why things are going so slow. Under X without Xgl, I have no trouble running fglrx (e.g. it displays ATI as the vendor string). What might be changing when moving to Xgl?

born_confused
February 20th, 2006, 09:27 PM
rather than --display isnt it supposed to be

DISPLAY=:1 compiz blah blah blah

franzrogar
February 20th, 2006, 09:30 PM
Hi all,

After trying 1.001 times with 1.002 different methods, the only one that worked for me is this (http://www.ubuntuforums.org/showpost.php?p=753120&postcount=228). I can load Gnome over Xgl :D

My system:
ATI RADEON 9200 RV280 128DDR
xorg fglrx
All debs needed are from universe repo.

But (always there's a *but* :cry: ) I've the following problems:

- Xgl server loads fine (with Gnome) but it's so *s l o w* Any chance to speed it up?
- When I try to load Compiz I get a nice *black* screen (but I can see the cursor :-k and interact with *hidden* stuff but I can't see it :???: ) No matter how many options I selected :-?

The Xorg.0 says nothing interesting:


(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
for instance (BusID PCI:1:0:1) found
(--) Chipset RADEON 9200 (RV280 5961) found
(WW) fglrx(0): board is an unkown third party board, chipset is supported
(WW) fglrx(0): Specified desktop setup not supported:8
(II) fglrx(0): Acceleration enabled


I've configured the screen to 1.

Any idea?

oelph
February 20th, 2006, 09:42 PM
$ 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)


Well, now I know why things are going so slow. Under X without Xgl, I have no trouble running fglrx (e.g. it displays ATI as the vendor string). What might be changing when moving to Xgl?

Its a real shame that we haven't cracked this yet :( So many people seem to be stuck on this one.

fangorious
February 20th, 2006, 09:58 PM
born_confused


rather than --display isnt it supposed to be

DISPLAY=:1 compiz blah blah blah


I tried that in a terminal, scroll down the last code chunk in my post for all the commands I tried, no help.

I setup /etc/gdm/gdm.conf and /etc/gdm/gdm.conf-custom just like the first post says.

d3x7r0
February 20th, 2006, 10:07 PM
Its a real shame that we haven't cracked this yet :( So many people seem to be stuck on this one.
I've been looking into the issue and it looks like the module fglxr_agp is failing to load at boot and that is making dri fail... I've tried to load agpgart, ati-agp, via-agp... you name it. Yet nothing seemed to help :(

I've looked arround the rage3D foruns and a few of these issues have been raised over time and most have been fixed by simply reeinstalling the system or the driver but I can't get it to work...

If anyone wants more info to try and sort it out feel free to ask :cry:

bencrouse
February 20th, 2006, 10:14 PM
im getting the same problem as jwolf, using the latest fgrlx drivers from ati's site and a 9700 radeon. whenever im using Xorg without Xgl, my fglrxinfo output is the ATI string, whenever I enter Xorg with Xgl, I get the MESA stuff, and its really slow. Anybody have a hint on what's causing this?
Thanks
ben

EDIT: So this is a bug?

d3x7r0
February 20th, 2006, 10:16 PM
im getting the same problem as jwolf, using the latest fgrlx drivers from ati's site and a 9700 radeon. whenever im using Xorg without Xgl, my fglrxinfo output is the ATI string, whenever I enter Xorg with Xgl, I get the MESA stuff, and its really slow. Anybody have a hint on what's causing this?
Thanks
ben

EDIT: So this is a bug?
It's meant to be that way, it looks like xgl is hard coded into mesa so it will report mesa when running... Our problem is it's reporting mesa when xgl is NOT running... :(

bencrouse
February 20th, 2006, 10:18 PM
wait...are you sure?

jwolf is reporting the same problem:


Well, now I know why things are going so slow. Under X without Xgl, I have no trouble running fglrx (e.g. it displays ATI as the vendor string). What might be changing when moving to Xgl?

sephiroth_4
February 20th, 2006, 10:29 PM
NOooooo.... I'm gonna try to do some damage, if that doesn't work I'm starting over.
If I come up with anything...I'll be glad to post.

My install with a x600 in my HP zd8000 beasty lappy failed miserably...

I started over and with an nvidia card (el cheapo 6600GT in an old p4 tower) and loaded it without any problems.
poor ati....

Fedup
February 20th, 2006, 10:32 PM
What happened to glitz?
I now get

paul@flight4:~/Desktop$ sudo apt-get install glitz
Reading package lists... Done
Building dependency tree... Done
Package glitz is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package glitz has no installation candidate


:-k

*EDIT* - Well - I've no idea what's going on. After a dist-upgrade Glitz still seems to be missing, but - compiz now works :)
Yaayyyyy!!!

eth8686
February 20th, 2006, 10:39 PM
im getting the same problem as jwolf, using the latest fgrlx drivers from ati's site and a 9700 radeon. whenever im using Xorg without Xgl, my fglrxinfo output is the ATI string, whenever I enter Xorg with Xgl, I get the MESA stuff, and its really slow. Anybody have a hint on what's causing this?
Thanks
ben

EDIT: So this is a bug?
I've got a 9700Pro and am using the fglrx driver from the repos (xorg-driver-fglrx) and it's working very well! fglrxinfo does show Mesa but it still is really fast and nice! :D

Try installing the repo fglrx driver, maybe that might help!

jwolf
February 20th, 2006, 11:19 PM
It's meant to be that way, it looks like xgl is hard coded into mesa so it will report mesa when running... Our problem is it's reporting mesa when xgl is NOT running... :(


Well, that's not exactly my problem. When I am running X without xgl it appears that fglrx is working properly. However, when I add xgl to the mix, and then restart x, something breaks the fglrx driver.

My guess is that it is tied to forcing xgl to run on display :1 as opposed to :0. I would guess that perhaps something is hardcoded in xgl that requires operation on display :0. On the other hand, I could just be guessing.

Hopefully, this problem is resolved with the next ati driver release.