LINUX.ORG.RU

TV-Out & NVidia


0

0

Возможно ли выводить разные изображения на монитор и на тв 
выход ? Вроде в ЧаВО этот вопрос затронут, но так, как там 
написано реализовать не получилось, видать что то не то в конфиге
 иксов. Если не понятно что хочу: надо чтобы на мониторе был 
рабочий стол и т.п., а на тв выходе только фильм к примеру. Вот 
конфиг иксов (4.3.0):
Section "Device"
    Identifier  "Nvidia"
    Driver      "nvidia"
   # Driver      "nv"
    VideoRam    32768
    VendorName  "nVidia Corporation"
    BoardName   "NV11 [GeForce2 MX/MX 400]"
    BusID       "PCI:1:0:0"
    Option "NoLogo" "1"
    Option      "CursorShadow" "1"

    Option "ConnectedMonitor"         "crt,tv"
    Option      "TVOutFormat" "COMPOSITE"
    Option      "SecondMonitorHorizSync" "30-50"
    Option      "SecondMonitorVertRefresh" "60"
    Option      "TVStandard" "NTSC-J"
    Option      "TwinView"
    Option      "TwinViewOrientation" "Clone"
    Option "MetaModes"  "800x600,800x600; 640x480,800x600"
    Option "ConnectedMonitor"         "crt,tv"

Только вот еще вопрос: Реально ли чтобы на мониторе 
разрешение было 1280x1024, а на тв выходе 800х600 ?
★★★★★

Ответ на: Re: TV-Out & NVidia от cyclon

Re: Re: TV-Out & NVidia

Ах да вот конфиг:

...
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

	Identifier  "Monitor"
	HorizSync   30-99.9
	VertRefresh 85-160

EndSection

Section "Monitor"

	Identifier  "TV"
	HorizSync   10-99.9
	VertRefresh 50-60

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"

	Identifier  "nvidia-crt"
	BusID       "PCI:1:0:0"
	Driver      "nvidia"
	VideoRam    131072
	Screen   0
	
	Option   "ConnectedMonitor"   "CRT-1"
	Option   "RenderAccel" "true"
	Option   "CursorShadow" "1"
	
	Option   "IgnoreDisplayDevice"	"TV"

#	Insert Clocks lines here if appropriate
	
	Option	    "OverlayDefaultVisual" "true"
	Option	    "CIOverlay" "true"
	Option	    "Overlay" "true"
	Option	    "RenderAccel" "true"
	Option	    "NoLogo" "true"
	Option	    "NvAGP" "3"

EndSection

Section "Device"
    
	Identifier  "nvidia-tv"
	BusID       "PCI:1:0:0"
	Driver      "nvidia"
	Screen   1
    
	Option   "ConnectedMonitor"   "TV-0"
	Option   "TVStandard"   "PAL-G"
	Option   "TVOutFormat"   "COMPOSITE"

#	Insert Clocks lines here if appropriate

EndSection

Section "Extensions"
    
	Option "Composite"	"true"
	Option "RENDER"	"true"

EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.


Section "Screen"

	Identifier  "CRT Screen"
	Device      "nvidia-crt"
	Monitor     "Monitor"
	DefaultDepth 24
    
	Subsection "Display"

		Depth       24
		Modes       "1280x1024" "800x600" "640x480"
		ViewPort    0 0

	EndSubsection

EndSection

Section "Screen"
	
	Identifier "TV Screen"
	Device   "nvidia-tv"
	Monitor   "TV"
	DefaultDepth 24
   
	Subsection "Display"
   
		Depth 24
		Modes "800x600"
		ViewPort 0 0

	EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

#    Screen "Screen 1"
    Screen 0 "CRT Screen"
    Screen 1 "TV Screen" rightOf "CRT Screen"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

cyclon ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.