XPilot beta .49 in Ubuntu 23.04

I know that Ubuntu 23.04 isn’t currently supported - but I would still like to see what it takes to try to get xPilot to run without having to reinstall my OS and start over.

With that said, xPilot opens just fine, and I’m able to assign a microphone and speaker device without any issues in settings. However, transmit and receive does not work (I’ve also tried the dot commands to enable rx/tx with no luck)

Running the xPilot appimage from the CLI yields:

jondecker76@flight-sim:~/xPilot$ ./xPilot.AppImage 
No audio device detected
No audio device detected
No audio device detected
No audio device detected
No audio device detected
No audio device detected
No audio device detected
No audio device detected

Again, the xPilot GUI runs just fine, and the audio devices do show up in settings even though the CLI output reports “No audio device detected”.

Any thoughts or ideas on things I could try to get xPilot running on this machine?

Thanks!

I am using it on Ubuntu 23.04. I am not using the AppImage but that shouldn’t make a difference.

1 Like

@1068951 thanks for responding. Can you elaborate more on how you have it running on 23.04? I wasn’t aware there was an option to avoid using the appimage. Did you compile it by yourself? Any tips would be greatly appreciated!

Update: It works!

Came out to be a pretty silly issue. The problem is that the “Auto-tune recommended frequencies” in the ATC window (in x-plane, not xPilot) kept changing my tuned frequency, so there was nobody to listen to or to return my calls. I didn’t realize that moments after tuning to a frequency, it was being changed. After unchecking that option, I was able to tune into the appropriate frequencies and both transmit and receive! On top of that, I found a nice audio panel in Air Manager that allows for quick and easy com1/com2 switching without the need for dot commands. Very happy!

I still have one issue remaining- xPlane hangs while trying to close. This is definitely xPilot related, as removing the plugin fixes the issue. I’ve tried disconnecting and shutting down xPilot before trying to shut down xPlane, but it will still change and eventually crash my system.

1 Like

Oh, the dreaded X-Plane “Auto-tune frequencies” :frowning:! I am happy that you got that sorted.

Re non-AppImage: When downloading the .zip (under Assets on a release Releases · xpilot-project/xpilot · GitHub), you’ll get the client app and the plugin non-packaged and can run/symlink it directly. For me that’s easier to manage than AppImages.

I am thankful that Justin added that because it facilitates testing and having multiple versions available.

Re X-Plane hangs on shut-down: If you are using Zink, it might be this LINUX ONLY: XP exit crashes with plugin(s) and Zink - X-Plane 12 Technical Support - X-Plane.Org Forum

Yeah. I also found out that nothing works at all until I open the nearby ATC window to select a frequency. After that, all is working well.

As far as hanging on shutdown, I’m on NVidia and Zink is disabled for NVidia currently - so the issue shouldn’t be from that. I’m attaching a couple of logs. I don’t really see anything overly obvious - hopefully someone else might.

Thanks again for the help
(Pasting the tail end of the logs below, I don’t see where I’m able to upload a log)

Log.txt:

...
...
0:13:02.135 I/TEX: Pager pre-warm status: Stable evaluation: false. Stable collection: false. Execution queue: 0. Retirement queue: 5
0:13:02.135 I/TEX: Finished pre-warming paging cache. Time taken: 3.405s
0:13:02.135 xPilot/XPMP2 DEBUG Sound.cpp:769/SoundRemoveAll: Aircraft 00000003 (SWA5543): Removed all sounds
0:13:02.135 xPilot/XPMP2 DEBUG Aircraft.cpp:729/DestroyInstances: Aircraft 0x000003: Instance destroyed
0:13:02.135 I/PLG: The plugin xPilot 2.0.0-beta.49 is setting global TCAS override to 0.
The plugin xPilot 2.0.0-beta.49 is releasing control of AI aircraft.
0:13:02.135 I/PLG: The plugin xPilot 2.0.0-beta.49 is setting global TCAS override to 0.
0:13:02.135 xPilot/XPMP2 INFO  AIMultiplayer.cpp:1187/XPMPMultiplayerDisable: Released control of AI/Multiplayer planes
0:13:02.135 xPilot:  DEBUG xPilot has released TCAS control
0:13:07.109 xPilot/XPMP2 DEBUG Aircraft.cpp:583/FlightLoopCB: Flight loop callback ended
0:13:07.109 I/TEX: Target scale moved to 16.000000
0:13:08.532 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/camping/karavan1.dds declares 10 mips, provides 11 mips, we expected 11 mips
0:13:08.532 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/camping/karavan2.dds declares 10 mips, provides 11 mips, we expected 11 mips
0:13:08.532 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/camping/wohnw_02.dds declares 10 mips, provides 11 mips, we expected 11 mips
0:13:08.532 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/camping/wohnw_03.dds declares 10 mips, provides 11 mips, we expected 11 mips
0:13:09.548 W/TEX: Resources/default scenery/1000 world terrain/textures12/apt/apt_ground2_NML.dds compressed texture used as material source
0:13:09.548 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/landmarks/gruredyellow.dds declares 9 mips, provides 10 mips, we expected 10 mips
0:13:09.694 D/TEX: DDS file Custom Scenery/simHeaven_X-World_America-6-scenery/objects/landmarks/R_TWR_LIT.dds declares 10 mips, provides 11 mips, we expected 11 mips
0:15:02.207 xPilot/XPMP2 DEBUG CSLModels.cpp:249/Unload: Object 0067|B77L|__Bluebell_Boeing/B77L_FDX / Resources/plugins/xPilot/Resources/CSL/Bluebell/BB_Boeing/B77L/B77L_FDX.obj unloaded
0:16:02.238 xPilot/XPMP2 DEBUG CSLModels.cpp:249/Unload: Object 0056|B738|__Bluebell_Boeing/B738_SWA / Resources/plugins/xPilot/Resources/CSL/Bluebell/BB_Boeing/B738/B738_SWA.obj unloaded
0:17:16.172 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels disabled
0:17:38.416 I/OVR: User is entering the holodeck.
0:17:38.416 I/WIN: Opened window Settings
0:17:45.351 I/OVR: User is leaving the holodeck.
0:18:41.417 I/OVR: User is entering the holodeck.
0:18:41.417 I/WIN: Opened window Settings
0:20:26.716 I/OVR: User is leaving the holodeck.
0:20:28.361 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels enabled
0:20:29.545 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels disabled
0:20:30.033 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels enabled
0:20:31.435 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels disabled
0:20:31.810 xPilot/XPMP2 DEBUG 2D.cpp:264/XPMPEnableAircraftLabels: Aircraft labels enabled
0:20:40.073 I/WIN: Showing subscreen Freeflight
0:20:40.073 I/OVR: User is entering the holodeck.
0:20:40.073 I/WIN: Opened window Primary V11 UI
0:20:47.227 I/SIM: Exiting the sim without confirmation
0:20:47.269 D/STM: Transitioning from state state_Normal to state_ShuttingDown
0:20:47.269 xPilot/XPMP2 INFO  XPMPMultiplayer.cpp:217/XPMPMultiplayerCleanup: XPMP2 cleaning up...
--=={This application has crashed!}==--
--=={FILE: /home/jondecker76/X-Plane 12/Log_ATC.txt}==--
--=={UUID: ed25cc2a-1fe6-4cd9-87ec-a234a4b5d9a3}==--

Log_ATC.txt:

...
...
Airlines Service Center at KORD
0:12:33.349 D/ATC: Placing static Resources/default scenery/sim objects/apt_aircraft/jet/A320_UAL/A320_UAL_static.obj in United Maint. at KORD
0:12:33.349 D/ATC: Placing static Resources/default scenery/sim objects/apt_aircraft/jet/A320_UAL/A320_UAL_static.obj in United Maint. at KORD
0:12:33.349 D/ATC: Placing static Resources/default scenery/sim objects/apt_aircraft/jet/J328_WLC/J328_WLC_static.obj in United Maint. at KORD
0:12:33.349 D/ATC: Placing static Resources/default scenery/sim objects/apt_aircraft/jet/A320_LAN/A320_LAN_static.obj in United Maint. at KORD
0:12:33.349 I/ATC: Deleting aircraft 0x31fde290 who was p=0 (N55573)
0:12:33.349 D/ATC: (): ClearForReuse
0:12:33.349 I/ATC: Created aircraft 0x31fde290 as p=0 ()
0:12:33.349 D/ATC: p=0 (N55573): DestinationContacted() at status Not Contacted
0:12:33.349 W/ATC: Limiting KZAU Area Control Center (118.150, 118.225, 119.225, 119.850, 120.125, 120.175, 120.225, 120.350, 120.375, 120.975, 123.850, 124.550, 125.050, 125.225, 125.375, 125.575, 125.975, 126.125, 126.325, 127.050, 127.775, 128.650, 132.225, 132.500, 132.750, 132.950, 133.350, 133.900, 133.950, 134.200, 134.325, 134.825, 134.875, 135.350, 135.400, 135.550, 135.600, 135.825, 135.900) to 5 radio channels, dropping 34
0:12:33.349 W/ATC: Limiting KORD TRACON/Terminal Control (119.000, 120.550, 124.350, 125.000, 125.400, 125.700, 126.625, 133.500, 133.625, 134.400) to 5 radio channels, dropping 5
0:13:02.135 E/ATC: Runway 18 at 10C is not accessible by any taxiway. Dropping it from flow rule [18 (118150) for (0..0) dep (0..0) flags=255].
0:13:02.135 E/ATC: Runway 36 at 10C is not accessible by any taxiway. Dropping it from flow rule [36 (118150) for (0..0) dep (0..0) flags=255].
0:13:02.135 E/ATC: Erasing flow 'AUTOGEN: South Visual' at 10C because it has no usable runways.
0:13:02.135 E/ATC: Erasing flow 'AUTOGEN: North Visual' at 10C because it has no usable runways.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.