LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Segmentation fault when starting xmame (xgl) (https://www.linuxquestions.org/questions/linux-games-33/segmentation-fault-when-starting-xmame-xgl-178162/)

mrwriter 05-05-2004 09:41 AM

Segmentation fault when starting xmame (xgl)
 
The roms seem to load fine, but then I get this,

GLINFO: loaded OpenGL library libGL.so!
GLINFO: loaded GLU library libGLU.so!

GLINFO: OpenGL Driver Information:
vendor: Brian Paul,
renderer Mesa X11,
version 1.5 Mesa 6.0.1
GLINFO: GLU Driver Information:
Segmentation fault

Anyone else encountered this problem? Thanks

Hell255 05-25-2004 08:00 PM

I had the same problem.
I started vasara/ vasara2 / raystorm ... and all gave a sement. fault. Then i switched to xmame.x11 and changed the bit depth to 24 and it worked....
i thinks its a bug in the nvidia drivers... =( or in the xgl implementation

any other sugestion ?

980501427 05-25-2004 08:21 PM

It looks you have installed Mesa3D library, Installing freedesktop's Xlib will cause this problem also. Because of these software modify some X library links.
Make sure using the original X library, libGL.so, libGLU.so, ... etc and with correct links. GOOD LUCK.

Hell255 05-26-2004 03:01 PM

hm.. and how do i change those links.. or how can i check which libGL/libGLU should be used? here is what ive found:
---------------------------------------------------------------------------------------------------------------
Hell-linux:~# find / libGL.so | grep libGL.so
/root/#install-old/NVIDIA-Linux-x86-1.0-5336-pkg1.old/usr/lib/libGL.so.1.0.5336
/root/#install-old/NVIDIA-Linux-x86-1.0-5336-pkg1.old/usr/lib/tls/libGL.so.1.0.5336
/usr/lib/tls/libGL.so.1.0.5336
/usr/lib/tls/libGL.so.1
/usr/lib/tls/libGL.so
/usr/lib/libGL.so
/usr/lib/libGL.so.1.0.5336
/usr/lib/libGL.so.1
---------------------------------------------------------------------------------------------------------------
Hell-linux:~# find / libGLU.so | grep libGLU.so
/root/#install-old/winex3.2.1 - doesnt work/usr/lib/transgaming_winex3/winex/lib/libGLU.so.1.3.030501
/root/#install-old/winex3.2.1 - doesnt work/usr/lib/transgaming_winex3/winex/lib/libGLU.so
/root/#install-old/winex3.2.1 - doesnt work/usr/lib/transgaming_winex3/winex/lib/libGLU.so.1
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3
/usr/lib/libGLU.so
/usr/lib/transgaming_winex3/winex/lib/libGLU.so.1.3.030501
/usr/lib/transgaming_winex3/winex/lib/libGLU.so
/usr/lib/transgaming_winex3/winex/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so.1.3
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so
---------------------------------------------------------------------------------------------------------------
sorry, i'm just a stupid n00b sometimes ;)
:scratch:

980501427 05-27-2004 12:30 AM

My video card is ati radeon. I build the driver (radeon.o) from xfree86 drm instead of linux kernel's driver. If I use Mesa's libGL.so, segment fault! :(
/usr/X11R6/libGL.so -> libGL.so.1.2
/usr/X11R6/libGL.so.1 -> libGL.so.1.2
/usr/X11R6/libGL.so.1.2
/usr/X11R6/libGL.so.1.5.060001
/usr/X11R6/libGLU.so -> libGL.so.1.3
/usr/X11R6/libGLU.so.1 -> libGL.so.1.3
/usr/X11R6/libGLU.so.1.3
/usr/X11R6/libGLU.so.1.3.060001
The libGL.so.1.5.060001 is the Mesa's libGL.so, libGL.so.1.2 is Xfree86's, same as the libGLU.so.
I do not have nv card. I think that you should use libGL.so, libGLU.so, libglx.so with correct links which are from nv driver package.


All times are GMT -5. The time now is 02:06 AM.