2 monitory

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
DEXTER
Posty: 50
Rejestracja: 19 lipca 2007, 01:52
Lokalizacja: Kraków

2 monitory

Post autor: DEXTER »

Mam a 17' monitory LCD. Jeden domyślnie działa, chciałbym włączyć drugi. Na openSUSE zrobiłem to za pomocą NVIDIA X Serwer Settings, ale na Debianie coś nie chce działać, poza tym wolałbym się nauczyć modyfikować xorg.conf ręcznie.

Na początek ucieszyłby by mnie jakiś link, bo sam nie mogę nic mądrego znaleźć.
Kaka'
Senior Member
Posty: 3018
Rejestracja: 30 lipca 2006, 13:17
Lokalizacja: Kartuzy

Post autor: Kaka' »

DEXTER pisze:poza tym wolałbym się nauczyć modyfikować xorg.conf ręcznie.
No to chyba pierwszym krokiem jest przeczytanie mana:

Kod: Zaznacz cały

man xorg.conf
:)
frik
Beginner
Posty: 156
Rejestracja: 18 marca 2007, 17:42
Lokalizacja: wroclaw

Post autor: frik »

no u mnie dzialalo z takim xorg dobrze :
http://frik.ovh.org/xorg.conf
, ale chwile mi zajelo tego ustawienie. to bylo na gf 6600gt.
jakis czas temu zmienilem karte na 7600gt i juz nie dziala. staralem sie cos zmieniac ale to nie pomaga.
swoja drogo ciekawe jaka to roznica 6600 a 7600 dla ustawienia 2 monitorow
DEXTER
Posty: 50
Rejestracja: 19 lipca 2007, 01:52
Lokalizacja: Kraków

Post autor: DEXTER »

Kaka' pisze:No to chyba pierwszym krokiem jest przeczytanie mana:

Kod: Zaznacz cały

man xorg.conf
:)
To przerażające jaką kalekę robią z człowieka wynalazki typu Kubuntu i SUSE... nie miałem pojęcia o tym man... Znakomita rzecz.

Poczytałem sobie, oto efekt:

Kod: Zaznacz cały

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen[0]" 0 0
    Screen         "Screen[1]" RightOf "Screen[0]"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "glx"
EndSection

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

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
EndSection

Section "Monitor"
    Identifier     "SAMSUNG SyncMaster 770p"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Benq FP71G+"
    HorizSync       31.5 - 57.0
    VertRefresh     50.0 - 70.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation G80 [GeForce 8800 GTS]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "nVidia Corporation G80 [GeForce 8800 GTS]"
    Monitor        "SAMSUNG SyncMaster 770p"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen[1]"
    Device         "nVidia Corporation G80 [GeForce 8800 GTS]"
    Monitor        "Benq FP71G+"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

I nic, drugi monitor się nie włącza.
jaced
Posty: 80
Rejestracja: 19 kwietnia 2007, 12:30
Lokalizacja: Legnica

Post autor: jaced »

U mnie wystarczyło bez jakichkolwiek większych kombinacji po prostu w xorg.conf w Section "Screen" dopisać

Kod: Zaznacz cały

Option "TwinViewOrientation" "Leftof"
Option "TwinView"
drugi monitor mam po lewej stronie jak wynika z wpisu i wszystko elegancko działa :-)
DEXTER
Posty: 50
Rejestracja: 19 lipca 2007, 01:52
Lokalizacja: Kraków

Post autor: DEXTER »

jaced pisze:U mnie wystarczyło bez jakichkolwiek większych kombinacji po prostu w xorg.conf w Section "Screen" dopisać

Kod: Zaznacz cały

Option "TwinViewOrientation" "Leftof"
Option "TwinView"
drugi monitor mam po lewej stronie jak wynika z wpisu i wszystko elegancko działa :-)
Znalazłem rozwiązanie zanim tu wszedłem - po nocy się lepiej myśli :) Ja jednek wklepałem te wartości do sekcji Device, oraz włączyłem jeszcze Xineramę. Gotowy xorg.conf:

Kod: Zaznacz cały

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen 0       "Screen[0]" 0 0
    Screen 1       "Screen[1]" LeftOf "Screen[0]"
    #Option         "Xinerama" "On"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "glx"
EndSection

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

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
EndSection

Section "Monitor"
    Identifier     "SAMSUNG SyncMaster 770p"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Benq FP71G+"
    HorizSync       31.5 - 57.0
    VertRefresh     50.0 - 70.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation G80 [GeForce 8800 GTS]"
    Driver         "nvidia"
    Option         "TwinView"
    Option         "TwinViewOrientation" "LeftOf"
    Option         "Xinerama"            "on"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "nVidia Corporation G80 [GeForce 8800 GTS]"
    Monitor        "SAMSUNG SyncMaster 770p"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen[1]"
    Device         "nVidia Corporation G80 [GeForce 8800 GTS]"
    Monitor        "Benq FP71G+"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
yacekm
Posty: 2
Rejestracja: 20 sierpnia 2007, 21:13

Post autor: yacekm »

no to ja ze swoim problemem. szukam odpowiedzi juz dlugo i nigdzie nei znalazlem wiec mysle ze moge juz napisac... dopiero zaczynam z Kubuntu

mam go na laptopie. wszystko jest w porzadku poza tym, ze kubuntu za nic nie chce wyswietlic sie na ekranie laptopa. tylko tryb tekstowy sie wyswietla. dopiero jak podlączę monitor zewnetrzny do wyjscia grafiki to na zew wyswieta sie wszystko graficzne. probowalem wielu sposobow ale zaden nie przyniosl skutku oczekiwanego

moj xorg.conf:

Kod: Zaznacz cały

 
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/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	"dri"
	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"	"pl"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

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

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

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

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

Section "Device"
	Identifier	"nVidia Corporation NVIDIA Default Card"
	Driver		"nv"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation NVIDIA Default Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	Option "TwinViewOrientation" "Leftof"
	Option "TwinView"
	SubSection "Display"
		Depth		1
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
na moje oko brakuje tu w gole tego monitora z lapa. no ale niech ktos kto sie zna sie wypowie i by moze uda sie pomoc

jak widac byla juz proba twinView... co zrobic?
Awatar użytkownika
lee
Posty: 23
Rejestracja: 03 marca 2007, 16:03

Post autor: lee »

miałem podobnie, tyle że na sterownikach nvidii, na zwykłych było ok,
spróbuj w sekcji screen dopisać to :

Kod: Zaznacz cały

Option         "ConnectedMonitor" "DFP"
mnie to załatwiło sprawę.

pozdrawiam
yacekm
Posty: 2
Rejestracja: 20 sierpnia 2007, 21:13

Post autor: yacekm »

nie przynosi to zadnego skutku...
Awatar użytkownika
lee
Posty: 23
Rejestracja: 03 marca 2007, 16:03

Post autor: lee »

olej narazie twinview (i tak nie dziala na nv), wywal to z xorga, doprowadz do tego aby dzialal DFP, sprubój zainstalowac drivery z nvidii, moze to pomoze.

pozdrawiam

ps.z manuala wynika ze sterowniki "nv" nie posiadaja odpowiedniej opcji. zainstaluj drivery nvidia.
ODPOWIEDZ