Archived

This topic is now archived and is closed to further replies.

Raduprv

Nvidia && RH drivers problem :(

Recommended Posts

First, I am not a total noob to Linux, I worked with it in 2000, for like 6 months, and also did some web stuff (like apache, mysql, php configuration) a while ago. But I didn''t use it lately, and I also never had to do ''fancy'' stuff. I just istalled RH 8.0, because I want to test my game on Linux. It is a SDL/OpenGL game, BTW. Anyway, it worked fine (after doing some minor changes), but it had only about 1-3 FPS, while on Windows it had like at least 15. So, I went to nividia, and downloaded their drivers. First, I downloaded the RPMs, but theywere for a version that ended in .18 and mine ended in .14 (I didn''t know what kernel version I have, because I forgot to write it down, and I had to download the drivers from Windows, since my modem doesn''t work in Linux). Anyway, the nv kernel didn''t work, of course, so I downloaded the tar.gz file and built it from the sources. That worked fine. Well, after tons of crashes, and such (my system was set to login directly in the GUI mode, and the Xconfig file being bad, it crashed my computer every time I booted). Anyway, I managed to fix those things, after hours and hours of RTFMing. Now, when I start X, I get an Nvidia image at the beginning, every lib is isntalled where it is supposed to be (I checked that from the nvidia readme file), the nvidia kernel is loaded, the Xconfig (or whatever it''s name is) is configured exactly like the guys from Nvidia said, and so on. The only problem is that my game exits when it tries to create the OpenGL window, and complains that it can''t do that Any help would be greatly appreciated. Thanks in advance. Height Map Editor | Eternal lands

Share this post


Link to post
Share on other sites
It is loading the GLX module, I also looked in the logs and no errors whatsoever. This is killing me...
Now I downloaded the drivers glx thingy (not the kernel) as tar.gz and I am going to compile them, after I get offline, to see if it works that way (but I don''t have too much hope).

Height Map Editor | Eternal lands

Share this post


Link to post
Share on other sites
quote:
Original post by Raduprv
Now I downloaded the drivers glx thingy (not the kernel) as tar.gz and I am going to compile them, after I get offline, to see if it works that way (but I don''t have too much hope).

If you hadn''t installed the GLX package already, then I can see why it''s failing (it replaces your DRI/Mesa3D OpenGL implementation with NVidia''s). Yes, do that .

Share this post


Link to post
Share on other sites
I did install it, but from RPM. And it was a .18 RPM. After I tried to install it again, after compiling the new kernel, it complained that it is already installed.
But, like I said, the logs look very fine, that glx module loads fine (at least in the logs), etc.

BTW, how can I test if OpenGL is properly installed? I mean, I want something very small, != from my game.

Height Map Editor | Eternal lands

Share this post


Link to post
Share on other sites
quote:
Original post by Raduprv
I did install it, but from RPM. And it was a .18 RPM. After I tried to install it again, after compiling the new kernel, it complained that it is already installed.

I can't help you with RPM issues. BTW: It's a "kernel module," not a "kernel" . If NVidia just used DRI for their drivers, they'd be so much easier (I have no idea if using DRI would force them to open their driver's source, so that may be why they don't)...

quote:
Original post by Raduprv
BTW, how can I test if OpenGL is properly installed? I mean, I want something very small, != from my game.

Try "glxinfo" (spits out information about GLX and OpenGL) or "glxgears" (a small OpenGL application) in a terminal.



[edited by - Null and Void on January 29, 2003 6:05:39 PM]

Share this post


Link to post
Share on other sites
Oops, stooopid me. It turned out that the OpenGL support WAS there, but the Nvidia drivers were unhappy with the fact that I requested a stencil buffer, on the 16 bpp mode. On Windows, that works quite well, even tho it is emulated in software... Same for the Mesa drivers, they don''t complain at all.

Height Map Editor | Eternal lands

Share this post


Link to post
Share on other sites