Bug 131548

Summary: ofw_syscons no longer supports 32-bit framebuffer
Product: Base System Reporter: Justin Hibbits <jrh29>
Component: powerpcAssignee: freebsd-ppc (Nobody) <ppc>
Status: Closed FIXED    
Severity: Affects Only Me CC: nwhitehorn
Priority: Normal    
Version: 8.0-CURRENT   
Hardware: Any   
OS: Any   

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.