[LUG.ro] salida TV-OUT independiente/separada de X ???

"Sebastián D. Criado" sebastian.criado en gmail.com
Mar Dic 30 11:04:43 ART 2008


pablo escribió:
> Gente, buenos días.
> Tengo Debian ETCH y una placa GeForce FX 5500 con salida de TV-out
> ¿ Se puede lograr una salida hacia TV-OUT independiente / diferente de X
> que tengo en el monitor ?
> 
> He probado:
> - clonar el monitor sobre la TV ( OK! )
> - display separados        ( OK! )
> - doble servidor X         ( +ó- OK )
> 
> Quisiera poder mandar al TV la reproducción de una peli, pero que no vea
> afectado de los que hago en la PC.
> 
> Espero que se entienda la idea, sino, pregunten he intentaré ser más claro.
> Desde ya, gracias a todos.
> 


Tendrías que definir 2 salidas por ejemplo, TV y LCD
Te paso mi archivo de configuración xorg.conf que lo ví por allí y lo
adapte un poco:


Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dbe"
	Load	"dri"
	Load	"drm"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"latam"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"1"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device" ## Dispositivo por defecto, solo la pantalla LFP
	Identifier "SOLO_LCD"
	Driver "intel"
	Screen 0
	Option "MonitorLayout" "NONE,LFP"
	BusID "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps"
	
       	
EndSection

Section "Device" ## Dispositivo para pantalla del portátil + salida TV
(Config del LFP)
	Identifier "LCD_TV"
	Driver "intel"
	Option "MonitorLayout" "TV,LFP"
	Screen 0 ## La pantalla 0 será el portátil
	BusId "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps"

EndSection

Section "Device" ## Dispositivo para pantalla del portátil + salida TV
(Config de la TV)
	Identifier "TV"
	Driver "intel"
	Option "MonitorLayout" "TV,LFP"
	Option "TVStandard" "NTSC"
	Option "TVOutFormat" "SVIDEO" # "Composite" , "SVIDEO" o "RBG"
	Option "ConnectedMonitor" "TV"
	Option      "XAANoOffscreenPixmaps"
       	Screen 1 ## La pantalla 1 será la TV
	BusId "PCI:0:2:0"
EndSection

Section "Device" ## Dispositivo para pantalla del portátil + Salida VGA
(Config del LFP)
	Identifier "LCD_CRT"
	Driver "intel"
	Option "MonitorLayout" "CRT,LFP"
	Screen 0 ## La pantalla 0 será el LFP
	BusId "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps"
EndSection

Section "Device" ## Dispositivo para pantalla del portátil + Salida VGA
(Config de VGA)
	Identifier "CRT
	Driver "intel"
	Option "MonitorLayout" "CRT,LFP"
	Screen 1 ## La pantalla 1 será la salida VGA
	BusId "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps"

EndSection

#######

Section "Monitor" ## Parámetros del LFP
	Identifier "LCD"
	Option		"DPMS"
EndSection

Section "Monitor" ## Parámetros de la TV
	Identifier "TV"
	HorizSync 30.0-50.0
	VertRefresh 60
EndSection

Section "Monitor" ## Parámetros del CRT (Salida VGA)
	Identifier "CRT"
	Option "DPMS"
EndSection

#######

Section "Screen" ## Config de la TV
	Identifier "TV"
	Device "TV"
	Monitor "TV"
	DefaultDepth 24
	Subsection "Display"
	Depth 24
	Modes "1024x768"
	EndSubsection
EndSection

Section "Screen" ## Config del LCD (Cuando está LCD+TV)
	Identifier "LCD_TV"
	Device "LCD_TV"
	Monitor "LCD"
	
	DefaultDepth 24
		SubSection "Display"
			Depth 16
			Modes "1280x800"
		EndSubSection
		SubSection "Display"
			Depth 24
			Modes "1280x800"
		EndSubSection
EndSection

Section "Screen" ## Config del LCD (Cuando está LCD+VGA)
Identifier "LCD_CRT"
	Device "LCD_CRT"
	Monitor "LCD"
	DefaultDepth 24
		SubSection "Display"
		Depth 16
		Modes "1280x800"
	EndSubSection
	SubSection "Display"
		Depth 24
		Modes "1280x800"
	EndSubSection
EndSection

Section "Screen"
	Identifier "CRT"
	Device "CRT"
	Monitor "CRT"
	DefaultDepth 24
	Subsection "Display"
		Depth 24
		Modes "1024x768"
	EndSubsection
EndSection

Section "Screen"
Identifier "SOLO_LCD"
Device "SOLO_LCD"
Monitor "LCD"
DefaultDepth 24
	SubSection "Display"
		Depth 16
		Modes "1280x800"
	EndSubSection
	SubSection "Display"
		Depth 24
		Modes "1280x800"
	EndSubSection
EndSection

#######
Section "ServerLayout" ## Salida para solo LCD (Por defecto)
Identifier "SOLO_LCD"
Screen "SOLO_LCD"
InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
	Option         "AIGLX" "true"
EndSection


Section "ServerLayout"
	Identifier "LCD_TV"
	Screen		"LCD_TV"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
	Option         "AIGLX" "true"
EndSection


Section "ServerLayout" ## Salida para LCD + TV
	Identifier "LCDandTV"
	Screen 0 "LCD_TV" 0 0
	Screen 1 "TV" RightOf "LCD_TV"
	Option "TwinView" "true"
#	Option "Xinerama" "on"
	InputDevice "Generic Keyboard"
	InputDevice "Configured Mouse"
	InputDevice "Synaptics Touchpad"

EndSection

Section "ServerLayout" ## Salida para LCD + VGA
    Identifier "LCDandCRT"
    Screen 0 "LCD_CRT"
    Screen 1 "CRT" RightOf "LCD_CRT"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "Synaptics Touchpad"
#    Option "Xinerama" "true"
EndSection



Section "ServerFlags"
# Option "DefaultServerLayout" "SOLO_LCD"
 Option "DefaultServerLayout" "LCDandTV"
# Option "DefaultServerLayout" "LCDandCRT"

EndSection

Section "DRI"
Mode 0666
EndSection


Section "Extensions"
	Option "Composite" "Enable"
EndSection


-- 
Sebastián D. Criado - Sebastian.Criado{en}Gmail.com
NO A LA MATRICULACIÓN OBLIGATORIA -
http://noalamatricula.wordpress.com/about/
L.U.G.Ro - http://www.lugro.org.ar
GNU/Linux Registered User # 146768
- -------------------------------------------------------------------
"Si el Universo fuera un programa estaría hecho en C, y correría sobre
un sistema UNIX"
                                                  Anónimo.


Más información sobre la lista de distribución Lugro