[rescue] FB resolution in PROM (Was: Re: LCD for HD resolution w/ FFB (Creator) ?)

Romain Dolbeau romain at dolbeau.org
Wed Nov 4 08:31:47 CST 2015


Hello,

Since it seems LCD capable of handling the FFB output @ 1920x1080 or
1920x1200 are either non-existent or very expensive, I've decided to see if
it was possible to fix the output instead (inspired by Mouse for an SX,
comment quoted below).

I have hopes that the hardware should be able to handle it, from the NetBSD
device driver source code here <
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sparc64/dev/ffb.c?rev=1.56&content-type=text/x-cvsweb-markup
>.

However, so far no luck :-(

When setting debug-fcode? to true, a lot of extra words appear in the
SUNW,ffb device. Including some hopeful one such as 'r1920x1080x72' or
'r1152x900x66'. The content is quite dissimilar than what appears in the SX
or TGX resolutions, but it is easily resolved, since it is basically the
stuff computed in the NetBSD driver (comment above the
functionffb_set_vmode), i.e.:

EIS,EIE,EPE,HCS,HCE,HSS,HSE,HBS,HBE,HRE,VSS,VSE,VBS,VBE

There is also some clock words (pclk117, pclk94, etc.), and they are the m,
b and p from function ffb_get_pclk.

I've tried defining some new words for a new resolution & clock in the
nvramrc and then using that in output-device (screen:r1920x1080x60), but
then I only get 1152x900, even if I duplicate an existing entry under a
different name. I think the output-device doesn't directly refer to a word.

I have not found any way to set the resolution from the PROM (no
set-resolution, didn't find something to replace it) either.

I've even installed NetBSD 7 on a spare disk, but unfortunately the driver
won't take an arbitrary resolution, only PROM or EDID - and it seems my
adapter is one of those scr*w*ng EDID :-(

So, any suggestions or ideas (or even solutions :-) welcome. For the FFB or
even for other framebuffers (the TGX 'vsetup' is documented in the FB FAQ
so I know about it, haven't found an equivalent in the FFB).

Cordially,

Romain Dolbeau

2015-10-28 15:44 GMT+01:00 Mouse <mouse at rodents-montreal.org>:

> In case it matters, the cg14 configuration I'm using is
> : r1920x1080x60 780 438 3c 8d9ee20 5e 0f 5e 0f 5e 0f ;
>

-- 
Romain Dolbeau


More information about the rescue mailing list