Xorg Dual Head on Debian Linux lenny

Mike Lohmann mike at werk01.de
Wed Aug 20 03:35:44 PDT 2008


Hi,

I have two graphic cards in my PC (dual core) (onboard intel945 and  
Matrox Millenium p690 PCI).
I have successfully configured X to start on both cards. My window  
manager is pekw.

Everything's working but on high CPU load. That makes all applications  
running on one Screen really slow.

The situation is, that if I start the X only, the CPU load is quite ok  
(something about 1%). At the moment when I start pekwm the
load increases up to 100%.

Now I tested around:

1. X,  only one screen, no pekwm: works fine.
2. X , two screens, no pekwm: works fine.
3. X, two screens, pekwm only on display :0.0 : works fine.
4. X, two screens, pekwm on both displays: high load.

I tried the same with two X - Servers (displays :1.0 and :0.0) and
different window managers (twm, icewm2) and the result is the same.

I tried different cards for PCI (nvidia, ati) with different drivers:  
nv, nouveau, fglrx, nvidia.

Xorg Server Version is 1.4.0.90 Release 5.

my xorg.conf :

Section "Files"
         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
         FontPath        "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
         Load    "dbe"
         Load    "extmod"
         Load    "freetype"
         Load    "glx"
         Load    "egalax"
         Load    "v4l"
EndSection

Section "InputDevice"
         Identifier      "Keyboard"
         Driver          "kbd"
         Option          "CoreKeyboard"
         Option          "XkbRules"      "xorg"
         Option          "XkbModel"      "pc105"
         Option          "XkbLayout"     "de"
         Option          "XkbVariant"    "nodeadkeys"
EndSection

Section "ServerFlags"
    Option      "standby time"  "720"
    Option      "suspend time"  "750"
    Option      "off time"      "800"
    Option      "blank time"    "720"
    Option      "AllowMouseOpenFail" "True"
EndSection

Section "InputDevice"
         Identifier "Mouse"
         Driver "mouse"
         Option "Device" "/dev/input/mouse1"
EndSection

#####Touchscreen (Touchkit) ##########
Section "InputDevice"
     Identifier "EETI"
     Driver "egalax"
     Option "Device" "events"
     Option "Parameters" "/var/abspielbar/TouchConfig/egalax.cal"
     Option "ScreenNo"  "0"
EndSection

#### LCD (Touchscreen) ####
Section "Device"
         Identifier      "IntelVideoCardVgaOut"
         Driver          "intel"
         #BusID           "PCI:00:02:0"
         Option          "monitor-LVDS" "LCD"
EndSection


Section "Monitor"
         Identifier      "LCD"
         Option          "DPMS"
         Option "PreferredMode"  "1024x768"
         Option        "Position" "0 0"
         UseModes     "Modes[0]"
EndSection

Section "Screen"
         Identifier      "Screen0"
         Device          "IntelVideoCardVgaOut"
         Monitor         "LCD"
         DefaultDepth    24
         SubSection "Display"
                 Depth           24
                 Modes           "1024x768"
                 Virtual         1024 768
         EndSubSection
EndSection

#### CRT  ####
Section "Device"
         Identifier      "MatroxVideoCardVgaOut"
         Driver          "mtx"
         BusID           "PCIIDMGA"
EndSection


Section "Monitor"
         Identifier      "CRT"
         Option          "DPMS"
         UseModes     "Modes[0]"
EndSection

Section "Screen"
         Identifier      "Screen1"
         Device          "MatroxVideoCardVgaOut"
         Monitor         "CRT"
         DefaultDepth    24
         SubSection "Display"
                 Depth           24
                 Modes           "1024x768"
         EndSubSection
EndSection

Section "Modes"
   Identifier   "Modes[0]"
   Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777   
806 -hsync -vsync
   Modeline      "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
   Modeline      "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790  
+HSync -VSync
   Modeline      "1024x768" 66.33 1024 1080 1184 1344 768 769 772 796
EndSection
Section "ServerLayout"
         Identifier      "Photobooth"
         Screen          0 "Screen0"
         Screen          1 "Screen1" LeftOf "Screen0"
         InputDevice     "Keyboard"
         InputDevice "EETI" "CorePointer"
         Inputdevice     "Mouse" "SendCoreEvents"
EndSection

(PCIIDMGA is replaced at startup with the real BUS ID)

Does anyone have an idea where I can tune the system?

	

Regards.

Mike





More information about the xorg mailing list