#Win32 function failed: HRESULT: 0x80004005

1 messages · Page 1 of 1 (latest)

wanton mountain
#

Call: at line 243 in file\Graphics_DisplayM.cpp

trying to run my game maker game on windows and linux build
game maker studio 2 downloaded from steam, forced proton
steam installed with intel drivers

regal forge
#

Backtrace?

wanton mountain
#

what do you mean?

regal forge
#

Get the backtrace from the error, or a whole error message perhaps.

#

You're currently on Windows running a build from a Linux machine?

rough oracle
full pebbleBOT
# rough oracle .s litany

Please follow the Standard Litany when asking a question:
What was your environment? What was your operating system, configuration?
What did you do? What did you run or test? Where?
What actually happened? What were the exact results, complete log contents, exact error messages?
What did you expect? What were you aiming to achieve? What result were you looking for?

Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.

Also see this similar guide on how to ask smart questions.

wanton mountain
regal forge
#

Oh ok grab gdb and run it through there put some breakpoints if needed

wanton mountain
#

error happens on both win and linux build (when running the game from ide, not final build)

flint plume
#

vulkaninfo | less

#

Native Linux version works right?

wanton mountain
#

wait maybe the other wasnt linux

#

it was called "test" before I logged in

flint plume
#

Does the final builds work at least

wanton mountain
#

there is only ubuntu for linux and it gives this error in gms2 console Configuration Problem : No Linux device found. Check your target settings. FAILED: Run Program Complete For the details of why this build failed, please review the whole log above and also see your Compile Errors window.

regal forge
#

echo $XDG_SESSION_TYPE

wanton mountain
#

wayland

regal forge
#

Ok, try and get me a full backtrace or error log.

#

You can honestly get gdb then run gdb *executable*

#

And then follow the prompts until you're in a gdb session and just type run

#

Then when it errors type bt

#

Or search for GameMaker's runtime logs.

wanton mountain
#

just getting permission denied

#

put the exe in downloads

regal forge
#

ls -l /home/jekkey/Downloads/Chegg/Chegg.exe

#

file /home/jekkey/Downloads/Chegg/Chegg.exe

wanton mountain
regal forge
#

You'll probably need winegdb, if it's actually a PE32

#

Try to chmod +x /home/jekkey/Downloads/Chegg/Chegg.exe

wanton mountain
regal forge
#

After chmod?

wanton mountain
#

yes

regal forge
#

Type run in that badboy see if it executes under unix.

wanton mountain
#

this is after run

regal forge
#

Ahh ok, then you'll need winegdb since atleast the header is intact and proper.

#

Also, where is your Linux/Unix executable?

wanton mountain
#

it didnt even compile

regal forge
#

Ok, if I'm not mistaken then you need to setup an Ubuntu environment via QEMU or another service because it uses SSH to connect to the host and compile.

wanton mountain
#

that like a vm?

regal forge
#

You can test your windows PE32 executable via windgdb or flash drive it to a windows host

#

Yes QEMU is my go to,

#

Can script a launcher and setup in less than a minute via Bash

wanton mountain
#

I see, guess its not worth bothering with since I can test my game using gx games (browser build)

regal forge
#

Ok, well if you need help with a QEMU setup (takes 5 minutes plus the image download for your system) just @ me here.

wanton mountain
#

also my main rig is win11, this is just for when I'm out (like tomorrow)

wanton mountain
glad viperBOT
#

winsock received a thank you cookie!

regal forge
#

Gotcha, well just @ me if you wanna mess around.