View Full Version : Solution: 8.42.3 openSUSE 10.3 fgl_glxgears
Spooky
11-02-2007, 05:33 PM
Sorry for my bad English...
Since I have installed ATI driver 8.42.3 I couldn't start fgl_glxgears.
"X Error of failed request: GLXUnsupportedPrivateRequest".
Today I found the following bug report:
link (http://ati.cchtml.com/show_bug.cgi?id=843)
With these infos I could create a solution for me.
Solution 1:
export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
or
Solution 2:
Open /usr/X11R6/lib/libGL.so.1.2 with a hex editor and change the string "libGL.so.1.2" to "libGL.so.1". Restart X if necessary. fgl_glxgears should work now.
Spooky
scotsmist
11-03-2007, 10:51 AM
Hi, thanks for sharing your solution.
You have a typo in Solution 1.
export $LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
should be
export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
without the leading $
Spooky
11-03-2007, 11:04 AM
@scotsmist
Yes, you are right.
It's fixed now.
Spooky
chikazuku
11-03-2007, 03:25 PM
Doesn't seem to be working for me.
mfb@linux-morpheus:~> LD_LIBRARY_PATH=/usr/X11R6/lib64:$LD_LIBRARY_PATH fgl_glxgears
Using GLX_SGIX_pbuffer
Segmentation fault
mfb@linux-morpheus:~> LD_LIBRARY_PATH=/usr/X11R6/lib64:$LD_LIBRARY_PATH fgl_glxgears -fbo -info
Using GL_EXT_framebuffer_object
GL_RENDERER = Mesa GLX Indirect
GL_VERSION = 1.4 (2.1 Mesa 7.0.1)
GL_VENDOR = Mesa project: www.mesa3d.org
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_fragment_program GL_NV_light_max_exponent GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
132 frames in 5.0 seconds = 26.400 FPS
120 frames in 5.0 seconds = 24.000 FPS
So, it's using mesa. :( I tried the second solution using KHexEdit, but that resulted in a corrupted SO.
scotsmist
11-03-2007, 03:34 PM
or me :) but thanks for sharing it anyway.
givemesugarr
11-03-2007, 03:58 PM
Open /usr/X11R6/lib/libGL.so.1.2 with a hex editor and change the string "libGL.so.1.2" to "libGL.so.1". Restart X if necessary. fgl_glxgears should work now.
Spooky
this seems the soname error bug. try to see if you have the /usr/lib/libGL.so.1 file. if not symlink this to the /usr/lib/opengl/ati/lib/libGL.so.1.2.
this should fix it without the hex editing or the ldpath.
for what i know fgl_fglxgears is a little bugged. so try using the normal glxgears which is the one included in xorg.
in my case i go from 180fps with fgl to 800 fps with glxgears with ultrastable settings and to 1900fps with ultrabreaking settings.
i preffer the ultra stable since with beryl i get the same 700-800 fps when using them and get only 450-500 fps when using the ultrabreaking ones.
scotsmist
11-03-2007, 06:12 PM
Hi, in my case the files are already linked. I am using the 64 bit version of the OS (openSUSE) so in my case I am talking about /usr/X11R6/lib64
givemesugarr
11-04-2007, 03:43 AM
Hi, in my case the files are already linked. I am using the 64 bit version of the OS (openSUSE) so in my case I am talking about /usr/X11R6/lib64
/usr/lib links to lib64. if you do a ls -l /usr | grep lib you'll see this.
anyway, i should have expected that since that's the only ati supported distro.
anyway i've never experienced problems of that kind with it. i'll have to retry that and see if i get the same error on my opensuse box.
Spooky
11-04-2007, 05:36 AM
It seems that the 32bit and 64bit version of openSUSE 10.3 are different. I doesn't have the directory /usr/lib/opengl.
At the original file you can look with:
objdump -p /usr/X11R6/lib/libGL.so.1.2 | grep SONAME
if the SONAME is wrong or right. In my case was "libGL.so.1.2" before. Therefore the library in /usr/lib was prefered, because fgl_glxgears search for "libGL.so.1". You can compare this with:
ldd /usr/bin/fgl_glxgears
ldd /usr/bin/fgl_glxgears
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb7e74000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d59000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d4a000)
libm.so.6 => /lib/libm.so.6 (0xb7d25000)
libc.so.6 => /lib/libc.so.6 (0xb7bf2000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7bdb000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7bd7000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7bbe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7bba000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7bb6000)
/lib/ld-linux.so.2 (0xb7f1a000)
Spooky
Spooky
11-04-2007, 06:34 AM
Don't remove some bytes. For correct hex edit (I use GHex) you should change:
"libGL.so.1.2"
6C 69 62 47 4C 2E 73 6F 2E 31 2E 32
to
"libGL.so.1 "
6C 69 62 47 4C 2E 73 6F 2E 31 00 00
I don't know in which case it's necessary to patch "libfglrx_dm.so.1.0" and "libfglrx_pp.so.1.0" also.
Spooky
chikazuku
11-04-2007, 07:36 AM
This still results in a corrupted SO for me. I will just wait for 8.43 which will probably fix this.
another solution:
step
1. download latest fglrx driver (8.42.3). Remember where you place it.
2. uninstall your old driver (you can do that via yast->software management), then reboot/restart
3. openSUSE will automatically boot into init 2 (shell). Login as root, type the password.
4. go to ur driver directory.
5. type: 'sh ati-driver-installer-8.42.3-x86.x86_64.run'
6. type: 'aticonfig --initial' (optional--u don't need this line if u use recent fglrx version)
7. reboot
8. see?
oh, and...
I have artifact on bottom right screen while using fglrx 8.42.3. Never have this kind of problem with 8.41.7. So, if you want to install 8.42.3, I suggest you to wait for 8.43.
cheers.:cool:
givemesugarr
11-05-2007, 09:12 AM
6. type: 'aticonfig --initial'
if you've installed once the fglrx you don't need this.
chikazuku
11-05-2007, 12:41 PM
oh, and...
I have artifact on bottom right screen while using fglrx 8.42.3. Never have this kind of problem with 8.41.7. So, if you want to install 8.42.3, I suggest you to wait for 8.43.
cheers.:cool:
I solved this by using this in my xorg.conf under the device section:
Option XAANoOffscreenPixmaps "true"
@chikazuku:
thanks, i'll try tat later. Right now, I'm trying how good this version with 'composite enabled' (in Section "Extensions" ... EndSection). So far so good after adding these line except responsive time that too slow (refresh rate).
@givemesugarr:
yep, forgot to add '(optional)' to point 6---done. thanks.
next task:
enabling compiz/compizfusion (kinda lazy to do this)
scotsmist
11-06-2007, 01:47 AM
I have it working now too. I stumbled across http://dev.compiz-fusion.org/~cyberorg/2007/10/24/ati-8433-on-opensuse-the-hard-way/ and decided to not use the RPM for once and it worked.
Are you using xgl or aiglx as your DISPLAYMANAGER_XSERVER ?
Edit: I spoke too soon. After about 10 minutes the window borders disappear. I read something about this somewhere, lol off to search again.
tried with 'composite enabled': too slow (and draws artifact/garbage at bottom right of my screen sometimes later---about 1 hours or so). turn it off. Then try 'Option "XAANoOffscreenPixmaps" "true"' and, have the exact problem (garbage at bottom right screen).
@chikazuku, have another suggestion? It seems don't work for me.
givemesugarr
11-06-2007, 04:31 AM
'composite enabled' (in Section "Extensions" ... EndSection).
without this on my board compiz/beryl doesn't work.
for me to make compix work i had to add these:
Section "Extensions"
Option "DAMAGE" "true"
Option "RENDER" "true"
Option "Composite" "Enable"
EndSection
these are fundamental for desktop acceleration. the only one not really needed is the render, but if you want 3d hw rendering you need to add it. (this should speed up the 3d desktop)
these are needed in the device section to make the watermak issue disappear:
Option "HWCursor" "On"
Option "CapabilitiesEx" "0x00000000"
Option "XAANoOffscreenPixmaps" "true"
Option "mtrr" "off"
Option "no_accel" "no"
Option "BlockSignalsOnLock" "on"
Option "KernelModuleParm" "locked-userpages=0"
Option "UseFastTLS" "0"
Option "AllowGLXWithComposite" "true"
to make compiz/beryl work i had to put all these options all toghether.
by the way, compiz is pretty unusable.
to make compiz/beryl work i had to put all these options all toghether.
by the way, compiz is pretty unusable.
Yeah, I agree..
and thanks, @givemesugarr, my problem solved with your code.
givemesugarr
11-08-2007, 03:28 AM
and thanks, @givemesugarr, my problem solved with your code.
i'm glad that i was able to help you out.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.