Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a 3.2GHz P4 processor and 1024GB RAM, so this shouldn't be happening. I have slackware on my box, and installed winex3 on that from a .tgz package. I recently built an LFS on it as well (nearly all packages optimised with -O3 -march=pentium4). On slackware, I have installed GTA: VC, which runs perfectly.
However, when I installed cvswinex (from http://www.linux-gamers.net/modules/...p?articleid=26) on it, then copied the Rockstar Games folder from my slackware winex drive to my LFS cvswinex drive, and tried to run GTA, it ran very slowly - the menu screen ran at about 1fps, and I didnt want to try starting the game. If i try to quit normally, it took AGES, but it was instant if I use alt+f4. I also tried deleting this, and extracting the .tgz file and copying the files from that into my computer, but the same thing happened.
I have tried running it with -use-pthreads no and -- -opengl, but these have no effect. I was not running anything in the background, and had about 800-900mb free ram before and after, and about 600mb free during. I have never seen any of my 2GB swap being used (I followed the 2x your RAM rule). Also, I use GNOME in slackware and XFCE4 in LFS.
Can anyone think what might be causing this, and how to fix it?
EDIT:
The same stuff happens with twm.
It runs faster, but still far too slow, if you put it into 640x480x16.
After trying to start a game, half way through loading the loading bar disappears and a rectangle in the middle of the screen gets greyed, and if press ctrl+alt+f6, and then run free, only 8mb ram was free, and after quitting, only 50mb was free.
My video card is an nVidia GeForce FX 5600, 256MB RAM. I use the nVidia drivers, which don't support DRI. For 3D, I have Mesa-6.0.1 (also optimised) - the 3D xscreensavers work fine. If it matters, I don't think 3D would be necessary for their menu. Perhaps it is though. Mind you, glxgears only gets 600 FPS... That seems bad - what should it be, in your opinion? Anything else you need to know?
Incidentally, any ideas why firefox hangs for a few seconds whenever I try to paste text into it from nedit? (It doesn't paste the text, just hangs)
Firefox has a tricky, shitty, thingy that freezes sometmes for a moment Ok, so, 600fps means you have direct rendering off. (:No, in glxinfo, section direct rendering). I don't have an idea what to do with non dri graphics systems. So you have OpenGL&DirectX support? The thing i can tell you is to check wineX .config. In graphics sections you will find for ex. DRI support etc. Check it, maybe you'll find enything interesting. But why did you try cvswinex, wineX3 from packages was working a, ok. (oh, if you have winex3 .config, comapre it)
i tried cvswinex for several reasons:
a) want to minize pre-compiled packages as it is an LFS
b) package was a slackware package and I wasn't sure how to install it
c) i figured it would run faster if it was optimised
I have no .config, only a config (ie not hidden) (indeed the only .config files on my computer are for the kernel). It is exactly the same as that for slackware, and I couldn't find anything on dri in there (search for dri only yielded drive and drivers etc)
Did u, change ur nvidia config file to wha its supposed to be? Not saying u dont know how to do it, but everyone makes mistakes, meaning try typing "glxinfo" if it comes out, mesa or whatever and not nvidia glx, then go into ur config file (/etc/X11/XFree86Config, or -4. If ur using xorg, then it would be /etc/X11/xorg.conf) down in the section "modules" make sure u have -- Load "glx" -- and take out -- Load "GLcore" and "dri" -- for they seem to conflict with "glx".(but ppl have reported higher frame rates with "dri" loaded, so if u want to experiment go ahead) with "glx". Second go down to where it says, section "Device" i believe it is, and make sure the Driver line says "nvidia", and not "nv" or "vesa". Also if u still think, or know, that its not working, "lsmod" in root (doesnt seem to work with SU in a normal user) and look for nvidia and see if it has a 1, for being used. If it says "0" at the end of the line, then "modprobe nvidia" and that should do it. Reply back if u still have problems, or if I was to slopy on my writing.
Last edited by RHLinuxGUY; 07-29-2004 at 03:59 PM.
Yeah, its not that. However, I just installed tux racer from source and it runs similarly slowly. I just tried adding Load "dri" to my x conf file, but if it does have an effect it's far from sufficient.
If you have slackware 9.1 with package prepared kernel, you should have dri support on, in your kernel. You can always try to get rid of nVidia drivers and try doing everything like it is said here: dri.sf.net/ (get some time to read this then. load "dri" and device "nvidia" should work... i think... Yes I'm sure. I have radeon 9000pro and I installed them simply with dri, changing few lines in my xfree86config...
http://dri.sourceforge.net/cgi-bin/m...tegoryHardware Surely the nVidia drivers would be faster? They're what I'm using on Slackware (with a custom 2.6.6 kernel (which has no DRI options (2.6.6 in general that is (this is a lot of nested brackets)))), and as I said, that is fine... I think I'm going to give up on LFS - there have been a lot of problems, and now I have the experience, I can't see any benefits in continuing using it. I'm thinking of trying BSD and ReactOS... Mind you, fixing this could convert me... I'm with you that DRI is the problem, but I can't see how to fix it.
Well, what do you know? Booted into slack and ran glxinfo - says DRI is up and running... And the glxgears framerate is 2000fps... I just don't know where to go from here...
Wait I'm lost What happened? You menaged to start DRI, right? [you did the simple way, as I said?] You have 2000fps? So, everything's ok? We're done? GTA runs?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.