Board index FlightGear Support Graphics

Weird graphics artifacts with FG git next  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.

Weird graphics artifacts with FG git next

Postby TheEagle » Mon Nov 08, 2021 10:02 pm

I built FG from git (the next branch) a few days ago, and was shocked when I tried it out with my favorite Cessna 208B "Grand Caravan" from FGAddon:
Image
Notice the hole in the terrain (which only looks like one) …

Image
… and the cut-through cloud. Additionally, the propeller transitions to a black color in about 1 sec when I pause the simulation, then hops back to transparent when I unpause the simulation. The transparent propeller has the model-transparent effect assigned.

But what is worse - when I for example switch the view from cockpit to helicopter, I get a composite image of the panel and the outside for the duration of one frame, or two (yes, a framerate of < 10 is normal for me). And when I pause the simulation, then minimize FG, then open it again, I get black color instead of terrain for a frame or two. I tried turning ALS on and off, which did not change anything. I experienced none of these bugs in the latest AppImage 2020.4.0.


My graphics specs:
  • nVidia GeForce 520M
  • Proprietary drivers version 390.144
If you need any more information please let me know.

P.S.: I must admit that I am using the 2020.4.0 FGdata together with a git next executables build - do you think this could be the cause ? sorry, but I did not succeed in getting the latest FGdata as git always shows me a timeout at about 60 %.
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: 3413
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: Weird graphics artifacts with FG git next  

Postby wlbragg » Mon Nov 08, 2021 11:11 pm

Good possibility that is the issue. You really need matching data to know for sure.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Weird graphics artifacts with FG git next

Postby wkitty42 » Tue Nov 09, 2021 12:30 am

TheEagle wrote in Mon Nov 08, 2021 10:02 pm:P.S.: I must admit that I am using the 2020.4.0 FGdata together with a git next executables build - do you think this could be the cause ? sorry, but I did not succeed in getting the latest FGdata as git always shows me a timeout at about 60 %.

once you have FGData from git, you should keep it so normal "git pull" updates it much much faster... if you are having to pull a complete FGData git, get it from the official git mirror and not sourceforge... once you have it from the mirror, then you can adjust the origin to point to SF and pull all your updates from there... i cannot provide the instructions for doing this ATM but i will try to do so tomorrow if you remind me... i take the basic ones from the dnc script and piece them together into scriptable command lines you can type/paste in...
"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: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Weird graphics artifacts with FG git next

Postby TheEagle » Tue Nov 09, 2021 12:33 am

wkitty42 wrote:official git mirror and not sourceforge

How do you mean ? Which ?
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: 3413
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: Weird graphics artifacts with FG git next

Postby ludomotico » Tue Nov 09, 2021 12:46 am

In order to get a complete clone from sourceforge, use a registered account. They have limits in place for anonymous downloads and a clone of fgdata nearly always hits these limits.

As wkitty42 says, you only run "git clone" once. Next time, you run "git pull" and it is much, much faster.

In any case, if I understood correctly, you have these glitches during transitions from pause to running, and at the same time you usually have low FPS. I believe this is just your system not being able to be up to the task. Keep in mind this is just a guess, and not even an educated guess.
User avatar
ludomotico
 
Posts: 1269
Joined: Tue Apr 24, 2012 2:01 pm
Version: nightly
OS: Windows 10

Re: Weird graphics artifacts with FG git next

Postby TheEagle » Tue Nov 09, 2021 1:00 am

No, the holes in scenery and clouds are also there when I don't pause and when I fly in light scenery with frame rates ~ 15.
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: 3413
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: Weird graphics artifacts with FG git next

Postby TheEagle » Tue Nov 09, 2021 1:26 am

Well, I'm an idiot … :oops: Using FGData from Git next also resolved all issues. Thanks for the tip !
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: 3413
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: Weird graphics artifacts with FG git next

Postby TheEagle » Tue Nov 09, 2021 1:27 am

wlbragg wrote in Mon Nov 08, 2021 11:11 pm:Location: Kansas (Tornado Alley), USA

Uh-oh, I wish you all the luck of this world the next time a tornado crosses the USA … :shock: :cry:
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: 3413
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: Weird graphics artifacts with FG git next

Postby wkitty42 » Tue Nov 09, 2021 2:11 pm

TheEagle wrote in Tue Nov 09, 2021 12:33 am:
wkitty42 wrote:official git mirror and not sourceforge

How do you mean ? Which ?

here is my post where i provided the info needed to pull FGData from the git mirror... viewtopic.php?p=392017#p392017
"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: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Weird graphics artifacts with FG git next

Postby TheEagle » Wed Nov 10, 2021 12:26 am

I tried what you said wkitty, but even with the GitLab URL I am getting a timeout after it downloaded about 2.5 GB. Worst is that Git removes everything - you cannot resume your download, instead you have to start all over again and get a timeout again. I was able to download the FG files through a SourceForge snapshot - but that didn't include the Git files.
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: 3413
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: Weird graphics artifacts with FG git next

Postby MariuszXC » Wed Nov 10, 2021 10:38 am

TheEagle wrote in Wed Nov 10, 2021 12:26 am:I was able to download the FG files through a SourceForge snapshot - but that didn't include the Git files.


In that case maybe try to convert the downloaded data into a git repository with 'git init' and then 'git remote add' an url of a remote git repo to track.

https://github.com/git-guides/git-init
https://www.atlassian.com/git/tutorials ... y/git-init
https://github.com/git-guides/git-remote
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: Weird graphics artifacts with FG git next

Postby wkitty42 » Wed Nov 10, 2021 12:30 pm

TheEagle wrote in Wed Nov 10, 2021 12:26 am:I tried what you said wkitty, but even with the GitLab URL I am getting a timeout after it downloaded about 2.5 GB.

that's really strange... one of the main purposes of creating the mirror was to work around the SF limits when pulling such a large repo for the first time...

TheEagle wrote in Wed Nov 10, 2021 12:26 am:Worst[sic] is that Git removes everything - you cannot resume your download, instead you have to start all over again and get a timeout again.

this is because you are not downloading one file like a zip... if one file changes between the time you start and timeout, then the whole list has to be built all over again...

TheEagle wrote in Wed Nov 10, 2021 12:26 am:I was able to download the FG files through a SourceForge snapshot - but that didn't include the Git files.

i would not expect a snapshot to include the .git data files... i know there is a way of doing this... i just don't know the best direction to point you in... there was a torrent available at one time but i don't remember who was maintaining it or where it was available from...

out of curiosity, what is your internet speed? that may play a large part in this problem but that's just a guess, too...
"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: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Weird graphics artifacts with FG git next

Postby TheEagle » Wed Nov 10, 2021 12:39 pm

Yeah, probably my internet speed is he problem - sometimes I get up to 2.5 MByte/s, but yesterday I got only 1 Mbyte/s.
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: 3413
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: Weird graphics artifacts with FG git next

Postby MariuszXC » Wed Nov 10, 2021 2:14 pm

OK, on an unstable link 'wget' is your friend (or 'curl', if you so prefer).
This should do the trick:
Code: Select all
$ wget -c -t0 -T30 http://server/path/file_you_want

(see 'man wget' for options meaning)
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: Weird graphics artifacts with FG git next

Postby wkitty42 » Wed Nov 10, 2021 4:18 pm

that won't work for git urls, though, MariuszXC... good idea but that dog just won't hunt...
"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: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Next

Return to Graphics

Who is online

Users browsing this forum: No registered users and 5 guests