Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 03:12:50 GMT
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   powerpc/131548: ofw_syscons no longer supports 32-bit framebuffer
Message-ID:  <200902100312.n1A3CoUN006803@www.freebsd.org>
Resent-Message-ID: <200902100320.n1A3K1Yh047070@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         131548
>Category:       powerpc
>Synopsis:       ofw_syscons no longer supports 32-bit framebuffer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ppc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 03:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Justin Hibbits
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD narn.knownspace 8.0-CURRENT FreeBSD 8.0-CURRENT #2 r188149M: Mon Feb  9 18:45:09 EST 2009     root@narn.knownspace:/usr/obj/usr/src/sys/NARN  powerpc

>Description:
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.
>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)
>Fix:
OpenBSD's console code might have something helpful.

>Release-Note:
>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902100312.n1A3CoUN006803>