$ build/apitrace trace --output /tmp/prison.trace $GAMEROOT/prisonarchitect-update13f-linux/PrisonArchitect.x86_64                       
apitrace: loaded into $GAMEROOT/prisonarchitect-update13f-linux/PrisonArchitect.x86_64
WindowManagerSDL2 :: Main
SDL Version: Compiled against 2.0.3, running with 2.0.8
User save path set to '$HOME/.Prison Architect/'
update-13f linux humble compiled 15:46:23, Dec 13 2017
Loading Preferences from $HOME/.Prison Architect/preferences.txt
BEGIN DataRegistry DUMP:
         Screen
         ScreenW [int] 0
         ScreenH [int] 0
         ScreenWindowed [bool] 0
         ScreenHighDPI [bool] 0
         ScreenMultiSampled [bool] 0
         ScreenSuperSampled [bool] 1
         Sound
         SoundMixFrequency [int] 44100
         SoundVolume [int] 106
         SoundSwapStereo [bool] 0
         SoundEnableDsp [bool] 1
         RenderRooms [bool] 1
         RecentMap [string] 
         FirstTime [bool] 0
         AutoSaveTimer [int] 10
         HardwareCompat [int] 0
         LastKnownVersion [string] update-13f-linux-humble
         FlashMobYear [int] 0
         RegistrationShown [bool] 1
         TimeLapseCamera [int] 0
         TimeLapseInterval [int] 1
         TimeLapseFPSNumerator [int] 24
         TimeLapseFPSDenominator [int] 1
         TimeLapseQuality [int] 63
         Mods [string] 
         LastSubCheck [int] 0
         UiScale [float] 1.00
         EnabledVBOs [bool] 1
         ForumId [int] 0
         SteamUser [bool] 1
         V2Gui [bool] 1
         ZoomToMouse [bool] 1
         OneClickRapsheet [bool] 1
         ClockType [int] 0
         FloorSignMode [int] 1
         DisableAnalytics [bool] 1
         MotdId [string] 
         NameInGameHash [string] 
         LoadCJKFonts [bool] 1
         Language [string] english
         TempInC [bool] 1
END DataRegistry DUMP:
apitrace: redirecting dlopen("libGL.so.1", 0x102) from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
apitrace: tracing to /tmp/prison.trace
apitrace: redirecting dlopen("libGL.so.1", 0x102) from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
Suggested resolution : 2560 x 1440
Opening window 2560 x 1440 x 32, fullscreen 
Opening on display 0 with bounds (0, 0) - (2560 x 1440)
apitrace: redirecting dlopen("libGL.so.1", 0x102) from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
Screen 2560 x 1440, bpp 24 (High DPI Scale 1.000000, 1.000000)
OpenGL Vendor     : X.Org
OpenGL Renderer   : AMD Radeon R9 200 Series (HAWAII, DRM 3.23.0, 4.16.9-citadel, LLVM 7.0.0)
OpenGL Version    : 3.1 Mesa 18.2.0-devel (git-6f558fb0f7)
OpenGL GLSL       : 1.40
Parsing archive main.dat...
        Parsing archive at path 'main.dat'
        DONE
Parsing archive sounds.dat...
        Parsing archive at path 'sounds.dat'
        DONE
There are 0 mod sub directories
Compiled with libpng  libpng version 1.6.1 - March 28, 2013
(Running with version 1.6.1)
libpng error: iCCP: known incorrect sRGB profile
OpenGL using glGenerateMipmaps to generate mipmaps.
Loading user sprite images for path: data/sprites.png
Failed to get sprites.png for data/sprites.png
Created FrameBuffer of size 64 x 64 in 0ms
apitrace: warning: glVertexPointer: call will be faked due to pointer to user memory (https://github.com/apitrace/apitrace/blob/master/docs/BUGS.markdown#tracing)
apitrace: warning: glTexCoordPointer: call will be faked due to pointer to user memory (https://github.com/apitrace/apitrace/blob/master/docs/BUGS.markdown#tracing)
apitrace: warning: glColorPointer: call will be faked due to pointer to user memory (https://github.com/apitrace/apitrace/blob/master/docs/BUGS.markdown#tracing)
Object spritebank composite took 528ms
Warning: Loading a very high res image (2688x128)
Warning: mipmaps requested for non-power-of-two image (2688x128), will break on OpenGL ES
libpng error: iCCP: known incorrect sRGB profile
Parsing archive collectables.dat...
        Parsing archive at path 'collectables.dat'
        DONE
BiographyGenerator reading bios...
BiographyGenerator read 27 fornames, 235 surnames, 48 crimes
BiographyGenerator reading Names in the Game...
BiographyGenerator read 27475 Names in the Game (including 83 Faces in the game)
Curl version libcurl/7.30.0
MessageQueue HTTPThread (0x6bcd890) running.
Initialising SDL Audio:
[SDL] Audio driver: pulseaudio
        Frequency: 44100
        Format: 32784
        Channels: 2
        Samples: 512
        Size of Stereo Sample: 4
SoundSystem started : 44100Hz x 64 sound channels (including 8 music channels)
Requesting message-of-the-day...
Detected encoding UTF8 for file data/language/fullgame.txt
Loaded in 761 strings
Detected encoding UTF8 for file data/language/base-language.txt
Loaded in 3821 strings
Couldn't open unicode hyphenation file data/language/hyphenations.txt
Warning: Failed to load BMFont font data/fonts/verdana-bold.fnt
Warning: Failed to load BMFont font data/fonts/verdana-bold-outlined.fnt
Fonts loaded in 138ms
OpenGL Max texture Size 16384 x 16384 [192 tex units]
Multisampled Framebuffer support : yes
Supersampling support at screen res 2560 x 1440 : yes
Attempting to create SuperSampled Framebuffer
Created FrameBuffer of size 8192 x 4096 in 0ms
SuperSampling enabled
Parsing archive prisons.dat...
        Parsing archive at path 'prisons.dat'
        DONE
MessageQueue AttractScreenThread (0x14d13460) running.
================
== LOAD MAP  ==
================
Loading map from 'data/premadeprisons/premade-thecastle.prison'...
World Initialised to size 200 x 160 cells
MaterialLibrary reading from 'data/materials.txt'
ReformProgramManager reading from data/reform_programs.txt...
DataRegistry Warning : Failed to match enum value 'calming'
GridRoutingSystem(0x1b775000) constructed.
Grid Navigation System initialised
EscapeMap Initialised : 250Kb
Lightmap initialised in 0ms : 375Kb
Weathermap initialised in 0ms : 750Kb
GridRoutingSystem created Route Work-In-Progress and CellInfo (size 2500Kb)
Danger initialised : 250Kb
Patrol System Initialised : 1000Kb
libpng error: iCCP: known incorrect sRGB profile
Gang System Initialised
Created FrameBuffer of size 512 x 512 in 0ms
Water System Initialised : 2375Kb
PowerSystem initialised : 250Kb
Reading production.txt...
PolaroidSystem has 177 polaroids in the database
ScriptSystem initialised in 0ms
Parsing LUA script 'data/grants.lua'
ConstructionSystem reading from 'data/prefabs.txt'
ERROR : Failed to load job file 'data/jobs.txt'
loaded providers - 2560
Discrepency reading biography - Prisoner based on NITG 118074 with face 355 / body 0 does not match NITG face -1 / body 3. Correcting.
Discrepency reading biography -  NITG 196219 not found.
Failed to find FastLList HighPriority
SectorSystem check: No changes found.
FoodSystem Recalculate took 0.6ms
Load completed in 692ms (240ms to read file, 452ms to parse data)
Saving Preferences to $HOME/.Prison Architect/preferences.txt
Save successful!
UpdateNITG: Latest nitg is 10982147 bytes long with ETag "a79303-56cb99a9999ad"
WorldRenderer: vexCellTypes initialised in 8ms : 64000 triangles (vex,tex), 3.7 MBytes
ShaderOpenGL successfully compiled : LightMapNoColour
ShaderOpenGL successfully compiled : LightMap
WorldRenderer: vexCell2ndLayer initialised in 6ms : 64000 triangles (vex,tex), 3.7 MBytes
ShaderOpenGL successfully compiled : LightMapNoTexture
WorldRenderer: vexDetails initialised in 5ms : 64000 triangles (vex,tex,col), 4.4 MBytes
Waited for prerender group to finish for 0.000001 seconds
libpng error: iCCP: known incorrect sRGB profile
Warning: mipmaps requested for non-power-of-two image (1200x343), will break on OpenGL ES
Loading page 0 of bitmap font data/fonts/catalogue.fnt.
Saving Preferences to $HOME/.Prison Architect/preferences.txt
Save successful!
Performance: Waited 0.000001 s or Update Thread to complete.
LaundrySystem Recalculate took 0.1ms
Performance: Waited 0.000001 s or Update Thread to complete.
FoodSystem Recalculate took 0.6ms
Waited for prerender group to finish for 0.000009 seconds
LaundrySystem Recalculate took 0.1ms
FoodSystem Recalculate took 0.6ms
LaundrySystem Recalculate took 0.1ms
Warning: mipmaps requested for non-power-of-two image (1105x700), will break on OpenGL ES
FoodSystem Recalculate took 0.7ms
Performance: Waited 0.000009 s or Update Thread to complete.
CLOSING MAP...
Destroying FrameBuffer of size 512 x 512
Destroying VBO with 0 vertexes...
Destroying VBO with 0 vertexes...
Destroying VBO with 0 vertexes...
GridRoutingSystem(0x1b775000) destroyed.
Destroying VBO with 192000 vertexes...
Destroying VBO with 192000 vertexes...
Destroying VBO with 32768 vertexes...
Destroying VBO with 192000 vertexes...
Destroying VBO with 131072 vertexes...
Destroying VBO with 203520 vertexes...
Destroying VBO with 0 vertexes...
Destroying VBO with 0 vertexes...
Destroying VBO with 0 vertexes...
Destroying VBO with 0 vertexes...
ShaderOpenGL TODO : Destroy method
ShaderOpenGL TODO : Destroy method
ShaderOpenGL TODO : Destroy method
================
==  NEW MAP  ===
================
World Initialised to size 100 x 80 cells
MaterialLibrary reading from 'data/materials.txt'
ReformProgramManager reading from data/reform_programs.txt...
GridRoutingSystem(0x149aaff0) constructed.
Grid Navigation System initialised
EscapeMap Initialised : 62Kb
==OPENGL==> [location 'Bitmap::ConvertToTexture Before Texture Creation'] error code 0x502 (invalid operation)
GridRoutingSystem created Route Work-In-Progress and CellInfo (size 625Kb)
Lightmap initialised in 0ms : 93Kb
Weathermap initialised in 0ms : 187Kb
Danger initialised : 62Kb
Patrol System Initialised : 250Kb
Gang System Initialised
Created FrameBuffer of size 512 x 512 in 0ms
Water System Initialised : 593Kb
PowerSystem initialised : 62Kb
Reading production.txt...
PolaroidSystem has 177 polaroids in the database
ScriptSystem initialised in 0ms
Parsing LUA script 'data/grants.lua'
ConstructionSystem reading from 'data/prefabs.txt'
ERROR : Failed to load job file 'data/jobs.txt'
Generating new world...
Weathermap initialised in 0ms : 187Kb
Create starting world done...
MessageQueue AttractScreenThread (0x14d13460) terminated.
WorldRenderer: vexCellTypes initialised in 2ms : 16000 triangles (vex,tex), 0.9 MBytes
ShaderOpenGL successfully compiled : LightMapNoColour
ShaderOpenGL successfully compiled : LightMap
WorldRenderer: vexCell2ndLayer initialised in 2ms : 16000 triangles (vex,tex), 0.9 MBytes
ShaderOpenGL successfully compiled : LightMapNoTexture
WorldRenderer: vexDetails initialised in 2ms : 16000 triangles (vex,tex,col), 1.1 MBytes
ShaderOpenGL successfully compiled : SunShadows
WorldRenderer: vexFowBlueprint initialised in 2ms : 16000 triangles (vex,tex), 0.9 MBytes
ShaderOpenGL successfully compiled : VisMap
libpng error: iCCP: known incorrect sRGB profile
Warning: mipmaps requested for non-power-of-two image (1000x1000), will break on OpenGL ES
Warning: mipmaps requested for non-power-of-two image (359x436), will break on OpenGL ES
SectorSystem check: There are 1 new sectors.
Performance: Waited 0.000010 s or Update Thread to complete.
Saving Preferences to $HOME/.Prison Architect/preferences.txt
Save successful!
Destructing SoundLibrary2dSDL class... done.
apitrace: unloaded from $GAMEROOT/prisonarchitect-update13f-linux/PrisonArchitect.x86_64