Re: [edk2-devel] Graphic Output on qemu

2023-02-08 Thread Michael Brown
On 08/02/2023 09:55, Alireza Banejad wrote: As my previous email, I mentioned that I am able to find the protocol since the LocateProtocol returns 0 (EFI_SUCCESS) (using the exact code you wrote) . But when I want to open it either with OpenProtocol or HandleProtocol I get a RETURN_UNSUPPORTED.

Re: [edk2-devel] Graphic Output on qemu

2023-02-08 Thread Alireza Banejad
As my previous email, I mentioned that I am able to find the protocol since the LocateProtocol returns 0 (EFI_SUCCESS) (using the exact code you wrote) . But when I want to open it either with OpenProtocol or HandleProtocol I get a RETURN_UNSUPPORTED. Are you implying that by calling LocateProtocol

Re: [edk2-devel] Graphic Output on qemu

2023-02-08 Thread Michael Brown
On 08/02/2023 08:03, Alireza Banejad wrote: Below is how I use the HandleProtocol function:   Status = gBS->HandleProtocol (                   gST->ConsoleOutHandle,                   &gEfiGraphicsOutputProtocolGuid,                   (VOID **)&GraphicsOutput                   ); You are

Re: [edk2-devel] Graphic Output on qemu

2023-02-08 Thread Alireza Banejad
Hi Bill, Yes, I have the graphics window with the logo showing and I see the setup menu. In fact, I have designed a HII form with my specific applications. The problem is that it just uses the SimpleTextOutput. It doesn't use the GOP or UgaDraw libraries. Plus, I am able to locate the protocol and

Re: [edk2-devel] Graphic Output on qemu

2023-02-07 Thread Paul, Bill
Of all the gin joints in all the towns in all the world, Alireza Banejad had to walk into mine at 02:22:32 on Tuesday, 7 February 2023 and say: > Do not click links or open attachments unless you recognize the sender and > know the content is safe. Hello everyone, > I am trying to use the GOP lib

[edk2-devel] Graphic Output on qemu

2023-02-07 Thread Alireza Banejad
Hello everyone, I am trying to use the GOP library for my uefi development. But no matter what code whenever i want to open the GOP handle RETURN_UNSUPPORTED is returned. I think this may be a qemu problem as if it doesn't support the GOP at all. This is how I run my qemu qemu-system-x86_64 -bios