DouglasDwyer / octo-release

The Octo voxel game engine
277 stars 11 forks source link

Can't run on windows 10 (thread main panicked) #12

Open jeffhaskin opened 7 months ago

jeffhaskin commented 7 months ago

I ran and the command prompt showed briefly, then disappeared. So I ran it from command prompt and this is what was returned:

Starting persistent threadpool with 5 worker(s).
thread 'main' panicked at C:\Users\Douglas\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hashbrown-0.14.3\src\raw\mod.rs:86:40:
Hash table capacity overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
DouglasDwyer commented 7 months ago

Huh, that's very interesting. Thank you for the bug report. Can you provide some additional details about your setup for me?

jeffhaskin commented 5 months ago

Apologies for delay. Just downloaded the most recent version, still happening. Here's the additional info:

System Specs:

Browser: Edge

Console message with more info:

C:\Users\jeffr\Downloads>octo.exe
[2024-06-27T22:12:12Z INFO  client] Starting persistent threadpool with 5 worker(s).
thread 'main' panicked at C:\Users\Douglas\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hashbrown-0.14.3\src\raw\mod.rs:86:40:
Hash table capacity overflow
stack backtrace:
   0:     0x7ff640e866d6 - <unknown>
   1:     0x7ff6409db8eb - <unknown>
   2:     0x7ff640e72fc9 - <unknown>
   3:     0x7ff640e877ac - <unknown>
   4:     0x7ff640e87f7a - <unknown>
   5:     0x7ff640e87ab0 - <unknown>
   6:     0x7ff640e87a39 - <unknown>
   7:     0x7ff640e87a26 - <unknown>
   8:     0x7ff6410a51b7 - <unknown>
   9:     0x7ff640b7acbe - <unknown>
  10:     0x7ff6410b28af - <unknown>
  11:     0x7ff640b7499d - <unknown>
  12:     0x7ff640ac155e - <unknown>
  13:     0x7ff64096ca1b - <unknown>
  14:     0x7ff640951486 - <unknown>
DouglasDwyer commented 5 months ago

I see. I'm not sure why the hashmap issue is occurring (the binary should be compatible with your CPU), but I can say for certain that your GPU is unsupported. The native demo requires a Vulkan-compatible device, but the NVIDIA GeForce GT 630M does not have Vulkan.

As the hardware is below minimum specifications, I am not planning to debug this issue further. However, I definitely want to add an "unsupported hardware" message or something more user-friendly than a crash. I will leave the ticket open until then.

Thanks for your interest in the demo, and I really appreciate you following up! Let me know if you have any other questions or suggestions.

jeffhaskin commented 5 months ago

Makes sense. I'm planning a full factory reset soon anyway, so I'll do some cpu-only testing again after that.