Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Problemy s rozsirenim plochy na dva monitory  (Přečteno 5116 krát)

DuckD

  • Stálý člen
  • **
  • Příspěvků: 878
  • Open Srdcař
    • www.duckd.cz
Problemy s rozsirenim plochy na dva monitory
« kdy: 10 Srpna 2007, 21:18:38 »
Zdar,
poradte prosim, mam grafiku ATI Radeon X1950PRO a
nemuzu to rozchodit podle navodu na WIKI: http://wiki.ubuntu.cz/V%C3%BDstup_na_dva_monitory
Zkousel jsem i googlit:

http://ubuntuforums.org/showthread.php?t=221174
    *  Xinerama: http://www.ubuntuforums.org/showthread.php?p=1773624
    * TwinView: http://www.ubuntuforums.org/showthread.php?p=1773584
    * MergedFB: http://www.ubuntuforums.org/showthread.php?p=1773710
    * BigDesktop: http://www.ubuntuforums.org/showthread.php?p=1773544

Ale pokazde se zobrazuje stejny vystup na obou monitorech
Je vzdy mit treba nainstalovany spravny ovladac na grafiku?
Kdyz nainstaluji, grafika zacne davat vykon a  glxinfo | grep direct hlasi yes.
Ale problem je ze zacne hrozne topit. Tak to nechavam na default vesa.

Zde sou vypisy xorg.conf ktere jsem zkousel a nefunguji:
Kód: [Vybrat]
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load    "dbe"
Load    "record"
Load    "type1"
 Load    "type1"
 Load    "synaptics"
EndSection

...

Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:0:0"
Option          "DynamicClocks" "true"
Option          "MergedFB"      "true"
Option          "CRT2Position"  "RightOf"
Option          "MetaModes"     "1280x1024-1024x768 1280x1024"
Option          "MergedNonRectangular"  "true"
EndSection

Section "Monitor"
Identifier "CTX S960A"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "CTX S960A"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice     "stylus" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
Kód: [Vybrat]
...

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

...

Section "Device"
Identifier "Obecná grafická karta"
Driver "vesa"
BusID "PCI:1:0:0"
Option "MergedFB" "true"
#Enable MergedFB function
  Option "MonitorLayout" "TMDS, CRT" # LVDS = Laptop Scr, TMDS = DVI Port, CRT = VGA Port NOT MONITOR TYPE!
  Option "CRT2Hsync" "28-64"     #Horizontal Sync of the Monitor (manual)
  Option "CRT2VRefresh" "43-60"  #Vertical Refresh rate of the Monitor (manual)
  Option "OverlayOnCRTC2" "true"
  Option "CRT2Position" "LeftOf" # Pozice secondary monitor. Values: LeftOf, RightOf, Above, Below, and Clone.
  Option "MetaModes" "1280x1024-1280x1024"
EndSection

Section "Monitor"
Identifier "Obecný monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Obecná grafická karta"
Monitor "Obecný monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice     "stylus" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
8) Lidé žijí v souborech. ===>> LINUXTERO <<=== Pravidelná dávka tvého linuxtera!

DuckD

  • Stálý člen
  • **
  • Příspěvků: 878
  • Open Srdcař
    • www.duckd.cz
Problemy s rozsirenim plochy na dva monitory
« Odpověď #1 kdy: 18 Srpna 2007, 10:56:46 »
Už jsem to rozchodil, sláva! Xorg.conf ale vypadá jinak než je udáno na wiki.

Postup:
Zálohovat Xorg.conf, stáhnout a nainstalovat ovladače z ATI stránek,
konfigurovat aticonfig pro dva monitory (dualhead)
Kód: [Vybrat]
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_zaloha
chmod 777 ati-driver-installer-*
sudo ./ati-driver-installer-*
sudo aticonfig --initial=dual-head --screen-layout=above -f
Po úpravě Xorg.conf vypadá takto:
Kód: [Vybrat]
# /etc/X11/xorg.conf (xorg 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(5) 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 "ServerLayout"
Identifier     "Default Layout"
Screen      0  "aticonfig-Screen[0]" 0 0
Screen         "aticonfig-Screen[1]" LeftOf "aticonfig-Screen[0]"
InputDevice    "Generic Keyboard"
InputDevice    "Configured Mouse"
InputDevice    "stylus" "SendCoreEvents"
InputDevice    "cursor" "SendCoreEvents"
InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "ServerFlags"
       Option      "AIGLX" "off"
EndSection

Section "Files"

# path to defoma fonts
FontPath     "/usr/share/fonts/X11/misc"
FontPath     "/usr/share/fonts/X11/cyrillic"
FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/Type1"
FontPath     "/usr/share/fonts/X11/100dpi"
FontPath     "/usr/share/fonts/X11/75dpi"
FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load  "i2c"
Load  "bitmap"
Load  "ddc"
Load  "dri"
Load  "extmod"
Load  "freetype"
Load  "glx"
Load  "int10"
Load  "vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver      "kbd"
Option    "CoreKeyboard"
Option    "XkbRules" "xorg"
Option    "XkbModel" "pc105"
Option    "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver      "mouse"
Option    "CorePointer"
Option    "Device" "/dev/input/mice"
Option    "Protocol" "ImPS/2"
Option    "ZAxisMapping" "4 5"
Option    "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier  "stylus"
Driver      "wacom"
Option    "Device" "/dev/input/wacom"
Option    "Type" "stylus"
Option    "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier  "eraser"
Driver      "wacom"
Option    "Device" "/dev/input/wacom"
Option    "Type" "eraser"
Option    "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier  "cursor"
Driver      "wacom"
Option    "Device" "/dev/input/wacom"
Option    "Type" "cursor"
Option    "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[0]"
Option    "VendorName" "ATI Proprietary Driver"
Option    "ModelName" "Generic Autodetecting Monitor"
Option    "DPMS" "true"
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[1]"
Option    "VendorName" "ATI Proprietary Driver"
Option    "ModelName" "Generic Autodetecting Monitor"
Option    "DPMS" "true"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]"
Driver      "fglrx"
BusID       "PCI:1:0:0"
         Option      "TexturedVideo" "on"
 Option      "DynamicClocks" "on"
EndSection

Section "Device"
Identifier  "aticonfig-Device[1]"
Driver      "fglrx"
BusID       "PCI:1:0:0"
Screen      1
         Option      "TexturedVideo" "on"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device     "aticonfig-Device[0]"
Monitor    "aticonfig-Monitor[0]"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[1]"
Device     "aticonfig-Device[1]"
Monitor    "aticonfig-Monitor[1]"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Extensions"
        Option      "Composite" "Disable"
EndSection

Section "Extensions"
    Option       "VideoOverlay" "on"
EndSection

Section "DRI"
Group 0
Mode         0666
EndSection
8) Lidé žijí v souborech. ===>> LINUXTERO <<=== Pravidelná dávka tvého linuxtera!

8472

  • Aktivní člen
  • *
  • Příspěvků: 460
  • Zivot je ako rebrik do kurina, kratky a osraty ...
Re: Problemy s rozsirenim plochy na dva monitory
« Odpověď #2 kdy: 21 Listopadu 2007, 11:02:18 »
pripajam z:
http://forum.ubuntu.cz/index.php?topic=16623.msg119524#msg119524

4 >>
8472,
nettezzaumana

Mám nastavenej xorg.conf + nastaveni pro xinerama zde: http://forum.ubuntu.cz/index.php?topic=12954.msg93456#msg93456
Můžeš mi teda prosím pástnout tvůj xorg.conf do méhoo vlákna? Napiš že tě funguje maximalizace okna do jednoho monitoru.

tu mas cely moj xorg.conf
Kód: [Vybrat]
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:39:38 PST 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
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"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "FUS P19-2"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Hansol"
    HorizSync       30.0 - 96.0
    VertRefresh     47.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
    BusID          "PCI:1:0:0"
    Screen          0
Option "NoPowerConnectorCheck"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
    BusID          "PCI:1:0:0"
    Screen          1
Option "NoPowerConnectorCheck"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1280x1024 +0+0; DFP: 1024x768 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1280x1024_85 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
Option "Composite" "false"
EndSection


a tak ako som pisal mi to funguje od zaciatku, cize som tam ani nic nehladal/nemenil v konfiguracii aby to ovplyvnovalo tu maximalizaciu a pod. , zato som sa musel riadne vyblbnut s parametrami ako kym som to trocha vyladil:
    Option         "Xinerama" "1"

    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"

   Option   "NoPowerConnectorCheck"

Section "Extensions"
Option "Composite" "false"
EndSection

a pod. :P
Logic clearly dictates that the needs of the many outweigh the needs of the few.

nettezzaumana

  • Host
Re: Problemy s rozsirenim plochy na dva monitory
« Odpověď #3 kdy: 21 Listopadu 2007, 11:51:32 »
4 DuckD >> par malych tipu, jak rozumne ziskat obsah z .conf souboru:
ps. takovy "Linuxovy matador" jako ty uz by snad mohl jit trocha prikladem.. (a nebo se alespon neco naucit)

:$ cat xorg.conf | grep -Ev '^#|^;|^$'  // vypise xorg.conf bez komentaru a prazdnych radku
:$ cat xorg.conf | grep -E '^[^#;]' // to same akorat opacnou metodou
:$ cat xorg.conf | sed -ne '/Section\ \"ServerLayout\"/,/EndSection/p'  // vypise sekci z xorg.conf
:$ for x in ServerLayout Device; do cat xorg.conf | sed -ne "/Section\ \"$x\"/,/EndSection/p"; done   // vypise nekolik sekci, v tomto pripade ServerLayout a Device !

enjoy by ntz

ps. vypisy prodluzujici vlakna s celym xorg.conf si snad muze dovolit jen zacatecnik..
« Poslední změna: 21 Listopadu 2007, 12:31:27 od nettezzaumana »

nettezzaumana

  • Host
Re: Problemy s rozsirenim plochy na dva monitory
« Odpověď #4 kdy: 21 Listopadu 2007, 12:39:15 »
4 DuckD >> ps. ja jsem mj. prohledl ted nektere tve starsi prispevky, pac jsem si pamatoval, ze jsem si nekolikrat u Tebe vsiml, ze Tve invence jsou obcas naprosto opacne pusobici vykriky a nebo akce typu "nejde x, smaz x.conf, ono si to vytvori znova.." -- pozor na to. Pokud si nejsi jistej, tak radsi nikomu nerad, pac zacatecnik si to jednak neprebere a druhak mu to jenom uskodi a odradi ho..

Mam chut rict, ze se mas jeste co ucit, ale ve Tvem pripade to vypada, ze budes pastovat konfiguraky s komentarema a radit co je nejlepsi rovnou smazat za .conf nez se pokusit to vyresit a neco se tim naucit!

sry -- zivot je krutej, zvlaste k tem iniciativnim, co se zviditelnujou nesikovnymi zpusoby
« Poslední změna: 21 Listopadu 2007, 12:41:48 od nettezzaumana »

 

Provoz zaštiťuje spolek OpenAlt.