JHRobotics / softgpu

SW and HW accelerated GPU driver for Windows 9x Virtual Machines
MIT License
662 stars 18 forks source link

Question about glchecker's benchmark #54

Open crazii opened 9 months ago

crazii commented 9 months ago

Host GPU: GeForce RTX 2060 (mobile) Guest Win98SE on VirtualBox 7.0 Win11 glchecker properties: GL version: 2.1 mesa 9x 23.1.6.36 Renderer: SVGA3D build: RELEASE.

I guess those properties means that HW accel is enabled, I ran benchmark of "blendermark" and "terrain" (guest resolution 1024x768), both have 100~120 FPS, in red number that's said "bad performance". I'm not familiar with 3D HW accel in VM, so I wonder, Is it a little bit slow? something wrong?

I also found that when I use scale (View->Virtual Screen->Scale to 200%), the benchmark FPS drops a lot (blendermark average FPS 137 drops to 84, terrain average FPS 101 drops to 63.8). - The original resolution is still 1024x768, and 3D rendering performance shouldn't drop that far with a simple view scaler. I guess the driver may be rendering with the final resolution? It seems to me like that based on the rendering result on screen, but not 100% sure.

crazii commented 9 months ago

After more testing, I think the scale performance problem doesn't only exist in 3D. I ran starcraft to test ddraw, in original resolution the games runs good, with extra scales, it becomes slow. the larger scale used, the worse performance you get.

As I read through the readmes of the projects, vmdisp9x, wine9x, mesa9x, the ddraw uses wine9x to translate ddraw calls to gl. So if I'm correct, it gets to mesa9x eventually?