Board index FlightGear Support Graphics

Is enablingMultithreading mode dangerous ???  Topic is solved

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.

Is enablingMultithreading mode dangerous ???

Postby TheEagle » Sat Jul 31, 2021 12:22 pm

I was just reading the last point of this list
Now I am frightened. Can multithreading mode do any harm to my PC (and me :shock: :shock: ) ???
Also I cannot find the mentioned preferences.xml file in $FGHOME. :roll: :?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Is enablingMultithreading mode dangerous ???

Postby Maerchenprinz » Sat Jul 31, 2021 1:20 pm

Hi TheEagle!

The file preferences.xml was renamed to defaults.xml (already some time ago, sorry for that wiki entry not having been up to date, I have changed that now).
About that multithreading thing:
I have tried all modes withour any problems but without much gain either. I did so because I did NOT read that wiki article before! Yes, that sounds SCARY! :twisted:
I haven't heard of anyone saying that this setting had caused any harm to their computer, but maybe this is because they are unable to write since they tried (explosion, fire...). :mrgreen:
Maybe someone else here can clarify; that wiki entry may have been written at times when that feature was still experimental or something.

Ciao,

Adrian
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: Is enablingMultithreading mode dangerous ???  

Postby V12 » Sat Jul 31, 2021 1:25 pm

It is stupid bad joke. Multithreading in FG has benefit, but very small and still can't utilize all CPU's cores.

For more details read https://wiki.flightgear.org/Howto:Activ ... PU_support

EDIT :
Stupid and bad joke is statement about possibility of the computer damage.
Last edited by V12 on Sat Jul 31, 2021 3:11 pm, edited 2 times in total.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: Is enablingMultithreading mode dangerous ???

Postby Maerchenprinz » Sat Jul 31, 2021 1:30 pm

A small benefit is still a benefit, isn't it?
And a stupid bad joke is still better than a useless rant, isn't it?! :D
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: Is enablingMultithreading mode dangerous ???

Postby V12 » Sat Jul 31, 2021 1:31 pm

I mean stupid joke about computer damage.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: Is enablingMultithreading mode dangerous ???

Postby Hooray » Sat Jul 31, 2021 2:14 pm

agreed, best to remove/rephrase that section
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Is enablingMultithreading mode dangerous ???

Postby vnts » Sun Dec 05, 2021 10:45 am

If you want to experiment with threads try using more OSG database threads: https://wiki.flightgear.org/Howto:Using ... er_Threads

It won't improve FPS. But it will make scenery load pleasantly faster - some have reported occasional crashing with too many threads. 2 threads worked ok for me.

Kind regards
vnts
 
Posts: 409
Joined: Thu Apr 02, 2015 1:29 am


Return to Graphics

Who is online

Users browsing this forum: No registered users and 3 guests