登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

银河里的星星

落在人间

 
 
 

日志

 
 

Configuring YDL 5.0 for the chosen PS3 video mode(zz)   

2010-04-23 10:22:27|  分类: 高性能计算 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
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 "1920x1200" "1920x1080" "1280x1024" "1280x768" "1280x720" "720x576" "720x480"
EndSubSection
SubSection "Display"
Depth 16
FbBPP 32
Modes "1920x1200" "1920x1080" "1280x1024" "1280x768" "1280x720" "720x576" "720x480"
EndSubSection
SubSection "Display"
Depth 24
FbBPP 32
Modes "1920x1200" "1920x1080" "1280x1024" "1280x768" "1280x720" "720x576" "720x480"
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, 1280x768 is the resolution currently supported by the PS3.


This HOWTO was written by Tim Renner and David Seikel, Terra Soft Solutions.
  评论这张
 
阅读(694)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018