Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/03/2007, à 00:25

Androol

[Résolu] [Dual-Screen] un espace de travail par ecran

Apres un dimanche d'essais infructueu je vien vous demander des conseils.

J'ai tenté en vain de reconfigurer mon xorg.conf pour avoir un espace de travail par écran. je me base sur la documentation dont j admet ne pas tout comprendre, mais a chaque foi sa fini par figer au boot.
Voila ma derniere tentative qui n as pas mieux marché que les précedentes et ou sont surement visible mes erreurs.

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "aticonfig-Screen[0]" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
    Screen    0    "Default Screen"
    Screen    1    "Ecran 2" LeftOf "Default Screen"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath     "/usr/share/X11/fonts/misc"
    FontPath     "/usr/share/X11/fonts/cyrillic"
    FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/Type1"
    FontPath     "/usr/share/X11/fonts/100dpi"
    FontPath     "/usr/share/X11/fonts/75dpi"
    FontPath     "/usr/share/fonts/X11/misc"
    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  "type1"
    Load  "vbe"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "ch"
    Option        "XkbOptions" "lv3:ralt_switch"
    Option        "XkbVariant" "fr"
EndSection

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

Section "InputDevice"
          Identifier "cursor"
          Driver "wacom"
          Option "Device" "/dev/input/event3"
          Option "Type" "cursor"
          Option "USB" "on"
EndSection

Section "InputDevice"
          Identifier "stylus"
          Driver "wacom"
          Option "Device" "/dev/input/event3"
          Option "Type" "stylus"
          Option "USB" "on"
EndSection

Section "InputDevice"
          Identifier "eraser"
          Driver "wacom"
          Option "Device" "/dev/input/event3"
          Option "Type" "eraser"
          Option "USB" "on"
EndSection   

Section "Monitor"
    Identifier   "ACER-AL2216W"
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier   "PROVIEW"
    Option        "DPMS"
EndSection

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

Section "Device"
    Identifier  "ATI Technologies, Inc. ATI Default Card"
    Driver      "vesa"
    BusID       "PCI:6:0:0"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    Option        "FSAAEnable" "on"
    Option      "DDCMode" "True"
    Screen **0**
EndSection

Section "Device"
    Identifier  "aticonfig-Device[1]"
    Driver      "fglrx"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    Option        "FSAAEnable" "on"
    Option      "DDCMode" "True"
    Screen **1**
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "aticonfig-Device[0]"
    Monitor    "ACER-AL2216W"
    DefaultDepth     24
    SubSection "Display"
        Depth     1
        Modes    "1680x1050"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1680x1050"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1680x1050"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1680x1050"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1680x1050"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1680x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Ecran 2"
    Device     "aticonfig-Device[1]"
    Monitor    "PROVIEW"
    DefaultDepth     24
    SubSection "Display"
        Depth     1
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1280x1024"
    EndSubSection
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 "DRI"
    Mode         0666
EndSection

Section "Extensions"
    Option        "Composite" "disable"
EndSection

Dernière modification par Androol (Le 12/03/2007, à 16:20)

Hors ligne

#2 Le 12/03/2007, à 16:09

Androol

Re : [Résolu] [Dual-Screen] un espace de travail par ecran

J'ai tenté une autre aproche aujourd'hui mais sa n'a pas été plus concluent

androol@androol-desktop:~$  aticonfig --initial=dual-head --screen-layout=above
Found fglrx primary device section
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.fglrx-1
aticonfig: Writing to '/etc/X11/xorg.conf' failed. Bad file descriptor.
androol@androol-desktop:~$

Hors ligne

#3 Le 12/03/2007, à 16:19

Androol

Re : [Résolu] [Dual-Screen] un espace de travail par ecran

Ho et bien avec un simple coup de sudo avant sa a fonctionné,

en resumé si sa peu servir a d'autres la comande qui a fonctioné pour moi avec les drivers fglrx c'est:

$  sudo aticonfig --initial=dual-head --screen-layout=above

Hors ligne

#4 Le 19/03/2007, à 23:30

krisprols

Re : [Résolu] [Dual-Screen] un espace de travail par ecran

Et bien ça marche!! Après plusieurs heures de galère à essayer de configurer le bi-écran avec 2 résolutions différentes.

J'ai juste eu à ajouter cette option pour étendre le bureau au deuxième écran :

Section "ServerFlags"
    Option    "Xinerama"    "true"
EndSection


Merci infiniment big_smile