Giter Club home page Giter Club logo

Comments (7)

JHRobotics avatar JHRobotics commented on June 13, 2024 2

OK, the Problem isn’t how much total memory is critical (that’s why you calculation didn’t work). The Problem is that with lots of RAM, memory management not working correctly (I think that problematic was VCACHE.VXD driver – but I’m not sure) and sometimes it hit something important and with lots of VRAM (which is permanently mapped in system memory = 1 G of 4 G 32bit space total) it’ll hit something important faster.

Fortunately, there is patch by R. Loew, so reduce RAM back to 512 MB, apply this patch. You can use this link, which you can type to IE on Windows 98 directly:

http://files.emulace.cz/patchmem.zip

Extract, run patchmem.exe and after rebooting you should be able to set as much memory as you want. For Windows 9x as every true 32-bit system is maximum about ~3.5 GB.

Alternative to this patch is replacing HIMEM manager and tune cache and swap, VOGONS thread is here: https://www.vogons.org/viewtopic.php?t=48981, but with patch it is simpler and more stable.

Hope, it’ll work for you :-)

VirtualBox_Windows 98 ICD_16_07_2023_17_33_06

from vmdisp9x.

FranceBB avatar FranceBB commented on June 13, 2024

I tested the new version v1.2023.0.10.
Unfortunately, with VRAM > 64 MB it still crashes in VirtualBox with VBoxVGA.
Reverting to a maximum of 64MB solves the issue, though, and the system runs smoothly.

from vmdisp9x.

JHRobotics avatar JHRobotics commented on June 13, 2024

Hi, thanks for your report. The developer version of VirtualBox is too new for me. Older version (7.0.8 = r156879) works with 128 MB and even 256 MB (Windows 9x has sometimes problems with cards > 128 MB). Could you please try with different adapter (vmsvga/vboxsvga)? (You may need change host type to Linux or Windows 10 to allow that). I'm also not very wise from the log :-( It looks to read/write somewhere there where is not a memory or I/O space, but driver’s errors are usually catches by guest OS.

BTW: I also added note about VRAM size to README = If you don't need 5K resolution and larger, the 64 MB is enough.

from vmdisp9x.

FranceBB avatar FranceBB commented on June 13, 2024

Well, I updated the driver to the version you just released and I also updated virtualbox to 7.0.97 r158251 and this time although it booted, it froze immediately after logging in (and changing adapter doesn't solve the issue).
Reverting to 64MB fixes the issue with any adapter, though.
I'm not really sure why this is happening nor what was changed from r156879 to r157070 and r158251 to cause this behavior.
They're not gonna be of much use anyway, but I'm gonna attach the logs just as a reference.
Windows98SE-2023-07-14-11-23-16.zip

By the way, adding the 64MB VRAM reference in the documentation will definitely help other people potentially facing the same issue, so you did the right thing adding it there.
We added it too in the Windows98 guide on the Virtualbox Forum along with a reference to your driver. ;)

from vmdisp9x.

JHRobotics avatar JHRobotics commented on June 13, 2024

Thanks, for test and suggestion - I added information to readme here and to SoftGPU readme too (https://github.com/JHRobotics/softgpu#virtualbox-vm-setup-with-hw-acceleration) until I won't be able to replicate and solve issue.

And many thanks to post my project to VirtualBox forum!

PS: looks like you're using 1 GB RAM. Can you please try my driver with 128 MB VRAM and 512 MB or 256 MB RAM? Windows 9x usually have strange problems if memory exceed 512 MB (depends on HW configuration), for me though 1 GB RAM works, but it would still be worth testing.

from vmdisp9x.

FranceBB avatar FranceBB commented on June 13, 2024

You're actually correct!
Looks like 1GB of RAM was the culprit.

Virtualbox: 7.0.97 r158251
RAM: 1024 MB
VRAM: 64 MB
Status: Stable

Virtualbox: 7.0.97 r158251
RAM: 1024 MB
VRAM: 128 MB
Status: Unstable (Freeze/Crash)

Virtualbox: 7.0.97 r158251
RAM: 512 MB
VRAM: 128 MB
Status: Stable

Virtualbox: 7.0.97 r158251
RAM: 512 MB
VRAM: 128 MB
Status: Stable

Now, with a simple calculation, we can see that 1024+64=1088 total, which means that in theory 1024-64=960, so the following configuration is supposed to be stable:

Virtualbox: 7.0.97 r158251
RAM: 960 MB
VRAM: 128 MB
Status: Unstable (Freeze/Crash)

but it wasn't
image

In particular, as soon as the user logs in:

image
image

from vmdisp9x.

FranceBB avatar FranceBB commented on June 13, 2024

I can't believe it worked.
Not only it worked and I can use 128MB of VRAM, but I can also use 3.5 GB of RAM as a real 32bit OS.
Never in my wildest dream I thought I was gonna get Win98 to be stable with that much ram!
image
I've been playing around, readapting an older version of one of my functions for pure fun and so far so good, I mean the system looks really stable!
image
image
image
image
image
Very very very nice.
Thank you so much, closing the issue now. Amazing. :)

from vmdisp9x.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.