Board index FlightGear Support Graphics

Unreadable white text on white background on Twin Otter GPS

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: Unreadable white text on white background on Twin Otter

Postby V12 » Tue Aug 13, 2019 3:59 pm

SurferTim
This is a clock museum :

Image

... and this is a glass cockpit :

Image
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1579
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Aug 13, 2019 4:33 pm

There are two ways of getting contrast. One can change the color of the text, or...


Yep, that's the problem here. The routines that change the colour of the text were modified in OSG and flightgear doesn't support the new method (yet).

Make sure you compile OSG SG and FG in that order. I find that after major changes (e.g. branch) it helps to rebuild from scratch totally.

And definitely make sure you have the correct OSG (zakalawe's fork) and the correct branch!
User avatar
legoboyvdlp
 
Posts: 7110
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 5:23 pm

The app is not installing. I go to the OSG directory and run:
Code: Select all
cmake .
make
sudo make install

All seems to go ok, but if I check apt, nothing has been installed.
apt-cache policy openscenegraph
It isn't installed, but there is a candidate in the Ubuntu repository.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby wkitty42 » Tue Aug 13, 2019 6:33 pm

apt and friends have no idea about things you install behind their backs... your method above is building your own and installing it somewhere via an outside method and not via the package system...
"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: 5700
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 8:30 pm

Then I guess the new OSG compile/install didn't fix it. No problem now. I can read it again while I wait for a fix.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby wkitty42 » Tue Aug 13, 2019 8:55 pm

that depends on where it installed to and if you reconfigured SG/FG to find and use the new OSG... otherwise it is still using your system installed one...

this is exactly why i use the dnc script and build all that i do build... the dnc script or something in it tells the others where the components are that it built so they can use them instead of the system installed stuff... the cmake my dnc uses is different from the system installed one because dnc built it... for the same reason, dnc uses the OSG that it built when it builds SG and FG... i still have whatever the system installed one is but FG specifically uses the one dnc built... and no... none of these are installed system wide or even attempt to take over the job of the system installed ones...
"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: 5700
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 9:25 pm

I tried the download_and_compile.sh script for the OSG. It has the same problem.

Thanks though.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Aug 13, 2019 11:02 pm

Did you edit download and compile so it used the correct repository and branch though? Just to be sure...

The issue here is the compile not working because it is a known issue. I am not trying to deceive you, it is definitely because of openscenegraph...
User avatar
legoboyvdlp
 
Posts: 7110
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Wed Aug 14, 2019 4:18 pm

legoboyvdlp wrote in Tue Aug 13, 2019 11:02 pm:Did you edit download and compile so it used the correct repository and branch though? Just to be sure...

The issue here is the compile not working because it is a known issue. I am not trying to deceive you, it is definitely because of openscenegraph...

I'm sure you mean well. I tried replacing the URL for the OSG in the download_and_compile.sh script, and now FG won't finish starting. It starts for a second, then aborts. Even the original DNC won't start it. :(

Edit: I found part of the problem. The URL you gave me was incorrect, and it did not download the new OSG code. Stay tuned. It is compiling now.
This is the URL to clone the OSG that should be inserted into download_and_compile.sh.
Code: Select all
REPO_ADDRESS[OSG]="github.com/zakalawe/osg.git"
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Wed Aug 14, 2019 6:59 pm

No joy. The launcher will start, but won't run the simulator. :(

After a few attempts, and a complete reinstall, I can no longer run 2019.2.0.

Lessons learned:
1) DO NOT use Github repositories that are not from Flightgear or openscenegraph.
2) Do not listen to users who use Windows.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Thu Aug 15, 2019 3:48 pm

Did you use the correct branch - I wouldnt expect the newer versions of OSG to work. Merely setting the repository URL to that won't work, you need to also be on the correct branch - as I already mentioned several times. Once again, you must use the branch fgfs-342-1 to resolve the white text.

That repository is from FlightGear and that's what is used to build the official releases.

But then maybe you don't want help after all...
User avatar
legoboyvdlp
 
Posts: 7110
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby Octal450 » Thu Aug 15, 2019 3:50 pm

That sounds look the white OSGText bug to me...

Kind Regards,
Josh
Waste of time. Goodbye forever.
Octal450
 
Posts: 4398
Joined: Tue Oct 06, 2015 12:51 pm

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Thu Aug 15, 2019 3:52 pm

You are correct. It is that. And I have already given the soloution - use the right repository and right branch but it seems like OP does not wish to use it...
User avatar
legoboyvdlp
 
Posts: 7110
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Thu Aug 15, 2019 3:59 pm

legoboyvdlp wrote in Thu Aug 15, 2019 3:52 pm:You are correct. It is that. And I have already given the soloution - use the right repository and right branch but it seems like OP does not wish to use it...

It is not a solution. i used it, and now FG2019.2.0 will not run.

I'm back to 2018.3.1
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Thu Aug 15, 2019 4:14 pm

I stand corrected. It did not fix the GPS problem, but after several builds, I have managed to get it working with the fix suggested, but it didn't fix the GPS display.

Edit: I cloned the Github OSG again, and am doing the cmake/make/install again. This seems so close. Maybe in my frustration I screwed up.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 361
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

PreviousNext

Return to Graphics

Who is online

Users browsing this forum: No registered users and 1 guest