Messages in this thread | | | Date | Mon, 14 Nov 2005 07:37:17 +0800 | From | "Antonino A. Daplas" <> | Subject | Re: [PATCH] vgacon: Workaround for resize bug in some chipsets |
| |
Samuel Thibault wrote: > Antonino A. Daplas, le Sun 13 Nov 2005 22:33:18 +0800, a écrit : >> Samuel Thibault wrote: >>> Antonino A. Daplas, le Sun 13 Nov 2005 06:20:53 +0800, a écrit : >>>> "I updated to the development kernel and now during boot only the top of the >>>> text is visable. For example the monitor screen the is the lines and I can >>>> only see text in the asterik area. >>>> --------------------- >>>> | **************** | >>>> | * * | >>>> | * * | >>>> | **************** | >>>> | | >>>> | | >>>> | | >>>> --------------------- >>> Are you missing some left and right part too? What are the dimensions of >>> the text screen at bootup? What bootloader are you using? (It could be a >>> bug in the boot up text screen dimension discovery). >> It was just the height. All numbers (done with printk's) look okay from >> bootup. He gets 80 and 25 for ORIG_VIDEO_NUM_COLS and ORIG_VIDEO_NUM_LINES >> respectively. > > And you got less than 25 lines? How many exactly?
If the original size was at 80x25, and vgacon_doresize() was called, the the resulting screen is only 80x12.5. The 13th line has its bottom half chopped off, and the rest of the lines (14-25) is invisible.
If he sets it at < 25, he gets a window much smaller than 12.5, but he did not specify. So my guess is his chipset programs the screen height by 1/2 of the value of the requested rows.
Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |