Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Wiem, że było już sporo takich tematów, ale niestety nie znalazłem rozwiązania.
Podpinam do laptopa monitor BENQ FP91GP i chciałbym wyświetlić na nim obraz z laptopa (na laptopie może być również obraz, ale nie musi go być). Kartę graficzną mam Nvidii, model 8400M GS, sterownik zamknięty w wersji 180.29. Jest niby narzędzie "Nvidia X Server settings" i z niego właśnie korzystałem z tym, że wydaje się ono być martwe, tzn nie reaguje na zmiany. Udało mi się dwukrotnie przerzucić obraz na monitor BENQ za pomocą właśnie tego narzędzia, ale nie mam pojęcia dlaczego tylko dwa razy (prób około 50), a za każdym razem robiłem to samo. Lepiej pewnie byłoby odpuścić sobie konfiguratory i zrobic to ręcznie.
Oto mój xorg.conf, zdaje się, że troche namieszałem.
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (buildmeister@builder62) Thu Feb 5 00:09:30 PST 2009 # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder62) Thu Feb 5 00:08:50 PST 2009 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection #Section "ServerFlags" # Option "Xinerama" "0" #EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "pl" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Seiko" HorizSync 30.0 - 75.0 VertRefresh 60.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Unknown" ModelName "BenQ FP91GP" HorizSync 0.0 - 0.0 VertRefresh 0.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" BusID "PCI:5:0:0" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" BusID "PCI:5:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "CRT: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
Offline
Wywal
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "BenQ FP91GP"
HorizSync 0.0 - 0.0
VertRefresh 0.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8400M GS"
BusID "PCI:5:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
to co pogrubione. Przekręć Xy i zajrzyj do tematu.
Offline
No i tę zapewne:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Tylko dlaczego usuwać sekcje typu "Screen", "Device" dla drugiego monitora?
Rzecz jaką osiągnąłem to wyświetlanie obrazu na jedym oraz drugim ekranie, z tym, że na jednym wyświetlany jest pulpit użytkownika, a na drugim pulpit admina i przechodzę na drugi pulpit poprzez wyjechanie kursorem poza krawędź boczną ekranu. Popróbuję pobawić się jeszcze konfiguracjami rano..
Co do "nvidia-settings", gdy odpalam z poziomu root'a, dostaję:
Invalid MIT-MAGIC-COOKIE-1 key ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
Ostatnio edytowany przez kondzio14 (2009-05-09 01:05:59)
Offline
Nie wiem o co chodzi.. lis6502 patrzyłem do tematu do którego podałeś linka tylko, że tam to zupełnie inaczej wygląda niż ty podajesz...
Może problem nie jest tak wielki, skoro na drugim ekranie wyświetla mi się pulpit root'a? No i nie są zgrane ze sobą.. bo ja chciałbym aby wszystko z laptopa było wyświetlane na monitorze.
Zamieszczę jeszcze raz xorg.conf, pomimo, że się dużo nie zmienił.
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (buildmeister@builder62) Thu Feb 5 00:09:30 PST 2009 # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder62) Thu Feb 5 00:08:50 PST 2009 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Below "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Clone" "True" Option "AIGLX" "True" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "ServerFlags" Option "Xinerama" "0" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "pl" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Seiko" HorizSync 30.0 - 75.0 VertRefresh 60.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Unknown" ModelName "BenQ FP91GP" HorizSync 31.0 - 83.0 VertRefresh 56.0 - 76.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" BusID "PCI:5:0:0" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" BusID "PCI:5:0:0" Screen 1 EndSection Section "Screen" # Option "TwinView" "0" # Option "TwinViewXineramaInfoOrder" "CRT-0" # Option "metamodes" "CRT: nvidia-auto-select +0+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" # Removed Option "metamodes" "CRT: nvidia-auto-select +0+0" # Option "TwinView" "0" # Option "metamodes" "DFP: nvidia-auto-select +0+0" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "TwinViewXineramaInfoOrder" "CRT-0" Option "metamodes" "CRT: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
Jeśli chodzi o opcje tego typu:
Option "TwinView" "0" Option "TwinViewXineramaInfoOrder" "CRT-0" Option "metamodes" "CRT: nvidia-auto-select +0+0"
To sam mi je dodaje po którymś tam restarcie X'ów..
Offline
To sam mi je dodaje po którymś tam restarcie X'ów..
To nie brzmi zbyt dobrze, bo co Ci to dodaje? Spróbujmy inaczej:zachowaj gdzieś stary xorg.conf, wyloguj się z trybu graficznego, ubij menedżer logowania (/etc/init.d/[kgx]dm stop)i wygeneruj nowy poleceniem dpkg-reconfigure xserver-xorg. Powinien być mocno okrojony. Uruchom menedżer logowania i próbuj konfiguracji z poziomu nvida-settings. Tobie chodzi o opcje klonowania obrazu.
Ostatnio edytowany przez lis6502 (2009-05-09 11:48:43)
Offline
Przeprowadziłem rekonfigurację xorga według zaleceń i z miejsca wszystko ruszyło, tzn nie odpalałem nawet nvidia-settings tylko podpiąłem monitor do laptopa i mam obraz na jednym i drugim.
Ale nowy problem się pojawił, być może to tylko kwestia edycji xorg.conf, w każdym razie sytuacja wygląda tak:
$glxinfo | grep -i direct Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Error: couldn't find RGB GLX visual Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0".
No i ikony mam wielkie, nie mogę ustawić większej rozdzielczości niż 1280x800. Instalacja sterowników Nvidii?
xorg.conf uszczuplił się nieco:
# xorg.conf (X.Org 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 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection
Ostatnio edytowany przez kondzio14 (2009-05-09 13:13:22)
Offline
zobacz w logach na jakim sterowniku ruszyly x'y ... mozesz sprobowac dodac do xorg.conf:
Section "Module" Load "glx" EndSection
Offline