Port-sparc64 archive

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

Re: genfb not working on E250 with Raptor GFX card



On Sun, Jan 13, 2008 at 02:50:56PM -0500, Michael Lorenz wrote:
> Sounds like genfb and the video hardware disagree about colour depth  
> for some reason.
>
> > I have no idea how to debug the genfb issue.  I tried reverting the
> > changes I found in the CVS changelog (especially after reading last
> > month's announcement by macallan), but none of these fixed the  
> > problem.
> 
> These changes were workarounds for bugs in my Raptor's firmware, I  
> wouldn't be surprised if yours needs more than that. To see what's  
> going on I need:
> - - ofctl -p output

Unfortunately I can't do that, because I can't get a working NetBSD
on the system.  If you can tell me how to get the useful information
directly from OFW, I'll be happy to type them in manually, though.

If possible, I can query necessary information from ddb as well.

> - - dmesg output

The info from dmesg you need I can tell you as well (see also below).
Do you really need all of dmesg?  It would require me to copy it manually
too..

I enabled GENFB_DEBUG and got the following output just before the
top part of the screen went black:

genfb0 at pci0 dev 2 function 0membase: 1ff80000000 fbpa: 1ff80800000
: Texas Instruments TVP4020 Permedia 2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>OFpnode</key>
        <integer>-267800264</integer>
        <key>address</key>
        <integer>0x800000</integer>
        <key>cmap_callback</key>
        <integer>0x18a9850</integer>
        <key>depth</key>
        <integer>0x8</integer>
        <key>height</key>
        <integer>0x400</integer>
        <key>instance_handle</key>
        <integer>0xfff69ce8</integer>
        <key>is_console</key>
        <true/>
        <key>linebytes</key>
        <integer>0x500</integer>
        <key>width</key>
        <integer>0x500</integer>
</dict>
</plist>

It has become dark outside now and there's less light falling into my
screen.  This made me notice that the black section at the top of my
screen with the "white dots" isn't completely black.  It's a very very
dark grey and when I look closely I can see in black what looks like
dmesg lines.  It's too small to read, but it's repeated four times
across the top of the screen.  I also see four completely white
rectangles which seem to be copies of the cursor.

> Then, TechSource sold many different cards as 'Raptor' - are you sure  
> yours is a Raptor GFX 8P or Sun PGX32?

Nope, I'm not sure.  Can you get anything useful out of the genfb line
above?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpH9zDKdHwzE.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index