Flightgear 2020.1 from repos throws segmentation fault

Latest version of flightgear is 2024.1. I have been flailing around over a few weeks in trying to compile it from source unsuccessfully. Problems with openscenegrapgh look to be root of the compile problems. I don’t like appimages that is available.

So I installed flightgear2020.3 from yast software-management along with the data. It is not running for me. See below:

base) tom@mydesktop: ~ $ fgfs
    0.07 [WARN]:gui        Failed to load default (en) translations
Now checking for plug-in osgPlugins-3.6.5/osgdb_nvtt.so
    0.40 [WARN]:general    Enabling ATI/AMD viewport hack










    5.49 [ALRT]:io         mipmapping: texture size not a power-of-two: /usr/share/flightgear/Aircraft/c172p/Models/Interior/Panel/Instruments/gear/breakers-switches.png
    5.49 [ALRT]:io         mipmapping: texture size not a power-of-two: /usr/share/flightgear/Aircraft/c172p/Models/Effects/interior/lm_gear-breakers.png
    7.29 [ALRT]:io         mipmapping: texture size not a power-of-two: /usr/share/flightgear/Aircraft/c172p/Models/Exterior/rbf/rbf.png
    7.49 [ALRT]:io         mipmapping: texture size not a power-of-two: /usr/share/flightgear/Aircraft/c172p/Models/Effects/interior/lm_fuel-selector.png
Segmentation fault (core dumped)
(base) tom@mydesktop:

The openup initial graphic starts and is loading modules and then crashes with segmentation fault.

If anyone is running this did you find some trick to get past this?

thanks, tom kosvic

Need more info about hw.
V. 2020.3.19 is available from openSUSE’s repos, FlightGear 2024.1.1 - from Download - FlightGear.

Additionally, in a tumbleweed vm, I loaded flightgear 2020.3 from tumbleweed repos using yast-software-management. Upon starting, It loads fully and, upon initial review, seems to run fine.

tom kosvic

I installed 2020.3 flightgear from yast-software repos. That is what is the subject of this thread and is throwing the seg faults.

I have downloaded 2024.1 flightgear source code from flightgear download and have been unsuccessfully trying to compile it for a week or so intermittently. To compile flightgear you must first compile simgear. singear need openscenegraph but does not like the suse system installed version. You need to compile a special flightgear version of OSG and have simgear compilation find it. There are also some problems with truetype fonts that OSG compilation can’t seem to find for linking.

requested hw info below:

(base) tom@mydesktop: ~ $ fastfetch
                 .-++:.                     tom@mydesktop
               ./oooooo/-                   -------------
            `:oooooooooooo:.                OS: openSUSE Leap 15.6 x86_64
          -+oooooooooooooooo+-`             Host: ASUS MB
       ./oooooooooooooooooooooo/-           Kernel: 6.4.0-150600.23.42-default
      :oooooooooooooooooooooooooo:          Uptime: 2 days, 13 hours, 45 mins
    `  `-+oooooooooooooooooooo/-   `        Packages: 7478 (rpm), 5 (flatpak)
 `:oo/-   .:ooooooooooooooo+:`  `-+oo/.     Shell: bash 4.4.23
`/oooooo:.   -/oooooooooo/.   ./oooooo/.    Display (DELL U2419HX): 1920x1080 @ 60Hz
  `:+ooooo+-`  `:+oooo+-   `:oooooo+:`      DE: Mate 1.26.1
     .:oooooo/.   .::`   -+oooooo/.         WM: Marco (X11)
        -/oooooo:.    ./oooooo+-            WM Theme: TraditionalOk
          `:+ooooo+-:+oooooo:`              Theme: TraditionalOk [GTK2/3/4]
             ./oooooooooo/.                 Icons: mate [GTK2/3/4]
                -/oooo+:`                   Font: Sans (10pt) [GTK2/3/4]
                  `:/.                      Cursor: mate-black (24px)
                                            Terminal: konsole 23.8.5
                                            Terminal Font: JetBrains Mono (12pt)
                                            CPU: Intel(R) Core(TM) i7-5820K (12) @ 3.6 GHz
                                            GPU: NVIDIA GeForce GTX 1050 Ti
                                            Memory: 5.42 GiB / 31.26 GiB (17%)
                                            Disk (/): 46.55 GiB / 97.44 GiB (48%) - ext4
                                            Disk (/home): 666.81 GiB / 2.54 TiB (26%) - ext4
                                            Disk (/run/media/tom/WD_Book_Linux): 531.94 GiB / 2.81 TiB (18%) - ext4 [External]
                                            Disk (/run/media/tom/WD_Book_Windows): 104.23 GiB / 800.00 GiB (13%) - fuseblk [External]
                                            Locale: en_US.UTF-8

                                            ████████████████████████
                                            ████████████████████████
(base) tom@mydesktop: ~ $

Post

inxi -aFz

See below. As I mentioned previously, on the same machine, in a tumbleweed vm, flightgear was installed through yast-software and starts up fine with no seg fault.
Hope you can figure out something.

(base) tom@mydesktop: ~ $ inxi -aFz
System:
  Kernel: 6.4.0-150600.23.42-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.42-default
    root=UUID=be8570c4-cde5-4c16-afb7-4c71118bbed9 splash=silent
    resume=/dev/disk/by-uuid/732223f6-b4fa-4fa0-9d5a-78ced9984c72 quiet
    mitigations=auto rd.driver.blacklist=nouveau
  Desktop: MATE v: 1.26.1 info: mate-panel wm: marco v: 1.26.2 vt: 2 dm:
    1: GDM v: 45.0.1 2: SDDM note: stopped Distro: openSUSE Leap 15.6
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: X99-DELUXE v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 4101 date: 07/10/2019
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: full
CPU:
  Info: model: Intel Core i7-5820K bits: 64 type: MT MCP arch: Haswell
    gen: core 5 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3F (63) stepping: 2 microcode: 0x49
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 15 MiB desc: 1x15 MiB
  Speed (MHz): avg: 3352 high: 3363 min/max: 1200/3600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3356 2: 3315 3: 3363
    4: 3363 5: 3363 6: 3363 7: 3308 8: 3363 9: 3363 10: 3363 11: 3363 12: 3347
    bogomips: 79152
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: eVga.com.
    driver: nvidia v: 570.133.07 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 01:00.0
    chip-ID: 10de:1c82 class-ID: 0300
  Device-2: Realtek RTL2838 DVB-T driver: N/A type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 0bda:2838
    class-ID: 0000 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1
    compositor: marco v: 1.26.2 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Dell U2419HX
    serial: <filter> built: 2019 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 570.133.07 renderer: NVIDIA GeForce GTX 1050
    Ti/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
    class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
  API: ALSA v: k6.4.0-150600.23.42-default status: kernel-api with: 1: aoss
    type: oss-emulator 2: apulse type: pulse-emulator
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: kernel
    port: f000 bus-ID: 00:19.0 chip-ID: 8086:15a1 class-ID: 0200
  IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 07:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-3: Broadcom BCM4360 802.11ac Dual Band Wireless Network Adapter
    vendor: ASUSTeK driver: wl v: kernel modules: bcma pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 14e4:43a0 class-ID: 0280
  IF: wlan1 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: ASUSTek Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
    driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1
    bus-ID: 3-6:3 chip-ID: 0b05:180a class-ID: fe01 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1
    lmp-v: 4.0 sub-v: 220e hci-v: 4.0 rev: 16b2
  Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff
    link-mode: peripheral accept service-classes: rendering, capturing, audio,
    telephony
Drives:
  Local Storage: total: 8.45 TiB used: 1.32 TiB (15.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWE140 size: 3.64 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: FP2A scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD40EDAZ-11SLVB0 size: 3.64 TiB block-size: physical: 4096 B
    logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 1031 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 model: 1Generic size: 1.17 TiB block-size:
    physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s lanes: 1
    mode: 2.0 tech: N/A serial: <filter> fw-rev: 1.14
Partition:
  ID-1: / raw-size: 99.56 GiB size: 97.44 GiB (97.87%) used: 46.55 GiB (47.8%)
    fs: ext4 dev: /dev/sda11 maj-min: 8:11
  ID-2: /boot/efi raw-size: 100 MiB size: 99.8 MiB (99.79%)
    used: 38.1 MiB (38.2%) fs: vfat dev: /dev/sda6 maj-min: 8:6
  ID-3: /home raw-size: 2.59 TiB size: 2.54 TiB (98.42%)
    used: 666.9 GiB (25.6%) fs: ext4 dev: /dev/sda12 maj-min: 8:12
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 2.01 GiB used: 425.6 MiB (20.7%)
    priority: -2 dev: /dev/sda10 maj-min: 8:10
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 46 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:
  Processes: 371 Uptime: 2d 20h 31m wakeups: 2 Memory: available: 31.26 GiB
  used: 6.32 GiB (20.2%) Init: systemd v: 254 target: graphical (5)
  default: graphical tool: systemctl Compilers: gcc: 7.5.0
  alt: 10/11/12/13/7/8/9 clang: 17.0.6 Packages: pm: dpkg pkgs: 0 pm: rpm
  pkgs: N/A note: see --rpm tools: gnome-software,yast,zypper pm: flatpak
  pkgs: 5 Shell: Bash v: 4.4.23 running-in: konsole inxi: 3.3.27
(base) tom@mydesktop: ~ $