Re: [PATCH] vgacon: Workaround for resize bug in some chipsets

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

 



From: "Antonino A. Daplas" <[email protected]>
To: Samuel Thibault <[email protected]>
CC: Linus Torvalds <[email protected]>, Andrew Morton <[email protected]>, Dave Jones <[email protected]>, Jason <[email protected]>, Linux Kernel Development <[email protected]>
Subject: Re: [PATCH] vgacon: Workaround for resize bug in some chipsets
Date: Mon, 14 Nov 2005 07:37:17 +0800

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

When I run stty rows 20 I get a screen of 80x20. I can see the top 10 rows and the bottom 10 rows are invisible.

Thanks,
Jason Dravet


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux