Board index FlightGear Development Aircraft

Citation-X route/fix display fail solved

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Citation-X route/fix display fail solved

Postby SurferTim » Thu Jul 29, 2021 8:50 pm

I fly a version of the Citation-X from the download page. The last time it worked was with FG2019.2.0. Even the OSG text fix did not fix this display. :(
http://mirrors.ibiblio.org/flightgear/f ... ationX.zip
My version is here. I had it private until now, but I would like to get it working again.
https://github.com/SurferTim/CitationX
It had a great route/fix display and TCAS, but it has failed. The display remains blank (black) even after loading a route.
I know the function is still there because I can "poke the bear" by messing with the radar.png image.
If I remove it, the display fails with a white rectangle.
If I put text on it, it gets erased after loading and displays all black..
I believe it may be putting text and symbols on radar.png, but they may be like the Garmin GPS, the same color as the background (black).
If this had been deprecated, what replaces it? I saw the Patten Hangar Citation-X has a working display, but that aircraft has problems that I wish not to inherit.

This is from /Models/Instruments/MFD/nd.xml
Code: Select all
<?xml version="1.0"?>
<PropertyList>

<name>Nav Panel</name>
<background>Aircraft/CitationX/Models/Instruments/MFD/transparent.png</background>
<w>512</w>
<h>602</h>

<instruments>
    <instrument include="nd1.xml">
    <condition>
        <property>instrumentation/nd/serviceable</property>
    </condition>
    </instrument>

<instrument include="nd2.xml">
    <condition>
        <property>instrumentation/nd/serviceable</property>
    </condition>
    </instrument>

    <instrument include="tcas1.xml">
    <condition>
        <and>
            <property>instrumentation/nd/serviceable</property>
            <property>instrumentation/primus2000/dc840/tcas</property>
        </and>
    </condition>
    </instrument>

</instruments>

</PropertyList>

If it helps, here is nd1.xml.
Code: Select all
<?xml version="1.0"?>


<PropertyList>
    <name>nd1</name>
        <x>256</x>
        <y>377</y>
    <w-base>440</w-base>
    <h-base>280</h-base>

    <layers>

        <layer>
            <texture>
                <path>Aircraft/CitationX/Models/Instruments/MFD/radar.png</path>
                <x1>0.0</x1>
                <y1>0.336</y1>
                <x2>1.0</x2>
                <y2>1.0</y2>
            </texture>
            <emissive>true</emissive>
        </layer>
   </layers>

</PropertyList>
Last edited by SurferTim on Sat Aug 28, 2021 3:26 pm, edited 3 times in total.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby clm76 » Sat Jul 31, 2021 8:13 am

Hi SurferTim,

Have you tried this one ? http://pattenflightgear.wifeo.com/cessna-citationx.php
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Citation-X route/fix display failed

Postby SurferTim » Sat Jul 31, 2021 10:43 am

Yes, I have tried the Patten hangar Citation, and it has yet to complete a flight without crashing FG back to the Ubuntu desktop.
The last attempt started out with the instrument panel looking like a bad acid trip.

It does have a working route/fix display, but I have yet to figure out how to implement it in my version. Like I said above, I don't want to inherit the problems with that version.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby sfr » Sat Jul 31, 2021 2:25 pm

i've flown this CitationX and have never seen this display issue. my graphics card is an old Nvidia GTX750Ti on a single-screen setup.
i've also not seen FG crashes that could be attributed to the aircraft model. i had FG crash but for other reasons like libcurl or the particle system.
sfr
 
Posts: 93
Joined: Sun Nov 17, 2019 6:25 pm
Callsign: D-CSFR
Version: 2020.4
OS: Kubuntu 18.04 LTS

Re: Citation-X route/fix display failed

Postby SurferTim » Sat Jul 31, 2021 3:40 pm

Thanks for your input. Maybe it is because I fly with three displays with a GTX1050?
If it means giving up the 3 displays or using another aircraft, I choose the other aircraft. I really like the displays.

Edit: What I was really hoping for was to get the route/fix display fixed in the aircraft I use now. Or find a suitable replacement for the MFD.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby SurferTim » Mon Aug 02, 2021 1:26 pm

I found a page on the canvas ND frmework. It refers me to clm76.
https://wiki.flightgear.org/Canvas_ND_framework
@clm76: I'm supposed to ask you about mods to the ND function. Well...?

Edit: I tried the Patten hangar version again. I think it has to do with the 3 displays. It shows about half the frame rate as my version. I show 58-60, that shows 28-30 with FG2020.3.3.
I tried the Patten version with FG2020.4.0, and the frame rate on one screen is around 30fps, and with the 3 displays, about 15fps with bad display flickering.
My version falls to 30fps with FG2020.4.0 on both the Twin Otter and the Citation. Previous FG versions 60fps.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby clm76 » Tue Aug 03, 2021 9:30 am

Hi SurferTim,

Here is a test :

2 versions of FG : 2020.2.1 and 2020.4.0
2 versions of the Citation : X (PFD, MFD, CDU coupled) and X+ (PFD, MFD and CDU independent)

Difference in fps in the same conditions (on the ground, flightplan and fms activated) with 3 airports :
LFOH (medium size airport, scene well implemented)
LFRK (medium size airport, poor scene)
LFPG (large airport, very well implemented)

2020.2.1 : LFOH : X = 52 - X+ = 41
2020.2.1 : LFRK : X = 55 - X+ = 45
2020.2.1 : LFPG : X = 36 - X+ = 32


2020.4.0 : LFOH : X = 42 - X+ = 35
2020.4.0 : LFRK : X = 49 - X+ = 40
2020.4.0 : LFPG : X = 31 - X+ = 25

As you can see, the scene around the plane strongly impacts the fps as well as the Fg version.
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Citation-X route/fix display failed

Postby SurferTim » Tue Aug 03, 2021 10:16 am

So you are offering no fix for me?
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby clm76 » Tue Aug 03, 2021 11:38 am

SurferTim wrote in Thu Jul 29, 2021 8:50 pm:My version is here. I had it private until now, but I would like to get it working again.
https://github.com/SurferTim/CitationX

Sorry, but your url is not working (error 404) and, yes, I can look at the problem if I have the right plane :wink:
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Citation-X route/fix display failed

Postby SurferTim » Tue Aug 03, 2021 11:54 am

My bad. I made the Github version private again because I didn't want anybody downloading it, then complain that the display isn't working.
It is public again. Let me know when you have it and I'll make it private until fixed.
Thanks! :)

Edit: That Citation in my Github directory has been private for the last year because of the route/fix display. I was hoping that when the OSG text problem was solved, this would be also. No luck. :(
I will guess the Citation in the download hangar has the same problem. I don't know who maintains it. The only credit on it is Syd Adams.
The MFD should be the same in my version and the download page version. The PFD in my version is different. Honeywell gave me a PirateAir PFD. ;)
.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby clm76 » Tue Aug 03, 2021 6:19 pm

SurferTim wrote in Tue Aug 03, 2021 11:54 am:My bad. I made the Github version private again because I didn't want anybody downloading it, then complain that the display isn't working.
It is public again. Let me know when you have it and I'll make it private until fixed.

Downloaded ! :)
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Citation-X route/fix display failed

Postby SurferTim » Tue Aug 03, 2021 9:26 pm

It's private again. I really appreciate the time and effort you are donating to this.
Thanks in advance. :)
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Citation-X route/fix display failed

Postby clm76 » Wed Aug 04, 2021 5:21 pm

My old versions of the MFD (like yours) didn't work anymore.
I think the best thing would be to switch your MFD to canvas. You would thus find colored texts.
Unless someone has another idea :?:
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Citation-X route/fix display failed

Postby wkitty42 » Wed Aug 04, 2021 5:32 pm

if i'm not mistaken, the colored text problem has been fixed a few weeks ago... OSG 3.6 can now be used if you are building your own FG installation... it should also be being used in the new builds of 2020.3 but i'm not totally positive about that... i know it was posted on the dev mailing list and i saw the commit(s) for it in the commits mailing list...
"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: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Citation-X route/fix display failed

Postby SurferTim » Wed Aug 04, 2021 5:47 pm

@wkitty42: That is correct. As of FG2020.4.0, I no longer have to use an old OSG to compile.
I have posted that in this thread
viewtopic.php?f=45&t=38338
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Next

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 6 guests