Bug 131548 - ofw_syscons no longer supports 32-bit framebuffer
Summary: ofw_syscons no longer supports 32-bit framebuffer
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: powerpc (show other bugs)
Version: 8.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ppc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 03:20 UTC by Justin Hibbits
Modified: 2014-07-29 23:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits 2009-02-10 03:20:01 UTC
The change made in r186055 forces a display reset, which causes OpenFirmware to reset the display controller to boot-time settings.  Unfortunately, with a 32-bit color depth, OpenFirmware resets the display to 8-bit, causing the ofw_syscons code to draw 4 physical pixels for one logical pixel.  This causes lines to wrap, and also causes text to wrap below the visible screen.  Another bug, discussed on the ppc@ mailing list, is shown by this, as the system hangs very shortly after bootup, possibly due to memory corruption by overlapping pages in the video buffer and RAM.

Fix: 

OpenBSD's console code might have something helpful.
How-To-Repeat: Add:

dev screen 32 set-depth

To sys/boot/powerpc/boot1.chrp/bootinfo.txt, or run at the OFW prompt.  ATI cards only (tested with Radeon 9600pro)
Comment 1 Nathan Whitehorn freebsd_committer freebsd_triage 2014-07-29 23:37:15 UTC
Fixed in r269278.