arindas / mac-on-linux-with-qemu

Runs macOS on linux with qemu.
MIT License
196 stars 18 forks source link

OpenGL not supported #35

Open Gaetann18 opened 2 years ago

Gaetann18 commented 2 years ago

Hello, I have a problem during the installation, do you have any solutions?

Thanks in advance !

root@gaetan-SATELLITE-PRO-C50-J:/home/gaetan/Téléchargements/mac-on-linux-with-qemu-main# sudo ./run.sh
*** Checking for firmware files
*** Checking for Base System files
*** Check if dmg2img is available
/usr/bin/dmg2img
*** Check if BaseSystem dmg is downloaded. If downloaded convert to img
*** BaseSystem dmg available.
*** Check if BaseSystem dmg has been converted to img before.
*** BaseSystem img available.
*** Checking for disk image
*** Check if installer has been run
*** Looks like the install hasn't been done yet, lets install
*** Install!
qemu-system-x86_64: OpenGL is not supported by the display

PS: I've been looking for a solution for several hours but can't find a fix.

arindas commented 2 years ago

Is there are a reason you are trying to run this as root?

This script doesn't require root access or sudo. What happens when you run this script as a normal user?

Gaetann18 commented 2 years ago

By default i'm Connect in root

arindas commented 2 years ago

Some suggestions that I have:

If it doesn't work after the above steps, I don't have any solutions at the moment. You could look into this project https://github.com/myspaghetti/macos-virtualbox which uses virtualbox instead. One of the main problems we face that is qemu is not uniformly packaged in different distributions.

Gaetann18 commented 2 years ago

unfortunately I have the same problem through virtualbox.. So I'm going to reinstall a clean version of ubuntu hoping that it works... because I have the impression that version 22 poses a lot of problems. Do you have an ubuntu version or are you sure it works? I'm going to use it as a base I think...

EDIT : i have actually ubuntu 22.04.1 LTS

arindas commented 2 years ago

I can't verify that. I personally run Endeavour OS.

Before a reinstall also check out: https://github.com/kholia/OSX-KVM

This repo also uses qemu. I should have shared this last time.

Regardless, I wish you all the best.