[Cbe-oss-dev] ps3fb.c changes and black borders

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Tue Nov 27 02:10:21 EST 2007


On Fri, 23 Nov 2007, Grant Ferley wrote:
> > Date: Fri, 23 Nov 2007 14:04:17 +0100
> > From: Goffredo Marocchi <panajev at gmail.com>
> > Subject: [Cbe-oss-dev] ps3fb.c changes and black borders
> > To: cbe-oss-dev at ozlabs.org
> > Message-ID: <4746CFD1.8060704 at gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > 
> *snip*
> > 
> > http://forum.beyond3d.com/showthread.php?t=43859
> > 
> > Modifying both tables appropriately a user could minimize those black
> > borders.
> > 
> > Am I right saying that with the new ps3fb.c file we won't be able to
> > pull that "hack" any longer ?
> > 
> > Will there be a different/better way to achieve our goal of minimal and
> > not over conservative black borders ?
> > 
> > Thank you,
> > 
> > Goffredo Marocchi
> 
> I used to modify those tables in ps3fb.c in old kernels, but now I use
> fbset.  The way I use fbset (though Geert or someone else could explain the
> tool better) is to go into a fullscreen mode and set the appropriate xres,
> yres, vxres and vyres, reducing by a value of 4 until I have the correct
> values for x and y.  
> 
> For example, on my Sharp LCD in 1080p full, you start with the standard
> 1920x1080 dimensions which are oversized.  I change both actual and virtual
> dimension (i.e. xres and vxres), reducing by multiples of 4 until the screen
> is correct.  While yours would differ, I currently use:
> 	fbset -xres 1820 -vxres 1820 -yres 1036 -vyres 1036
> 
> Check out the fbset man page for info on how you use it, as well as setting
> other things like margins and sync length.
>
> I'd love to hear from the group if I'm using the tool appropriately, and if

That's exactly how it's supposed to be used!

> there is some way (other than scripting) to set these values automatically,
> say in kboot.conf.  Also, 720p in Linux doesn't seem to display on my TV
> (fine in game-os).  Anyone have hints as to what I might look at changing?
> Sorry if that's too off-topic for this list, ignore my questions if you
> believe so.

There are 2 variants of 720p: 50 Hz and 60 Hz.

On Linux, you can choose between them using:
  - `ps3-video-mode -v 3' vs. `ps3-video-mode -v 8'
  - `video=720p at 60' vs. `video=720p at 50' on the kernel command line

With kind regards,
 
Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
 
Phone:    +32 (0)2 700 8453	
Fax:      +32 (0)2 700 8622	
E-mail:   Geert.Uytterhoeven at sonycom.com	
Internet: http://www.sony-europe.com/
 	
Sony Network and Software Technology Center Europe	
A division of Sony Service Centre (Europe) N.V.	
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium	
VAT BE 0413.825.160 · RPR Brussels	
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619


More information about the cbe-oss-dev mailing list