PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : NV TwinView Probleme mit Xinerama


Gast
2005-08-13, 05:04:57
Ich hab jetzt mein 2-Grafikkarten-Setup gegen eines mit TwinView ausgetauscht (hab den Adapter gefunden), und bin NICHT zufrieden.

1. Fenster öffnen sich immer in der Mitte zwischen den Monitoren. Sie stehen nicht direkt nebeneinander, deswegen ist das grausig.

2. Vollbildzeugs (wie das Nvidia Logo und (grausigerweise) der kdm zerren sich (SEHR unattraktiv) über beide Monitore.

3. Gehört wohl zu 2., aber maximiere ich ein Fenster, wird es über _beide_ Monitore maximiert. Das kann doch nicht wahr sein?

4. Das SCHLIMMSTE: Wenn ich meine Maus an den Rand des rechten Monitors bewege, SCROLLE ich auf dem GESAMTEN Bild! Das heisst, es wird alles nach links verschoben! Das DARF nichts mehr sein, der Monitor hat dieselbe Auflösung wie vorher!

Vorher hab ich ganz normal Xinerama und 2 Grafikkarten benutzt, das klappte genau so, wie ich es wollte. Die Startleiste war nur beim Hauptmonitor zu sehen, Fenster öffneten sich in seiner Mitte, maximierte ich sie, waren sie nur auf dem Monitor auf dem sie sich gerade befanden maximiert.

Das ist doch beides Xinerama, ist das etwa normal für TwinView, oder hat sich in meiner Konfiguration irgendein Fehler eingeschlichen?

Wenn ihr sie sehen wollt, ich habe die alte und die neue hier parat, möchte sie aber nicht posten, falls dieser ganze Wahnsinn für TwinView vollkommen normal ist.

drdope
2005-08-13, 06:37:45
Hatte haargenau selbiges Prob unter Gentoo:
Hier meine /etc/X11/xorg.conf bzw. der rel. Ausschnitt:
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "On"
Option "TwinView" "on"
Option "MetaModes" "1280x1024,1280x1024"
Option "SecondMonitorHorizSync" "30-85"
Option "SecondMonitorVertRefresh" "50-160"
Option "TwinViewOrientation" "RightOf"
EndSectionDamit zeigte er das von dir beschriebene Verhalten.
Ich mußte folgendes ändern um dies abzustelllen:
Das USEFLAG xinerama in der /etc/make.conf setzen
und den ganzen x11 kram mit emerge --newuse --deep world neu kompilieren.
Dann gings wie von dir in deinen 2 Graka Setup beschrieben.

Gast
2005-08-13, 09:56:41
Benutze ebenfalls Gentoo, und da ich schon lange Xinerama benutze, hab ich selbstverständlich support wos nur geht eingebaut .... ausserdem funktioniert das andere Setup ja ...

Ich hab btw. eine Nvidia Geforce 4 Ti 4200

drdope
2005-08-13, 10:02:47
Bei mir läufts mit ner 6600 2xDVI PCIe wie oben beschrieben.
hmmm...

Edit:

eigene Comments in Config Files sind schon was geiles ;-)
füg mal Testweise folgendes in deine xorg.conf ein:
# muß für NV Twinview deaktiviert sein!
Section "ServerFlags"
Option "Xinerama" "false"
EndSectionhier der relevante Part aus /usr/doc/nvidia-glx-1.xQ: Will window managers be able to appropriately place windows
(e.g. avoiding placing windows across both display devices, or in
inaccessible regions of the virtual desktop)?

A: Yes. The NVIDIA X driver provides a Xinerama extension that X clients
(such as window managers) can use to discover the current TwinView
configuration. Note that the Xinerama protocol provides no way to
inform clients of when a configuration change occurs. So, if you
modeswitch to a different MetaMode, your window manager will still
think you have the previous configuration. Using the Xinerama
extension, in conjunction with the XF86VidMode extension to get
modeswitch events, window managers should be able to determine the
TwinView configuration at any given time.

Unfortunately, the data provided by XineramaQueryScreens() appears to
confuse some window managers; to workaround such broken window mangers,
you can disable communication of the TwinView screen layout with the
"NoTwinViewXineramaInfo" X config Option (please see Appendix D
for details).

Be aware that the NVIDIA driver cannot provide the Xinerama
extension if the X server's own Xinerama extension is being used.
Explicitly specifying Xinerama in the X config file or on the X server
commandline will prohibit NVIDIA's Xinerama extension from installing,
so make sure that the X server's log file does not contain:

(++) Xinerama: enabled

if you wish the NVIDIA driver to be able to provide the Xinerama
extension while in TwinView.

Another solution is to use panning domains to eliminate inaccessible
regions of the virtual screen (see the MetaMode description above).

A third solution is to use two separate X screens, rather than use
TwinView. Please see (app-r) APPENDIX R: CONFIGURING MULTIPLE X
SCREENS ON ONE CARD.

Gast
2005-08-13, 12:52:46
na da bin cih dir ja mal VERDAMMT dankbar, genau das wars!

Aber ein Problem bleibt:
Benutze ich zwei verschiedene Auflösungen auf den Monitoren, kann ich den Desktop nach links und rechts scrollen. Wie kann es dazu kommen?

drdope
2005-08-13, 13:00:39
poste mal deine xorg.conf, ich hab da so ne Vermutung (aber grad keine Lust auf gut Glück ne halbe Seite zu schreiben).
mußt dich wohl, bis heute abend gedulden ;-) bin gleich erstmal weg...

Gast
2005-08-13, 21:17:14
Okay, du willst es ja so :D


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Sony Multiscan 17sf"
HorizSync 31 - 64
VertRefresh 50 - 150
EndSection

#Section "Monitor"
# DisplaySize 280 210 # mm
# Identifier "Monitor1"
# VendorName "SAM"
# ModelName "621"
# HorizSync 30.0 - 69.0
# VertRefresh 47.0 - 120.0
# Option "DPMS"
#EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV25 [GeForce4 Ti 4200]"
BusID "PCI:2:0:0"
Option "TwinView"
# Option "MetaModes" "1280x960, 1024x768; 1280x960+0+0, 1024x768+1280+192; 1280x960, 1280x960; 1024x768,1024x768; 800x600,800x600"
Option "MetaModes" "1280x960, 1280x960; 1280x960+0+0, 1024x768+1280+192; 1024x768,1024x768; 800x600,800x600"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "30.0 - 69.0"
Option "SecondMonitorVertRefresh" "47.0 - 120.0"
Option "RenderAccel"
Option "HWcursor"
Option "CursorShadow"
Option "CursorShadowAlpha" "32"
Option "CursorShadowXOffset" "3"
Option "CursorShadowYOffset" "3"
Option "AllowGLXWithComposite"
Option "NoLogo"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
Depth 24
EndSubSection
EndSection

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

Gast
2005-08-15, 10:49:45
Sorry für den Doppelpost, aber kannst du mir bitte sagen ob (und ob nicht) du weisst, woran es liegt, wenn du Zeit hast?

drdope
2005-08-15, 15:10:18
Nimm mal alle Metamodes raus bis auf den, der tatsächlich Angezeigt werden soll....

Gast
2005-08-15, 19:42:48
OMFG es funktioniert! Du bist wirklich spitze :D

Kannst du mir das denn auch erklären? Wäre schön die Metamodes zu haben, um sie im Betrieb wechseln zu können ...

drdope
2005-08-15, 21:04:07
Schau mal in /usr/doc/nvidia-glx-1.x/README.gz in Appendix I unter Metamodes, da stehts erklärt ;-)
Müßte an den Offsets in deiner alten Konfig gelegen haben, allerdings hab ich mich damit auch nicht intensiver beschäftig, da ich 2 TFT's mit UXGA nutze und deshalb andere als die nativen Auflösungen für mich nicht wirklich interessant sind ;-)
Generell ist es aber empfehlenswert mit ner Konfig zu beginnen, die wenigst mögliche fehlerquellen zuläßt (In diesem Falle nur einen Metamode) und darauf aufbauend weiter zu testen.