microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.45k stars 4.58k forks source link

Any suggestion on setting when packaging into linux on windows ? #1884

Closed beomsik-landingai closed 5 years ago

beomsik-landingai commented 5 years ago

After I built a package targeted to Linux from Windows, it sort of runs on linux. But the problem is some of foliage instances in UE, especially ones closer to a vehicle just are not rendered, even with "NoDisplay" mode in subwindows. But instances are there as I could get collision event properly.

I know this is probably not related to AirSim, but since you guys releases packaged binary to linux, wanted to ask if there's any gotchas you guys found while working on packaging on linux such as lighting settings, other options?

BTW, I had to turn off some static lighting as I got run out of memory issue while packaging. Not sure if it's related.

Thanks!

madratman commented 5 years ago

hey, this seems like a material problem. Can you check the unreal logs while you packaged the binary, and see if you got any material / shader compiler warnings?

Also, here are a couple of flags worth trying : -opengl4 and -vulkan For the second option, you might need to install vulkan. in ubuntu, it's just a $ sudo apt install vulkan vulkan-utils For other distros, see https://linuxconfig.org/install-and-test-vulkan-on-linux

beomsik-landingai commented 5 years ago

running the application with -opengl4 and -vulkan worked. Thanks, much appreciated!

madratman commented 5 years ago

awesome! we'll add this to the documentation. @beomsik-landingai did the opengl tag or vulkan tag solved the problem?

beomsik-landingai commented 5 years ago

vulkan tag solved the problem, opengl tag didn't help. fyi, linux env is ubuntu 16.04 LTS with GTX 1080TI.