PDA

View Full Version : Xinerama layout problem


unixsu
04-19-03, 09:06 PM
Whatever I do, my AGP card's monitor is always to the logical right of my PCI card's monitor. I've fiddled with my XF86Config-4 using the RightOf and LeftOf syntax but it hasn't helped.

Driver version: 1.0-4349

cat /proc/driver/nvidia/cards/0:
Model: GeForce2 MX/MX 400
IRQ: 11
Video BIOS: 03.11.01.26.02
Card Type: PCI

cat /proc/driver/nvidia/cards/1:
Model: GeForce2 MX/MX 400
IRQ: 11
Video BIOS: 03.11.00.07.00
Card Type: AGP

distro: Linux version 2.4.19-16mdk (quintela@bi.mandrakesoft.com) (gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #1 Fri Sep 20 18:15:05 CEST 2002

processor: AMD Athlon 800 MHz
(snippet from dmesg)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xe0000000

Motherboard: M7VKB Via Apollo Pro VIAKT133 chipset

Here are fragments from XF86Config-4:

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Option "DPMS"
BusID "PCI:0:8:0"
EndSection

Section "Device"
Identifier "device2"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Option "DPMS"
BusID "PCI:1:0:0"
EndSection

screen1 is for device1 while screen2 is for device2.

This is the layout:

Section "ServerLayout"
Identifier "both"
Screen "screen2" RightOf "screen1"
Screen "screen1" LeftOf "screen2"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection

Any ideas?

unixsu
04-20-03, 07:07 AM
HELP! The driver lists my PCI card as the primary while listing my AGP card as the secondary. I think that affects how XFree86 handles the layout. The (x,y) coordinate (0,0) always seems to be on the screen of the PCI card's monitor. I don't know why... Maybe my problem will be solved if the driver listed my AGP card as the primary.

erwos
04-20-03, 07:17 AM
You don't need both:
Screen "screen2" RightOf "screen1"
Screen "screen1" LeftOf "screen2"

Try removing one or the other. Also, set your AGP card to be your primary video card in the BIOS.

-Erwos

unixsu
04-20-03, 10:48 AM
In my Award BIOS setup screen, "Init Display First" is already set to "AGP".

I added multiple LeftOf and RightOf after my initial attempt failed using just one of them. The result was the same.

zedro
04-20-03, 10:20 PM
I dont know if this has anything to do with your problem, but when I tried using TwinView with the new NVIDIA driver, the picture is shifted right on my main monitor and nothing shows on my secondary monitor... Playing with the LeftOf or RightOf field of Option TwinViewOrientation didn't help anything. It still stayed shifted right. Maybe there is some correlation?

unixsu
04-21-03, 11:31 PM
Originally posted by zedro
Maybe there is some correlation?
I hope so... HELP! anybody...

dkosovic
04-22-03, 03:02 AM
PCI cards and devices are identified with a 0 before the first colon, AGP cards with a 1. Your XFree86.0.log clearly states your AGP card is the primary:
(II) Primary Device is: PCI 01:00:0


Another extract from your XFree86.0.log:
(==) ServerLayout "both"
(**) |-->Screen "screen2" (0)
(**) | |-->Monitor "monitor2"
(**) | |-->Device "device2"
(**) |-->Screen "screen1" (1)
(**) | |-->Monitor "monitor1"
(**) | |-->Device "device1"
(**) |-->Input Device "Keyboard1"

So Xinerama Screen 0 corresponds to "device2" (i.e your AGP) and Xinerama Screen 1 to "device1" (i.e your PCI).

If you want the PCI's screen to be LeftOf the AGP, the following should do it:

Section "ServerLayout"
Identifier "both"
Screen 0 "screen2"
Screen 1 "screen1" LeftOf "screen2"
...
EndSection


Doug

unixsu
04-23-03, 11:07 AM
Thank you very much! I followed your instructions and it is now laid out correctly.