twinview clone

Fórumok

Ki szeretnem vezetni a monitor kartyam kepet a TVre hogy filmezhessek. Es a problemam a kovetkezo:
- Nincsen szin(grayscale)
- A felbontas se stimmel

Olvastam hogy dobozszeruen clonozza a kepet azaz ha a monitornak 1024*768 a felbontasa akkor a TV-nek is azt kell adni.
Ezzel egy problemam van, LCD monitort hasznalok aminek ugye a nativ felbontasa 1280*1024 es mas felbontasban randa a kepe(na meg nem is igazan akarom kisebb felbontasban kinozni magam), a TV meg ugye max 1024*768-at bir(egy mezei kis 50 cm-es Grundig TVrol vn szo).

Itt a config idevonatkozo resze amit osszehoztam:

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Driver "nvidia"
Option "Twinview"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "Metamodes" "1280x1024, 1024x768; 800x600, 800x600; 640x480, 640x480;"
Option "Stereo" "4"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "PAL-G"
EndSection

Probalkoztam vele hogy metamodesben megadom a moncsinak hogy 1280*1024 es a TVnek meg adok 1024*768-at de hat igy e aTV csak az eredeti kep bal felso sarkat mutatja.
Valakinek nincs tippje esetleg miert nincs szin, meg hogy nem lehetne esetleg valahogy csak az Overlay-t kinyomni TVre hogy a monitor mehessen nyugodtan 1280*1024-ben(a Tv csak filmnezesre kell).

Hozzászólások

Hi!

A csak overlay kinyomasa engem is erdekelne. A grayscale pedig azert van, mert S-Videora allitottad a kimenetet, a kabel meg gondolom Composite-hoz valo. Az S-Video a szint egy kulon vezeteken viszi, ezert lesz a keped fekete-feher. Szoval vagy allitsd at Composite-ra, vagy S-Video kabellel csatlakoztasd a TV-t!

By(t)e
TBS::Antiemes

A monitorkartyam hatuljan Svideo kimenet van(azaz nem teljesen mert ez ilyen sok tus miegymas), rakotottem a kis atalakito dobozkat amit adtak a karihoz es abba dugtam egy SVIDEO-SCART kabelt amit az ElectroWorldben vettem. Ez elvileg svideo nem? Marmint az van rairva es csatlakozo is ugy nez ki. Amugy megprobaltam es atirtam Compositra es akkor kepet sem adott.
Valami mas otlet?

a szinproblema abbol is adothat, hogy az svideo kulon vezeteken viszi at a szinjelet es a vilagossagjelet es ezt a tvd nem tudja fogadni. szerezz be egy svideo-composit atalakitot (en a sajat videokarimhoz kaptam ilyet) es nagy valoszinuseggel lesz szined...

udv Zoli

Olyan Overlay mint a windowsban, sajnos nincs linuxos nvidia driverben.
Azt tudod csinálni, h nem twinview-el oldod meg a tv-kimenetet, hanem xorg.conf-ban 2 különálló képernyőt határozol meg, így különböző felbontásokat is be tudsz állítani.

Linuxforumon egy másfajta twinviewes problémám kapcsán írtak egy ilyen configot, amit kipróbáltam és működik is. Persze a te gépedhez kell szabni a beállításokat, de a lényeg kivehető belőle:

xorg.conf részlet:

##########
# Számítógép #
##########
Section "Monitor"
    Identifier "monitor1"
    VendorName "Hyundai"
    ModelName "ImageQuest Q770"
    HorizSync 30-70
    VertRefresh 50-150
    ModeLine "1024x768"     94.50 1024 1076 1172 1380   768  769  772  808 +hsync +vsync
EndSection


##############
# Televízió  #
##############
Section "Monitor"
    Identifier "television1"
    VendorName "Samsung"
    ModelName "televizio"
    HorizSync 30-60
    VertRefresh 60
    Option "TVStandard" "PAL-B"
EndSection


##############
# Számítógép #
##############
Section "Device"
    Identifier "device0"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce4 (generic)"
    BusID "PCI:1:0:0"
    Driver "nvidia"
    Option "DPMS"
    Option "NoDDc"
    Option "NvAGP" "2"
    Option "CursorShadow" "1"
#    Option "IgnoreDisplayDevices" "TV"
#    Option "TwinView" "True"
#    Option "TwinViewOrientation" "Clone"
#    Option "SecondMonitorHorizSync" "30-60"
#    Option "SecondMonitorVertRefresh" "60"
#    Option "ConnectedMonitor" "CRT, TV"
#    Option "TVStandard" "PAL-B"
#    Option "TVOutFormat" "SVIDEO"
#    Option "DigitalVibrance" "0"
#    Option "NoBandWidthTest" "1"
#    Option "RenderAccel" "1"
#    Option "TvOverScan" "0.5"
#    Option "MetaModes" "1024x768,1024x768;800x600,800x600"
#    Option "MetaModes" "1024x768, 800x600 @1024x768"
    Screen 0
EndSection


##############
# Televízió  #
##############
Section "Device"
   Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce4 (generic)"
   Driver "nvidia"
   BusId "PCI:1:0:0"
   Screen 1
EndSection


##############
# Számítógép #
##############
Section "Screen"
    Identifier "Screen0"
    Device "device0"
    Monitor "monitor1"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


##############
# Televízió  #
##############
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "television1"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen 0 "Screen0"
    Screen 1 "Screen1" leftOf "Screen0"
EndSection

Bocsi a hosszú postért :)

Nyah kiprobaltam, itt a config amit irtam nehany lenyegtelen reszt kihagyva:

Section "ServerLayout"
Identifier "layout1"
Screen 0 "screen0"
Screen 1 "screen1" leftOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

#############
# Szgep
#############

Section "Monitor"
Identifier "Monitor1"
HorizSync 30.0 - 65.0
VertRefresh 30.0 - 60.0
Option "DPMS"
EndSection

############
# TV
############

Section "Monitor"
Identifier "Television1"
HorizSync 30.0 - 60
VertRefresh 60
Option "TVStandard" "PAL-B"
EndSection

############
# Szgep
############

Section "Device"
Identifier "device0 - NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Driver "nvidia"
Option "DPMS"
Option "NoDDc"
Option "CursorShadow" "1"
Screen 0
EndSection

############
# TV
############

Section "Device"
Identifier "device1 - NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Driver "nvidia"
Screen 1
EndSection

############
# Szgep
############

Section "Screen"
Identifier "Screen0"
Device "device0 - NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

#############
# TV
#############

Section "Screen"
Identifier "Screen1"
Device "device1 - NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Monitor "television1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Es hat nem indul igy az X. Mit ronthattam el?

MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Failed to open /dev/rtc: No such file or directory (it should be readable by the
user.)
Playing xxxxxxxxxxxxxxx.avi.
AVI file format detected.
VIDEO: [XVID] 624x352 16bpp 23.976 fps 995.7 kbps (121.5 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
SUB: Detected subtitle file format: subviewer
SUB: Read 648 subtitles.
SUB: Adjusted 3 subtitle(s).
SUB: added subtitle file (1): xxxxxxxxxx.srt
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: couldn't open the X11 display (:1.0)!
VO XOverlay need a subdriver
[gl] Using 4 as slice height (0 means image height).

MPlayer interrupted by signal 2 in module: preinit_libvo
emul@honeydeb:~/DOWNLOAD/!!Movies/Doktor House/Season 2$ mplayer house.201.acceptance.hdtv_xvid-fov.avi -display :1.0

Én ezt a configot használom megelégedéssel(linuxforumról másoltam ide):

Ahhoz, hogy valóban Clone módban fusson a tv-out az xorg.conf fájlban a videokártya Section Device részénél csak ennyit kell bemásolni:

Option "TwinView" "yes"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768, 1024x768"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "COMPOSITE"

Az elsõ sorban engedélyezzük a TwinViewt, a második sor határozza meg , hogy Clone módban fusson a dolog.
A harmadik sorban megadjuk, hogy milyen felbontással fusson elõször a monitor, utána a tv-out.
Az utsó 2 sorban pedig az van megadva, hogy milyen formátumú a tv-n, illetve hogy milyen módon kapja meg a jelet.

Amit észrevettem, ezzel a konfiggal kapcsolatban:

Ha a Tv felbontását módosítjuk pl.:800x600-ra (Option "MetaModes" "1024x768, 800x600"), akkor a tv kimeneten NEM 800x600-ban fog megjelenni a teljes kép, hanem csak az asztal 800x600-as szeletét jeleníti meg, mégpedig a bal felsõ saroktól kezdve!!

Valószínüleg itt is valami beállítás hiányzik, vagy nem pontos, de a céljaimnak az 1024-es felbontás épp tökéletes

A teljes config így néz ki nálam:

Section "ServerLayout"
Identifier "Default layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

...

...

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "F-415"
HorizSync 24.0 - 61.0
VertRefresh 49.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
Option "TwinView" "yes"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768, 1024x768"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "COMPOSITE"
Option "ConnectedMonitor" "CRT,TV"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "1024x768"
EndSubSection
EndSection

Joe

hali,

egy kis appendix p olvasgatas utan \ http://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-p… \ sikerult belonom, mar hasit is! :)
valamiert nvtv nem szereti a 6600 -okat (nekem is az van), igy hat mas uton kell jarni! :)

ket kulon X fut, ha mplayer -display :0.1 -et tolok akkor a tvn kezdi el jatszani ha :0.0 akkor meg a tft -n.

konfig:

Section "Device"
Identifier "nvidia0"
Driver "nvidia"
BusID "PCI:1:0:0"
screen 0
EndSection

Section "Device"
Identifier "nvidia1"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TVStandard" "PAL-G"
screen 1
EndSection

Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection

Section "Monitor"
identifier "Monitor1"
gamma 1.0
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1112x834" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

hasznald egeszseggel! :)