Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]   Go Down

Author Topic: New G4 Mini audio CSM + breakthrough fix for G4 Mini startup mouse freeze  (Read 9087 times)

UnexpectedBomb

  • 16 MB
  • ***
  • Posts: 26
    • GitHub account

Thankfully, I am not reinventing the wheel after all  ;D

mr. firmtek-sata-drivers is a member here.

Quote
I plan to eventually have a USB-to-SATA power cable plugged into an MDD USB port to power a SATA drive (if that actually works).

that works for sure, the usual 99 cents adapters makes any SSD an USB stick.

the practice problem with those is only that they are usually greater than 32gig, which means you have to use HFS instead of FAT32, and then this media is basically PPC-to-10.12 only. (for interchanging with windows or mac pro 2010 and above that sucks.)

will be interesting to see what speed you will get with your new USB 2 attempt.

Noted on the FAT32 vs HFS issue. I had been exclusively going down the HFS route to just try and get that piece working first. But honestly the whole eSATA effort is getting mothballed until USB 2.0 has been finalized/matured (it's the bigger priority by far) so that I'm not making two sets of custom MDD Mac OS ROM files independent of each other; the goal is to eventually have a single custom "mass storage" MDD ROM that covers both EHCI and eSATA functionality all in one go. I'm still far away from that finish line, but USB 2.0 is making good progress. I plan post an update in the USB 2.0 thread later this week if things continue going well.
Logged

UnexpectedBomb

  • 16 MB
  • ***
  • Posts: 26
    • GitHub account

UPDATE: VBL Fix v2 is up, now Classic-safe!

First off, thanks to everyone for the testing and the kind words. Special thanks to @n8blz for the seriously thorough shakedown: 30-plus restart cycles with zero freezes, then pulling the fix back out and watching the freeze return on the very first reboot. That's exactly the before-and-after I was hoping someone would run. It's the clearest confirmation I could ask for that we're fixing the right thing.

Thanks also to @xc68000 for putting both fixes through their paces and catching an edge-case that I didn't anticipate: booting an OS 9 partition inside Classic on Tiger would hang while loading the VBL fix. The cause makes sense once you see it. Under Classic the display is virtualized by Mac OS X, so there's no real ATI hardware behind the boot display. The fix works by re-issuing the display driver's "enable VBL interrupt" call, and under Classic that call has nothing real to talk to, so it wedges. The freeze itself doesn't even happen under Classic, since OS X is driving the actual display, so the right move is for the fix to just stay out of the way there.

That's all v2 does. At startup it checks (via Gestalt) whether it's running inside the Classic environment, and if it is, it quits without doing anything. On native OS 9 nothing changes at all: the check can only ever make it skip under Classic, never on real hardware, so v2 behaves identically to v1 on an actual mini. It's a safe drop-in over v1, and there's no rush to update unless you run OS 9 under Classic.

@xc68000, whenever you get a chance, could you drop v2 in and confirm your Classic on Tiger boot no longer hangs? That's the one setup I can't test here as I don't have anything booting Tiger/Classic right now, so your confirmation would be helpful.

You can grab it from the v2.0 release here: https://github.com/UnexpectedBomb/G4-Mac-Mini-VBL-Fix/releases/tag/v2.0

Install is the same as before: drop VBLFix_v2 into your Startup Items folder. There's also a VBLAutofix tester build in the release that reports what it did with a beep and a log, if you'd like to watch it catch a freeze in the act.

Thanks again, everyone. It's been a blast seeing this help so many minis. The next milestone will be to fully integrate this solution into the ROM itself for a truly seamless experience. I'll keep you posted!

-UB
Logged
Pages: 1 [2]   Go Up

Recent Topics