Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL not supported #35

Open
Gaetann18 opened this issue Sep 15, 2022 · 5 comments
Open

OpenGL not supported #35

Gaetann18 opened this issue Sep 15, 2022 · 5 comments

Comments

@Gaetann18
Copy link

Gaetann18 commented Sep 15, 2022

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
Copy link
Owner

arindas commented Sep 15, 2022

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
Copy link
Author

By default i'm Connect in root

@arindas
Copy link
Owner

arindas commented Sep 15, 2022

Some suggestions that I have:

  • ensure that your drivers are properly configured and verify it using glxinfo. Download glxinfo with your distributions package manager.
  • Try using the sdl display replacing gtk with sdl in the qemu options.

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
Copy link
Author

Gaetann18 commented Sep 21, 2022

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
Copy link
Owner

arindas commented Sep 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants