utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.49k stars 1.33k forks source link

256 Color display support bug on "Mac OS 9.2.1" gallery image #4181

Open benguild opened 2 years ago

benguild commented 2 years ago

Dropping down into 256 Color mode seems to trigger some odd display behavior. Not sure if this is a known issue.

screenshot
avenjamin commented 2 years ago

I have this issue too.

UTM 3.2.4 (58)

MBP 16" 2021 M1 Pro macOS 12.4

Not sure what else to try.

avenjamin commented 2 years ago

Managed to get something working. It appears that the latest qemu_vga.ndrv doesn't support 256 colours or greys. There is an older driver that does.

  1. Quit UTM.
  2. Download: http://www.open.ou.nl/hsp/downloads3/Qemu-64Bit_211Pre-MountainLion-16092017.zip (or download the file needed qemu_vga_256.ndrv.zip and skip step 3)
  3. Unzip and navigate to: Qemu-64Bit_211Pre-MountainLion-16092017/vga-driver/
  4. Copy: Qemu-64Bit_211Pre-MountainLion-16092017/vga-driver/qemu_vga_256.ndrv to /Applications/UTM.app/Contents/Resources/qemu/
  5. Make a copy or rename: qemu_vga.ndrv to something like qemu_vga_orig.ndrv
  6. Rename: qemu_vga_256.ndrv to qemu_vga.ndrv
  7. Relaunch UTM and start your VM and test 256 colours!
  8. If you still have the glitch above, try changing the resolution to something else and then back again using the control strip at the bottom of the glitching screens - might take a few goes guessing which button to hit :P

References:

  1. https://www.emaculation.com/forum/viewtopic.php?p=58007&sid=efa64408dc27a1aab33f1436685f9847#p58007