I upgraded to Linux SDL 1.1.3 from an older version (that came with SuSE 6.3)
and have a problem. SDL won’t choose the correct screenmode, but always
800x600. I have 800x600, 640x480 and 320x240 configured in my X-Server.
This wasn’t a problem with the SDL I had previously installed!
When pressing a key in fullscreen mode, the associated program (XMMS plugin
for example) will crash/exit and then my mousepointer freezes in the middle of
the screen, so that I need to restart the X-Server (svga).
Another problem occurs, when I compile the “testgl” in the test directory, all
other tests work fine. When compiling testgl I get those messages:
gcc -g -O2 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -DHAVE_OPENGL -o testgl testgl.o -L/usr/X11R6/lib -lGL -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
testgl.o: In function RunGLTest': /root/xmms_archives/SDL-1.1.3/test/testgl.c:100: undefined reference toglGetString’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:101: undefined reference to glGetString' /root/xmms_archives/SDL-1.1.3/test/testgl.c:102: undefined reference toglGetString’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:103: undefined reference to glGetString' /root/xmms_archives/SDL-1.1.3/test/testgl.c:120: undefined reference toglViewport’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:121: undefined reference to glMatrixMode' /root/xmms_archives/SDL-1.1.3/test/testgl.c:122: undefined reference toglLoadIdentity’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:124: undefined reference to glOrtho' /root/xmms_archives/SDL-1.1.3/test/testgl.c:126: undefined reference toglMatrixMode’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:127: undefined reference to glLoadIdentity' /root/xmms_archives/SDL-1.1.3/test/testgl.c:129: undefined reference toglEnable’
… and so on
Is it maybe a problem with my OpenGL version?
Compiling & installing the SDL 1.1.3 package works fine, thats the strange
thing! I have a Matrox G100 Productiva and an Voodoo2 Accelerator and with the
older SDL (on the SuSE CD’s) everything worked fine…
I upgraded to Linux SDL 1.1.3 from an older version (that came with SuSE 6.3)
and have a problem. SDL won’t choose the correct screenmode, but always
800x600. I have 800x600, 640x480 and 320x240 configured in my X-Server.
The troubles with the undefined references appear that it can’t find the
gl libraries. I would check to see if the GL library is in an appropriate
directory (in /etc/ld.so.conf or LD_LIBRRAY_PATH).
Hope this helps
Sam ReynoldsOn Thu, 27 Jul 2000, Ralph wrote:
Hello!
I upgraded to Linux SDL 1.1.3 from an older version (that came with SuSE 6.3)
and have a problem. SDL won’t choose the correct screenmode, but always
800x600. I have 800x600, 640x480 and 320x240 configured in my X-Server.
This wasn’t a problem with the SDL I had previously installed!
When pressing a key in fullscreen mode, the associated program (XMMS plugin
for example) will crash/exit and then my mousepointer freezes in the middle of
the screen, so that I need to restart the X-Server (svga).
Another problem occurs, when I compile the “testgl” in the test directory, all
other tests work fine. When compiling testgl I get those messages:
gcc -g -O2 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -DHAVE_OPENGL -o testgl testgl.o -L/usr/X11R6/lib -lGL -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
testgl.o: In function RunGLTest': /root/xmms_archives/SDL-1.1.3/test/testgl.c:100: undefined reference toglGetString’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:101: undefined reference to glGetString' /root/xmms_archives/SDL-1.1.3/test/testgl.c:102: undefined reference toglGetString’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:103: undefined reference to glGetString' /root/xmms_archives/SDL-1.1.3/test/testgl.c:120: undefined reference toglViewport’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:121: undefined reference to glMatrixMode' /root/xmms_archives/SDL-1.1.3/test/testgl.c:122: undefined reference toglLoadIdentity’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:124: undefined reference to glOrtho' /root/xmms_archives/SDL-1.1.3/test/testgl.c:126: undefined reference toglMatrixMode’
/root/xmms_archives/SDL-1.1.3/test/testgl.c:127: undefined reference to glLoadIdentity' /root/xmms_archives/SDL-1.1.3/test/testgl.c:129: undefined reference toglEnable’
… and so on
Is it maybe a problem with my OpenGL version?
Compiling & installing the SDL 1.1.3 package works fine, thats the strange
thing! I have a Matrox G100 Productiva and an Voodoo2 Accelerator and with the
older SDL (on the SuSE CD’s) everything worked fine…
I upgraded to Linux SDL 1.1.3 from an older version (that came with SuSE 6.3)
and have a problem. SDL won’t choose the correct screenmode, but always
800x600. I have 800x600, 640x480 and 320x240 configured in my X-Server.
Yes! It works in windowmode (xmms plugin Infinity0.2) and in fullscreenmode,
after pressing a key, my system freezed badly still showing the last frame of
the plugins output… no way to reset, not even with a jslaunch script
This wasn’t a problem with the SDL I had previously installed!
What version was previously installed?
0.9.9-43 (released 1998) from the SuSE 6.3 release.
It’s just the compiled lib (165kb), no source code.
Is it possible for me to log in and debug the mode detection code?
Not yet, but i’m working on this as i’m every sunday online the whole day.
I’ll tell you when it’s possible and the problems still occur.