|
楼主 |
发表于 2002-8-15 01:20:53
|
显示全部楼层
编号014
本文档已由coco兄弟领译,多谢coco兄弟。
弟兄们向您致意!
============================================
编号014
__________________________________________________________________________
( app-j ) 附录 J :设置 TV-OUT
__________________________________________________________________________
通过一台电视机,NVIDIA GPU-based(基于GPU) 的显卡与TV-Out (S-Video) 接头能够被
用于其他的显示设备, 就象一个 CRT 或数字化的平台嵌板
。电视能够自己单独使用, 或(在适当的显卡上) 与用
TwinView 配置的另外的显示设备一起使用。
如果你的电视是唯一与你的显卡相连接的显示设备, 当你启动你的系统的时候
,它将被作为主要的显示供你的系统使用( 即就在电视上被来好像
它是一 CRT 的控制台愿望 ) 。在X视窗下使用电视作为输出设备, 在XF86Config
文件里有一些参数你应该给予特殊的注意:
o 在你的配置文件里监视器设置部分的 VertRefresh 和 HorizSync 值;请保证这些设置
与你的电视是相附和的。值通常是:
HorizSync 30-50
VertRefresh 60
o 在你的屏幕设置部分里的模式节;对于电视的唯一的有效的模式是 640x480 和
800x600 , 如果在你的显卡上的电视编码器是一个BrookTree 871的,有效的模式也可能是 1024x768
--你的 XFree86 记录文件应该告诉你你有什
么编码器 ( 寻找行:"(--) NVIDIA ( 0 ) :电视编码器检测了 TV Encoder detected as") 。
o 选择应该被加到你的屏幕设置部分的" TVStandard ";有效的值是:
" PAL-B ":在比利时,丹麦,芬兰,德国,畿尼,香港,印度,印度尼西亚,意大利,马来西亚荷兰挪威葡萄牙新加坡西班牙瑞典和瑞士使用比较普遍
" PAL-D " :在中国和北朝鲜使用比较普遍
" PAL-G ":在丹麦,芬兰,德国,意大利,马来西亚,荷兰,挪威,葡萄牙,西班牙,瑞典并且瑞士使用比较普遍
" PAL-H " :在比利时使用比较普遍
" PAL-I ":在香港和英国使用比较普遍
" PAL-K1 ":在畿尼使用比较普遍
" PAL-M ":在巴西使用比较普遍
" PAL-N ":在法国,巴拉圭,和乌拉圭使用比较普遍
" PAL-NC ":在阿根廷使用比较普遍
" NTSC-J ":在日本使用比较普遍
" NTSC-M ":在加拿大,智利,哥伦比亚,哥斯达黎加, Ecuador , Haiti , Honduras ,墨西哥,巴拿马,波多黎哥南朝鲜台湾美国并且委内瑞拉使用比较普遍
在你的 XF86Config 文件的行应该是一些东西象一样:
Option " TVStandard " " NTSC-M "
如果你不指定一个 TVStandard ,或你指定一个无效的值, 将
使用缺省的"NTSC-M"。注意:如果你的国家不在上面的列表内,请选择离你国家最近的邻国。
o " ConnectedMonitor "选项将告诉你的X视窗用TV来作为显示设备。
仅仅当你的电视没有被你的显卡检测到,又或者你使用一个
CRT (或数字的平台嵌板) 作为你的引导区显示,但是想要重
定向 X 使用电视。有关这项的设置在你的配置文件里应该是如下这样:
Option "ConnectedMonitor" "TV"
o" TVOutFormat "这个选项经常用于强迫使用SVIDEO或COMPOSITE输出。
输出格式可以被强制设定为如下:
Option " TVOutFormat " " SVIDEO "
或
Option " TVOutFormat " " COMPOSITE "
__________________________________________________________________________
( app-k ) 附录 K :设置一台便携式计算机(笔记本)
__________________________________________________________________________
安装和配置
在笔记本电脑上NVIDIA的Accelerated Linux驱动的安装和设置和在台式计算机上基本是一样的
, 仅仅有一些微小的差别,下面列出了这些微小的差别。
就从1.0-2802 版本开始介绍, 关于在初始化显示时所使用的内部的flatpanel
的由即时地从在影象 被默认的产生在存储在显卡BIOS中的数据库。
这个能通过向" SoftEDIDs "内核选项发送0来停用。如果" SoftEDIDs "
被关掉,然后硬件数据将从一张表格中选择,基于"Mobile"内核选
择的值。
"Mobile"内核选项可以被设置为任意一种下面的值:
0xFFFFFFFF :让内核模块自动检测正确的值
1 : Dell laptops
2 : non-Compal Toshiba laptops
3 : all other laptops
4 : Compal Toshiba laptops
5 : Gateway laptops
再,"Mobile"的内核选项仅仅当SoftEDIDs被停用的时候才被需要;当它被
使用时,让内核模块自动检测正确的值,通常是最安全的 ( 这是缺省
行为 ) 。
假如你想改变选项中的任何一个, 可以按照一下的步骤进行:
o 在 NVIDIA_kernel 包里编辑 os-registry.c
o 将值设置在 modprobe 命令行上 ( 例如:" modprobe NVdriver
NVreg_SoftEDIDs=0 NVreg_Mobile=3' )
o 增加一个"Option"行到你的模块的配置文件, 通常是 /etc/modules.conf
( 例如:"Option NVdriver NVreg_Mobile=5 ")
附加的功能
TWINVIEW
所有mobile NVIDIA 芯片都支持 TwinView 。在一台笔记本计算机上设置
TwinView 和在一台台式机上设置TwinView基本上是一样的( 请参考上面的
附录I );注意当一个 TwinView 配置使用笔记本计算机的内部的平台嵌板和一个外部的
CRT 的时候 , CRT 是主要的显示设备 (指定它是
在你的 XF86Config 文件的监视器部分的 HorizSync 和 VertRefresh节中)
并且平台嵌板是处于第二地位的显示设备 ( 指定它通过
SecondMonitorHorizSync 和 SecondMonitorVertRefresh 选项的
HorizSync 和 VertRefresh节中) 。你也可以利用 UseEdidFreqs 选项从
每台显示设备的 EDID 获得 HorizSync 和 VertRefresh ,并且别担
心将它们设置在你的 XF86Config 文件里面会出现什么问题 ( 如果你信任你的显示设备的
报导的 EDIDs ,那么就请用这个来设置你的XF86Config吧--请阅读附录 D 以获取有关
UseEdidFreqs 选择的详细描述 ) 。
显示设备的热键转接
除 TwinView 以外,活动的 NVIDIA 芯片也有能力觉察到一个
LCD/CRT 热键事件,
触发器在每一个联接的显示器设备之间和可能合并的联接在一起的显示器设备之间
( 注意那仅仅是2个显示设备可以是同时活跃的
) 。 当在你的 XF86Config 设置了TwinView ,文件和热键功能是
互相独占的--如果你在你的 XF86Config 文件启用 TwinView ,那么
NVIDIA X 驱动程序将忽略 LCD/CRT 热键事件。
热键功能的另外的重要的方面是使你能够动态地联接并且移开显示设备
从你的笔记本到他人的笔记本或从他人的笔记本到你的笔记本而没必要重启 X 。
有了这项功能后你将担心的是怎么样确定和决定在每台显示设备上规划什么样的模式
。首先, 使用 UseEdidFreqs 是极其有用的,以便为每台显
示设备的 hsync 和 vrefresh 能从显示设备的 EDID 上被检索--否则,
监视器设置部分的内容的语义常常因为热键事件而改变。
当 X 被启动时,或当在显示设备的连接清单上监测到一个变化时,一
张新热键顺序表被构造--将使用显示设备的这张表在每个热键事件上。
当一个热键事件发生时,然后在顺序的下一个热键状态被选择。XF86Config设置文件里
所许要的每一个模式是由显示设备的限制所决定,最后决定的模式必需于
显示设备相适应。如果多种的显示设备
马上激活,那么每台显示设备的模式将一起被配对;如果不能准确的匹
配 ( 同样的分辨率 ) , 那么被找到的将是离它最近的那一个分辨率,
被找到的那个分辨率将被改变以适合其他的更小分辨率的显示设备。
当vt-switching退出X的时候 , 当X被启动的时候 vga 控制台将总是在显示设备上立即被恢复。
同样的, 当vt-switching再次进入 X 的时候,
一样的显示设备配置也将被用于你的 vt-switching 离开 X 的时候,
当vt-switching离开时,不关LCD/CRT热键发生什么活动都将不与考虑。
在 LCD 显示上的非标准的模式
一些用户在规划一个 1400x1050 模式的时候将有一些困难( 一些笔记本计算机
LCDs 的本国的分辨率 ) 。在版本 4.0.3 , XFree86 把若干
1400x1050 模式增加到它的缺省模式数据库, 但是如果你正在使用
XFree86 的一个更旧的版本,在这里是你能使用的数据行:
#-- 1400x1050--
# 1400x1050 @ 60Hz , 65.8 kHz hsync
Modeline " 1400x1050 " 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync
知道的笔记本计算机问题
o 当前还不支持电源管理。
o 当前所开放的 LCD/CRT 热键不能在大部分东芝笔记本计算机上正常工作, 但是
东芝的Satellite 3000 系列笔记本除外。
o 当前TwinView 不能在东芝Satellite 2800 系列笔记本上正常工作 。
o 影象覆盖仅仅工作在你启动的 X 的第一显示设备上。例如,
如果你在内部的 LCD 上启动 X ,运行使用影象覆盖的一个影象
应用程序 ( 通过使用XV扩展,使用 "Video Overlay" 适配器作广告)
并且那么热键换到增加的第 2 台显示设备,影象将不在第二显示设
备上出现。在这样附近工作,通过 XV 扩展做广告了的"Video Blitter "你也可以使用适配器来设置影象应用程序
( 这将总是有用的 ) ,或热键换到你在其上想要使用影象覆盖的显示设备 * before* 启动 X 。
-----------------------
英文原文:
__________________________________________________________________________
(app-j) APPENDIX J: CONFIGURING TV-OUT
__________________________________________________________________________
NVIDIA GPU-based video cards with a TV-Out (S-Video) connector can be
employed to use a television as another display device, just like a CRT
or digital flat panel. The TV can be used by itself, or (on appropriate
video cards) in conjunction with another display device in a TwinView
configuration.
If a TV is the only display device connected to your video card, it will
be used as the primary display when you boot your system (ie the console
will come up on the TV just as if it were a CRT). To use your TV with X,
there are a few parameters that you should pay special attention to in
your XF86Config file:
o The VertRefresh and HorizSync values in your monitor section;
please make sure these are appropriate for your television.
Values are generally:
HorizSync 30-50
VertRefresh 60
o The Modes in your screen section; the only valid modes for TV are
640x480 and 800x600, and possibly 1024x768 if the TV encoder on
your video card is a BrookTree 871 -- your XFree86 log file should
tell you what encoder you have (look for the line: "(--) NVIDIA(0):
TV Encoder detected as").
o The "TVStandard" option should be added to your screen section; valid
values are:
"AL-B" : used in Belgium, Denmark, Finland, Germany, Guinea,
Hong Kong, India, Indonesia, Italy, Malaysia, The
Netherlands, Norway, Portugal, Singapore, Spain,
Sweden, and Switzerland
"AL-D" : used in China and North Korea
"AL-G" : used in Denmark, Finland, Germany, Italy, Malaysia,
The Netherlands, Norway, Portugal, Spain, Sweden,
and Switzerland
"AL-H" : used in Belgium
"AL-I" : used in Hong Kong and The United Kingdom
"AL-K1" : used in Guinea
"AL-M" : used in Brazil
"AL-N" : used in France, Paraguay, and Uruguay
"AL-NC" : used in Argentina
"NTSC-J" : used in Japan
"NTSC-M" : used in Canada, Chile, Colombia, Costa Rica, Ecuador,
Haiti, Honduras, Mexico, Panama, Puerto Rico, South
Korea, Taiwan, United States of America, and Venezuela
The line in your XF86Config file should be something like:
Option "TVStandard" "NTSC-M"
If you don't specify a TVStandard, or you specify an invalid value,
the default "NTSC-M" will be used. Note: if your country is not in
the above list, select the country closest to your location.
o The "ConnectedMonitor" option can be used to tell X to use the TV for
display. This should only be needed if your TV is not detected by
the video card, or you use a CRT (or digital flat panel) as your
boot display, but want to redirect X to use the TV. The line in
your config file should be:
Option "ConnectedMonitor" "TV"
o The "TVOutFormat" option can be used to force SVIDEO or COMPOSITE
output. Without this option the driver autodetects the output format.
Unfortunately, it doesn't always do this correctly. The output format
can be forced with the options:
Option "TVOutFormat" "SVIDEO"
or
Option "TVOutFormat" "COMPOSITE"
__________________________________________________________________________
(app-k) APPENDIX K: CONFIGURING A LAPTOP
__________________________________________________________________________
INSTALLATION AND CONFIGURATION
Installation and configuration of the NVIDIA Accelerated Linux Driver
Set on a laptop is the same as for any desktop environment, with a few
minor exceptions, listed below.
Starting in the 1.0-2802 release, information about the internal flatpanel
for use in initializing the display is by default generated on the fly
from data stored in the video BIOS. This can be disabled by setting
the "SoftEDIDs" kernel option to 0. If "SoftEDIDs" is turned off, then
hardcoded data will be chosen from a table, based on the value of the
"Mobile" kernel option.
The "Mobile" kernel option can be set to any of the following values:
0xFFFFFFFF : let the kernel module auto detect the correct value
1 : Dell laptops
2 : non-Compal Toshiba laptops
3 : all other laptops
4 : Compal Toshiba laptops
5 : Gateway laptops
Again, the "Mobile" kernel option is only needed if SoftEDIDs is
disabled; when it is used, it's usually safest to let the kernel
module auto detect the correct value (this is the default behavior).
Should you need to alter either of these options, this can be done by
doing any of the following:
o editing os-registry.c in the NVIDIA_kernel package
o setting the value on the modprobe command line (eg: `modprobe
NVdriver NVreg_SoftEDIDs=0 NVreg_Mobile=3`)
o adding an "options" line to your module configuration file,
usually /etc/modules.conf (eg: "options NVdriver
NVreg_Mobile=5")
ADDITIONAL FUNCTIONALITY
TWINVIEW
All mobile NVIDIA chips support TwinView. TwinView on a laptop can
be configured in the same way as on a desktop machine (please refer
to APPENDIX I above); note that in a TwinView configuration using
the laptop's internal flat panel and an external CRT, the CRT is the
primary display device (specify it's HorizSync and VertRefresh in
the Monitor section of your XF86Config file) and the flat panel is
the secondary display device (specify it's HorizSync and VertRefresh
through the SecondMonitorHorizSync and SecondMonitorVertRefresh options).
You can also employ the UseEdidFreqs option to acquire the HorizSync and
VertRefresh from the EDID of each display devices, and not worry about
setting them in your XF86Config file (this should only be done if you
trust your display device's reported EDIDs -- please see the description
of the UseEdidFreqs option in APPENDIX D for details).
HOTKEY SWITCHING OF DISPLAY DEVICES
Besides TwinView, mobile NVIDIA chips also have the capacity to react to
an LCD/CRT hotkey event, toggling between each of the connected display
devices and each possible combination of the connected display devices
(note that only 2 display devices may be active at a time). TwinView as
configured in your XF86Config file and hotkey functionality are mutually
exclusive -- if you enable TwinView in your XF86Config file, then the
NVIDIA X driver will ignore LCD/CRT hotkey events.
Another important aspect of hotkey functionality is that you can
dynamically connect and remove display devices to/from your laptop and
hotkey to them without restarting X.
A concern with all of this is how to validate and determine what modes
should be programmed on each display device. First, it is immensely
helpful to use the UseEdidFreqs so that the hsync and vrefresh for
each display device can be retrieved from the display devices' EDID --
otherwise, the semantics of what the contents of the monitor section
mean constantly changes with each hotkey event.
When X is started, or when a change is detected in the list of connected
display devices, a new hotkey sequence list is constructed -- this lists
what display devices will be used with each hotkey event. When a hotkey
event occurs, then the next hotkey state in the sequence is chosen.
Each mode requested in the XF86Config file is validated against each
display device's constraints, and the resulting modes are made available
for that display device. If multiple display devices are to be active
at once, then the modes from each display device are paired together;
if an exact match (same resolution) can't be found, then the closest fit
is found, and the display device with the smaller resolution is panned
within the resolution of the other display device.
When vt-switching away from X, the vga console will always be restored on
the display device on which it was present when X was started. Similarly,
when vt-switching back into X, the same display device configuration
will be used as when you vt-switched away from X, regardless of what
LCD/CRT hotkey activity occurred while vt-switched away.
NON-STANDARD MODES ON LCD DISPLAYS
Some users have had difficulty programming a 1400x1050 mode (the native
resolution of some laptop LCDs). In version 4.0.3, XFree86 added several
1400x1050 modes to its database of default modes, but if you're using
an older version of XFree86, here is a modeline that you can use:
# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync
KNOWN LAPTOP ISSUES
o Power Management is not currently supported.
o LCD/CRT hotkey switching is not currently functioning on any
Toshiba laptop, with the exception of the Toshiba Satellite
3000 series.
o TwinView on Satellite 2800 series Toshbia laptops is not currently
functioning.
o The video overlay only works on the first display device on which
you started X. For example, if you start X on the internal LCD,
run a video application that uses the video overlay (uses the
"Video Overlay" adaptor advertised through the XV extension), and
then hotkey switch to add a second display device, the video will
not appear on the second display device. To work around this,
you can either configure the video application to use the "Video
Blitter" adaptor advertised through the XV extension (this is always
available), or hotkey switch to the display device on which you want
to use the video overlay *before* starting X. |
|