Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Laitealue => Aiheen aloitti: suikka - 23.01.07 - klo:20.32
-
moro
koitin katella ohjeita foorumilta ja löytyhän niitä, mutten saanut yhtäkään toimimaan..
elikäs ongelma on seuraavanlainen:
minulla on toshiba satellite p100-191 läppis, jossa nvidia 7900 gs go näyttis..
näyttiksessä on ulostulona S-video ja DVI.
minulla on tv ja toinen näyttö yhdistetty koneeseen koko ajan, ja haluaisin saada toisen näytön koko ajan toimimaan
ja tv toimimaan ainoastaa erikseen pyydettäessä. läppärin näytön resoluutio on 1440x900 ja toisen näytön 1280x1024.
xorg.conf tiedostosta pätkä..
Section "Device"
Identifier "nVidia 1"
Driver "nvidia"
#BusID "PCI:1:0:0"
Option "DDCMode" "True"
Screen 0
EndSection
Section "Device"
Identifier "nVidia 2"
Driver "nvidia"
#BusID "PCI:1:0:0"
Option "DDCMode" "True"
Option "AGPMode" "8"
Screen 1
EndSection
Section "Monitor"
Identifier "Monitor 1"
Option "DPMS"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
EndSection
Section "Monitor"
Identifier "Monitor 2"
Option "DPMS"
HorizSync 31.0 - 83.0
VertRefresh 50.0 - 90.0
EndSection
Section "Monitor"
Identifier "Monitor 3"
Option "DPMS"
HorizSync 31.0 - 83.0
VertRefresh 60
EndSection
Section "Screen"
Identifier "Monitor 1"
Device "nVidia 1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "Screen"
Identifier "Monitor 2"
Device "nVidia 2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Monitor 3"
Device "nVidia 2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "DualHead Layout"
Screen 0 "Monitor 1"
Screen 1 "Monitor 2" RightOf "Monitor 1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
Option "Xinerama" "on"
Option "Xinerama" "true"
Option "Clone" "off"
EndSection
Section "ServerFlags"
Option "xinerama" "true"
EndSection
jos käynnistän tuolla xorg.conf tiedostolla X:n ja tv on liitettynä läppärin S-video porttiin käynnistyy X televisioon (ja luonnollisesti erittäin huonolaatuisena ja hyppivänä)
jos tv ei ole liitetty, käynnistyy X läppärin näyttöön, mutta tuo toinen näyttö jää pimeäksi.
antakaa joku vihjettä miten edetä.. olen nyt pari päivää pyöritellyt tätä asiaa..
-
noniin.. hieman edistystä..
nyt toimii kaksi näyttöä (melkein) kuten pitääkin..
tälläsellä xorg virityksellä
Section "Monitor"
Identifier "läpsy"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "tv"
HorizSync 30-50
VertRefresh 60
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA 7900 gs"
Driver "nvidia"
Screen 0
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA 7900 gs"
Monitor "läpsy"
DefaultDepth 24
Option "TwinView"
Option "MetaModes" "1440x900,1280x1024 "
Option "TwinViewOrientation" "RightOf"
#Option "UseEdidFreqs" "False"
#Option "MerdedXinerama" "On"
Option "ConnectedMonitor" "dfp, dfp"
Option "UseDisplayDevice" "dfp, dfp"
Option "SecondMonitorHorizSync" "30-70" #Kakkosnäytön virkistystaajuudet
Option "SecondMonitorVertRefresh" "50-160"
#SubSection "Display"
# Depth 24
# Modes "1440x900"
# EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen1" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerFlags"
Option "Xinerama" "false"
EndSection
mitenkäs tuohon vois lisätä tuon tv:n.. ja onko mitään mahdollisuutta linuxissa vaihtaa noitta näyttötiloja muuten kuin
boottaamalla kokonaan X:n ja puukottamalla conffia välillä.
noilla kahdella näytöllä on vielä sellainen ongelma että läppärin näyttö on 1440x900, koko työpöytä näkyy oikein mutta alareunan alapuolella (kuvaruudun) ulkopuolella on tyhjää tilaa johon hiiri pääsee.. muuten tuolla ei ole mitää väliä.. eli tällä hetkellä näytön resona on 2720x1024 vaikka olisin halunnut molemmille näytöille omat resot..
asentelin nvtv:n mutta se ei tunnu tunnistavan minun näytönohjainta ollenkaan..
-
noh.. nyt kun alettu vastailemaan itse itselleen voidaan samaa rataa jatkaa..
elikäs sain aikalailla valmiiksi tuo viritelmän..
tällä hetkellä "normaali käyttötila" on tila jossa läppärin näyttö ja ulkonen tft näyttö toimivat yhdessä.
sitten on ns "toinen käyttötila" jossa toimii läppärin näyttö ja tv, tämä siis kun katsellaan leffoja.
no miten tämä sitten toteutettiin..??
kahdella xorg.conf tiedostolla ja kahdella gdm serverillä..
elikäs..
ensimmäinen xorg.conf
Section "Monitor"
Identifier "läpsy"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "tv"
HorizSync 30-50
VertRefresh 60
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA 7900 gs"
Driver "nvidia"
Screen 0
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA 7900 gs"
Monitor "läpsy"
DefaultDepth 24
Option "TwinView"
Option "MetaModes" "1440x900,1280x1024 "
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "dfp, dfp"
Option "UseDisplayDevice" "dfp, dfp"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "50-160"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen1" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerFlags"
Option "Xinerama" "false"
EndSection
sitten on se toinen conffi jolla siis saadaan kuva tv:hen
Section "Monitor"
Identifier "läpsy"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "tv"
HorizSync 30-50
VertRefresh 60
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA 7900 gs"
Driver "nvidia"
Screen 0
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA 7900 gs"
Monitor "läpsy"
DefaultDepth 24
Option "TwinView"
Option "MetaModes" "1440x900,800x600"
Option "TwinViewOrientation" "LeftOf"
Option "ConnectedMonitor" "dfp, tv"
Option "UseDisplayDevice" "dfp, tv"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "60"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen1" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerFlags"
Option "Xinerama" "false"
EndSection
seuraavaksi määritellään /etc/gdm/gdm.conf tiedostoon kaks serveriä..
alkuperäisessä conffissa löytyy todnäk seuraavan lainen rivi [server]-kohdasta
0=Standard
lisätään tähän toinen serveri..
0=Standard
1=TVOut
seuraavaksi etsitään seuraavanlainen kohta
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -br -audit 0
flexible=true
ja tähän lisätään tuo TVOut-serveri... kas näin...
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -br -audit 0
flexible=true
[server-TVOut]
name=TVOut server
command=/usr/X11R6/bin/X :1 -config /etc/X11/xorg.tv.conf
flexible=true
seuraavalla kerralla kun gdm käynnistetään pääset valitsemaan kahden gdm-palvelimen välillä haluamasi näyttötilan
mukavasti ctrl+alt+f7/f9 näppäimillä.