grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jpeg image does not show in background


From: Piscium
Subject: Re: jpeg image does not show in background
Date: Sat, 2 Oct 2010 10:17:47 +0100

2010/10/1 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:

> On 10/01/2010 08:55 PM, Piscium wrote:

>> The conclusion appears to be that the jpeg module in grub2 is very
>> fussy about the files that it displays. Note there was nothing special
>> about the files I wanted to display. The "green_mountains" was taken
>> from a blog, and the two 1280x1024 images were taken from the Gnome
>> Art website.
>>

> It's not really "nothing particular". With pictures taken by my camera
> it works fine.

The site I mentioned, Gnome Art is this:
http://art.gnome.org/backgrounds

It is where some people come to get nice background images, and not
just Gnome users. For example, in my Windows PC at work I have a
background from this site. So it would be good if pictures from this
site could be displayed with grub2. They are just normal pictures.

In fact I think the site could be used as a test resource for the
grub2 background image feature, as it has images created by various
people in various sizes and with various cameras and software
packages.


>> There is a file grub-core/video/readers/jpeg.c. It has plenty of debug
>> statements like:
>>     "grub_error (GRUB_ERR_BAD_FILE_TYPE, "jpeg: huffman decode fails");
>>
>> Is there some easy way to read the text of these messages? (I have no
>> JTAG and my hardware does not support virtualization).
>>
>>
> They aren't debug messages but error messages which are shown if you
> call background_image manually.

By loading the image files manually on the command line I got this
error message for both problem files:
"jpeg: invalid 0xFF in data stream"

This comes from jpeg.c, line 124.

I have created a bug report as you requested, unfortunately I could
not attach the said files as they exceed the site limit. If you want I
can email the files to you or upload to some temporary place of your
choice. (The file sizes are 2.1 Mb and 577 Kb).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]