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

qemu-system-x86_64: Display 'sdl' is not available. #31

Closed
Alg0v opened this issue May 17, 2022 · 10 comments
Closed

qemu-system-x86_64: Display 'sdl' is not available. #31

Alg0v opened this issue May 17, 2022 · 10 comments

Comments

@Alg0v
Copy link

Alg0v commented May 17, 2022

I ran the run.sh script but it shows an error. The output is :

*** 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: Display 'sdl' is not available.

I am a beginner with linux so don't be too rude.

@arindas
Copy link
Owner

arindas commented May 17, 2022

Change:

-display sdl,gl=on \

to

-display gtk,gl=on \

This worked for some folks having this issue.

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

Hello arindas, thanks for the answer !
I did this but I have another error that I fixed by changing -device virtio-vga-gl by -virtio-gpu-pci but it shows a QEMU black window.

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

I get this output :

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
      FS0: Alias(s):HD1b:;BLK2:
          PciRoot(0x0)/Pci(0x6,0x0)/HD(1,GPT,516DDB9A-2E91-476D-B07E-394437BCAADF,0x800,0x48BE1)
      FS1: Alias(s):HD1c:;BLK3:
          PciRoot(0x0)/Pci(0x6,0x0)/HD(2,GPT,7CF3FB80-B159-4DDD-84DA-6B9AB44106A9,0x49BE0,0x75C21)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x6,0x0)
     BLK4: Alias(s):
          PciRoot(0x0)/Pci(0x7,0x0)
     BLK5: Alias(s):
          PciRoot(0x0)/Pci(0x7,0x0)/HD(1,GPT,7942A2B2-1242-4744-9961-FACCD8E50919,0x28,0x3BF3B0)
     BLK6: Alias(s):
          PciRoot(0x0)/Pci(0x8,0x0)
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)



Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> fs0:\EFI\BOOT\BOOTx64.efi
BS: Starting OpenCore application...
BS: Booter path - \EFI\BOOT\BOOTx64.efi
OCFS: Trying to locate filesystem on 7F35E998 7EB1EF98
OCFS: Filesystem DP - \EFI\BOOT\BOOTx64.efi
BS: Trying to load OpenCore image...
BS: Relative path - EFI
BS: Startup path - EFI\OpenCore.efi (0)
BS: Fallback to absolute path - EFI\OC\OpenCore.efi
BS: Read OpenCore image of 892928 bytes
OCM: Loaded image at 7EB2C618 handle
OCM: Loaded image has DeviceHandle 7F35E998 FilePath 7EB26F98 ours DevicePath 7EB2C018
OC: Starting OpenCore...
OC: Booter path - EFI\OC\OpenCore.efi
OCFS: Trying to locate filesystem on 7F35E998 7EB26F98
OCFS: Filesystem DP - EFI\OC\OpenCore.efi
OC: Absolute booter path - EFI\OC\OpenCore.efi
OC: Storage root EFI\OC\OpenCore.efi
OCST: Missing vault data, ignoring...
OC: OcMiscEarlyInit...
OC: Loaded configuration of 26045 bytes
OCS: Missing key Patch, context <Booter>!
OCS: Missing key Arch, context <Add>!
OCS: Missing key Arch, context <Add>!
OCS: Missing key ReservedMemory, context <UEFI>!
OC: Watchdog status is 1

@arindas
Copy link
Owner

arindas commented May 17, 2022

What happens after this?

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

I get a black QEMU window.

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

Also, im on Debian 11 with a Ryzen CPU.

@arindas
Copy link
Owner

arindas commented May 17, 2022

Try removing this flag once and run.

Qemu installations are not uniform across all Linux distributions. From what I have observed, some flags are not properly supported in all distributions.

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

You're talking about -virtio-gpu-pci or -display gtk,gl=on \ ?

@arindas
Copy link
Owner

arindas commented May 17, 2022

virtio-gpu-pci

@Alg0v
Copy link
Author

Alg0v commented May 17, 2022

I also get a black screen. I removed both -virtio-gpu-pci and -display gtk,gl=on \ and it works ! Thank you so much for your help ! Have a nice day !

@Alg0v Alg0v closed this as completed May 17, 2022
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