Playtest button opens the game then instantly closes - Manjaro Linux

I'm not using any plugins, This bug happens with a fresh install of MV, I've reinstalled the game twice and verified game files but there is no missing files.
When i make a new project or load an existing, pressing the playtest button opens then instantly closes a window. No error message was given when doing this.
Im on the latest software version, Ive installed. Happens on every project. this happens on manjaro linux.
does the software have some dependencies that arent installed by itself, The index.html file runs in firefox and loads fine, But i have to disable some security features to get it running in firefox which i dont want to do.
I use Ubuntu. The only time that happened to me was when the project hadn't been updated to 1.6.1 but the program had. This problem disappeared when I followed the project update procedure in the first post of:

https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-v1-6-1-stable-release.96715/

Edit: I run MV through Steam, if that helps anyone else give you advice.

Original thread: https://forums.rpgmakerweb.com/threads/playtest-button-opens-the-game-then-instantly-closes-manjaro-linux.125355/