Board index FlightGear Support Graphics

Fluctuating FPS

Graphics issues like: bad framerates, weird colors, OpenGL errors etc. Bad graphics ar usually the result of bad graphics cards or drivers.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).
- please upload a screenshot of the problem.

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article. If you are seeing corrupted/broken textures, please see this article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Re: Fluctuating FPS

Postby Thorsten » Fri Feb 03, 2017 8:43 am

Tried UFO, very little change in FPS, maybe one or two more per minute, But still very jittery fluctuates between 3 FPS and about 19 FPS no change if I disable everything such as AI, 3d clouds, particles, ETC, even with basic weather, and no METAR, still no change, tried clearing the navdata with %appdata% command in "run" window, no real change either.


With the ufo looking at clear sky, you should have close to zero rendering and systems load. If you can't run FG with 60 fps under these conditions, there's something more fundamentally wrong.

The only similar thing I've seen here is that it sometimes happens that my Linux gets stuck with a kworker process (I gather these have to do with how the Kernel manages multi-CPU utilization). If that happens, FG starts up at glacial speeds no matter rendering or systems settings because it doesn't get enough CPU time allocated.

I don't know what OS you're on, but under Linux a top might be a good idea at this point. I have no idea whether there's something similar under Windows.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Fluctuating FPS

Postby Clive2670 » Tue Feb 07, 2017 8:01 pm

Hi Thorsten, I'm running Windows 10, Just tried 2016.3.1, and 2016.4.1 switched off all weather (No clouds) pointed up in the sky using UFO as you suggested, still only getting between 6 and 20 FPS on both versions of FG, I am running a Toshiba laptop, with a Intel i5 4210U processor (Dual core, Logical processors 4) Intel 4400 graphics (Auto switching to a AMD Radeon R7-M260, 1Gb card when loaded) 6 Gb RAM. 1Tb hard drive ( 69% free space) Current useage of memory with Flightgear running is: 4.1Gb and my processor utilization is: 27% Automactic overclocking is to 2.57 Ghz from normal full power of 2.4Ghz My scenery folder is the complete world (Downloaded via Terramaster 1.4) Terrasync is switched OFF. I don't know if these statistics are of any use to you?
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby Thorsten » Tue Feb 07, 2017 8:11 pm

Do other (especially 3d) applications run okay? Does the system dig into swap?

Auto switching to a AMD Radeon R7-M260,


Does this happen for sure?
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Fluctuating FPS

Postby Clive2670 » Tue Feb 07, 2017 8:29 pm

Hi Thorsten, Yes all other things run fine, Checked with MSI afterburner for AMD Radeon card, and yes graphics are switching normally (To R7-M260 card) and operating with FG, All temps' are well within parameters (hovers around 63 degrees on the GPU) "Max' out" is 100 degrees so nothing wrong there, I have made sure I'm running the latest drivers as well. I'm now going to try downloading and running ubuntu on here via a 32Gb SD card, and run FG exclusively on ubuntu just to see if that works
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby Thorsten » Wed Feb 08, 2017 7:13 am

It feels like FG is denied resources from your OS (CPU most likely, this doesn't smell rendering-related), but as to why this happens, I have no clue...
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Fluctuating FPS

Postby Clive2670 » Wed Feb 08, 2017 7:22 pm

Ok thanks for all of your help Thorsten, I will plod on at the current FPS and hope that the next release 2017.1.1 might be more stable!!!
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby Thorsten » Thu Feb 09, 2017 7:29 am

To be clear: I don't think this is an FG-side problem - I think there's something weird going on OS-side that prevents FG from getting systems resources. There's no way FG with no rendering or systems load would produce 6 fps on a modern computer.

So unfortunately I am fairly convinced a next release won't change the situation (knowing next to nothing about Windows 10, I can't give any solid hints where to look either). Maybe you need to register FG explicitly for some high-performance mode, maybe there's a virus scanner active that watches every step it does that needs to be convinced to back off - I believe it's something like that.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Fluctuating FPS

Postby Richard » Thu Feb 09, 2017 9:20 am

It does sound like a system related problem, such as thermal throttling, having the wrong settings in the power plan, or somesuch.

Suggest downloading a hardware / temperature monitor (such as http://openhardwaremonitor.org/) and see what's going on. Also need to see the CPU stats and GPU stats (temps, utilisation).

When I last used my laptop it achieved 8-20 fps on (i7 Win10, HD graphics). If I position myself in the middle of an ocean or look at the sky it was 30-45 fps (F-14 2014 dev version).
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: Fluctuating FPS

Postby Clive2670 » Fri Feb 10, 2017 8:20 pm

UPDATE- for all that have inputted info' on trying to sort this problem, I think I have tracked it down.....NOTHING to do with FG itself, It seems to be a AMD driver issue, After some extensive "digging" around on t' internet, I've found out that there is an issue with the AMD drivers for mine (and many) cards with.....WAIT FOR IT.......stuttering games and video!!! Now trying a different driver to see if it cures the problem! I will post back my results, thanks all that have contributed
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby Clive2670 » Fri Feb 10, 2017 8:51 pm

Just downloaded and installed "Hotfix 16.1" for AMD cards running the Crimson Drivers....and WOW what a difference, Now getting between 16 and 24 FPS STABLE, with MP running, Live weather, 3D clouds, Precipiptation, Dust ECT, Random Objects, Random Veg' (1) Shaders are maxed out except "Urban" & "Landmass" what a difference (Google makes!!!)
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby Johan G » Sat Feb 11, 2017 1:06 am

Internet + Google search is probably the best thing that happened to mankind since the printed word. ;)
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6634
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Fluctuating FPS

Postby Clive2670 » Mon Mar 13, 2017 9:21 pm

UPDATE TO ALL: I have found the (REAL) culprit, nothing to do with the program, the drivers, or anything else......It was Windows settings or to be more precise, the vitual memory, (or lack of it) it was running at system managed size, 1028Mb so I upped it to 5120Mb minimum and 10280Mb maximum. I am lucky I have a 1Tb hard drive and have a "shed load" of free space to do it! Now my F.P.S is fairly stable with all weather, shaders, AI, and all the bells and whistles switched on, I am averaging between 18 & 22 F.P.S. Turn off a lot of the not needed stuff when flying at FL330 and I can get 30+ FPS with the 777-200LR. So as you can work out in my post 10/02/17 that download "fix" didn't work for long, So word of advice also check your system properties virtual RAM settings as this could be the CAUSE of your issues!!! Thanks to all that have posted!!!
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby bugman » Wed Mar 15, 2017 9:46 am

Maybe it would be useful to add something to the FlightGear FAQ, specifically:

Or maybe add a new FAQ entry. 1 Gb of virtual memory is no where near enough for modern MS Windows systems! With that you have memory swapping issues slowing everything down, not only FG.

Regards,
Edward
bugman
Moderator
 
Posts: 1808
Joined: Thu Mar 19, 2015 10:01 am
Version: next

Re: Fluctuating FPS

Postby Clive2670 » Wed Mar 15, 2017 7:32 pm

Good Idea Edward, will do that now
Last edited by bugman on Fri Mar 17, 2017 1:40 pm, edited 1 time in total.
Reason: Please do not quote the entire previous post.
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Fluctuating FPS

Postby GlynD02 » Sun Jul 09, 2017 4:09 pm

Just tried resetting my virtual memory on a Windows 10 64-bit PC. I can now get fairly decent frame rates with the vegetation set to high, thanks Clive. Still can't go to very high though, however it certainly looks a lot better than medium as I prefer a "low and slow" helicopter in the sim...

Cheers
GlynD02
 
Posts: 6
Joined: Sun Jun 25, 2017 2:33 am
Location: Shropshire, UK
Version: 2017.2.1
OS: Windows

PreviousNext

Return to Graphics

Who is online

Users browsing this forum: No registered users and 4 guests