Faire un don ! | | style | statistiques | contactez-nous | plan | lettre d'information

Linux.general : i945 et bi-ecran

Posté par Guid (page perso, ) le 05 décembre 2006
Je suis sous kubuntu edgy et j'aimerais faire fonctionner ce @#& de bi-ecran sur mon portable dell. (carte graphique i945 avec une sortie VGA supplémentaire pour avoir un deuxième écran).

C'est mon PC de boulot donc je n'ai pas d'autre choix que de le faire fonctionner sur mon 19'' si je ne veux pas rester en 1024x768 :/

Ma dernière tentative (en utilisant systemsettings) s'est soldé par un plantage de X.

> Lire le message (7 commentaires, moyenne: 1,3).  

Vous avez demandé le commentaire #782103.

Chez moi ça marche (tm)

Posté par David Decotigny (page perso, ) le 06/12/2006 à 06:36. (lien). Évalué à 1.

Normalement il suffit de rajouter les résolutions qui vont bien dans le xorg.conf. Par exemple, chez moi j'ai :

        SubSection "Display"
                Depth           24
                Modes           "1920x1200" "1440x900" "1024x768" "800x600" "640x480"
        EndSubSection
Pour que la carte sache comment generer ces resolutions, j'uitilise 915resolution qui s'occupe de (presque) tout. Eventuellement, pour forcer la sortie sur l'ecran externe, on peut utiliser une ligne du genre : Option "MonitorLayout" "DFP,NONE" (sortie DVI, man i810 pour le reste) dans la section "Device".

--
d2
  • [^]Re: Chez moi ça marche (tm)

    Posté par dbontemps () le 06/12/2006 à 10:30. (lien). Évalué à 1.

    J'ai un chipset i845G et le double écran marche avec i810switch, mais j'ai moi aussi un problème avec les résolutions supérieurs à 1024x768 : si je mets par exemple "1280x1024" dans mon xorg.conf c'est bien pour l'écran externe, mais le jour où il est débranché Xorg m'affiche sur l'écran du portable la portion d'un écran virtuel plus grand.
    J'aimerais dire à X que je veux la résolution 1024x768 par défaut, mais je ne sais pas comment ?

    [^]Re: Chez moi ça marche (tm)

    Posté par Guid (page perso, ) le 07/12/2006 à 16:38. (lien). Évalué à 2.

    Merci.
    J'ai finalement réussi avec xinerama, deux devices, deux monitor et deux screens.
    Le problème, c'est que quand je relance une seconde fois X, l'écran du portable part en couille (une sorte de mode vidéo où rien ne s'affiche) et l'écran externe se désactive (led passe à l'orange).
    Donc, je boot, ca marche, j'ai mes deux écrans gérés, mais il faut absolument pas que je quitte le mode X, sinon je suis bon pour un reboot.
    :(

    • [^]Re: Chez moi ça marche (tm)

      Posté par dbontemps () le 07/12/2006 à 17:53. (lien). Évalué à 1.

      Je suis très intéressé par ta solution, parce que j'avais essayé avec xinerama pour ma carte i845G (et driver i810 de Xorg) sans y arriver. Ca t'ennuyerais de nous montrer ton xorg.conf ?

      • [^]Re: Chez moi ça marche (tm)

        Posté par Guid (page perso, ) le 07/12/2006 à 20:05. (lien). Évalué à 2.

        Oulà, je suis pudique, je montre pas mon xorg.conf à tout le monde ;)
        Bon ok, soyons sérieux, comme ça vous pourrez me dire si y'a un truc qui cloche :

        Section "Files"
        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"
        # 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 "type1"
        Load "vbe"
        EndSection

        Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "fr"
        Option "XkbVariant" "latin9"
        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 "Synaptics Touchpad"
        Driver "synaptics"
        Option "SendCoreEvents" "true"
        Option "Device" "/dev/psaux"
        Option "Protocol" "auto-dev"
        Option "HorizScrollDelta" "0"
        EndSection

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

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

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

        Section "Device"
        Identifier "945-Internal"
        Driver "i810"
        BusID "PCI:0:2:0"
        Option "MonitorLayout" "CRT,LFP"
        Screen 0
        EndSection

        Section "Device"
        Identifier "945-External"
        Driver "i810"
        BusID "PCI:0:2:0"
        Option "MonitorLayout" "CRT,LFP"
        Screen 1
        EndSection

        Section "Monitor"
        Identifier "Local Generic Monitor"
        Option "DPMS"
        EndSection

        Section "Monitor"
        Identifier "External Generic Monitor"
        Option "DPMS"
        EndSection

        Section "Screen"
        Identifier "Local LCD"
        Device "945-Internal"
        Monitor "Local Generic Monitor"
        DefaultDepth 24
        SubSection "Display"
        Depth 1
        Modes "1024x768"
        EndSubSection
        SubSection "Display"
        Depth 4
        Modes "1024x768"
        EndSubSection
        SubSection "Display"
        Depth 8
        Modes "1024x768"
        EndSubSection
        SubSection "Display"
        Depth 15
        Modes "1024x768"
        EndSubSection
        SubSection "Display"
        Depth 16
        Modes "1024x768"
        EndSubSection
        SubSection "Display"
        Depth 24
        Modes "1024x768"
        EndSubSection
        EndSection

        Section "Screen"
        Identifier "External LCD"
        Device "945-External"
        Monitor "External Generic Monitor"
        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 "ServerLayout"
        Identifier "Dual Head (Xinerama) Layout"
        Screen "Local LCD"
        Screen "External LCD" LeftOf "Local LCD"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        InputDevice "stylus" "SendCoreEvents"
        InputDevice "cursor" "SendCoreEvents"
        InputDevice "eraser" "SendCoreEvents"
        InputDevice "Synaptics Touchpad"
        EndSection

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

        Section "DRI"
        Mode 0666
        EndSection

        • [^]Re: Chez moi ça marche (tm)

          Posté par dbontemps () le 07/12/2006 à 20:47. (lien). Évalué à 1.

          Merci, je vais tester ça.

          • [^]Re: Chez moi ça marche (tm)

            Posté par dbontemps () le 10/12/2006 à 21:03. (lien). Évalué à 1.

            En fait c'est mon chipset (i845G) qui est incapable de Dual Head. Il ne supporte que la duplication de l'écran.