Board index FlightGear Support Graphics

Apparent CPU Throttling

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.

Apparent CPU Throttling

Postby lissalissa » Tue Jan 04, 2022 11:57 am

Hello friends,
There used to be a time when I, running ubuntu of some sort with my GTX 1650 got excellent frame rates, even on max settings. At the time, my system monitor would show one of my cpu (intel i7) cores maxed out. I'm not sure when these problems started, perhaps when I upgraded to 21.10, but now my frame rates are unplayable (5-11) even at lowest settings, and my cpu usage maxes out at 30% suggesting there's an issue with the governor. I tried running using gamemoderun but to no avail, even after manually setting to performance mode. Any suggestions as to what might be going on here?
Thank you so much for your time!
lissalissa
 
Posts: 53
Joined: Sat Sep 12, 2015 3:42 pm
Location: Boston, MA, United States
Version: 2020.3.12
OS: Ubuntu 21.10

Re: Apparent CPU Throttling

Postby MariuszXC » Tue Jan 04, 2022 12:10 pm

Since you upgraded your OS:
- check your graphics driver; are you using opensource or proprietary NVidia one? If proprietary, make sure it is a version supporting your hardware..
- run glxinfo and glxgears to confirm which GL implementation is used and if there is an issue with graphics performance.
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: Apparent CPU Throttling

Postby lissalissa » Tue Jan 04, 2022 12:16 pm

I'm getting 60fps for glxgears. I'm using the proprietary nvidia drivers version 470, but I tried to resolve this by switching to 495 with no avail.
I'm not sure what I'm looking for in glxinfo.
lissalissa
 
Posts: 53
Joined: Sat Sep 12, 2015 3:42 pm
Location: Boston, MA, United States
Version: 2020.3.12
OS: Ubuntu 21.10

Re: Apparent CPU Throttling

Postby MariuszXC » Tue Jan 04, 2022 12:32 pm

60fps means glxgears is syncing to vertical refresh. Disable that (if possible), maximize glxgears to fullscreen and observe framerate. Should be in hundreds.
glxinfo will tell you what GL implementation is being used. On my laptop with built-in Intel graphics:
Code: Select all
$ glxinfo | grep endor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


GTX1650 is based on Turing architecture, right?
Just make sure it is explicitly stated, that your driver version supports this particular chip family. NVidia is known to remove support for older chips in newer driver versions.
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: Apparent CPU Throttling

Postby wkitty42 » Tue Jan 04, 2022 12:35 pm

you are looking that it mainly returns viable information for your drivers and GPU...

there is no governor used in FG, really... nothing specific, anyway...

what version of FG are you using? please write the full version number...
how did you install it?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Apparent CPU Throttling

Postby lissalissa » Tue Jan 04, 2022 2:46 pm

MariuszXC wrote in Tue Jan 04, 2022 12:32 pm:60fps means glxgears is syncing to vertical refresh. Disable that (if possible), maximize glxgears to fullscreen and observe framerate. Should be in hundreds.

Where do I go to disable this?
lissalissa
 
Posts: 53
Joined: Sat Sep 12, 2015 3:42 pm
Location: Boston, MA, United States
Version: 2020.3.12
OS: Ubuntu 21.10

Re: Apparent CPU Throttling

Postby wkitty42 » Tue Jan 04, 2022 2:54 pm

in your nvidia control panel... i don't think there is an option in glxgears for this...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Apparent CPU Throttling

Postby lissalissa » Tue Jan 04, 2022 2:55 pm

Well now we've got a bigger issue, because when I open my nvidia control panel all I get is an empty window with no text or widgets.
lissalissa
 
Posts: 53
Joined: Sat Sep 12, 2015 3:42 pm
Location: Boston, MA, United States
Version: 2020.3.12
OS: Ubuntu 21.10

Re: Apparent CPU Throttling

Postby MariuszXC » Tue Jan 04, 2022 4:24 pm

lissalissa wrote in Tue Jan 04, 2022 2:46 pm:Where do I go to disable this?

A long time ago, when I was writing xconfig files by hand, iirc it was one of the options in that file. But this piece of info may well be outdated.
The other place, as wkitty42 pointed, is driver's config panel.
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: Apparent CPU Throttling

Postby lissalissa » Wed Jan 05, 2022 1:21 am

SOLVED
I reinstalled my GPU drivers and the problem was solved.
lissalissa
 
Posts: 53
Joined: Sat Sep 12, 2015 3:42 pm
Location: Boston, MA, United States
Version: 2020.3.12
OS: Ubuntu 21.10

Re: Apparent CPU Throttling

Postby wkitty42 » Wed Jan 05, 2022 12:58 pm

excellent! glad to hear you were able to easily(?) solve the problem :)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Apparent CPU Throttling

Postby V12 » Wed Jan 05, 2022 6:44 pm

glxgear is not good benchmark for today's hardware. Try gkmark2.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: Apparent CPU Throttling

Postby wkitty42 » Wed Jan 05, 2022 8:00 pm

we weren't looking for a benchmark... we were looking to make sure their OGL was working properly...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Apparent CPU Throttling

Postby MariuszXC » Wed Jan 05, 2022 11:12 pm

@V12 but thanks for the idea. I created a Wiki page https://wiki.flightgear.org/OpenGL_performance for such data and added a pointer to it to performance troubleshooting section https://wiki.flightgear.org/Troubleshoo ... evaluation

If you could add your numbers there (and others too) it could become a useful resource to answer 'what can I expect from my hardware?' question.
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: Apparent CPU Throttling

Postby Parnikkapore » Thu Jan 06, 2022 1:17 am

lissalissa wrote in Wed Jan 05, 2022 1:21 am:I reinstalled my GPU drivers and the problem was solved.


A classic on my install! Although usually, in my case, apps using prime-run will crash instead of run without acceleration. A blank NVIDIA control panel is the telltale sign.
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Next

Return to Graphics

Who is online

Users browsing this forum: No registered users and 3 guests