Bug 722471

Summary: Gecko logo misplaced on bootsplash
Product: [openSUSE] openSUSE 12.1 Reporter: Guillaume GARDET <guillaume.gardet>
Component: BasesystemAssignee: Egbert Eich <eich>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.schlander
Version: Beta 1   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Misplaced gecko on bootsplash
Well placed gecko example (KDE boot)

Description Guillaume GARDET 2011-10-06 11:32:01 UTC
Created attachment 454875 [details]
Misplaced gecko on bootsplash

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

During boot, the bootsplash displayed is not so good. The Gecko with the load bar is placed on the "wave". (See attachment). It should be under the wave, as it is during the KDE loading.

In fact, it is well placed during less than 1 second and then is misplaced.

I do not know if it can help to solve the problem but 'dmesg' tells me twice:
"bootsplash: scaling image from 1024x768 to 1440x900"

Reproducible: Always

Steps to Reproduce:
1.Boot openSUSE 12.1 beta 1 and watch the bootsplash
2.
3.
Actual Results:  
The Gecko with the load bar is placed on the "wave".

Expected Results:  
It should be under the "wave", as it is during the KDE loading.
Comment 1 Guillaume GARDET 2011-10-06 11:37:18 UTC
Created attachment 454876 [details]
Well placed gecko example (KDE boot)
Comment 2 Stephan Kulow 2011-10-19 15:03:06 UTC
I have 1440x900 myself and gfxboot picks 12800x800 - images is scaled, but neither the offsets nor the width of the logo is scaled.

This sounds like a bug in the kernel code - for the matter of the 12.1 bootsplash disabling the bootsplash on resolution change would be better than moving the logo randomly ;(

Fortunately this is only a problem if you have to use multiple resolutions during boot and the initrd can only pick one. Normal boot's mkinitrd hides the bug
Comment 3 Egbert Eich 2011-10-20 09:58:17 UTC
Fixed a bug in the re-placement calculation used for scaling.
Logo rescaling is not implemented - so far this hasn't been an issue.

Even with the fix the logo is still placed differently than in the kdm screen.
Reason: I'm using a simple generic algorithm which tries to preserve the location of the center of the logo. kdm may use something more sophisticated.
Comment 4 Stephan Kulow 2011-10-25 08:44:35 UTC
*** Bug 726220 has been marked as a duplicate of this bug. ***
Comment 5 Olaf Hering 2011-10-25 15:05:49 UTC
The kernel change enables the DEBUG define, which makes typing on the console cumbersome because do_splash_verbose is printed after every keystroke.
Comment 6 Egbert Eich 2011-10-25 17:47:24 UTC
(In reply to comment #5)
> The kernel change enables the DEBUG define, which makes typing on the console
> cumbersome because do_splash_verbose is printed after every keystroke.

Fixed. Sorry.