Linux playground

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,696
Reaction score
1,353
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
I guess I ment: what is the library itself. ImGUI?
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
I see, this is based on imgui-node-editor
Duno on what it is based on. some Modul-Bob-Bulid-System. I just pull the strings.
But you should understand that this is kind of off-road-joystick-driver. I want see the real deal, from somebody who knows how to work with?
But if you find more operators and NAND, NOR and so on It would be a lot easier to build.

I am looking for add-ons to install. Real spacecraft, pre-shuttle era. Specially Apollo. Velcro and Saturns.
Matias meant they need to be compiled?
And some bugfixes? What is available? Orbiter on Linux is a dream.
There must me more elements of this imgui-node-editor. They would make things much easier. There must be some real deal?
😁
 
Last edited:

Matias Saibene

Development hell
Joined
Jul 7, 2012
Messages
1,055
Reaction score
642
Points
128
Location
Monte Hermoso - Argentina
Website
de-todo-un-poco-computacion-e-ideas.blogspot.com.ar
Duno on what it is based on. some Modul-Bob Buld System. I just pull the strings.
But you should understand that this is kind of off-road-joystick-driver. I want see the real deal, from somebosy who knows how to work with?
But if you find more operators and NAND, NOR and so on It would be a lot easier to build.

I am looking for add-ons to can install. Real spacecraft, pre-shuttle era. Specially Apollo. Velcro and Saturns.
Matias meant they need to be compiled?
And some bugfixes? What is available? Orbiter on Linux is a dream. 😁
Remember that add-ons have .dll modules?
Well, on Linux add-ons must have .so modules.
For now there are few add-ons for Orbiter Linux, but I am on track to make the XB-70 Valkyrie for Linux and Windows so the list will start to grow.
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
Remember that add-ons have .dll modules?
Well, on Linux add-ons must have .so modules.
For now there are few add-ons for Orbiter Linux, but I am on track to make the XB-70 Valkyrie for Linux and Windows so the list will start to grow.
Sounds like real data-mess. But I understand. And in case you need help with some ailerons/elevator/ruder/mixery. I played with a Horton, It is kind of inverted coordinate system.
I can't run NASSP, think cause of sound problems. May I overinstall it?
There are many, many questions.
 

Matias Saibene

Development hell
Joined
Jul 7, 2012
Messages
1,055
Reaction score
642
Points
128
Location
Monte Hermoso - Argentina
Website
de-todo-un-poco-computacion-e-ideas.blogspot.com.ar
Sounds like real data-mess. But I understand. And in case you need help with some ailerons/elevator/ruder/mixery. I played with a Horton, It is kind of inverted coordinate system.
I can't run NASSP, think cause of sound problems. May I overinstall it?
There are many, many questions.
Programming for Linux and Windows is not that difficult (in Orbiter). Just change a DWORD data type to int, a HINSTANCE to MODULEHANDLE and so on.

Today I'm going to test NASSP on my installation and see if there are any problems.
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
Just a bit of clue what you are talking about, but cool. Mostly I use the f***-wörd with a NAND opperator.
Actually just had QBasic in the 90's. I never made an education for anything digital. I don't even speak english.
But I need one of these 3,2USB-Sticks with 20Gbit/s. Just for Orbiter. On Windoof I had partition O:
And actually I have a Windoof just for the partition O: !
I am running out of space! What I want is Orbiter to go. for the the 5th pocket. On Kali Ultimate. 90Gb without clerestrical bodies.
256Gb I will need. And then we make a .iso from it.

But now I say good night, cause I am really to stoned to furthen think about it. 😁
 

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
231
Reaction score
268
Points
78
Location
On my chair
Sounds like real data-mess. But I understand. And in case you need help with some ailerons/elevator/ruder/mixery. I played with a Horton, It is kind of inverted coordinate system.
I can't run NASSP, think cause of sound problems. May I overinstall it?
There are many, many questions.
Some addons are already included as submodules when you clone the linux orbiter depot :
Code:
add_subdirectory(XRVessels)
add_subdirectory(AeroBrakeMFD)
add_subdirectory(NASSP)
add_subdirectory(UCSO)
add_subdirectory(G42-200)
add_subdirectory(Deepstar)
add_subdirectory(Orb42S)
add_subdirectory(SSRMS)
They should install automatically when you do a "make install".
Please be aware that this is alpha software, and some of them may fail to work properly due to missing dependencies (like GeneralVehicle/new ISS addons needed by some Deepstar scenarios IIRC).
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
Thank you. I think I have to rebuild my Linux again. A USB stick just for Orbiter.
That explains why I just can fly the preinstalled vessels.
How to copy a Linux-partition on a USB stick and make it boot?
Have you ever thought about a orbiter-distro?
Btw. Got the HUD fixed. 1 was missing.

Bildschirmfoto 2023-09-09 08:32:26.png Warp Toogle.png
 
Last edited:

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
231
Reaction score
268
Points
78
Location
On my chair
Ha!, Linux...
One small issue. I can't control Lua vessels with the numpad.
Can you PM me your Q-tee so I can test with it? I'm sensitive to making lua functional because I think it's the only way we can reliably handle addons across different platforms.
I hope it'll be used more often ; it should be way easier to develop with since you only need a text editor to work instead of a full blown C++ environment...
 

Matias Saibene

Development hell
Joined
Jul 7, 2012
Messages
1,055
Reaction score
642
Points
128
Location
Monte Hermoso - Argentina
Website
de-todo-un-poco-computacion-e-ideas.blogspot.com.ar
Yes, even if it won't give you stellar performances, it should be better than pure software rendering.
I think the issue may be due to the logarithmic depth buffer I introduced later on. Maybe you can try with an earlier version before that change (877409617c398dc9f9bba2578843404ff544c57d for example)
I have tried to build the commit that you told me but I can't, it fails with an error: make: *** [Makefile:156: all] Error 2
 

Attachments

  • Orbiter_build.txt
    2.6 MB · Views: 2

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
231
Reaction score
268
Points
78
Location
On my chair
I have tried to build the commit that you told me but I can't, it fails with an error: make: *** [Makefile:156: all] Error 2
Code:
[ 27%] Building CXX object Addons/NASSP/CMakeFiles/Saturn1b.dir/Orbitersdk/samples/ProjectApollo/src_aux/BasicExcelVC6.cpp.o
En el fichero incluido desde /home/matias/orbiter_test/Orbiter/orbiter/Addons/NASSP/Orbitersdk/samples/ProjectApollo/src_aux/BasicExcelVC6.cpp:41:
/home/matias/orbiter_test/Orbiter/orbiter/Addons/NASSP/Orbitersdk/samples/ProjectApollo/src_aux/BasicExcelVC6.hpp:193:19: error: ‘uint64_t’ no se ha declarado
  193 |         READWRITE(uint64_t)
Let me guess, manjaro updated their gcc version again? :LOL:
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
Does anyone has NASSP runnig?
We are waiting for a GCC? - GNU Compiler Collection

...
dirname=ProjectApollo
ProjectApollo\ML (ML)
Vessel::RegisterModule ProjectApollo\ML
basename=ML
dirname=ProjectApollo
Normal map found for ProjectApollo\MetalPlatte.dds
ProjectApollo\VAB (VAB)
Vessel::RegisterModule ProjectApollo\VAB
basename=VAB
dirname=ProjectApollo
ProjectApollo\MSS (MSS)
Vessel::RegisterModule ProjectApollo\MSS
basename=MSS
dirname=ProjectApollo
ProjectApollo\Floodlight (Floodlight)
Vessel::RegisterModule ProjectApollo\Floodlight
basename=Floodlight
dirname=ProjectApollo
ProjectApollo\MCC (MCC)
Vessel::RegisterModule ProjectApollo\MCC
basename=MCC
dirname=ProjectApollo
[New Thread 0x7fffad8b96c0 (LWP 123163)]
[New Thread 0x7fffad0b86c0 (LWP 123164)]
[New Thread 0x7fffa88b76c0 (LWP 123165)]

Thread 1 "Orbiter" received signal SIGABRT, Aborted.
0x00007ffff79c90fc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb)

Config/Earth/Base/Jiuquan.cfg
./Config/Earth/Base/Al_Anbar.cfg
./Config/Earth/Base/Plesetsk.cfg
./Config/Earth/Base/Sriharikota.cfg
./Config/Earth/Base/Doberai.cfg
./Config/Earth/Base/Edwards.cfg
./Config/Earth/Base/Wuzhai.cfg
./Config/Earth/Base/Barent_Sea.cfg
./Config/Earth/Base/Svobodniy.cfg
./Config/Moon.cfg
./Config/Moon/Base/Brighton.cfg
Sol: Mars
./Config/Mars.cfg
./Config/Mars/Base/Olympus.cfg
./Config/Phobos.cfg
CelestialBody::RegisterModule Phobos failed
[Thread 0x7fffe27fc6c0 (LWP 130870) exited]
[Thread 0x7fffe2ffd6c0 (LWP 130869) exited]
[Thread 0x7fffe37fe6c0 (LWP 130868) exited]
[Thread 0x7fffc7dff6c0 (LWP 130872) exited]
[Thread 0x7fffe3fff6c0 (LWP 130867) exited]
[Thread 0x7fffe8ffe6c0 (LWP 130866) exited]
[Thread 0x7fffe97ff6c0 (LWP 130865) exited]
double free or corruption (fasttop)

Thread 1 "Orbiter" received signal SIGABRT, Aborted.
0x00007ffff79c90fc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) Quit
(gdb)
 
Last edited:

Matias Saibene

Development hell
Joined
Jul 7, 2012
Messages
1,055
Reaction score
642
Points
128
Location
Monte Hermoso - Argentina
Website
de-todo-un-poco-computacion-e-ideas.blogspot.com.ar
Does anyone has NASSP runnig?
Now I tested it on my installation and NASSP works, I just don't know how to use it. It sounds like your error is in the libProjectApolloMFD.so as if something was broken during the build. By the way, my Orbiter Linux installation is not very up to date, perhaps @Gondos made some changes to the libProjectApolloMFD code.

Now I have an error on my Orbiter Linux installation: the HUD is gone. When you press 'H' the HUD appears briefly and then disappears.
 

Col Brubaker

Hoax Developer
Joined
May 21, 2011
Messages
82
Reaction score
40
Points
33
Location
Free Republic of Germany
I can fix that. Just hang an Inverter on the HUD at the Joystick array.
Actually hang an Inverter on everything, except: Change Color and Brightness
And sometimes there are problems with saving the .json files.

AND: NASSP is running : :p
OK, let's go to the moon and do the other things.

Nope, not really:
ProjectApollo/Sol: Uranus
./Config/Uranus.cfg
./Config/Miranda.cfg
./Config/Ariel.cfg
./Config/Umbriel.cfg
./Config/Titania.cfg
./Config/Oberon.cfg
ProjectApollo/Sol: Neptune
./Config/Neptune.cfg
./Config/Triton.cfg
./Config/Proteus.cfg
./Config/Nereid.cfg

Thread 1 "Orbiter" received signal SIGSEGV, Segmentation fault.
0x00007ffff7a0e594 in readdir64 () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) Quit
(gdb)
But I get different results of error, depends on the NASSP .scn running:
...
CWD modified by module ProjectApolloConfigurator - Fixing.
CWD modified by module LuaMFD - Fixing.
CWD modified by module AeroBrakeMFD - Fixing.
Loading Sound/ProjectApollo/rotary.wav
Loading Sound/ProjectApollo/circuit_breaker.wav
oapiBlt Colour key argument not supported by graphics client
[New Thread 0x7fff9678b6c0 (LWP 7115)]

Thread 1 "Orbiter" received signal SIGILL, Illegal instruction.
0x00007fffc4146641 in ProjectApolloChecklistMFD::Update(oapi::Sketchpad*) () from Modules/Plugin/libProjectApolloMFD.so
(gdb)
 
Last edited:

Eduard

Member
Joined
Dec 18, 2015
Messages
57
Reaction score
6
Points
8
WOW! Is this real? 🤩 Orbiter is actually really meeting Arch!! 😃
I mean, it's just both on this planet 🌍, but it's even more than that too me.

For years I have been playing with Orbiter on Windows. In recent years, I became a total Linux geek too (especially Arch).
And I also have already experimented with my existing Orbiter 2016 instance in Wine, which already worked almost seamlessly with really decent performance (it worked using a DirectX to Vulcan port if I am right), with only some really small tweaks.

But clearly what we are talking about here looks like a native Linux build (ELF instead of EXE) from the Beta open source version if I am seeing it correctly. That's really amazing (Still many credits go to Martin Schweiger for all his years of work of course! And amazing too is the fact that he decided to share his code with the community and make it open source, not everyone would do that).

However, can I ask a question? The thing is, installing from AUR is great, but this generally installs Orbiter on in a centralized way on your system.
On Windows I am used to the fact that I can maintain multiple copies from Orbiter in separate directories.
What options do I have for this on Linux? Can I maintain multiple instances? (What I now about many Linux binaries is that these are often built and linked to specific library paths that cannot be changed, but maybe I can still have multiple user configurations or something like that?).
 
Last edited:
Top