SpaiR / StrongDMM

Robust map editor for BYOND
GNU General Public License v3.0
125 stars 71 forks source link

Bug: White map (or visible outlines only) #161

Closed ghost closed 1 year ago

ghost commented 2 years ago

Workaround using WSL: https://github.com/SpaiR/StrongDMM/issues/161#issuecomment-1590465907

Version

v2.6.2.alpha

What happened?

When ever i try to load any map StrongDMM just crashes. (this happens when i use any codebase)

Reproduction

  1. Run StrongDMM
  2. load any map
  3. crash

how i solved it

https://github.com/SpaiR/StrongDMM/issues/161#issuecomment-1232378939

Relevant log output

```bash 2022/08/10 21:11:16 [app] starting 2022/08/10 21:11:16 [app] internal dir: C:\Users\Admin\AppData\Roaming\StrongDMM 2022/08/10 21:11:16 [app] log dir: C:\Users\Admin\AppData\Roaming\StrongDMM\logs 2022/08/10 21:11:16 [window] creating native window 2022/08/10 21:11:16 [window] setting up glfw 2022/08/10 21:11:17 [window] glfw initialized 2022/08/10 21:11:17 [window] using opengl 3.3, core profile 2022/08/10 21:11:17 [window] native window created 2022/08/10 21:11:17 [window] opengl initialized 2022/08/10 21:11:17 [window] setting up Dear ImGui 2022/08/10 21:11:17 [window] initializing platform 2022/08/10 21:11:17 [platform] clipboard initialized 2022/08/10 21:11:17 [platform] key map initialized 2022/08/10 21:11:17 [platform] mouse cursors initialized 2022/08/10 21:11:17 [platform] callbacks initialized 2022/08/10 21:11:17 [app] start phase: [initialize] 2022/08/10 21:11:17 [app] no old logs to delete 2022/08/10 21:11:17 [app] no old backups to delete 2022/08/10 21:11:17 [app] registering config [app] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\app.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\app.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\app.json 2022/08/10 21:11:17 [app] config registered: app 2022/08/10 21:11:17 [app] registering config [project] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\project.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\project.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\project.json 2022/08/10 21:11:17 [app] config registered: project 2022/08/10 21:11:17 [app] config cleanup, removed map path: C:\Users\Admin\Desktop\MonkeStation-master\MonkeStation-master\_maps\map_files\Narashino\Narashino.dmm 2022/08/10 21:11:17 [app] config cleanup, removed map path: C:\Users\Admin\Desktop\MonkeStation-master\MonkeStation-master\_maps\map_files\Narashino\Narashino.dmm 2022/08/10 21:11:17 [app] config cleanup, removed map path: C:\Users\Admin\Desktop\MonkeStation-master\MonkeStation-master\_maps\map_files\Narashino\Narashino.dmm 2022/08/10 21:11:17 [app] config cleanup, removed map path: C:\Users\Admin\Desktop\MonkeStation-master\MonkeStation-master\_maps\map_files\Narashino\Narashino.dmm 2022/08/10 21:11:17 [app] config cleanup, removed map path: C:\Users\Admin\Desktop\MonkeStation-master\MonkeStation-master\_maps\map_files\Narashino\Narashino.dmm 2022/08/10 21:11:17 [app] registering config [preferences] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\preferences.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\preferences.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\preferences.json 2022/08/10 21:11:17 [app] config registered: preferences 2022/08/10 21:11:17 [window] set fps: 60 2022/08/10 21:11:17 [app] background configuration save every [3m0s]! 2022/08/10 21:11:17 [command] changing stack to: __NULL_SPACE__ 2022/08/10 21:11:17 [command] created stack: __NULL_SPACE__ 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 0, Name: menu#DoNewWorkspace, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 78, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 0, Name: menu#DoNewWorkspace, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 78, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 1, Name: menu#DoOpen, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 79, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 1, Name: menu#DoOpen, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 79, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 2, Name: menu#DoSave, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 83, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 2, Name: menu#DoSave, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 83, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 3, Name: menu#DoSaveAll, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 83, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 3, Name: menu#DoSaveAll, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 83, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 4, Name: menu#DoClose, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 87, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 4, Name: menu#DoClose, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 87, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 5, Name: menu#DoCloseAll, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 87, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 5, Name: menu#DoCloseAll, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 87, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 6, Name: menu#DoExit, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 81, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 6, Name: menu#DoExit, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 81, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 7, Name: menu#DoUndo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 90, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 7, Name: menu#DoUndo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 90, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 8, Name: menu#DoRedo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 90, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 8, Name: menu#DoRedo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 340, SecondKeyAlt: 344, ThirdKey: 90, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 2, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 9, Name: menu#DoRedo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 89, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 9, Name: menu#DoRedo, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 89, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 10, Name: menu#DoCopy, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 67, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 10, Name: menu#DoCopy, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 67, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 11, Name: menu#DoPaste, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 86, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 11, Name: menu#DoPaste, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 86, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 12, Name: menu#DoCut, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 88, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 12, Name: menu#DoCut, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 88, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 13, Name: menu#DoDelete, FirstKey: 261, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 13, Name: menu#DoDelete, FirstKey: 261, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 14, Name: menu#DoSearch, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 70, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 14, Name: menu#DoSearch, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 70, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: true, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 15, Name: menu#DoMultiZRendering, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 48, SecondKeyAlt: 320, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 15, Name: menu#DoMultiZRendering, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 48, SecondKeyAlt: 320, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 16, Name: menu#DoResetLayout, FirstKey: 294, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 16, Name: menu#DoResetLayout, FirstKey: 294, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [app] registering config [layout] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\layout.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\layout.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\layout.json 2022/08/10 21:11:17 [app] config registered: layout 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 17, Name: cpenvironment#doToggleTypesFilter, FirstKey: 70, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 17, Name: cpenvironment#doToggleTypesFilter, FirstKey: 70, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [app] registering config [cpenvironment] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpenvironment.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpenvironment.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpenvironment.json 2022/08/10 21:11:17 [app] config registered: cpenvironment 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 18, Name: cpsearch#jumpToUp, FirstKey: 340, FirstKeyAlt: 344, SecondKey: 292, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 18, Name: cpsearch#jumpToUp, FirstKey: 340, FirstKeyAlt: 344, SecondKey: 292, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 19, Name: cpsearch#jumpToDown, FirstKey: 292, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 19, Name: cpsearch#jumpToDown, FirstKey: 292, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 20, Name: cpseaarch#doToggleFilter, FirstKey: 70, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 20, Name: cpseaarch#doToggleFilter, FirstKey: 70, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [app] registering config [cpwsarea] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpwsarea.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpwsarea.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpwsarea.json 2022/08/10 21:11:17 [app] config registered: cpwsarea 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 21, Name: wsempty#loadSelectedMaps, FirstKey: 257, FirstKeyAlt: 335, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 21, Name: wsempty#loadSelectedMaps, FirstKey: 257, FirstKeyAlt: 335, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 22, Name: wsempty#dropSelectedMaps, FirstKey: 256, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 22, Name: wsempty#dropSelectedMaps, FirstKey: 256, FirstKeyAlt: 0, SecondKey: 0, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 0, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 23, Name: wsempty#dropSelectedMaps, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 68, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 23, Name: wsempty#dropSelectedMaps, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 68, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 24, Name: wsempty#selectAllMaps, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 65, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 24, Name: wsempty#selectAllMaps, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 65, SecondKeyAlt: 0, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [cpwsarea] workspace opened in index [0]:  Workspace 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 25, Name: cpvareditor#doToggleShowModified, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 49, SecondKeyAlt: 321, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 25, Name: cpvareditor#doToggleShowModified, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 49, SecondKeyAlt: 321, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 26, Name: cpvareditor#doToggleShowByType, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 50, SecondKeyAlt: 322, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 26, Name: cpvareditor#doToggleShowByType, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 50, SecondKeyAlt: 322, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] adding shortcut to shortcuts: Id: 27, Name: cpvareditor#doToggleShowPins, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 51, SecondKeyAlt: 323, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [shortcut] added: Id: 27, Name: cpvareditor#doToggleShowPins, FirstKey: 341, FirstKeyAlt: 345, SecondKey: 51, SecondKeyAlt: 323, ThirdKey: 0, ThirdKeyAlt: 0, HasAction: true, HasIsEnabled: false, Wheight: 1, IsVisible: false 2022/08/10 21:11:17 [app] registering config [cpvareditor] by path [C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpvareditor.json]... 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpvareditor.json 2022/08/10 21:11:17 [config] reading: C:\Users\Admin\AppData\Roaming\StrongDMM\config\cpvareditor.json 2022/08/10 21:11:17 [app] config registered: cpvareditor 2022/08/10 21:11:17 [app] layout state is not changed 2022/08/10 21:11:17 [app] title updated: StrongDMM 2022/08/10 21:11:17 [app] end phase: [initialize] 2022/08/10 21:11:17 [app] start phase: [process] 2022/08/10 21:11:17 [app] checking for self updates... 2022/08/10 21:11:17 [cpwsarea] switch active workspace: workspace_300137600_0 2022/08/10 21:11:17 [cpwsarea] active workspace content: content_300137600_0 2022/08/10 21:11:17 [app] title updated: [Workspace] - StrongDMM 2022/08/10 21:11:17 [cpsearch] search filter reset 2022/08/10 21:11:17 [cpsearch] search free 2022/08/10 21:11:17 [cpwsarea] switch focused workspace: workspace_300137600_0 2022/08/10 21:11:17 [cpwsarea] focused workspace content: content_300137600_0 2022/08/10 21:11:17 [app] application is up to date! 2022/08/10 21:11:20 [cpwsarea] switch focused workspace: 2022/08/10 21:11:22 [app] open logs dir: C:\Users\Admin\AppData\Roaming\StrongDMM\logs 2022/08/10 21:11:22 [cpwsarea] switch focused workspace: workspace_300137600_0 2022/08/10 21:11:22 [cpwsarea] focused workspace content: content_300137600_0 ```
ghost commented 2 years ago

if this helps here is a video of strong dmm crashing https://www.youtube.com/watch?v=R7Kri5Udrzk

SpaiR commented 2 years ago

The log I've provided is irrelevant. Please send a log text where u're opening the map, not the latest log file.

msgerbs commented 2 years ago

I am experiencing this exact same issue, it crashes after "preparing tools".

msgerbs commented 2 years ago

Things I tried:

It seems to trigger the crash when I move my mouse. It opens a blank window and then when I move my mouse it immediately crashes.

ghost commented 2 years ago

oh i got it working just now today after messing with it again if you have amd drivers that are up to date you have to down grade them to an older version and it just works perfectly

(should i close this?)

msgerbs commented 2 years ago

What version did you downgrade to? Of course this would be yet another thing AMD broke... cough Apex Legends cough

ghost commented 2 years ago

What version did you downgrade to? Of course this would be yet another thing AMD broke... cough Apex Legends cough

22.5.1

SpaiR commented 2 years ago

oh i got it working just now today after messing with it again if you have amd drivers that are up to date you have to down grade them to an older version and it just works perfectly

(should i close this?)

@scottpalmer04 You can keep it open, so other will find the same problem easier.

msgerbs commented 2 years ago

So if it no longer works on current AMD drivers, do we just have to cross our fingers that a random AMD update fixes it even though they probably have no idea this thing exists?

msgerbs commented 2 years ago

Just wanted to update and confirm that rolling back to (in my case) 22.5.2 was a workaround for me.

SpaiR commented 2 years ago

So if it no longer works on current AMD drivers, do we just have to cross our fingers that a random AMD update fixes it even though they probably have no idea this thing exists?

Hard to say. I'm not an AMD user, so I can't test the problem. It's more likely someone with AMD will come and debug/fix the issue. Since the app is working, but crashing on a specific case - it's something specific to that place, not to the whole OpenGL stuff the app is using.

msgerbs commented 2 years ago

I'm willing to help how I can, I'm not much more than a dabbling coder but I'm an experienced troubleshooter who fixes or works directly with developers on issues like this for a living. Is there a more verbose log that can be enabled which would tell exactly what was happening when it crashed beyond just "loading tools"?

msgerbs commented 2 years ago

This still happens with the newest 22.8.2 drivers. What can I do to help resolve this?

Mark9013100 commented 1 year ago

Occurs with 22.10.1 AMD drivers on latest version.

msgerbs commented 1 year ago

I don't see it mentioned here yet, this does not affect version 1.x, only 2.x.

Bm0n commented 1 year ago

It no longer crashes upon opening a map on AMD driver version 22.11.1 . Sadly now environment assets don't load.

image

Valtosin commented 1 year ago

Same, I tried to reinstall AMD driver and now can click on things, but it still looks weird. Also the context menu works (displaying icons), probably not asset, but driver issue. image

WALPVRGIS commented 1 year ago

Yep, this is happening for me too. 22.5.2 are still the most recent drivers that allow SDMM to be functional.

Sord213 commented 1 year ago

Confirming latest AMD driver v22.11.2 also has the white screen issue.

BetaCentari commented 1 year ago

Confirming latest AMD driver v22.11.2 also has the white screen issue. Bumping white issue

Kubius commented 1 year ago

Experiencing distorted splotchy colors issue as well, AMD driver v22.11.2

Maurukas commented 1 year ago

I get a white featureless map on Win10/AMD 22.11.2. Rolling back to 22.5.1 resolves the issue.

patpol4 commented 1 year ago

This is still an issue on win10 22.11.2

Yawet330 commented 1 year ago

Still an issue on the 13/02/2023 on Skyrat Codebases, does not occur on Baycode.

EDIT: Reconfirming, after rollback baystation appears to be affected too? Odd.

This may be hardware dependent and not neccessarily driver dependent, as this only occurred after upgrading my system on the 14/01/2023, where the CPU + RAM was upgraded; while the GPU stayed the same.

Could be a potential Windows 10 Driver problem in general for AMD systems.

ValkyrieSkies commented 1 year ago

Holds true on /vg/station code, AMD Software 22.11.2 on Windows 10 with an RX570.

Cyprex commented 1 year ago

Because OpenGL drivers are so buggy google implemented this: https://en.wikipedia.org/wiki/ANGLE_(software). Might be worth using it for StrongDMM too.

Sord213 commented 1 year ago

Confirming latest drivers released today, v23.2.2, still experience the issue.

Eyeveri commented 1 year ago

Issue is still being experienced on 23.2.2

YoungChegg commented 1 year ago

As of 3/15/2023 the newest driver (23.3.1) isn't compatible with strongDMM

atakiya commented 1 year ago

FYI, this issue is most likely due to a rework of AMD's OpenGL driver on version 22.7.1 which improved performance for many applications, while also breaking a couple applications like Blender, SolveSpace among others.

@SpaiR here's a crashlog output from running 54bd092 through delve's dlv debug, and going through the reproduction steps. The log above the cutoff is very similar as the ones already posted, the rest of the program works fine, up until parts of the map have to be rendered.

Environment information:

Delve crashlog ``` ... 2023/03/18 05:41:49 [cpwsarea] switch focused workspace: workspace_663228000_2 2023/03/18 05:41:49 [cpwsarea] focused workspace content: content_667262200_2 2023/03/18 05:41:49 [pmap] pane activated: IceBoxStation.dmm 2023/03/18 05:41:49 [pmap] preparing tools: IceBoxStation.dmm Exception 0xc0000005 0x0 0x20cd0 0x7ff9356d2f25 PC=0x7ff9356d2f25 signal arrived during external code execution runtime.cgocall(0x7ff672200256, 0xc0006c9978) C:/Program Files/Go/src/runtime/cgocall.go:158 +0x4a fp=0xc0006c9938 sp=0xc0006c9900 pc=0x7ff671c1514a github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwSwapBuffers(0x110535b7c90) _cgo_gotypes.go:2438 +0x52 fp=0xc0006c9978 sp=0xc0006c9938 pc=0x7ff671d7e672 github.com/go-gl/glfw/v3.3/glfw.(*Window).SwapBuffers.func1(0xc0006465a0) C:/Users/avuni/go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20220806181222-55e207c401ad/context.go:41 +0x5f fp=0xc0006c99c8 sp=0xc0006c9978 pc=0x7ff671d7ed3f github.com/go-gl/glfw/v3.3/glfw.(*Window).SwapBuffers(0xc0006465a0) C:/Users/avuni/go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20220806181222-55e207c401ad/context.go:41 +0x1e fp=0xc0006c99f0 sp=0xc0006c99c8 pc=0x7ff671d7ec9e sdmm/app/window.(*Window).endFrame(0xc000088750) D:/git/StrongDMM/src/app/window/process.go:62 +0x45 fp=0xc0006c9a18 sp=0xc0006c99f0 pc=0x7ff671df0f45 sdmm/app/window.(*Window).runFrame(0xc000088750) D:/git/StrongDMM/src/app/window/process.go:34 +0x3f fp=0xc0006c9a30 sp=0xc0006c9a18 pc=0x7ff671df0cdf sdmm/app/window.(*Window).Process(0xc000088750) D:/git/StrongDMM/src/app/window/process.go:26 +0x9d fp=0xc0006c9a70 sp=0xc0006c9a30 pc=0x7ff671df0c5d sdmm/app.Start() D:/git/StrongDMM/src/app/app.go:67 +0xc76 fp=0xc0006c9f68 sp=0xc0006c9a70 pc=0x7ff6720eca36 main.main() D:/git/StrongDMM/src/main.go:10 +0x19 fp=0xc0006c9f80 sp=0xc0006c9f68 pc=0x7ff6720f6c39 runtime.main() C:/Program Files/Go/src/runtime/proc.go:250 +0x1c8 fp=0xc0006c9fe0 sp=0xc0006c9f80 pc=0x7ff671c51968 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0006c9fe8 sp=0xc0006c9fe0 pc=0x7ff671c7d301 goroutine 2 [force gc (idle), 1 minutes]: runtime.gopark(0x7ff67247fb80, 0x7ff67270f3a0, 0x11, 0x14, 0x1) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000057f88 sp=0xc000057f58 pc=0x7ff671c51d5d runtime.goparkunlock(0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:369 +0x2a fp=0xc000057fb8 sp=0xc000057f88 pc=0x7ff671c51dea runtime.forcegchelper() C:/Program Files/Go/src/runtime/proc.go:302 +0xa5 fp=0xc000057fe0 sp=0xc000057fb8 pc=0x7ff671c51b85 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x7ff671c7d301 created by runtime.init.6 C:/Program Files/Go/src/runtime/proc.go:290 +0x25 goroutine 3 [GC sweep wait]: runtime.gopark(0x7ff67247fb80, 0x7ff67270f8c0, 0xc, 0x14, 0x1) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000059f68 sp=0xc000059f38 pc=0x7ff671c51d5d runtime.goparkunlock(0x1?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:369 +0x2a fp=0xc000059f98 sp=0xc000059f68 pc=0x7ff671c51dea runtime.bgsweep(0x0?) C:/Program Files/Go/src/runtime/mgcsweep.go:297 +0xd1 fp=0xc000059fc8 sp=0xc000059f98 pc=0x7ff671c39c11 runtime.gcenable.func1() C:/Program Files/Go/src/runtime/mgc.go:178 +0x26 fp=0xc000059fe0 sp=0xc000059fc8 pc=0x7ff671c2e006 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x7ff671c7d301 created by runtime.gcenable C:/Program Files/Go/src/runtime/mgc.go:178 +0x6b goroutine 4 [GC scavenge wait]: runtime.gopark(0x7ff67247fb80, 0x7ff67270fdc0, 0xd, 0x14, 0x2) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00006bf48 sp=0xc00006bf18 pc=0x7ff671c51d5d runtime.goparkunlock(0xe5f3a?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:369 +0x2a fp=0xc00006bf78 sp=0xc00006bf48 pc=0x7ff671c51dea runtime.(*scavengerState).park(0x7ff67270fdc0) C:/Program Files/Go/src/runtime/mgcscavenge.go:389 +0x4b fp=0xc00006bfa0 sp=0xc00006bf78 pc=0x7ff671c3786b runtime.bgscavenge(0x0?) C:/Program Files/Go/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00006bfc8 sp=0xc00006bfa0 pc=0x7ff671c37e65 runtime.gcenable.func2() C:/Program Files/Go/src/runtime/mgc.go:179 +0x26 fp=0xc00006bfe0 sp=0xc00006bfc8 pc=0x7ff671c2dfa6 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006bfe8 sp=0xc00006bfe0 pc=0x7ff671c7d301 created by runtime.gcenable C:/Program Files/Go/src/runtime/mgc.go:179 +0xaa goroutine 5 [finalizer wait, 1 minutes]: runtime.gopark(0x7ff67247fb80, 0x7ff672766fa8, 0x10, 0x14, 0x1) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00005bdf8 sp=0xc00005bdc8 pc=0x7ff671c51d5d runtime.goparkunlock(0x0?, 0x0?, 0x0?, 0xc00005be60?) C:/Program Files/Go/src/runtime/proc.go:369 +0x2a fp=0xc00005be28 sp=0xc00005bdf8 pc=0x7ff671c51dea runtime.runfinq() C:/Program Files/Go/src/runtime/mfinal.go:180 +0x107 fp=0xc00005bfe0 sp=0xc00005be28 pc=0x7ff671c2d0a7 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x7ff671c7d301 created by runtime.createfing C:/Program Files/Go/src/runtime/mfinal.go:157 +0x45 goroutine 6 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000086000, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00006df48 sp=0xc00006df18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00006dfe0 sp=0xc00006df48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 18 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000086020, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000067f48 sp=0xc000067f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000067fe0 sp=0xc000067f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000067fe8 sp=0xc000067fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 19 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000086040, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000069f48 sp=0xc000069f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000069fe0 sp=0xc000069f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000069fe8 sp=0xc000069fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 20 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000086060, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00008ff48 sp=0xc00008ff18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00008ffe0 sp=0xc00008ff48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 21 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000086080, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000091f48 sp=0xc000091f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000091fe0 sp=0xc000091f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000091fe8 sp=0xc000091fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 22 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000480000, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00008bf48 sp=0xc00008bf18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00008bfe0 sp=0xc00008bf48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008bfe8 sp=0xc00008bfe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 34 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc0000142e0, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000489f48 sp=0xc000489f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000489fe0 sp=0xc000489f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 23 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000480020, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00008df48 sp=0xc00008df18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00008dfe0 sp=0xc00008df48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 7 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000480040, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000485f48 sp=0xc000485f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000485fe0 sp=0xc000485f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 35 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000480060, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00048bf48 sp=0xc00048bf18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00048bfe0 sp=0xc00048bf48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 36 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc0000860a0, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000491f48 sp=0xc000491f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000491fe0 sp=0xc000491f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000491fe8 sp=0xc000491fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 8 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc0000860c0, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000487f48 sp=0xc000487f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000487fe0 sp=0xc000487f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 37 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000480080, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000493f48 sp=0xc000493f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000493fe0 sp=0xc000493f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000493fe8 sp=0xc000493fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 38 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000014300, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00048df48 sp=0xc00048df18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00048dfe0 sp=0xc00048df48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00048dfe8 sp=0xc00048dfe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 24 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000014320, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000097f48 sp=0xc000097f18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc000097fe0 sp=0xc000097f48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000097fe8 sp=0xc000097fe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 39 [GC worker (idle)]: runtime.gopark(0x7ff67247fa00, 0xc000014340, 0x18, 0x14, 0x0) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc00048ff48 sp=0xc00048ff18 pc=0x7ff671c51d5d runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1235 +0x107 fp=0xc00048ffe0 sp=0xc00048ff48 pc=0x7ff671c2fc87 runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00048ffe8 sp=0xc00048ffe0 pc=0x7ff671c7d301 created by runtime.gcBgMarkStartWorkers C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25 goroutine 9 [chan receive, 1 minutes]: runtime.gopark(0x7ff67247f980, 0xc0005100b8, 0xe, 0x17, 0x2) C:/Program Files/Go/src/runtime/proc.go:363 +0xfd fp=0xc000095ed0 sp=0xc000095ea0 pc=0x7ff671c51d5d runtime.chanrecv(0xc000510060, 0xc000095fb8, 0x1) C:/Program Files/Go/src/runtime/chan.go:583 +0x325 fp=0xc000095f60 sp=0xc000095ed0 pc=0x7ff671c17ee5 runtime.chanrecv2(0x29e8d60800?, 0xc000070300?) C:/Program Files/Go/src/runtime/chan.go:447 +0x18 fp=0xc000095f88 sp=0xc000095f60 pc=0x7ff671c17b98 sdmm/app.(*app).runBackgroundConfigSave.func1() D:/git/StrongDMM/src/app/config.go:50 +0x5a fp=0xc000095fe0 sp=0xc000095f88 pc=0x7ff6720ef25a runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000095fe8 sp=0xc000095fe0 pc=0x7ff671c7d301 created by sdmm/app.(*app).runBackgroundConfigSave D:/git/StrongDMM/src/app/config.go:49 +0xcc rax 0x7ff9356d2f25 rbx 0x0 rcx 0x1100a5d5758 rdi 0x1100b8e8080 rsi 0x1100a5d5730 rbp 0x0 rsp 0x100fff458 r8 0x18 r9 0x7ff935600000 r10 0x7ff938802d60 r11 0x100fff4e8 r12 0x1100a5d5758 r13 0x40 r14 0x18 r15 0x18 rip 0x7ff9356d2f25 rflags 0x10202 cs 0x33 fs 0x53 gs 0x2b Process 19300 has exited with status 2 ```

Meanwhile, certain users might be interested in a workaround..

Workaround for WSL-capable users

Anyone fairly experienced with [WSL](https://learn.microsoft.com/en-us/windows/wsl/) can simply run SDMM via [WSLg](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps), to at least be able to *use* the editor. This might also mean that a Virtual Machine could be used with usable results, but I haven't tested such. Notes: - If the speciality WSLg driver for your GPU is not installed, it will be software rendered, coming with a performance cost, but it's *definitely* still useable even then. - Disk perf is worse for non-WSL disks (as mounts) - meaning you should copy your work directory to the WSL disk for the best experience. ![image](https://user-images.githubusercontent.com/6952402/226080550-9ee79c7d-e9de-411e-9973-a822d0287faa.png)
Maurukas commented 1 year ago

Since I've finally been able to test this: no issues running under Linux + Radeon, kernel 6.1.21 and a 6700 XT. StrongDMM performs significantly better than on Windows with the same hardware. The tgstation dme opens in under 2 seconds and maps are instant.

atakiya commented 1 year ago

Tried getting any useful output on AMD driver 23.3.2, but no dice.

There's definitely something wonky going on with rendering the sprites to the workspace. Although I doubt it's actually the sprites, but rather a shader? - assumption is based on the fact that the sprites still render in Dear ImGui perfectly fine (context menu and tree view), but maybe imgui just has a more robust way to do so than what the workspace does? I'm really not sure at the current moment. That's as far as I can help with any further isolation of the issue I'm afraid.

Also for context, as I wasn't aware until now from the above screenshots alone: The full-white display happens simply because of the /areas view being active. If those get disabled on the newer (non crashing) drivers, then the objects and turfs are visible as colored rectangles of varying sizes. The color depends on the instance/prefab's color property. image


@Maurukas That is not a surprise, most filesystems on linux can work with the dme and dmm format much quicker. This is the same case with, for example, Stellaris, and any other game or application that depends on text-file I/O (but is also not solely attributed to it). There's more to it but I'll refrain from derailing this thread - this is about a Windows+AMD driver+Current implementation issue.

SpaiR commented 1 year ago

@atakiya Thank you for the investigation. Very detailed, found some new things. Specifically, an AMD clusterthing 🙃

but maybe imgui just has a more robust way to do so than what the workspace does

They have different rendering pipelines and shaders. I'm not a "hardcore GPU-based rendering master", so anything can be the cause 😅

Here is the source code for the ref:

Speaking about the issue itself - that is the reason why I don't like to work with GL directly. I have an idea to re-write rendering backend to use Ebiten game engine. It has renderers for OpenGL, Metal and DirectX. And, most importantly, an abstraction layer around the rendering routine. (Also, will open up the possibility to make StrongDMM a webapp, since ebiten supports wasm, but it's very small possibility for that.)

It remains to find time for this. 😞

Maurukas commented 1 year ago

@atakiya I'm unable to replicate your WSL success with either the debian or ubuntu images available for WSL. The base debian and ubuntu images are < glibc 2.32 which StrongDMM requires. The ubuntu 22.0.4 image has a compatible glibc, and I'm able to launch simple x11 apps (xcalc etc), but strongdmm segfaults in a profoundly unhelpful way.

Are you able to share the WSL distro and dependencies you used to get it working?

atakiya commented 1 year ago

They have different rendering pipelines and shaders. I'm not a "hardcore GPU-based rendering master", so anything can be the cause 😅

Definitely know more than I do on that though 😄

Speaking about the issue itself - that is the reason why I don't like to work with GL directly. I have an idea to re-write rendering backend to use Ebiten game engine. It has renderers for OpenGL, Metal and DirectX. And, most importantly, an abstraction layer around the rendering routine. (Also, will open up the possibility to make StrongDMM a webapp, since ebiten supports wasm, but it's very small possibility for that.)

It remains to find time for this. 😞

That seems pretty promising; abstracting that away should definitely make things easier in the long term. SDMM as a Webapp via WASM sounds also quite intriguing. 👀

But yeah, I totally can get behind the time restraint, best wishes there!


@atakiya I'm unable to replicate your WSL success with either the debian or ubuntu images available for WSL. The base debian and ubuntu images are < glibc 2.32 which StrongDMM requires. The ubuntu 22.0.4 image has a compatible glibc, and I'm able to launch simple x11 apps (xcalc etc), but strongdmm segfaults in a profoundly unhelpful way.

Are you able to share the WSL distro and dependencies you used to get it working?

I've used the Fedora 37 Container Image, packaged by a third party, available here: https://www.microsoft.com/store/productId/9NPCP8DRCHSN (source available here: https://github.com/VSWSL/Fedora-WSL)

The only dependencies that were installed were libgtk3, libx11, and some more basic ones - I basically just ran down the missing linked dynamic libraries list from ldd ./StrongDMM via dnf provides until everything was satisfied, then it just worked. The image might already contain a dependency or some tweak to make this work better, I'm unsure, but making my own WSL distro and such to test is a bit too much of a time sink right now :/

I tried to reproduce the same in the Debian store image, which, just as you mentioned, failed due the the GLIBC requirement. The Ubuntu image from the store is on 22.04.2 LTS, which has a compatible version. I was able to get all shared libraries satisfied, but, while it didn't segfault, I just get a blank Window/broken buffer (I'm assuming).

Image inside ![image](https://user-images.githubusercontent.com/6952402/229325716-1783cbcf-7474-4ec1-ba28-22ce9614996c.png) Very curious.

Sadly I cannot help further there, my graphical linux & debian knowledge ends there as I use it more in the terminal and on Fedora / RHEL 😔 If you do get it working (on Ubuntu) though, do let me know! Would be very interested to know what breaks on there versus Fedora.

SpaiR commented 1 year ago

For transparency of the progress: I've tried to integrate ebiten. Unfortunately, it is not acceptable solution. It has its own pros, but major problems are overwhelming. The most critical is that Ebiten doesn't provide low level abstraction to handle application input events. Like for the correct work of the UI we need to handle input constantly, no matter in which tick or frame we are. Ebiten relies on the model, where you can handle inputs only in the fixed moments of the app lifecycle. Issue which should resolve the problem (https://github.com/hajimehoshi/ebiten/issues/1704) is still in the milestone and there is no information when it will be ready.

There are still some options, I'll continue the investigation...

Valtosin commented 1 year ago

Still same issue on the 23.4.3 version of driver.

Tsar-Salat commented 1 year ago

How to get StrongDMM working on your AMD GPU Computer, through WSL!

Hello.

I just learned how to do this today. I finally, after getting my new AMD 6700 XT GPU a month ago, am able to use StrongDMM again. I'd like to thank Marv from Bee for teaching me a bit about how Linux worked, so I could put this together and get it working! The rest of the legwork was me banging my head against the wall haha.

This will be a Step-by-step guide in which you will:

Pre-requisites:

Part 1: Setting up the environment!

  1. Find and open Windows Powershell in Administrator mode image

  2. In powershell, type the command wsl --install. Type Y if it gives you a prompt.

  3. Restart your computer to let changes apply.

  4. A new program will appear in your Windows Search after the restart, This will be the program you will be utilizing for the rest of this guide when running StrongDMM.

image

Windows Subsystem for Linux, or WSL for short, is a very cool tool putting Linux in an easy-to-access interface without you having to download some VM program or boot to Linux yourself. By default WSL uses Ubuntu, so we will stick to that.

  1. You probably want to get right into downloading the necessary tools for WSL, but first you have to make a username and password! I'll let you decide on those. You will need to reenter your password everytime you close WSL or restart your computer, so choose wisely! The prompt will show as soon as you log in!

  2. Right now, your WSL is rather limited, so let's get to downloading some additions for it! We specifically are looking for supporting the Linux GUI application, so that's what we are aiming for. A lot of these will be taking the mantle of what normal Win11 default programs do, cause they don't exist in this new environment you've created. Follow along here.

  3. Execute sudo apt update. This will update packages in your distro.

  4. Execute sudo apt install gedit -y. A text-editing tool

  5. Execute sudo apt install gimp -y. A image-editing, and more importantly, transcoding tool.

  6. Execute sudo apt install nautilus -y . A file explorer tool. Necessary, for obvious reasons.

  7. Execute sudo apt install vlc -y . A Multimedia player.

  8. Execute sudo apt install x11-apps -y . Fills in the gaps.

  9. Your environment is complete and ready!

Part 2: Getting it working!

  1. Go grab the Linux Download link! Extract if needed. image

  2. Put it in a recognizable location. I nested it one folder down from my C: drive. The file is the Linux version, the Application is the Windows version. image

  3. Time to Start it up! In this case, the directory to reach the file would be /mnt/c/SS13-Mapping/. So we will type the command cd /mnt/c/SS13-Mapping/. Looking something like this. image

  4. Now type ./StrongDMM and Execute! It should begin! The app should launch and look a little like this! image

Conclusion

So thats it! Thats how to get it working. You also taught yourself a little linux while doing it, and have an opportunity to learn a little more if you wanna delve into it!

Note that Linux will be using software rendering, which is really not efficient! I suggest downloading the Ubuntu Drivers from AMD(if you have the specific card listed there, of course)! https://www.amd.com/en/support/linux-drivers

Have fun, ping me if you have specific questions.

SpaiR commented 1 year ago

@Tsar-Salat Good stuff! I've put the link to it in the main issue message.

jupyterkat commented 1 year ago

Just downgrade to 1.9.1, for simplicity. No need to go hoops around wsl

Tsar-Salat commented 1 year ago

Just downgrade to 1.9.1, for simplicity. No need to go hoops around wsl

Limiting yourself to having no game optimizations or performance increases from updates by kneecapping yourself, all for a single program, makes "simplicity" rather subjective.

if you use your graphics card only for SS13, perhaps WSL is just hoops. Otherwise, its a very real concern.

jupyterkat commented 1 year ago

Just downgrade to 1.9.1, for simplicity. No need to go hoops around wsl

Limiting yourself to having no game optimizations or performance increases from updates by kneecapping yourself, all for a single program, makes "simplicity" rather subjective.

if you use your graphics card only for SS13, perhaps WSL is just hoops. Otherwise, its a very real concern.

Not all mappers is willing to go through all that trouble just to map, plus they may have limited experience with wsl as well. How about you fix this issue?

Tsar-Salat commented 1 year ago

Not all mappers is willing to go through all that trouble just to map, plus they may have limited experience with wsl as well.

Yes, as I said, it's entirely subjective to the user. The hostility is unnecessary.

How about you fix this issue?

I don't have the ear of the AMD execs, that's likely the only route to a fix at this point.

jupyterkat commented 1 year ago

Then why does 1.9.1 work just fine. It's obviously something wrong with your implementation

Tsar-Salat commented 1 year ago

Right

c4xmaniac2 commented 1 year ago

Still an issue on 23.7.2, I have had nothing but headaches with AMD products holy shit.

Bam40002 commented 1 year ago

One day it will be fixed. How is strongdmm2 even better than strongdmm1?

Qumefox commented 1 year ago

I think at this point we can probably conclude that the maintainers just run nvidia cards and don't care because the issue doesn't affect them, and when people complain they'll just push it off on AMD, who is not going to change their drivers just for one extremely niche application (strongDMM is literally the only program I have issues with. I've heard reports of blender having issues but I also use blender and have had zero issues with it). Also the fact that pre v2 works fine shows it is fixable in StrongDMM's code. They just need to compare the openGL rendering in pre v2 to v2 and investigate why the prior renders fine. But since none of them likely run AMD cards they likely have no interest.

SpaiR commented 1 year ago

They just need to compare the openGL rendering in pre v2 to v2 and investigate why the prior renders fine. But since none of them likely run AMD cards they likely have no interest.

To clarify things: the problem was already discussed in details. And it's not like "compare how it was and find the difference". The diff is understandable, since the code between v1 and v2 is absolutely different. For example v1 was using OpenGL2 and v2 uses OpenGL3.

I think at this point we can probably conclude that the maintainers just run nvidia cards and don't care because the issue doesn't affect them, and when people complain they'll just push it off on AMD, who is not going to change their drivers just for one extremely niche application

I'm the only maintainer of the project. StrongDMM was done in my spare time for the unique experience of developing an app like this. But now my focuses have changed and I'm not willing to contribute time I've contributed before. So it's not like I don't care for AMD users - it's just not in my priority list at the moment. The problem itself is pretty obvious for me, but to resolve it I need to put away my daily things for 1-2 weeks of work. I'm not motivated to do that.

Speaking of motivation, there is a page to support me and the project: https://ko-fi.com/spair There was like 3-4 donations from StrongDMM users, which was very pleasant to see. It is not about the money, but about sincere gratitude. And from download stats I see that it was around 1500 downloads of the program. Numbers speak for themselves. I'm ready to move StrongDMM higher in my TODO list, but with support like that it won't happen in mean time for sure.

So to avoid future insinuations I'll close discussions. Everything was already discussed. If someone willing to fix the bug - welcome to the PR page. I'll merge it and make the new release.

SpaiR commented 1 year ago

I've managed to find AMD powered hardware, fix already available in v2.9.0.alpha release.