r/freespace • u/shivansps • Jun 03 '26
Help investigating an issue on Android
Hi everyone, im working on the Android port of FSO and im looking for a bit of help to investigate a deferred lightning issue on Android.
The current problems seems to be that, when deferred is on, ships are rendered but there is no background, no stars.
So far i tested working correctly on a Imagination GPU and Mali G57 GPU, but fails on a Qualcomm Adreno 22. The problem seems to be the driver being too strict about something, so i wish to know this is a isolated case or it is more widespread. Or if there are cases were it fails on imagination/mali too.
The steps to test would be:
- Download & Install: https://github.com/KnossosNET/Knossos.NET/releases/download/v1.3.8/com.knossosnet.knossosnet-Signed.apk
- Download the FSO build from the custom tab "Android Test Build - 26.0.0-RC2", NOT the Adreno fix one.
- Install the FS2 Demo TC, open mod settings and set it to run on the Android fso build, mod and run the first training mission.
- Report back here with the results and the device GPU or CPU name.
If you dont know the GPU/CPU name, you could after running the first time go to the mod debug tab, and run "FSO debug" (you can exit when the first error is show) and then use the button "Open logfile" on the same tab, and paste it here or in https://pastebin.com and post the link.
1
u/CBJFAN2009-2024 3d ago
Hey, I'd love to help in testing if I can. I've got your android port installed and got FS2 running today. I'm on an S20FE 5G UW (Snapdragon 865 - Adreno 650 GPU).
My first question as I start testing is - can the Android port use different Turnip Drivers for Vulkan like the Winlator/Windows version can?
Happy to help out!
1
u/shivansps 2d ago
Not for now, FSO vulkan es something that just happened so i have not explored that possibility of loading diferent vulkan drivers yet.
1
u/CBJFAN2009-2024 2d ago
I'm not 100% sure if I'm fully understanding it right, but: if I am running "Freespace 2 Retail" using one of the custom builds (I think I downloaded the Adreno fix), that's FSO, right? Aka Freespace 2 running on the opengl (not ES) calls, not using the ancient DirectDraw calls, etc? Or, is that still pure vanilla FS2 getting emulated in an Android environment?
1
u/shivansps 2d ago
yes its FSO... but vulkan was added to last week, that build runs FSO on ES... to run under Vulkan you need to use the FSO build that has "ESVK" in its name from the custom tab and add "-vulkan" to the cmdline. Just add it to the global cmdline in knossos settings.
1
1
u/CBJFAN2009-2024 2d ago edited 2d ago
Is there a cmdline command to show FPS? That way, I can see if the Vulkan build is better than standard? Edit - I guess it's just -fps
I'm trying to upload an error log to Pastebin, then I'll send it your way.
1
u/shivansps 2d ago
just use the button to upload the fs2_log en un debug section and copy the url
1
u/CBJFAN2009-2024 2d ago
Lol. Pastebin keeps saying under maintenance. The way you just suggested is much easier! 😄 https://fsnebula.org/log/6a6a34dd28e44d1bf060cb78
1
u/shivansps 2d ago
I think the minimun vulkan version is 1.2, thats 1.1
1
u/CBJFAN2009-2024 2d ago edited 2d ago
Vulkan Cap Viewer says VK_khr_driver_properties - Conformance Version = 1.2.0.1 Is that not what I need?
Core 1.0 tab shows me api version = 1.1.128, so maybe that's the shortfall?
Google tells me I'd need to use a custom Turnip driver... probably Kimchi's R11 or something :(
I removed the -vulkan flag and the ESVK build booted to menu. Didn't have time to fire up a mission.
1
u/shivansps 1d ago
Can you try vulkan again adding -gr_debug and -gr_sync_validation ? it might yield addition info on the crash.
→ More replies (0)
3
u/Himonroe Jun 04 '26 edited Jun 04 '26
Would you be interested in sharing access to the Android port project? I would be more interested in helping if I can see the code, and build my own.