neofb problem with console mode early in boot and after X is started

2 messages, 2 authors, 2003-04-02 · open the first message on its own page

neofb problem with console mode early in boot and after X is started

From: Joel Metelius <hidden>
Date: 2003-03-30 21:53:53

Problem appears both in 2.5.66 and when applying the patch fbdev.diff.gz
as of 31/3.

1. The penguin is only green lines.
2. After X is started the console font rendering is currupted and the
letters take up 2 times its width and 2 times its height by only setting
top left pixel in a 2x2 pixel square (the other 3 pixels are black).
This makes the console unusable since the letters and lines are drawn
50% on top of each other.
3. vga=0x305 that works in 2.4 kernel only makes the screen blank and
boot hangs.

More specific:

After GRUB splash only 25% of the screen is used (80x25).
The choose resolution question is displayed (vga=ask).
I press [SPACE] and boot continues.
After a while the resolution is switched to 100% (128x48) and before
entering runlevel 5 the console is OK.
After X (gdm) is started, switching to console mode makes the problem
described above appear.

Sometimes the boot hangs after:

nm256: Mapping port 1 from 0x3f09a0 - 0x3fec00

just before:

Mar 30 22:52:58 joelm kernel: ALSA device list:
Mar 30 22:52:58 joelm kernel:   #0: NeoMagic NM256ZX at 0xf9bf09a0 &
0xfda00000, irq 5

has not appeared with the patch (yet ;)

/joel

---------------
grub.conf

... vga=ask

--------------
HW: Dell latitude CSx 390MB laptop TFT monitor, neomagic NM256ZX

---------------
.config

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
CONFIG_FB_NEOMAGIC=y
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
CONFIG_FONT_PEARL_8x8=y
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

-----------------

Re: neofb problem with console mode early in boot and after X is started

From: James Simmons <hidden>
Date: 2003-04-02 22:09:56

Problem appears both in 2.5.66 and when applying the patch fbdev.diff.gz
as of 31/3.

1. The penguin is only green lines.
No color image support yet. I need to fix that. Easy fix.
2. After X is started the console font rendering is currupted and the
letters take up 2 times its width and 2 times its height by only setting
top left pixel in a 2x2 pixel square (the other 3 pixels are black).
This makes the console unusable since the letters and lines are drawn
50% on top of each other.
??? I will have to test the neofb driver for this. I have this card.
3. vga=0x305 that works in 2.4 kernel only makes the screen blank and
boot hangs.
vga=... works only with the vesafb driver. You need to use the modedb 
command line. See Documentation/fb/modedb.txt for details.
More specific:

After GRUB splash only 25% of the screen is used (80x25).
Okay. That is strange. Might be related to the VESA vga= issue.
The choose resolution question is displayed (vga=ask).
I press [SPACE] and boot continues.
After a while the resolution is switched to 100% (128x48) and before
entering runlevel 5 the console is OK.
You are telling the BIOS to set the resolution and then the native driver 
takes over and fixes the problem.
After X (gdm) is started, switching to console mode makes the problem
described above appear.
Sometimes the boot hangs after:
That is sound card problems. 



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help