LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-27-2006, 06:23 AM   #1
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
vegastrike 0.4.3 slow


First of all hello.

I downloaded vegastrike 0.4.3 from sourceforge. vegastrike is a 3D spaceflight simulation.

When the title states that the game is slow, that' s an understatement. The specs say that at least 200Mhz of CPU power are needed to play the game. I have an overclocked PII at 395Mhz and a nVidia6 graphic card. So the power for a rudemental, ugly, low or no textures gaming expirience of the finest is there. Bu the game won't cooperate.

First off, the setup utility does not run (segmentation fault). running the "vegastrike.sh --setup" command results in the game being started, nothing more. I manually configured the ~/.vegastrike/vegastrike.conf file to match my system (P200, full_16 colors, nolight, glide mouse).

When I run the program I get one frame... every 13 seconds, whether the image is stationary or not (even inside the docks!).

Any ideas? Am I editing the wrong file? Is there a way to execute this program in wireframe mode so I can veryfy if it is really the graphics giving me the trouble? Or do you know a vegastrike source repository that uses ftp or http for transfer so I can compile it myself (I'm behind a firewall, no cvs support)?
 
Old 03-27-2006, 10:04 AM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,738

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
Are you getting 3D acceleration? If you run
Code:
glxinfo |grep direct
what does it say? What framerate are you getting in glxgears. And in xorg.conf do you have a VideoRam option in your video card device section?

Not sure about the segmentation fault, but does it happen when you don't overclock?

Maybe to get the source you can get the source package from your distro, I know Debian has it.
 
Old 03-29-2006, 06:24 AM   #3
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
direct rendering is diabled, no VideoRam defined. Though my gr-cards drivers are enabled in the kernel They are not loaded as modules. I guess that's the problem. Graphiccard is nVidia Riva TNT (NV4 chip).

I'll try to find the drivers at nVidia and get them running.
 
Old 03-30-2006, 06:43 AM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
My glxgears framerate is 70FPS (average).

the installer of the driver claims that Riva TNT is supported by generic drivers and an installation is not necessary. So, how can I assign direct rendering to my graphic card?
 
Old 03-30-2006, 10:55 AM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,738

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
Might just be a matter of putting the lines
Load "glx"
Load "dri"

in your xorg.conf in section "Module"
 
Old 04-03-2006, 09:05 AM   #6
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
Both entries are already present, nvidia driver is being handled by X.
Just as info, I use X 6.9.

Is there perhaps an option in der "Driver" section (glx_enable = yes or something similar)?

After isntallin X11R6.9 I get a constant glxgears framerate of 78FPS.
 
Old 04-03-2006, 03:37 PM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,738

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
I don't have an nVidia card, but maybe this thread will be of some use: A Guide: Enabling 3D Acceleration in X11
There seems to be something there about nVidia cards not needing DRI.
 
Old 04-13-2006, 04:58 AM   #8
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
I tried to apply the instructions on that page. the "dri" and "glx" modules are loaded, but direct rendering is still not enabled. I tried to compile the nVidia driver, which worked. But the driver, appart from claiming that it is not necessary to compile it because the riva tnt card is supported by generic drivers, also offer the error message "no nVidia device found" when I attempt to insmod it.

At the same time the lspci finds
1:00.0: vga compatible graphic device: nVidia chip revision 04 [Riva TnT]

Now what? Is direct rendering for 3d polygons even supported by my device (2d rendering is enabled, lines and such)?
 
Old 04-13-2006, 12:31 PM   #9
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,738

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
Maybe you should start a new thread, about getting 3d acceleration working, as nobody seems to be looking at this one.
 
Old 04-14-2006, 07:35 PM   #10
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I might have missed it since I read over the thread rather quickly, but I didn't see any where that the proper nvidia driver was downloaded and installed. This is the only way to get hardware acceleration to work with nvidia drivers since they are not open source. Please keep in mind that nvidia stopped supporting the riva TNT at some point so you will need to get an older driver from the archive section.

http://www.nvidia.com/object/linux_display_archive.html

I belive Version: 1.0-6629 and earlier still support the TNT model but read the included readme to be sure. If you can't find it under supported products in the README, just keep going back a version until you do.

I also have a Riva TNT and had to do this in order to get my hardware acceleration working.

Hope this was useful,
...drkstr

Last edited by drkstr; 04-14-2006 at 07:45 PM.
 
Old 04-14-2006, 08:35 PM   #11
noteventime
Member
 
Registered: Mar 2005
Location: a small planet in the vicinity of Betelgeuse
Distribution: ArchLinux
Posts: 53

Rep: Reputation: 15
I think there is a nvidia-glx-legacy package, there is in ubunt anyway
 
Old 04-15-2006, 01:22 PM   #12
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I don't think slackware does unfortunately. But the arhcived drivers on nvidia's site should work. I had the same issue with my Riva TNT and was able to get it working with nvidia's older driver.

...drkstr
 
Old 04-15-2006, 02:29 PM   #13
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
will try.

thx
 
Old 04-16-2006, 07:06 PM   #14
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
Yep, that did the trick.

To summarize:
Apparently the X-Server drivers do not offer any direct rendering support. You have to download the necessary driver from you graphic card manufacturer. If you use an old graphic card, such as my Riva TNT (I suppose everything before gForce), you have to pay attention to downloading an older driver from the nvidia archives, the new one does compile, but does not find the graphic card on your system. (module returns -1, device not found).

Vegastrike is even better than I dreamed (and due to the waiting there was a lot of dreaming). It was definetely worth the wait.


Thanks to everyone who helped me out, I really appreciate it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 01:17 PM
Vegastrike uses root? Jerrodg Linux - Games 0 08-24-2005 11:38 PM
Vegastrike from RPM springshades Mandriva 6 08-12-2005 10:50 AM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
Are there vegastrike install package for slackware Ninja_212 Linux - Games 7 01-01-2005 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration