minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

running the demo.py on headless server #131

Open jsdd25 opened 5 years ago

jsdd25 commented 5 years ago

The command I run was below: NODE_BASE_URL=~\work xvfb-run -s "-ac -screen 0 1280x1024x24" python3 demo.py --env_config objectgoal_suncg_mf. However, I cannot have WebGLRenderer correctly working and the log of simserver.log is attached below.

simserver.log: 2018-12-05 14:24:18,665 INFO b'Configuration { fileCache: { size: 50 },' 2018-12-05 14:24:18,665 INFO b' imageCache: { size: 200 },' 2018-12-05 14:24:18,665 INFO b' imageQueue: { concurrency: 4 },' 2018-12-05 14:24:18,665 INFO b" base_url: '/home/jin/work/'," 2018-12-05 14:24:18,665 INFO b' assets_url:' 2018-12-05 14:24:18,665 INFO b" 'file:///home/jin/minos/minos/server/node_modules/sstk/ssc/../server/static' }" 2018-12-05 14:24:18,800 INFO b'Waiting for client connection on port 13179' 2018-12-05 14:24:18,812 ERROR b'Cannot register unknown asset 2d3ds' 2018-12-05 14:24:18,813 INFO b'register ../server/static/data/matterport/matterport3d.json' 2018-12-05 14:24:18,814 INFO b'Registered asset group: mp3d' 2018-12-05 14:24:18,816 INFO b'Got 90 assets' 2018-12-05 14:24:18,848 INFO b'register ../server/static/data/suncg/suncg.planner5d.models.json' 2018-12-05 14:24:18,849 INFO b'Replace asset group p5d' 2018-12-05 14:24:18,849 INFO b'Registered asset group: p5d' 2018-12-05 14:24:18,896 INFO b'Got 2623 assets' 2018-12-05 14:24:19,385 INFO b'Loaded lightSpecs for 202 models.' 2018-12-05 14:24:19,385 INFO b'register ../server/static/data/suncg/suncg.planner5d.textures.json' 2018-12-05 14:24:19,387 INFO b'Replace asset group p5dTexture' 2018-12-05 14:24:19,387 INFO b'Registered asset group: p5dTexture' 2018-12-05 14:24:19,538 INFO b'Got 67072 assets' 2018-12-05 14:24:19,637 INFO b'Client 7bogQgxIYzJdh1C6AAAA connected on port 13179' 2018-12-05 14:24:19,695 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,696 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,696 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,696 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,696 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,696 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,702 INFO b'Creating Simulator with options { resolution: [ 84, 84 ],' 2018-12-05 14:24:19,702 INFO b' width: 256,' 2018-12-05 14:24:19,702 INFO b" episodeSchedule: 'train'," 2018-12-05 14:24:19,702 INFO b' semanticEncodings: {},' 2018-12-05 14:24:19,702 INFO b' depthNoise: false,' 2018-12-05 14:24:19,702 INFO b' logActionTrace: false,' 2018-12-05 14:24:19,702 INFO b" config: ''," 2018-12-05 14:24:19,702 INFO b' objecttypesFile: null,' 2018-12-05 14:24:19,702 INFO b' maxStatesPerScene: 1,' 2018-12-05 14:24:19,702 INFO b' numEpisodesPerScene: 10,' 2018-12-05 14:24:19,702 INFO b" simulator: 'room_simulator'," 2018-12-05 14:24:19,702 INFO b' roomtypesFile: null,' 2018-12-05 14:24:19,702 INFO b' defaultLightState: false,' 2018-12-05 14:24:19,702 INFO b" actionTraceLogFields: [ 'forces' ]," 2018-12-05 14:24:19,702 INFO b' debugMem: false,' 2018-12-05 14:24:19,702 INFO b' emptyRoom: false,' 2018-12-05 14:24:19,702 INFO b' agent: { radialClearance: 0.2 },' 2018-12-05 14:24:19,702 INFO b' autoStart: true,' 2018-12-05 14:24:19,702 INFO b" source: 'p5dScene'," 2018-12-05 14:24:19,702 INFO b' depth: false,' 2018-12-05 14:24:19,702 INFO b' savePng: false,' 2018-12-05 14:24:19,702 INFO b' manualStart: false,' 2018-12-05 14:24:19,702 INFO b' statesFile:' 2018-12-05 14:24:19,702 INFO b" '/home/jin/minos/minos/config/../data/episode_states.suncg.csv.bz2'," 2018-12-05 14:24:19,702 INFO b' forces: true,' 2018-12-05 14:24:19,702 INFO b" modalities: [ 'color', 'measurements' ]," 2018-12-05 14:24:19,702 INFO b" nodeBaseUrl: '/home/jin/work/'," 2018-12-05 14:24:19,702 INFO b" colorEncoding: 'rgba'," 2018-12-05 14:24:19,702 INFO b" saveVideo: ''," 2018-12-05 14:24:19,702 INFO b' archOnly: false,' 2018-12-05 14:24:19,702 INFO b' numEpisodesPerRestart: 1000,' 2018-12-05 14:24:19,702 INFO b" outputs: [ 'color', 'measurements', 'rewards', 'terminals' ]," 2018-12-05 14:24:19,702 INFO b" scenesFile: '/home/jin/minos/minos/config/../data/scenes.multiroom.csv'," 2018-12-05 14:24:19,702 INFO b" host: 'localhost'," 2018-12-05 14:24:19,702 INFO b' episodesPerSceneTrain: 10,' 2018-12-05 14:24:19,702 INFO b' port: 13179,' 2018-12-05 14:24:19,702 INFO b' navmap:' 2018-12-05 14:24:19,702 INFO b' { autoUpdate: true,' 2018-12-05 14:24:19,702 INFO b' refineGrid: true,' 2018-12-05 14:24:19,702 INFO b' reverseEdgeOrder: false,' 2018-12-05 14:24:19,702 INFO b' allowDiagonalMoves: true },' 2018-12-05 14:24:19,702 INFO b' episodesPerSceneTest: 1,' 2018-12-05 14:24:19,702 INFO b" maps: [ 'MAP01' ]," 2018-12-05 14:24:19,703 INFO b' numSimulators: 1,' 2018-12-05 14:24:19,703 INFO b" rewardType: 'dist_time'," 2018-12-05 14:24:19,703 INFO b' sensors:' 2018-12-05 14:24:19,703 INFO b' [ { resolution: [Array],' 2018-12-05 14:24:19,703 INFO b' near: 0.001,' 2018-12-05 14:24:19,703 INFO b' orientation: [Array],' 2018-12-05 14:24:19,703 INFO b" name: 'group'," 2018-12-05 14:24:19,703 INFO b' fov: 45,' 2018-12-05 14:24:19,703 INFO b' position: [Array],' 2018-12-05 14:24:19,703 INFO b" type: 'group'," 2018-12-05 14:24:19,703 INFO b' active: true,' 2018-12-05 14:24:19,703 INFO b' far: 20,' 2018-12-05 14:24:19,703 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,703 INFO b' resize: true,' 2018-12-05 14:24:19,703 INFO b' modes: [Array] },' 2018-12-05 14:24:19,703 INFO b' { resolution: [Array],' 2018-12-05 14:24:19,703 INFO b' near: 0.1,' 2018-12-05 14:24:19,703 INFO b' metersToUnit: 1,' 2018-12-05 14:24:19,703 INFO b' noise: false,' 2018-12-05 14:24:19,703 INFO b' orientation: [Array],' 2018-12-05 14:24:19,703 INFO b" name: 'depth'," 2018-12-05 14:24:19,703 INFO b' fov: 45,' 2018-12-05 14:24:19,703 INFO b' position: [Array],' 2018-12-05 14:24:19,703 INFO b" type: 'depth'," 2018-12-05 14:24:19,703 INFO b' active: true,' 2018-12-05 14:24:19,703 INFO b' far: 20,' 2018-12-05 14:24:19,703 INFO b" datatype: 'float32'," 2018-12-05 14:24:19,703 INFO b" encoding: 'depth'," 2018-12-05 14:24:19,703 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,703 INFO b' resize: true,' 2018-12-05 14:24:19,703 INFO b' noise_model: [Object] },' 2018-12-05 14:24:19,703 INFO b' { resolution: [Array],' 2018-12-05 14:24:19,703 INFO b" encoding: 'pcm'," 2018-12-05 14:24:19,703 INFO b" configuration: 'radial'," 2018-12-05 14:24:19,703 INFO b' position: [Array],' 2018-12-05 14:24:19,703 INFO b" name: 'audio'," 2018-12-05 14:24:19,703 INFO b' orientation: [Array],' 2018-12-05 14:24:19,703 INFO b" type: 'audio'," 2018-12-05 14:24:19,703 INFO b' active: true },' 2018-12-05 14:24:19,703 INFO b' { resolution: [Array],' 2018-12-05 14:24:19,703 INFO b' radial: [Array],' 2018-12-05 14:24:19,703 INFO b" encoding: 'raw_contact'," 2018-12-05 14:24:19,703 ERROR b'[sensors] colorEncoding rgba is set, overriding encoding gray' 2018-12-05 14:24:19,703 INFO b" configuration: 'radial-group'," 2018-12-05 14:24:19,704 INFO b' position: [Array],' 2018-12-05 14:24:19,704 INFO b" name: 'force'," 2018-12-05 14:24:19,704 INFO b' orientation: [Array],' 2018-12-05 14:24:19,704 INFO b" type: 'force'," 2018-12-05 14:24:19,704 INFO b' active: true } ],' 2018-12-05 14:24:19,704 INFO b' useShadows: false,' 2018-12-05 14:24:19,704 INFO b' room: null,' 2018-12-05 14:24:19,704 INFO b' profileCpu: false,' 2018-12-05 14:24:19,704 INFO b' objectiveSize: 4,' 2018-12-05 14:24:19,704 INFO b" textureSet: 'all'," 2018-12-05 14:24:19,704 INFO b" gameArgs: ''," 2018-12-05 14:24:19,704 INFO b' addObjectAtGoal: false,' 2018-12-05 14:24:19,704 INFO b' mirrors: false,' 2018-12-05 14:24:19,704 INFO b' debug: false,' 2018-12-05 14:24:19,704 INFO b" envConfig: 'objectgoal_suncg_mf'," 2018-12-05 14:24:19,704 INFO b" collisionDetection: { mode: 'raycast' }," 2018-12-05 14:24:19,704 INFO b" logdir: 'logs/2018_12_05_14_24_17'," 2018-12-05 14:24:19,704 INFO b' height: 256,' 2018-12-05 14:24:19,704 INFO b' retexture: true,' 2018-12-05 14:24:19,704 INFO b" outputDir: '/home/jin/minos/gym/logs/2018_12_05_14_24_17'," 2018-12-05 14:24:19,704 INFO b' frameSkip: 1,' 2018-12-05 14:24:19,704 INFO b" collisionMode: 'raycast'," 2018-12-05 14:24:19,704 INFO b' sceneIds:' 2018-12-05 14:24:19,704 INFO b" [ '00a76592d5cc7d92eef022393784a2de'," 2018-12-05 14:24:19,704 INFO b" '066e8a32fd15541e814a9eafa82abf5d'," 2018-12-05 14:24:19,704 INFO b" '11be354e8dbd5d7275c486a5037ea949' ]," 2018-12-05 14:24:19,704 INFO b" nonserializable: [ 'measure_fun', 'scene_filter', 'episode_filter' ]," 2018-12-05 14:24:19,704 INFO b' audio:' 2018-12-05 14:24:19,704 INFO b' { port: 28625,' 2018-12-05 14:24:19,704 INFO b" wallpath: '/home/jin/work/suncg/wall'," 2018-12-05 14:24:19,704 INFO b" datapath: 'data/wav' }," 2018-12-05 14:24:19,704 INFO b" task: 'object_goal'," 2018-12-05 14:24:19,704 INFO b" sensorsConfig: '../config/sensors.yml'," 2018-12-05 14:24:19,704 INFO b" colorMode: 'GRAY'," 2018-12-05 14:24:19,704 INFO b" agentConfig: ''," 2018-12-05 14:24:19,704 INFO b' useLights: false,' 2018-12-05 14:24:19,704 INFO b' observations:' 2018-12-05 14:24:19,704 INFO b' { depth: false,' 2018-12-05 14:24:19,704 INFO b' color: true,' 2018-12-05 14:24:19,704 INFO b' forces: true,' 2018-12-05 14:24:19,704 INFO b' objects: false,' 2018-12-05 14:24:19,704 INFO b' audio: false,' 2018-12-05 14:24:19,704 INFO b' map: false,' 2018-12-05 14:24:19,704 INFO b' rgb: true,' 2018-12-05 14:24:19,704 INFO b' normal: false,' 2018-12-05 14:24:19,705 INFO b' objectType: false,' 2018-12-05 14:24:19,705 INFO b' objectId: false,' 2018-12-05 14:24:19,705 INFO b' roomType: false,' 2018-12-05 14:24:19,705 INFO b' roomId: false },' 2018-12-05 14:24:19,705 INFO b" simPath: '/home/jin/minos/minos/lib/../'," 2018-12-05 14:24:19,705 INFO b' pingTimeout: null,' 2018-12-05 14:24:19,705 INFO b' saveObservations: false,' 2018-12-05 14:24:19,705 INFO b' busywait: 0,' 2018-12-05 14:24:19,705 INFO b' goal:' 2018-12-05 14:24:19,705 INFO b" { categories: [ 'arch', 'door' ]," 2018-12-05 14:24:19,705 INFO b" select: 'random'," 2018-12-05 14:24:19,705 INFO b' dist_from_bbox: true },' 2018-12-05 14:24:19,705 INFO b' sceneFormat: null,' 2018-12-05 14:24:19,705 INFO b' switchMaps: false,' 2018-12-05 14:24:19,705 INFO b' scene:' 2018-12-05 14:24:19,705 INFO b" { hideCategories: [ 'person', 'plant' ]," 2018-12-05 14:24:19,705 INFO b" textureSet: 'all'," 2018-12-05 14:24:19,705 INFO b' room: null,' 2018-12-05 14:24:19,705 INFO b" defaultModelFormat: 'obj'," 2018-12-05 14:24:19,705 INFO b" texturedObjects: 'all'," 2018-12-05 14:24:19,705 INFO b" source: 'p5dScene'," 2018-12-05 14:24:19,705 INFO b' emptyRoom: false,' 2018-12-05 14:24:19,705 INFO b" fullId: 'p5dScene.00a76592d5cc7d92eef022393784a2de'," 2018-12-05 14:24:19,705 INFO b' format: null,' 2018-12-05 14:24:19,705 INFO b" defaultSceneFormat: 'suncg'," 2018-12-05 14:24:19,705 INFO b' createArch: true,' 2018-12-05 14:24:19,705 INFO b' archOnly: false,' 2018-12-05 14:24:19,705 INFO b' replaceModels:' 2018-12-05 14:24:19,705 INFO b" { '73': '73_2'," 2018-12-05 14:24:19,705 INFO b" '122': '122_2'," 2018-12-05 14:24:19,705 INFO b" '133': '133_2'," 2018-12-05 14:24:19,705 INFO b" '214': '214_2'," 2018-12-05 14:24:19,705 INFO b" '246': '246_2'," 2018-12-05 14:24:19,705 INFO b" '247': '247_2'," 2018-12-05 14:24:19,705 INFO b" '326': '327'," 2018-12-05 14:24:19,705 INFO b" '331': '327'," 2018-12-05 14:24:19,705 INFO b" '502': '502_2'," 2018-12-05 14:24:19,705 INFO b" '622': '625'," 2018-12-05 14:24:19,705 INFO b" '756': '756_2'," 2018-12-05 14:24:19,705 INFO b" '757': '757_2'," 2018-12-05 14:24:19,705 INFO b" '758': '758_2'," 2018-12-05 14:24:19,705 INFO b" '759': '759_2'," 2018-12-05 14:24:19,705 INFO b" '760': '760_2'," 2018-12-05 14:24:19,705 INFO b" '761': '761_2'," 2018-12-05 14:24:19,705 INFO b" '762': '762_2'," 2018-12-05 14:24:19,705 INFO b" '763': '763_2'," 2018-12-05 14:24:19,705 INFO b" '764': '764_2'," 2018-12-05 14:24:19,706 INFO b" '768': '768_2'," 2018-12-05 14:24:19,706 INFO b" '769': '769_2'," 2018-12-05 14:24:19,706 INFO b" '770': '770_2'," 2018-12-05 14:24:19,706 INFO b" s1768: 's1768_2'," 2018-12-05 14:24:19,706 INFO b" s1762: 's1762_2'," 2018-12-05 14:24:19,706 INFO b" s1769: 's1769_2'," 2018-12-05 14:24:19,706 INFO b" s1764: 's1764_2'," 2018-12-05 14:24:19,706 INFO b" s1763: 's1763_2'," 2018-12-05 14:24:19,706 INFO b" s1765: 's1765_2'," 2018-12-05 14:24:19,706 INFO b" s1773: 's1773_2'," 2018-12-05 14:24:19,706 INFO b" s1770: 's1770_2'," 2018-12-05 14:24:19,706 INFO b" s1766: 's1766_2'," 2018-12-05 14:24:19,706 INFO b" s1772: 's1772_2'," 2018-12-05 14:24:19,706 INFO b" s1767: 's1767_2'," 2018-12-05 14:24:19,706 INFO b" s1771: 's1771_2' }," 2018-12-05 14:24:19,706 INFO b' enableMirrors: false,' 2018-12-05 14:24:19,706 INFO b' retexture: true },' 2018-12-05 14:24:19,706 INFO b' debugAudioMemory: false,' 2018-12-05 14:24:19,706 INFO b" start: 'random'," 2018-12-05 14:24:19,706 INFO b' unit: 1,' 2018-12-05 14:24:19,706 INFO b' timeStep: 0.1,' 2018-12-05 14:24:19,706 INFO b' assetCacheSize: 100,' 2018-12-05 14:24:19,706 INFO b' useSky: true }' 2018-12-05 14:24:19,706 INFO b"modeConfig { renderer: 'main'," 2018-12-05 14:24:19,706 INFO b" name: 'color'," 2018-12-05 14:24:19,706 INFO b" type: 'color'," 2018-12-05 14:24:19,706 INFO b" encoding: 'gray'," 2018-12-05 14:24:19,706 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,706 INFO b' near: 0.001,' 2018-12-05 14:24:19,706 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,706 INFO b' fov: 45,' 2018-12-05 14:24:19,706 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,706 INFO b' active: true,' 2018-12-05 14:24:19,706 INFO b' far: 20,' 2018-12-05 14:24:19,706 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,706 INFO b' resize: true }' 2018-12-05 14:24:19,706 INFO b"modeConfig { name: 'objectId'," 2018-12-05 14:24:19,706 INFO b" type: 'semantic'," 2018-12-05 14:24:19,706 INFO b" encoding: 'objectId'," 2018-12-05 14:24:19,706 INFO b' countPixels: true,' 2018-12-05 14:24:19,706 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,706 INFO b' near: 0.001,' 2018-12-05 14:24:19,706 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,706 INFO b' fov: 45,' 2018-12-05 14:24:19,706 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,706 INFO b' active: true,' 2018-12-05 14:24:19,706 INFO b' far: 20,' 2018-12-05 14:24:19,706 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,707 INFO b' resize: true }' 2018-12-05 14:24:19,707 INFO b"Creating new renderer objectId { configSet: 'simple'," 2018-12-05 14:24:19,707 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,707 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,707 INFO b' useLights: false,' 2018-12-05 14:24:19,707 INFO b' useShadows: false,' 2018-12-05 14:24:19,707 INFO b' width: 256,' 2018-12-05 14:24:19,707 INFO b' height: 256,' 2018-12-05 14:24:19,707 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,707 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,707 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,707 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,707 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,707 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,707 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,708 INFO b"modeConfig { name: 'objectType'," 2018-12-05 14:24:19,708 INFO b" type: 'semantic'," 2018-12-05 14:24:19,708 INFO b" encoding: 'objectType'," 2018-12-05 14:24:19,708 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,708 INFO b' near: 0.001,' 2018-12-05 14:24:19,708 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,708 INFO b' fov: 45,' 2018-12-05 14:24:19,708 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,708 INFO b' active: true,' 2018-12-05 14:24:19,708 INFO b' far: 20,' 2018-12-05 14:24:19,708 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,708 INFO b' resize: true }' 2018-12-05 14:24:19,708 INFO b"Creating new renderer objectType { configSet: 'simple'," 2018-12-05 14:24:19,708 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,708 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,708 INFO b' useLights: false,' 2018-12-05 14:24:19,709 INFO b' useShadows: false,' 2018-12-05 14:24:19,709 INFO b' width: 256,' 2018-12-05 14:24:19,709 INFO b' height: 256,' 2018-12-05 14:24:19,709 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,712 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,712 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,712 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,712 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,712 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,712 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,712 INFO b"modeConfig { name: 'roomId'," 2018-12-05 14:24:19,712 INFO b" type: 'semantic'," 2018-12-05 14:24:19,713 INFO b" encoding: 'roomId'," 2018-12-05 14:24:19,713 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,713 INFO b' near: 0.001,' 2018-12-05 14:24:19,713 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,713 INFO b' fov: 45,' 2018-12-05 14:24:19,713 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,713 INFO b' active: true,' 2018-12-05 14:24:19,713 INFO b' far: 20,' 2018-12-05 14:24:19,713 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,713 INFO b' resize: true }' 2018-12-05 14:24:19,713 INFO b"Creating new renderer roomId { configSet: 'simple'," 2018-12-05 14:24:19,713 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,713 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,713 INFO b' useLights: false,' 2018-12-05 14:24:19,713 INFO b' useShadows: false,' 2018-12-05 14:24:19,713 INFO b' width: 256,' 2018-12-05 14:24:19,713 INFO b' height: 256,' 2018-12-05 14:24:19,713 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,716 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,716 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,716 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,716 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,716 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,716 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,717 INFO b"modeConfig { name: 'roomType'," 2018-12-05 14:24:19,717 INFO b" type: 'semantic'," 2018-12-05 14:24:19,717 INFO b" encoding: 'roomType'," 2018-12-05 14:24:19,717 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,717 INFO b' near: 0.001,' 2018-12-05 14:24:19,717 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,717 INFO b' fov: 45,' 2018-12-05 14:24:19,717 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,717 INFO b' active: true,' 2018-12-05 14:24:19,717 INFO b' far: 20,' 2018-12-05 14:24:19,717 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,717 INFO b' resize: true }' 2018-12-05 14:24:19,717 INFO b"Creating new renderer roomType { configSet: 'simple'," 2018-12-05 14:24:19,717 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,717 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,717 INFO b' useLights: false,' 2018-12-05 14:24:19,717 INFO b' useShadows: false,' 2018-12-05 14:24:19,717 INFO b' width: 256,' 2018-12-05 14:24:19,717 INFO b' height: 256,' 2018-12-05 14:24:19,717 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,720 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,720 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,720 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,720 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,720 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,720 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,721 INFO b"modeConfig { name: 'normal'," 2018-12-05 14:24:19,721 INFO b" type: 'normal'," 2018-12-05 14:24:19,721 INFO b" encoding: 'xyza'," 2018-12-05 14:24:19,721 INFO b' resolution: [ 84, 84 ],' 2018-12-05 14:24:19,721 INFO b' near: 0.001,' 2018-12-05 14:24:19,721 INFO b' orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],' 2018-12-05 14:24:19,721 INFO b' fov: 45,' 2018-12-05 14:24:19,721 INFO b' position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],' 2018-12-05 14:24:19,721 INFO b' active: true,' 2018-12-05 14:24:19,721 INFO b' far: 20,' 2018-12-05 14:24:19,721 INFO b" configuration: 'positional'," 2018-12-05 14:24:19,721 INFO b' resize: true }' 2018-12-05 14:24:19,721 INFO b"Creating new renderer normal { configSet: 'simple'," 2018-12-05 14:24:19,721 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,721 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,721 INFO b' useLights: false,' 2018-12-05 14:24:19,721 INFO b' useShadows: false,' 2018-12-05 14:24:19,721 INFO b' width: 256,' 2018-12-05 14:24:19,721 INFO b' height: 256,' 2018-12-05 14:24:19,721 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,724 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,724 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,724 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,724 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,724 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,724 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,725 INFO b"Creating new renderer depth { configSet: 'simple'," 2018-12-05 14:24:19,725 INFO b' isOffscreen: true,' 2018-12-05 14:24:19,725 INFO b' useAmbientOcclusion: false,' 2018-12-05 14:24:19,725 INFO b' useLights: false,' 2018-12-05 14:24:19,725 INFO b' useShadows: false,' 2018-12-05 14:24:19,725 INFO b' width: 256,' 2018-12-05 14:24:19,725 INFO b' height: 256,' 2018-12-05 14:24:19,725 INFO b' reuseBuffers: true }' 2018-12-05 14:24:19,728 INFO b'THREE.WebGLRenderer 84' 2018-12-05 14:24:19,728 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.' 2018-12-05 14:24:19,728 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.' 2018-12-05 14:24:19,728 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.' 2018-12-05 14:24:19,728 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.' 2018-12-05 14:24:19,728 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.' 2018-12-05 14:24:19,737 INFO b'Seeding simulator rng with 114362441' 2018-12-05 14:24:19,742 INFO b'starting memory= { rss: 196055040,' 2018-12-05 14:24:19,743 INFO b' heapTotal: 121294848,' 2018-12-05 14:24:19,743 INFO b' heapUsed: 85992560,' 2018-12-05 14:24:19,743 INFO b' external: 364499 }' 2018-12-05 14:24:19,743 INFO b'preloadData { loadSceneStatistics: true, loadSounds: false }' 2018-12-05 14:24:19,765 INFO b'Loaded LightSpecs for 202 models' 2018-12-05 14:24:20,577 INFO b'imported material indices' 2018-12-05 14:24:22,052 INFO b'imported material counts' 2018-12-05 14:24:22,052 INFO b'Removing subscribers for event ready [ 0 ]' 2018-12-05 14:24:22,052 INFO b'importMaterialCsvs: 2310.389ms' 2018-12-05 14:24:22,055 INFO b'Loading scene p5dScene.69e283eec2f85eb53d528dcfb2172ab9' 2018-12-05 14:24:22,060 INFO b'preloading /home/jin/work//suncg//navgrid_10/69e283eec2f85eb53d528dcfb2172ab9/69e283eec2f85eb53d528dcfb2172ab9.furnished.grid.json' 2018-12-05 14:24:22,060 INFO b'preloading /home/jin/work//suncg//wall/69e283eec2f85eb53d528dcfb2172ab9/69e283eec2f85eb53d528dcfb2172ab9.arch.json' 2018-12-05 14:24:22,060 INFO b'preloading /home/jin/work//suncg//wall/69e283eec2f85eb53d528dcfb2172ab9/69e283eec2f85eb53d528dcfb2172ab9.arch.json' 2018-12-05 14:24:22,061 INFO b'Removing subscribers for event drain [ 0 ]' 2018-12-05 14:24:23,604 INFO b'Timing loadScene: 1548.733ms' 2018-12-05 14:24:23,623 INFO b'Loaded p5dScene.69e283eec2f85eb53d528dcfb2172ab9 bbdims: [8.947645902633667,2.75,8.402620196342468]' 2018-12-05 14:24:23,626 INFO b'Retexture scene' 2018-12-05 14:24:25,471 INFO b'buildBVH.scene: 63.592ms' 2018-12-05 14:24:25,505 INFO b'SimState.sample: 99.730ms' 2018-12-05 14:24:25,506 INFO b'Timing for initial is 0' 2018-12-05 14:24:25,506 INFO b'Parsing grid for p5dScene.69e283eec2f85eb53d528dcfb2172ab9 navmap' 2018-12-05 14:24:25,507 INFO b'Refining grid' 2018-12-05 14:24:25,507 INFO b'Populating occupancy' 2018-12-05 14:24:25,516 INFO b'set active level 0' 2018-12-05 14:24:25,563 INFO b'started... waiting for all images to load' 2018-12-05 14:24:25,848 INFO b'Removing subscribers for event drain [ 0 ]' 2018-12-05 14:24:25,851 INFO b'Timing waitImages: 287.521ms' 2018-12-05 14:24:25,922 ERROR b'THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported.' 2018-12-05 14:24:26,003 INFO b'Timing start: 6262.575ms' 2018-12-05 14:24:45,736 INFO b'Seeding simulator rng with 83789459' 2018-12-05 14:24:45,747 INFO b'SimState.sample: 5.704ms' 2018-12-05 14:24:45,748 INFO b'set active level 0' 2018-12-05 14:25:12,373 INFO b'Seeding simulator rng with 116953389' 2018-12-05 14:25:12,381 INFO b'SimState.sample: 0.487ms' 2018-12-05 14:25:12,381 INFO b'set active level 0' 2018-12-05 14:25:29,355 INFO b'Seeding simulator rng with 119252480' 2018-12-05 14:25:29,363 INFO b'SimState.sample: 0.571ms' 2018-12-05 14:25:29,364 INFO b'set active level 0' 2018-12-05 14:25:46,858 INFO b'Seeding simulator rng with 61331550' 2018-12-05 14:25:46,871 INFO b'SimState.sample: 1.828ms' 2018-12-05 14:25:46,871 INFO b'set active level 0' 2018-12-05 14:26:06,998 INFO b'Seeding simulator rng with 44916091' 2018-12-05 14:26:07,002 INFO b'SimState.sample: 0.412ms' 2018-12-05 14:26:07,003 INFO b'set active level 0' 2018-12-05 14:26:07,254 INFO b'Seeding simulator rng with 51406092' 2018-12-05 14:26:07,259 INFO b'SimState.sample: 0.336ms' 2018-12-05 14:26:07,259 INFO b'set active level 0' 2018-12-05 14:26:25,668 INFO b'Seeding simulator rng with 28767388' 2018-12-05 14:26:25,681 INFO b'SimState.sample: 1.055ms' 2018-12-05 14:26:25,681 INFO b'set active level 0' 2018-12-05 14:26:43,888 INFO b'Seeding simulator rng with 1869393' 2018-12-05 14:26:43,894 INFO b'SimState.sample: 0.451ms' 2018-12-05 14:26:43,894 INFO b'set active level 0' 2018-12-05 14:27:01,022 INFO b'Seeding simulator rng with 10478041' 2018-12-05 14:27:01,027 INFO b'SimState.sample: 0.412ms' 2018-12-05 14:27:01,027 INFO b'set active level 0' 2018-12-05 14:27:20,072 INFO b'Seeding simulator rng with 38411903' 2018-12-05 14:27:20,078 INFO b'starting memory= { rss: 620433408,' 2018-12-05 14:27:20,078 INFO b' heapTotal: 362754048,' 2018-12-05 14:27:20,078 INFO b' heapUsed: 288688056,' 2018-12-05 14:27:20,078 INFO b' external: 93477082 }' 2018-12-05 14:27:20,078 INFO b'preloadData { loadSceneStatistics: true, loadSounds: false }' 2018-12-05 14:27:20,081 INFO b'Loading scene p5dScene.57b69bf554348a4c185841889fa2cacb' 2018-12-05 14:27:20,090 INFO b'preloading /home/jin/work//suncg//navgrid_10/57b69bf554348a4c185841889fa2cacb/57b69bf554348a4c185841889fa2cacb.furnished.grid.json' 2018-12-05 14:27:20,090 INFO b'preloading /home/jin/work//suncg//wall/57b69bf554348a4c185841889fa2cacb/57b69bf554348a4c185841889fa2cacb.arch.json' 2018-12-05 14:27:20,090 INFO b'preloading /home/jin/work//suncg//wall/57b69bf554348a4c185841889fa2cacb/57b69bf554348a4c185841889fa2cacb.arch.json' 2018-12-05 14:27:20,092 INFO b'Removing subscribers for event drain [ 0 ]' 2018-12-05 14:27:21,042 INFO b'Timing loadScene: 954.068ms' 2018-12-05 14:27:21,056 INFO b'Loaded p5dScene.57b69bf554348a4c185841889fa2cacb bbdims: [12.424998019337657,4.299999762251973,8.750383910402885]' 2018-12-05 14:27:21,056 INFO b'Retexture scene' 2018-12-05 14:27:22,369 INFO b'buildBVH.scene: 28.083ms' 2018-12-05 14:27:22,369 INFO b'SimState.sample: 29.036ms' 2018-12-05 14:27:22,370 INFO b'Timing for initial is 0' 2018-12-05 14:27:22,370 INFO b'Parsing grid for p5dScene.57b69bf554348a4c185841889fa2cacb navmap' 2018-12-05 14:27:22,371 INFO b'Refining grid' 2018-12-05 14:27:22,380 INFO b'Populating occupancy' 2018-12-05 14:27:22,388 INFO b'set active level 0' 2018-12-05 14:27:22,408 INFO b'started... waiting for all images to load' 2018-12-05 14:27:22,542 INFO b'Removing subscribers for event drain [ 0 ]' 2018-12-05 14:27:22,544 INFO b'Timing waitImages: 136.109ms' 2018-12-05 14:27:22,644 INFO b'Timing start: 2565.427ms' 2018-12-05 14:27:28,972 INFO b'Seeding simulator rng with 60361938' 2018-12-05 14:27:28,977 INFO b'SimState.sample: 0.352ms' 2018-12-05 14:27:28,978 INFO b'set active level 0' 2018-12-05 14:27:47,274 INFO b'Seeding simulator rng with 119750891' 2018-12-05 14:27:47,280 INFO b'SimState.sample: 1.284ms' 2018-12-05 14:27:47,281 INFO b'set active level 0' 2018-12-05 14:28:05,042 INFO b'Seeding simulator rng with 26117811' 2018-12-05 14:28:05,053 INFO b'SimState.sample: 5.839ms' 2018-12-05 14:28:05,053 INFO b'set active level 0' 2018-12-05 14:28:28,306 INFO b'Seeding simulator rng with 98546797' 2018-12-05 14:28:28,337 INFO b'SimState.sample: 25.862ms' 2018-12-05 14:28:28,337 INFO b'set active level 0' 2018-12-05 14:28:48,467 INFO b'Seeding simulator rng with 102846296' 2018-12-05 14:28:48,481 INFO b'SimState.sample: 0.903ms' 2018-12-05 14:28:48,481 INFO b'set active level 0' 2018-12-05 14:29:06,158 INFO b'Seeding simulator rng with 22487411' 2018-12-05 14:29:06,163 INFO b'SimState.sample: 0.399ms' 2018-12-05 14:29:06,163 INFO b'set active level 0' 2018-12-05 14:29:26,080 INFO b'Seeding simulator rng with 48676605' 2018-12-05 14:29:26,090 INFO b'SimState.sample: 0.625ms' 2018-12-05 14:29:26,091 INFO b'set active level 0' 2018-12-05 14:29:44,360 INFO b'Seeding simulator rng with 36140863' 2018-12-05 14:29:44,366 INFO b'SimState.sample: 0.399ms' 2018-12-05 14:29:44,366 INFO b'set active level 0' 2018-12-05 14:29:56,342 INFO b'Seeding simulator rng with 14882708' 2018-12-05 14:29:56,347 INFO b'SimState.sample: 0.335ms' 2018-12-05 14:29:56,347 INFO b'set active level 0' 2018-12-05 14:30:14,141 INFO b'Received close signal. Shutting down simulator server...' 2018-12-05 14:30:14,141 INFO b'Closed simulator' 2018-12-05 14:30:14,142 INFO Waiting for simserver stdout to finish 2018-12-05 14:30:14,165 INFO Finished simserver stderr 2018-12-05 14:30:14,165 INFO Finished simserver stdout 2018-12-05 14:30:14,165 INFO Waiting for simserver stderr to finish

If anyone has any ideas to get this working, that is very appreciated. Thanks in advance.

angelxuanchang commented 5 years ago

It's not clear from the log that there is an error with headless rendering.
The messages such as THREE.WebGLRenderer: WEBGL_depth_texture extension not supported is expected does not signify issues with getting a webgl context.

Please see https://github.com/minosworld/minos/blob/master/FAQ.md#how-can-i-run-headless-on-a-server and https://github.com/smartscenes/sstk/wiki/Headless-Rendering if you are still having trouble.