PDA

View Full Version : Linux + Legacy 1.30


cogline
August 14th, 2000, 02:02 AM
I've downloaded the linuxversion of Doom Legacy 1.30 and I've tried to get it to run in opengl mode but without success. What di I have to do to get it to work? I've tried llxdoom -opengl and some other combinations.. What would be the correct way?

metzgermeister
August 14th, 2000, 02:44 AM
Actually it should work right out of the box (tar-file?) with "llxdoom -opengl".
If not, it is either a problem with your configuration or a bug in legacy. First I need a thorough description of what happens. Is there an error message? Does it start with SW rendering? DOes it use MesaGL in SW mode? Anything which you consider unusual.
Then I need your configuration: 3D card, X-Server version, OpenGL implementation, Kernel version.
At the moment I have little feedback about how it performs under Linux with OpenGL. On my Voodoo2 it runs, a friend of mine ran it on a TNT2 with XFree4.0 and the NVidia drivers. I heard about running on a Matrox with Utah drivers as well. But I do not have a broad overview of the problems which may come up. I got one report about problems with a Voodoo3 board.
So feel free to tell me your success stories or tragedies ...

Rob

BSElu
August 14th, 2000, 11:50 AM
I encountered the same problems running Legacy 1.30 with linux. My configuration: XFree 3.3.6, Kernel 2.2.14 (SuSE 6.4), Voodoo 3 2000 (16 MB), Mesa 3.1.
On startup I see:

[...]
I_StartupTimer...
I_StartupGraphics...
Using XFree86-VidModeExtension Version 0.8
No default configuration 'mesa3.1' in init file
gd error (glide): Can't find or access Banshee/V3 board
fx Driver: ERROR no Voodoo1/2 Graphics or Voodoo Rush !
HWR_Startup()
HWR_InitPolyPool() : allocating 1024000 bytes
HU_Init: Setting up heads up display.
[...]

After diplaying that, Legacy 1.30 starts in fullscreen gl-mode, but it is damn slow. So the only thing to do, is to get out as quick as possible. http://www.newdoom.com/ubb/smile.gif

But with glLegacy 1.27pre7 it's working, I don't get that "Can't find or access Banshee/V3 board"-message, though I have to be root to get access to my 3d-card. Legacy 1.30 doesn't care, if I'm root or not.

BP
August 14th, 2000, 07:44 PM
I have the same setup as BSElu and got the
exact same behavior with 1.30. I even tried
setting LD_LIBRARY_PATH and various MESA_GLX*
environment variables, but got the same,
"gd error (glide): Can't find or access Banshee/V3 board" error every time...

metzgermeister
August 14th, 2000, 10:15 PM
OK, it seems there is a definite problem with V3 boards. If anyone got it running with a V3, please drop me a note. As 1.29 pre7 is running, I will check all changes between those and come back to you. If you send me a short email to metzgermeister@users.sourceforge.net, I will notify you as soon as I have a result.

Thanks very much for the feedback http://www.newdoom.com/ubb/smile.gif

Rob

metzgermeister
August 15th, 2000, 12:38 AM
BSElu!!

If you want to run as non-root (what I would prefer) you can try to make your user member of the "video" group, which usually owns the /dev/3dfx. With SuSE, just fire up Yast, go to administration, group administration, select group video and add your user http://www.newdoom.com/ubb/smile.gif

BTW: can you try the following to get it running:
export MESA_GLX_FX=fullscreen
export FX_GLIDE_NO_SPLASH=0
llxdoom -opengl

Please report if that works with 1.30 http://www.newdoom.com/ubb/smile.gif

Thanks
Rob

Senteniel
August 15th, 2000, 04:09 AM
I have a Voodoo 3 2000 AGP card whicg works fine with legacy... Some parts look even better than quake 3!

BSElu
August 16th, 2000, 02:14 AM
Metzgermeister:
Oh yes, I thought I did this before. But after updating my SuSE 6.2-system to SuSE 6.4 a new 3dfx-device-driver has been installed and nearly every permission of my /dev-directory has been changed. After that, and even after adding myself to the video-group, to get access to /dev/3dfx, it didn't work. Don't know why...
After compiling and installing an old 3dfx-device-driver (2.5) it's now working again, to get access to my 3dfx-card even as non-root. Thanx for your quick support!
But with Legacy 1.30 it doesn't still work. Even if I set the variables you posted, I get the same error message as before.

CU, Elu

------------------
BerserkRausch

metzgermeister
August 16th, 2000, 11:58 PM
Senteniel: So can you give us your configuration? What's interesting is:

kernel version
Mesa version
XFree version
glide version
/dev/3dfx driver version

and the value of

MESA_GLX_FX
DISPLAY

Thanks a lot
Rob

cogline
August 18th, 2000, 04:27 AM
I got Legacy working in Linux today.. There were some files conflicting with the accelerated NVIDIA drivers I'm using with my TNT2. It's a real mess finding all conflicts with links going everywhere. :-)

Thanks for the efforts of helping me!

metzgermeister
August 18th, 2000, 08:13 AM
Good to hear that!

I found the bug with Voodoo3/Banshee cards and will provide a fix soon. Keep an eye on the news page.

Rob

jago25_98
July 25th, 2002, 10:23 AM
if I do:-
$./llxdoom -opengl -nosound

it runs much slower than software mode.

I believe this is because it is using the wrong

*glx*.so library file and so is experiencing the same problem as a missing .dll on windows.

To find what the name of the library it is using I did:-
$ldd llxdoom

and this gave the output:-

libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4002f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4003e000)
libm.so.6 => /lib/libm.so.6 (0x40106000)
libdl.so.2 => /lib/libdl.so.2 (0x40128000)
libc.so.6 => /lib/libc.so.6 (0x4012c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

OpenGL libraries dont seem to be listed so I'm unsure how to get it to find the right lib.

What is the name of the GL lib that llxdoom uses on linux? Or indeed the .dll on windows?

It seems loads of people are having this problem. If I fix I'll do a quick linuxFAQ for it, the same with "can't find /dev/sequencer" and "musserver: command not found".

jago25_98
July 25th, 2002, 10:24 AM
Remember - it runs with GL but slow

cogline
July 25th, 2002, 11:57 AM
That was a really old thread you dug up :-)

The OpenGL library should be libGL.so and maybe also libGLcore.so. Those are the only libraries used by the Nvidia driver. I do not know how other cards' drivers work. Some cards have support by Mesa, I think, and might work differently while some matrox cards requires a recompile of X too?

But if you are using the nvidia drivers there's no use for mesa and all you need are the drivers from nvidia's site.

Make sure that all your libGL.so links point to the accelerated versions. I had the correct links in /usr/local/lib but I forgot to delete the ones in /usr/X11R6/lib.

llxdoom -opengl should be enough to use OpenGL.

Hurdler
July 25th, 2002, 04:34 PM
you should ldd r_opengl.so instead of llxdoom since it's there that all the calls to ogl (and glx) are done.

------------------
Member of the DooM Legacy Team