Skip to contentSkip to conversation

Bug: Frame-buffer (icon) rotates right in 2.4.0 when SMP

DISCUSSION Karl O. Pinc 3 participants 3 messages Jan 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Apoligies in advance if this is not the right place to send this report.

When displaying a screen-wide icon in the frame buffer for the graphics console:

Linux version 2.4.0

Console Drivers
Video mode selection support
Support for frame buffer devices (EXPERMENTAL)
VESA VGA graphics console

I found the right edge of the image to be displayed on the left edge -- perhaps 8 pixels worth?

I compiled for a pentium III, SMP on. I've a dual processor Pentium III with a Matrox Graphics, Inc. MGA G400 AGP video card. I discovered this using the lpp-0.2.0 patch at http://lpp.freelords.org,
which displays a startup screen.

Fix: turning SMP off fixed the problem.

FYI: fbcon_show_logo() in drivers/video/fbcon.c seems to have a for loop with an odd smp_num_cpus reference.

Please contact me if you need any more information or wish to tell me where to send this report.

Regards,

Karl <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

when you use SMP there's suppOsed to be one icon that shows up for every CPU you have. 2 cpu = 2 icons, 4 cpu = 4 icon. That's what the for loop in fbcon_show_logo().

So this really isnt a bug, depending on how you look at it. It's definitely something the lpp author needs to account for.

Quoted 23 lines · Karl O. Pinc

When displaying a screen-wide icon in the frame buffer for the graphics console:

Linux version 2.4.0

Console Drivers
Video mode selection support
Support for frame buffer devices (EXPERMENTAL)
VESA VGA graphics console

I found the right edge of the image to be displayed on the left edge -- perhaps 8 pixels worth?

I compiled for a pentium III, SMP on. I've a dual processor Pentium III with a Matrox Graphics, Inc. MGA G400 AGP video card. I discovered this using the lpp-0.2.0 patch at http://lpp.freelords.org,
which displays a startup screen.

Fix: turning SMP off fixed the problem.

FYI: fbcon_show_logo() in drivers/video/fbcon.c seems to have a for loop with an odd smp_num_cpus reference.

Signature · 13 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw

Am Montag, 8. Januar 2001 04:00 schrieb Mohammad A. Haque:

Quoted 6 lines

when you use SMP there's suppOsed to be one icon that shows up for every CPU you have. 2 cpu = 2 icons, 4 cpu = 4 icon. That's what the for loop in fbcon_show_logo().

So this really isnt a bug, depending on how you look at it. It's definitely something the lpp author needs to account for.

It is already fixed in the new (not yet released) version.

-Cajus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/