-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endless black screen loading from large .img file when selfhosting, no issues manually loading on website #1089
Comments
Lines 58 to 63 in 5435c2f
|
Ok, I understand that part, but ideally I’d prefer not to use async. I just included the async bit to show that it does, in fact, load seabios if async is enabled. |
When you use We could handle this case transparently (by loading the file in 1GB chunks, or streaming downloads), but it's not clear that this is really useful (loading entire 3GB at once). If you want to improve disk speed, I'd suggest using In any case, I will improve the code to print a useful error in this situation. |
The |
My code:
This results in an endless black screen. I'm hosting it with
python3 -m http.server
in the directory with all the files.In the folder this runs from, there is an index.html, libv86.js, seabios.bin, vgabios.bin, v86.wasm, and of course image.img. The image file is 3 GB total. Uncommenting the lines about async does cause seabios to run, but the python webserver gives an error ending with
ConnectionResetError: [Errno 104] Connection reset by peer
and seabios saysBoot failed: could not read the boot disk
and fails to boot.Notably, my problem is remarkably similar to this one, with the only difference being that he got this result with a large state file and I'm getting it with a large disk image.
The text was updated successfully, but these errors were encountered: