MatthewCroughan / NixThePlanet

Run macOS, Windows and more via a single Nix command, or simple nixosModules
MIT License
534 stars 12 forks source link

MacOS browser renders page then goes blank #27

Closed ajlennon closed 4 months ago

ajlennon commented 4 months ago

Trying to run Safari in the MacOS Nix Hackintosh.

It renders a page then immediately goes blank like this.

image

MatthewCroughan commented 4 months ago

@ajlennon Install Chromium, or another open source browser via the CLI for example. Safari rendering is buggy and broken on macOS when not running with a real GPU. Maybe a future QEMU will fix it, but it's not worth worrying about when the fix of using Chromium/Firefox is available.

ajlennon commented 4 months ago

Been trying to install Chrome but without a working browser it's a problem. Do you happen to know what the command line looks like to do this?

MatthewCroughan commented 4 months ago

Yeah I think this applies still https://superuser.com/questions/602680/how-to-install-google-chrome-from-the-command-line

I've wanted to do declarative things and develop my code further to allow you to do things like makeDarwinImage { installChrome = true; }, which would declaratively do this, but haven't had the time.

ajlennon commented 4 months ago

I managed to get it installed by running up a terminal and switching between the safari browser and the terminal as when the terminal shows the browser pane magically comes back for a second