高性能计算

Configuring YDL 5.0 for the chosen PS3 video mode(

2010年4月23日 阅读(133)

zzfrom:http://www.terrasoftsolutions.com/support/solutions/ydl_5.0/video-config.shtml
ntroduction
The PS3 is both a game console and a computer. Game consoles traditionally output to TV screens, computers traditionally output to computer monitors. TV screens and computer monitors have very little in common. The PS3 can output to both, and can also output to High-Definition (HD) TV screens. Since this involves several completely different sets of standards, things can get complex. This HOWTO will show you how to make your selected PS3 video mode permenant.

Boot configuration
Once you have determined the video mode you find best for your monitor or television, you may make the change more permanent by editing your /etc/kboot.conf file, adding a configuration with the video argument you would like. For example, the kboot.conf file generated by the Yellow Dog Linux 5.0 installer provides four different modes:

# kboot.conf generated by anaconda

default=ydl

timeout=10

root=/dev/sda1

ydl=’/dev/sda1:/vmlinux-2.6.16-20061110.ydl.1ps3

initrd=/dev/sda1:/initrd-2.6.16-20061110.ydl.1ps3.img

root=/dev/sda2 init=/sbin/init video=ps3fb:mode:3 rhgb’

ydl480i=’/dev/sda1:/vmlinux-2.6.16-20061110.ydl.1ps3

initrd=/dev/sda1:/initrd-2.6.16-20061110.ydl.1ps3.img

root=/dev/sda2 init=/sbin/init video=ps3fb:mode:1 rhgb’

ydl1080i=’/dev/sda1:/vmlinux-2.6.16-20061110.ydl.1ps3

initrd=/dev/sda1:/initrd-2.6.16-20061110.ydl.1ps3.img

root=/dev/sda2 init=/sbin/init video=ps3fb:mode:4 rhgb’

ydltext=’/dev/sda1:/vmlinux-2.6.16-20061110.ydl.1ps3

initrd=/dev/sda1:/initrd-2.6.16-20061110.ydl.1ps3.img

root=/dev/sda2 init=/sbin/init 3′

The above lines
DO NOT WRAP.

If none of these meet your needs, you may copy one of these lines, replace the label and edit the video=ps3fb:mode:# number. For example, to make a new configuration named myconfig that will start with mode 5:1080p:

myconfig=’/dev/sda1:/vmlinux-2.6.16-20061110.ydl.1ps3

initrd=/dev/sda1:/initrd-2.6.16-20061110.ydl.1ps3.img

root=/dev/sda2 init=/sbin/init video=ps3fb:mode:5 rhgb’

The above lines
DO NOT WRAP.

If you wish to make the the default boot, change the default=ydl line to read:

default=myconfig

When you reboot, it will use this video mode as the default.


Graphical mode configuration

You will also need to modify /etc/X11/xorg.conf to make sure that the Linux graphic mode works fine. Look for the Screen section and modify it to look like this: Section "Screen"

Identifier "Screen0"

Device "Card0"

Monitor "Monitor0"

DefaultDepth 24

DefaultFbBPP 32

SubSection "Display"

Depth 8

FbBPP 32

Modes "1920×1200" "1920×1080" "1280×1024" "1280×768" "1280×720" "720×576" "720×480"

EndSubSection

SubSection "Display"

Depth 16

FbBPP 32

Modes "1920×1200" "1920×1080" "1280×1024" "1280×768" "1280×720" "720×576" "720×480"

EndSubSection

SubSection "Display"

Depth 24

FbBPP 32

Modes "1920×1200" "1920×1080" "1280×1024" "1280×768" "1280×720" "720×576" "720×480"

EndSubSection

EndSection

This relies on the fact that Xorg will ignore any invalid screen resolutions, and there will only be one valid screen resolution at a time on the PS3. Note that this does include the WXGA mode, and while WXGA is a set of non standard resolutions, 1280×768 is the resolution currently supported by the PS3.

This HOWTO was written by Tim Renner and David Seikel, Terra Soft Solutions.

You Might Also Like