Jump to content

[SOLVED] Unigine app launcher stuck after "properties" setup


photo

Recommended Posts

I'm starting my app launcher in the Google cloud, on a headless machine, and it reaches the Properties point but then gets stuck:

...

----Properties----
Properties loaded:            1 / 1 (0ms)
Properties without parent:
    "ml-annotation.prop" can't find parent property: "1c613bbca0afd78c1ef165fc8e419352c5903d9e"

Processor registered "DefaultProcessor".
Importer registered "FbxImporter".
Processor registered "MergeStaticMeshes".
Processor registered "MergeSimilarMaterials".
Processor registered "MergeSurfacesByMaterials".
Processor registered "CombineByPostfixes".
Processor registered "SplitByBound".
Processor registered "Repivot".
Importer registered "CadImporter".

On a machine with a display where it's working fine it prints next:

----Importer----

Any idea why it's stuck without printing ----Importer----?

Link to comment

Could you please give us some additional details on this:

  1. Was everything working until this time? What is changed in your project or environment?
  2. Which SDK version is used in this project?
  3. Exact filename launched and command-line options for that file?
  4. Can this project run correctly in regular PC (not in cloud)?
  5. Add full engine log.html file from bin project.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

It runs fine on a PC, it only hangs on the cloud instance.

As you can see from the attached log:

UNIGINE Engine
Version: 2.8.0.0 release-2.8.0.1-75e389f May 15 2019
Binary: Linux 64-bit GCC 4.7.2 Release

The command is:

/path/to/project/binary -video_mode -1 -video_gamma 1.000000 -sound_app null -data_path /path/to/data/ -engine_config /path/to/data/unigine.cfg -extern_plugin OpenFlight,FbxImporter,CadImporter -console_command 'config_readonly 1 && world_load "alten.world"' --world=alten.world -video_width 512 -video_height 512

 

 

log.html

Link to comment

If you don't need import features in runtime I would recommend to remove plugins from loading:

/path/to/project/binary -video_mode -1 -sound_app null -data_path /path/to/data/ -engine_config /path/to/data/unigine.cfg -extern_plugin , -console_command "config_readonly 1 && world_load alten" -video_width 512 -video_height 512

--world is your own parameter? Do you handle it in your code?

Also, it would be nice to know:

Quote

 Was everything working until this time? What is changed in your project or environment?

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Yes, --world is our own parameter, handled by our code.

This is the first time we're running it on a Google cloud instance. Nothing changed in the project itself. Everything was working fine (on a normal Linux PC).

Link to comment

I see some errors when I start Superposition, see below. Is there a way to run the benchmark directly, without having to click or use the keyboard?

QXcbConnection: XCB error: 2 (BadValue), sequence: 455, resource id: 0, major code: 1 (CreateWindow), minor code: 0

 

Edited by gy
Link to comment

It seems that there is something wrong with Xorg server. Qt failed to create a window to draw launcher UI.

You can run Superposition directly via command line:

cd Superposition/bin
./superposition -preset 0 -video_app opengl -shaders_quality 1 -textures_quality 1 -dof 1 -motion_blur 1 -video_vsync 0 -video_mode -1 -console_command "world_load superposition/superposition && render_manager_create_textures 1" -project_name Superposition -video_fullscreen 0 -video_width 1600 -video_height 900 -mode 1 -sound 1 -tooltips 1

 

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Looks great :)

However, I still can't say what exactly is causing application hang in your particular case.

I've just configured Google Compute instance (Ubuntu 18.04 + Tesla V100 + Gnome DE + 390.x driver + 1 vCPU) to use Virtual GL and everything seems to work just fine.

Superposition benchmark is working correctly (verified via Turbo VNC server running), no hangs and crashes so far.
 

 

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
  • silent changed the title to [SOLVED] Unigine app launcher stuck after "properties" setup
×
×
  • Create New...