> > Now, the problem is that I install that XFree86 version: > > > > XFree86 Version 4.2.1 / X Window System > > (protocol Version 11, revision 0, vendor release 6600) > > Release Date: 3 September 2002 > > > > With this version, when I active the DRI with last mentioned r128.o > > driver I get a Segmentation Fault with some applications. I think only > > the applications who need Open GL are crashing. > > Where did you get libGL.so.1.2 and radeon_dri.so from?
I have a Gentoo 1.2 Linux. With the package manager I have installed the new version of XFree86 server. The emerge app downloads, compile and install the package dependences, then I think that libGL and _dri.so dinamic libraryes had been downloaded by the emerge. I can't download the x11-base/xfree-drm modules (they are masked): $emerge -s xfree * x11-base/xfree-drm [ Masked ] Latest version available: 4.2.99.4 Latest version installed: [ Not Installed ] Homepage: http://www.xfree.org Description: Xfree86 Kernel DRM modules Then I have compiled manually the drm-kernel modules from that package: -rw-r--r-- 1 root root 1557870 02-01 18:50 /stuff/kernel/rage128-20021022-linux.i386.tar.bz2 I compile drm packages (i686 compilation) and I only copy the r128.o driver to /lib/modules... (I remove last and I modprobe successfully the new module) -rw-r--r-- 1 root root 120625 02-03 16:32 /lib/modules/2.4.18-xfs/kernel/drivers/char/drm/r128.o All _dri.so and libGL.so.1.2 I think they have been installed by the emerge (i686 compiled): # dir /usr/X11R6/lib/modules/dri/ total 10556 drwxr-xr-x 2 root root 133 02-01 11:46 . drwxr-xr-x 9 root root 4096 01-30 22:15 .. -rwxr-xr-x 1 root root 1707339 01-30 22:15 gamma_dri.so -rwxr-xr-x 1 root root 1493389 01-30 22:15 i810_dri.so -rwxr-xr-x 1 root root 1515684 01-30 22:15 i830_dri.so -rwxr-xr-x 1 root root 1536876 01-30 22:15 mga_dri.so -rwxr-xr-x 1 root root 1536959 01-30 22:15 r128_dri.so -rwxr-xr-x 1 root root 1542162 01-30 22:15 radeon_dri.so -rwxr-xr-x 1 root root 1457672 01-30 22:15 sis_dri.so # dir /usr/lib/opengl/xfree/lib/ total 1116 drwxr-xr-x 2 root root 105 01-30 22:15 . drwxr-xr-x 5 root root 47 01-30 22:15 .. -rw-r--r-- 1 root root 614990 01-30 22:15 libGL.a -rw-r--r-- 1 root root 777 01-30 22:15 libGL.la lrwxrwxrwx 1 root root 12 01-30 22:15 libGL.so -> libGL.so.1.2 lrwxrwxrwx 1 root root 12 01-30 22:15 libGL.so.1 -> libGL.so.1.2 -rwxr-xr-x 1 root root 519209 01-30 22:15 libGL.so.1.2 lrwxrwxrwx 1 root root 12 01-30 22:15 libMesaGL.so -> libGL.so.1.2 > Can you run a client in gdb and provide a backtrace? mmm Them most simple: glxinfo $ glxinfo name of display: :0.0 Segmentation fault $gdb glxinfo (gdb) run Starting program: /usr/X11R6/bin/glxinfo (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...[New Thread 1024 (LWP 20876)] (no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... name of display: :0.0 (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 20876)] 0x400091db in _dl_relocate_object () from /lib/ld-linux.so.2 (gdb) bt #0 0x400091db in _dl_relocate_object () from /lib/ld-linux.so.2 #1 0x4033e374 in dl_open_worker () from /lib/libc.so.6 #2 0x4000ab00 in _dl_catch_error () from /lib/ld-linux.so.2 #3 0x4033e63f in _dl_open () from /lib/libc.so.6 #4 0x403bd387 in dlopen_doit () from /lib/libdl.so.2 #5 0x4000ab00 in _dl_catch_error () from /lib/ld-linux.so.2 #6 0x403bd7d0 in _dlerror_run () from /lib/libdl.so.2 #7 0x403bd3c6 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2 #8 0x4010d0a3 in OpenDriver () from /usr/lib/libGL.so.1 #9 0x4010d554 in register_extensions_on_screen () from /usr/lib/libGL.so.1 #10 0x4010d66c in __glXRegisterExtensions () from /usr/lib/libGL.so.1 #11 0x4010d101 in Find_CreateScreenFuncs () from /usr/lib/libGL.so.1 #12 0x4010d3ba in driCreateDisplay () from /usr/lib/libGL.so.1 #13 0x400f59e0 in __glXInitialize () from /usr/lib/libGL.so.1 #14 0x400f2ce7 in glXGetConfig () from /usr/lib/libGL.so.1 #15 0x400f3409 in glXChooseVisual () from /usr/lib/libGL.so.1 #16 0x0804c0f5 in strcpy () #17 0x40257671 in __libc_start_main () from /lib/libc.so.6 The /usr/lib/libGL are softlinks to /usr/lib/opengl/xfree/lib (Do you need an especial backtrace from any app?) $ dir /usr/lib/libGL* lrwxr-xr-x 1 root root 38 01-30 22:16 /usr/lib/libGL.so -> /usr/lib/opengl/xfree/lib/libGL.so.1.2 lrwxr-xr-x 1 root root 38 01-30 22:16 /usr/lib/libGL.so.1 -> /usr/lib/opengl/xfree/lib/libGL.so.1.2 -rw-r--r-- 1 root root 710028 01-30 22:15 /usr/lib/libGLU.a -rw-r--r-- 1 root root 769 01-30 22:15 /usr/lib/libGLU.la lrwxrwxrwx 1 root root 13 01-30 22:15 /usr/lib/libGLU.so -> libGLU.so.1.3 lrwxrwxrwx 1 root root 13 01-30 22:15 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 -rwxr-xr-x 1 root root 616543 01-30 22:15 /usr/lib/libGLU.so.1.3 The log XFree86.0.log don't say nothing... I suspect from the openGL apps because I can run other apps like opera, gimp, ... and I can't run any Qt app (libqt-mt is compiled with opengl suport). Thnks for advanced -- Jordi Ferrer Plana Computer Vision and Robotics Group University of Girona (SPAIN) Dept. of Electronics, Informatics and Automation Tel. +34 972 418 881 - Fax. +34 972 418 259 web: http://eia.udg.es/~jferrerp - E-mail: [EMAIL PROTECTED] http://llamatron.homelinux.net [EMAIL PROTECTED] "C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg." Bjarne Stroustrup. _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86