Menu

Garbled jpeg with gnu-efi 3.0.18

Viorel
2024-06-17
2024-07-25
  • Viorel

    Viorel - 2024-06-17

    Refind 0.14.2 can boot if compiled with gnu-efi 3.0.18, but if I use a jpeg banner it is all garbled. If compiled with gnu-efi 3.0.17, the jpeg looks good.

    I tried to use libeg/nanojpeg.c from 0.14.0 with the same result (still garbled).

     
  • Viorel

    Viorel - 2024-07-25

    I found the issue, I'm attaching a patch.

     
  • dakanji

    dakanji - 2024-07-25

    Nice.

    Why not just use refit_call3_wrapper gBS->SetMem and drop the specific GNUEFI macros in lib.h? Also extend to cover refit_call3_wrapper gBS->CopyMem as well.

    Other toolkits will also happily work with these. I note though, that you tried to follow the same way things were previously done.

     

    Last edit: dakanji 2024-07-25

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.