BVEStation

Author Topic: openBVE lag  (Read 15471 times)

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
openBVE lag
« on: September 09, 2012, 08:01:00 pm »
When I run the R46 on my computer, it lags at around 15 FPS. The Radeon 7850 I have can run Battlefield 3 at 60FPS, which made me wonder why a much less intensive game would lag at 15FPS. I came across the answer: I had MSI Afterburner running in the background while I used the R46. MSI Afterburner reported that the GPU core clock never went above 300 Mhz... which was causing openBVE to lag.

Now, what I want to know is whether users with other discrete graphics cards are affected by this issue. If anyone has discrete graphics, do you mind telling me a few things:

A. FPS you get in openBVE
B. The maximum Core Clock and GPU usage that Afterburner lists

I haven't found anything in the Catalyst Control Center that makes the GPU go up.. if any of you have would you mind sharing it?

Offline peacemak3r

  • Dispatcher
  • ****
  • Posts: 536
  • Gender: Male
  • NYCTF
    • View Profile
Re: openBVE lag
« Reply #1 on: September 09, 2012, 08:29:14 pm »
15FPS assuming you are playing in the exterior view?

I run a nVIDIA GeForce GT 525M on my L502X model Dell with OpenBVE.
Whilst using the R46, I get 90-100FPS while running in Cab mode and about 40-60 running exterior mode.

I don't have MSI Afterburner, but I can tell you that I had various chrome tabs open, iTunes open, Steam, CS:GO and Ventrilo on at the same time OpenBVE was operating and the FPS didn't really fluctuate.

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: openBVE lag
« Reply #2 on: September 18, 2012, 01:53:44 pm »
I simply can't make the GPU core clock go up for openBVE, so openBVE has complete crap performance and the graphics card doesn't even ramp up.. I tried putting my R46 right in front of the AI and the game lags down to 9FPS... while the GPU is still idling. Either an issue with the drivers or an optimization issue with openBVE itself.

I replaced my 7850 with a GTX 670 and it ran at 35 FPS, but the core clock rarely went up as well. The reason for why it runs much better is most likely because a GTX 670 at idle is faster than a 7850 at idle. On my 7850, GPU usage constantly flucuating between 0 and 99, but the Core Clock did not move at all, and the game would remain laggy.
« Last Edit: September 18, 2012, 02:30:39 pm by YankeesPwnMets »

Offline Mr Railfan

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 621
  • Gender: Male
  • Train Developer and Route Developer
    • View Profile
Re: openBVE lag
« Reply #3 on: September 18, 2012, 04:32:44 pm »
Maybe Game Booster might help?

Try running openbve with it.

http://www.iobit.com/gamebooster.html

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: openBVE lag
« Reply #4 on: September 18, 2012, 11:06:25 pm »
On a machine like mine, I'd doubt that have any effect but I tried anyways and it didn't help. I think this is simply a case of openBVE not stressing the graphics core enough to make its Core Clock go up any higher..

Offline Dj Hammers

  • Head Admin
  • Supervisor
  • ******
  • Posts: 1,034
  • Gender: Male
  • 7 Years of Developing for openBVE!
    • View Profile
    • My YouTube Channel
Re: openBVE lag
« Reply #5 on: September 19, 2012, 10:18:58 am »
It could be a multitude of different possible issues.
I've listed a couple for you to check:

Your openGL implementation could be out of date
You need to update SDL
You need to update .NET
Your graphics drivers need updating


It could also be as simple of as a bug in openBVE as well...

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: openBVE lag
« Reply #6 on: September 19, 2012, 05:08:28 pm »
Everything is updated. The only thing is that so far my AMD card supports up to openGL 4.2.. 4.3 support should be in a future driver relase..

Offline Brighton Express

  • Operator
  • ***
  • Posts: 311
  • Gender: Male
  • Progress Updater for the NYC Transit Forums
    • View Profile
Re: openBVE lag
« Reply #7 on: September 19, 2012, 05:56:33 pm »
I sure hope there is a way to remove that AI train from the route. That is what lags me.

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: openBVE lag
« Reply #8 on: September 19, 2012, 07:12:43 pm »
I did that to the D already. With a AI R46, it runs at 9FPS. Without an AI within a few hundred meters its 16 FPS..

Offline Dj Hammers

  • Head Admin
  • Supervisor
  • ******
  • Posts: 1,034
  • Gender: Male
  • 7 Years of Developing for openBVE!
    • View Profile
    • My YouTube Channel
Re: openBVE lag
« Reply #9 on: September 19, 2012, 07:18:36 pm »
seems like openBVE isn't working well with your graphics card. For now, I'm not sure what the issue is. It could simply
be a bug in openBVE that is specific to your setup.

It seems that openBVE tends to act differently on different systems with regards to FPS. I'm not sure which setups
work better FPS wise....

Offline Bombardier01800

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 749
  • Gender: Male
  • Apple Certified Macintosh Technician
    • View Profile
    • MBTA and NJT Transit Forums
Re: openBVE lag
« Reply #10 on: September 19, 2012, 09:39:17 pm »
seems like openBVE isn't working well with your graphics card. For now, I'm not sure what the issue is. It could simply
be a bug in openBVE that is specific to your setup.

It seems that openBVE tends to act differently on different systems with regards to FPS. I'm not sure which setups
work better FPS wise....
It's not just his setup, it's mine as well. The problem got worse after updating the drivers though. OpenBVE will not even load with the new R46
Jose
BVEStation Administrator

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: openBVE lag
« Reply #11 on: September 19, 2012, 11:22:54 pm »
My guess is that its something to do with the AMD drivers... I ran the R46 wtih 15 FPS on an nVidia GT 430.. there is no difference between that and a 7850 even though a 7850 is much, much stronger than a 430. The fact that a computer with a Pentium E2200 and GT 430 is able to perform the same in openBVE as a computer with a overclocked i5 and 7850 already tells me that this is a driver/optimization issue.

Perhaps it could be fixed in the next release, but is openBVE even going to continue being developed? There hasn't been a new update in 3 months..
« Last Edit: September 19, 2012, 11:34:55 pm by YankeesPwnMets »

Offline peacemak3r

  • Dispatcher
  • ****
  • Posts: 536
  • Gender: Male
  • NYCTF
    • View Profile
Re: openBVE lag
« Reply #12 on: September 20, 2012, 07:57:01 am »
I still don't understand how your overclocked system is running below my laptop with a 525M.

Am I the only one loading the R46 with no problems?

Offline Pacific385

  • Dispatcher
  • ****
  • Posts: 749
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: openBVE lag
« Reply #13 on: September 20, 2012, 04:38:15 pm »
I still don't understand how your overclocked system is running below my laptop with a 525M.

Am I the only one loading the R46 with no problems?
Mine works well when my 540M works.

Offline Dj Hammers

  • Head Admin
  • Supervisor
  • ******
  • Posts: 1,034
  • Gender: Male
  • 7 Years of Developing for openBVE!
    • View Profile
    • My YouTube Channel
Re: openBVE lag
« Reply #14 on: September 20, 2012, 04:48:50 pm »
I am able to run the R46 at around 15-20 FPS on my Mac Pro desktop (ATI Radeon 4870 graphics card).
I usually get around 35-45 FPS on most openBVE routes/trains.

On most other games, I get a solid 65-75 FPS.

It may be a problem with openBVE's renderer...