← Back to team overview

sslug-teknik team mailing list archive

2 Skærme, angiv hvilken programmet skal starte på

 

Jeg har sat Xorg op til at køre med 2 fysiske skærme, en som er min 17" 
monitor og en som er mit TV. Når jeg så starter KDE får jeg 2 skriveborde 
(ikke virtuelle) et på hver skærm.
Skærm 1 er mit hovedskrivebord som jeg arbejder på ved computeren, skærm 2 
(TV'et) ser jeg video på.
Formålet med dette er at jeg kan have video kørerende på mit TV samtidig med 
jeg arbejder på computeren uden at video'en er i vejen.

Jeg har dog fire spørgmål som kan løse et par problemer med denne opsætning.
1.: Hvordan starter jeg et program fx. Kaffeine på skærm 2, fra fx. KMenu på 
skærm 1?
2.: Hvordan hvis muligt, sender jeg et program mellem skærm 1 <-> 2?
3.: Da jeg ikke reelt bruger skærm 2 som skrivebord men kun til at se video på 
den. Hvordan slipper jeg for "kicker" starter på den skærm?
4: Der er til tider et problem med tiltning, når jeg ser video. Dvs. at det 
ser nogengange ud til at forskellige dele af billedet stammer fra forskellige 
frames. Hvordan kan dette undgås?

Mit grafikkort er et Asus V9280 Geforce-4 TI4280 og jeg bruger driver 
1.0-5336.
Min dist er gentoo 2004.1 med Linux 2.6.7rc2, Xorg 6.7.0, KDE 3.2.2

-------------------------------------------------------------------------------------------------------
Nedenfor ses min xorg.conf, hvis det kan hjælpe eller hvis nogen skulle være 
intresseret.
Det er mest 1xserverlayout + 2xdevice + 2x screen + 2 monitor sektioner der er 
intressant.
-------------------------------------------------------------------------------------------------------
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

Section "Module"
  Load         "dbe"
  Load         "extmod"
  Load         "freetype"
  Load         "v4l"
  Load         "type1"
  Load         "glx"
  Load         "speedo"
  Load 	       "dri"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "dk"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/mouse"
  Option       "Name" "Autodetection"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  HorizSync    31-68
  Identifier   "skaerm"
  ModelName    "1024X768@85HZ"
  VendorName   "--> VESA"
  VertRefresh  60-85
#  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  HorizSync    30-60
  Identifier   "tv"
  ModelName    "1024X768@85HZ"
  VendorName   "--> VESA"
  VertRefresh  60-60
  #  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"

  # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
  Modeline "1152x864_85"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync 
+Vsync
    
  # 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
  Modeline "1024x768_85"  94.39  1024 1088 1200 1376  768 769 772 807  -HSync 
+Vsync
  
  # 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
  Modeline "800x600_85"  56.55  800 840 928 1056  600 601 604 630  -HSync 
+Vsync
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1152x864" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "skaerm"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "tv"
EndSection

Section "Device"
  BoardName    "GeForce4 Ti 4200"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option "CursorShadow" "1"
  Option       "HWcursor"
  Option "NoLogo" "1"
  Option "NvAGP" "1"
  Screen       0
  VendorName   "NVidia"
  Option "DigitalVibrance" "0"
EndSection

Section "Device"
  BoardName    "GeForce4 Ti 4200"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[1]"
  Option "CursorShadow" "1"
  Option       "HWcursor"
  Option "NoLogo" "1"
  Option "NvAGP" "1"
  Option "TVOutFormat" "S-VIDEO"
  Option "TVStandard" "PAL-B"
  Screen       1
  Option       "Rotate" "off"
  VendorName   "NVidia"
  Option "DigitalVibrance" "0"
  Option "SecondMonitorHorizSync" "30-50"
  Option "SecondMonitorVertRefresh" "60"
  Option "ConnectedMonitor"         "tv"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
  Screen       "Screen[1]" rightof "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0666
EndSection


Follow ups