Dear Michael,

Am 23.08.22 um 16:30 schrieb Michael Bacarella:
On Tue, Aug 23, 2022 at 12:06 AM Paul Menzel <pmen...@molgen.mpg.de> wrote:

Am 22.08.22 um 21:23 schrieb Michael Bacarella:
On Sat, Aug 20, 2022 at 11:45 PM Paul Menzel <pmen...@molgen.mpg.de> wrote:

Thank you for implementing this. If you send a patch, I can test on real
hardware.

[…]

Patch attached. I replied here rather than with a new email with a PATCH subject
because I don't consider it ready to merge, more like a POC.

Also I'm using gmail, hope I don't embarrass myself.

Unfortunately, Gmail wraps lines after 72(?) characters so the diff is
malformed. Maybe attach the file generated by `git format-patch -1`?

My apologies. Attached here.

No problems. Thank you for providing the patch. I tried it on the ASUS F2A85-M PRO, and the GIF you provided [1], and got the results below.

    $ identify bootsplash.gif
bootsplash.gif[0] GIF 640x480 640x480+0+0 8-bit sRGB 256c 0.000u 0:00.000 bootsplash.gif[1] GIF 640x480 640x480+0+0 8-bit sRGB 256c 0.000u 0:00.012 bootsplash.gif[2] GIF 640x480 640x480+0+0 8-bit sRGB 256c 640039B 0.000u 0:00.012

    Checking for bootsplash
    Copying romfile 'bootsplash.gif' (len 640039)
    Copying data 640039@0xff8c07a8 to 640039@0x5ed93b70
    start showing bootsplash
    VESA 3.0
    VENDOR: (C) 1988-2010, Advanced Micro Devices, Inc.
    PRODUCT: DVST
    Decoding bootsplash.gif
    Finding vesa mode with dimensions 640/480
    Unable to find vesa video mode dimensions 640/480
    failed to find a videomode with 640x480 24bpp (0=any).

According to `videoinfo` from GRUB (MBR), the video modes from the Video BIOS/VGA Option ROM seem to be:

```
List of supported video modes:
Legend: mask/position=red/green/blue/reserved
Adapter `Cirrus CLGD 5446 PCI Video Driver':
  No info available
Adapter `Bochs PCI Video Driver':
  No info available
Adapter `VESA BIOS Extension Video Driver':
  VBE info:   version: 3.0  OEM software rev: 15.31
              total memory: 16384 KiB
  0x100  640 x  400 x  8 ( 640)  Paletted
  0x101  640 x  480 x  8 ( 640)  Paletted
  0x103  800 x  600 x  8 ( 832)  Paletted
  0x105 1024 x  768 x  8 (1024)  Paletted
  0x107 1280 x 1024 x  8 (1280)  Paletted
  0x110  640 x  480 x 16 (1280)  Direct color, mask: 5/5/5/0  pos: 10/5/0/0
  0x111  640 x  480 x 16 (1280)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x113  800 x  600 x 16 (1664)  Direct color, mask: 5/5/5/0  pos: 10/5/0/0
  0x114  800 x  600 x 16 (1664)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x116 1024 x  768 x 16 (2048)  Direct color, mask: 5/5/5/0  pos: 10/5/0/0
  0x117 1024 x  768 x 16 (2048)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x119 1280 x 1024 x 16 (2560)  Direct color, mask: 5/5/5/0  pos: 10/5/0/0
  0x11a 1280 x 1024 x 16 (2560)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x163 1280 x  960 x  8 (1280)  Paletted
  0x165 1280 x  960 x 16 (2560)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x166 1280 x  960 x 32 (5120)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  0x121  640 x  480 x 32 (2560)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  0x122  800 x  600 x 32 (3328)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  0x123 1024 x  768 x 32 (4096)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
* 0x124 1280 x 1024 x 32 (5120)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  0x143 1400 x 1050 x  8 (1408)  Paletted
  0x145 1400 x 1050 x 16 (2816)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x146 1400 x 1050 x 32 (5632)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  0x173 1600 x 1200 x  8 (1600)  Paletted
  0x175 1600 x 1200 x 16 (3200)  Direct color, mask: 5/6/5/0  pos: 11/5/0/0
  0x176 1600 x 1200 x 32 (6400)  Direct color, mask: 8/8/8/0  pos: 16/8/0/0
  EDID version: 1.3
    No preferred mode available
Adapter `VGA Video Driver':
  No info available
```

So no 640 x 480 x 24 mode is in there. I never tried bootsplash before, so no idea, if misconfigured something, or just need a different GIF.


Kind regards,

Paul


[1]: https://michael.bacarella.com/bootsplash.gif
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to