gy Posted July 11, 2019 Share Posted July 11, 2019 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
silent Posted July 11, 2019 Share Posted July 11, 2019 Could you please give us some additional details on this: Was everything working until this time? What is changed in your project or environment? Which SDK version is used in this project? Exact filename launched and command-line options for that file? Can this project run correctly in regular PC (not in cloud)? 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
gy Posted July 11, 2019 Author Share Posted July 11, 2019 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
silent Posted July 11, 2019 Share Posted July 11, 2019 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
gy Posted July 11, 2019 Author Share Posted July 11, 2019 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
silent Posted July 11, 2019 Share Posted July 11, 2019 Is any other 3D application works fine here (e.g. Superposition benchmark or any of our benchmarks from https://benchmark.unigine.com/)? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
gy Posted July 15, 2019 Author Share Posted July 15, 2019 (edited) 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 July 15, 2019 by gy Link to comment
silent Posted July 15, 2019 Share Posted July 15, 2019 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
gy Posted July 15, 2019 Author Share Posted July 15, 2019 Comparing the console output with the one on my desktop, ./superposition also hangs before "Interpreter" (at the end of "PathFind"). Link to comment
silent Posted July 15, 2019 Share Posted July 15, 2019 Can any other hardware-accelerated 3D application or game run correctly on this setup? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
gy Posted July 15, 2019 Author Share Posted July 15, 2019 Does glxgears count? $ DISPLAY=:0 glxgears 188291 frames in 5.0 seconds = 37658.109 FPS Link to comment
silent Posted July 16, 2019 Share Posted July 16, 2019 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted July 16, 2019 Share Posted July 16, 2019 Here is the log from engine: log.html How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts