Bug 222958
| Summary: | Linux install screen for RHEL4 will display shifted on flat panel monitors | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | LisaWu <liswu> | ||||
| Component: | xorg-x11-drv-vga | Assignee: | Jarod Wilson <jarod> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | desktop-bugs <desktop-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.4 | CC: | ddomingo, liswu, mhideo, rlerch, rod.macdonald, woliu | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-08-25 23:19:04 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 391231, 458752 | ||||||
| Attachments: |
|
||||||
|
Description
LisaWu
2007-01-17 03:12:13 UTC
Created attachment 145769 [details]
shifted image during RHEL4 installation
RHEL4 install process chooses Vga16fb frame buffer driver to drive the
console.
Regardless of the mode set by video BOIS during linux setup period, the driver
will modify video timing according to its hardcoded video parameters defined
in structure fb_var_screeninfo. These parameters define the screen margins as
well as the video resolution and result in the shifted screen.
here is the detailed timing define by the vga16fb:
struct fb_var_screeninfo vga16fb_defined __initdata = {
.xres = 640,
.yres = 480,
.xres_virtual = 640,
.yres_virtual = 480,
.bits_per_pixel = 4,
.activate = FB_ACTIVATE_TEST,
.height = -1,
.width = -1,
.pixclock = 39721,
.left_margin = 48,
.right_margin = 16,
.upper_margin = 39,
.lower_margin = 8,
.hsync_len = 96,
.vsync_len = 2,
.vmode = FB_VMODE_NONINTERLACED,
};
these hard coded parameter result in timing as follows:
640x480
HTimings:640 656 752 800
VTimings:480 488 490 529
That's pretty awful, but it's not an X problem. Reassigning to the kernel. Does this problem happen on rhel5 as well? Or do we use vesafb there instead of vga16fb? The code in comment #2 looks exactly the same even in the latest upstream kernel. Not sure if its easier to fix vga16fb or just switch to vesafb instead... Our customer hasn't found the same problem on rhle5. I found rhel5 doesn't use vga16fb as the console driver, correct me if I am wrong. Okay, a bit of further investigation says that rhel5 actually uses *no* fb driver at all, just pure text mode. However, running that way generally isn't an option on rhel4, due to some bits that still depend on the fb (primarily, CJK characters). However, if CJK characters aren't needed, one can boot the installer with 'linux nofb' and the offset problem *should* be gone. If that does the trick, I think a release note about it might me more apropos than fixing ancient code that (almost?) nobody uses in more modern kernels. Please let me know if 'linux nofb' does the trick, and if so, if this is an acceptable workaround. we accept this workaround. Thanks for your attention. Okay, I'll flag this bug to get a release note added for 4.7. Thanks much! This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". I hate the pm bot sometimes... Don't mind comment #10, we'll get the relnote in... tracking this bug for RHEL4.7 release notes. adding to RHEL4.7 release notes under "Installation-Related Notes": <quote> When installing Red Hat Enterprise Linux 4 in Graphical Mode on systems that use flat-panel monitors and some ATI cards, the screen area may appear shifted. When this occurs, some areas of the screen will be obscured. If this occurs, perform the installation with the parameter linux nofb. </quote> Jarod, please advise if any further revisions are required. thanks! Its actually the text portions of the installer where we get the offset, not the graphical -- see attachment. :) whoops, missed that one. thanks for the catch, Jarod; source now reads: <snip> When installing Red Hat Enterprise Linux 4 in Text Mode... </snip> Hi, the RHEL4.7 release notes deadline is on June 17, 2008 (Tuesday). they will undergo a final proofread before being dropped to translation, at which point no further additions or revisions will be entertained. a mockup of the RHEL4.7 release notes can be viewed here: http://intranet.corp.redhat.com/ic/intranet/RHEL4u7relnotesmockup.html please use the aforementioned link to verify if your bugzilla is already in the release notes (if it needs to be). each item in the release notes contains a link to its original bug; as such, you can search through the release notes by bug number. Cheers, Don |