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 30/08/2005, à 21:28

yanshee

[débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Bonjour à tous ! smile

Je suis un nouveau venu sur Linux et sur Ubuntu, et j'aurais besoin de votre aide: Mon PC est équipé de deux cartes graphiques: une S3 Virge et une Geforce FX5600 Ultra. Mon problème est que je ne parviens pas à utiliser mon deuxième écran, Ubuntu utilise la S3 (PCI) par défaut et uniquement celle-là, malgré le fait que ma Geforce (AGP) soit reconnue dans le gestionnaire de périphériques. Pourriez-vous m'aider à configurer mes deux écrans, ou m'expliquer comment utiliser la Geforce comme affichage par défaut au lieu de la S3. hmm

Je vous remercie d'avance ! wink
Yann.

Hors ligne

#2 Le 31/08/2005, à 01:12

ZeBob

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Cherche des infos sur xinerama (sur ce forum pour commencer)

Hors ligne

#3 Le 31/08/2005, à 02:02

StK

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Le Xinerama n'est utile que pour utiliser les 2 écrans en "bureau étendu", pas pour configurer plusieurs CG/écrans, nan ?

Il te faut 1 section "device" pour chaque carte graphique et une section "screen" & "monitor" pour chaque écran, pour la configuration de chaque section je te laisse chercher un peu tu trouveras sans problème.

Tout ça dans /etc/X11/xorg.conf naturellement yikes

ps: Pour le "BUS ID", cherche pas à avoir un AGP:x:x:x, meme en AGP le BUS ID est souvent en PCI:x:x:x

Hors ligne

#4 Le 01/09/2005, à 13:57

yanshee

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Bonjour, et merci pour vos réponses ! smile

En ce qui concerne Xinerama, je me suis renseigner, et il semble qu'il ne tourne que sous Xfree, et j'ai l'impression que Ubuntu n'utilise pas Xfree, mais peut-être que je me trompes...

Sinon, j'ai bidouillé un peu mon fichier xorg.conf, je me suis basé sur ce tutoriel pour m'aider:http://lea-linux.org/xwindow/multihead.html#introduction
J'ai déjà bien avancé, mais mon deuxième écran (celui sur la GeForce) ne fonctionne toujours pas, je ne comprends pas pourquoi, pourtant je l'entends faire un bruit à intervalles réguliers, comme si il allait s'allumer, j'en déduis qu'il doit recevoir un signal...

Voici mon fichier xorg.conf, ou du moins, la partie concernant les écrans:

#CARTES---------------->

Section "Device"
    Identifier    "S3ViRGE"
    Driver        "s3virge"
    BusID        "PCI:0:10:0"
        # Uncomment following option if you see a big white block
        # instead of the cursor!
        #    Option      "sw_cursor"
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "FX5600"
        VendorName  "Creative"
        BoardName   "Unknown"
        BusID       "1:0:0"
        Driver      "nvidia"
        # Uncomment following option if you see a big white block
        # instead of the cursor!
        #    Option      "sw_cursor"
        Option      "DPMS"
EndSection

#ECRANS----------------->

Section "Monitor"
    Identifier    "HIT14"
        VendorName     "HIT"
        ModelName      "14pouces"
    Option        "DPMS"
    HorizSync    28-49
    VertRefresh    43-72
EndSection

Section "Monitor"
        Identifier     "Philips19"
        VendorName     "Philips"
        ModelName      "Philips 109E5"
    Option           "DPMS"
        HorizSync    30-92
        VertRefresh     50-160
EndSection

#SCREEN------------------>

Section "Screen"
        Identifier "Principal"
        Device      "FX5600"
        Monitor     "Philips19"
        DefaultColorDepth 32
        Subsection "Display"
            Depth       8
            Modes       "1280x1024" "1024x768" "800x600" "640x400"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes       "1280x1024" "1024x768" "800x600" "640x400"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes       "1280x1024" "1024x768" "800x600" "640x400"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       32
            Modes       "1280x1024" "1024x768" "800x600" "640x400"
            ViewPort    0 0
        EndSubsection
EndSection

Section "Screen"
    Identifier    "Second"
    Device        "S3ViRGE"
    Monitor        "HIT14"
    DefaultDepth    16
    SubSection "Display"
        Depth        1
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "layout1"
        Screen     "Principal"
        Screen     "Second" LeftOf "Principal"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Concernant le tuto sur Lea, je n'ai fait que la partie où l'on modifie le fichier, pas le reste avec Xinerama, d'après le tuto, je devrais avoir mes deux écrans allumés, pourtant ce n'est pas le cas. Une question que je me poses aussi: c'est si ma GeForce est bien reconnue par Ubuntu. Je la vois dans le gestionnaire de périphériques, et je me demandais si cela voulait dire qu'il l'avait bien reconnue et installé le driver pour, ou si il l'a simplement reconnue, mais qu'il faille encore installé le driver pour... J'ai installé Ubuntu de base (5.04), et n'y ai rajouté aucuns drivers, le problème pourrait-il venir de là ?

encore merci pour les réponses... wink

Hors ligne

#5 Le 02/09/2005, à 19:51

yanshee

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Re,

Voilà, juste pour dire que le problème est résolu, du moins presque, c'est à dire que j'ai mes deux écrans qui tournent au poil, le problème venait du fait que pour mon 19 pouces j'avais indiqué: DefaultColorDepth 32

en supprimant le Color et en écrivant DefaultDepth, cela fonctionne, du moins en 24bits, 16 bits et tout, sauf le 32bits.:D
Donc, si quelqu'un a une idée du problème pour le 32bits... wink

Hors ligne

#6 Le 02/09/2005, à 22:14

Kiraa

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

le 32bit c'est du 24 bit + 8bit pour le channel alpha.(c'est pas forcement très utile en somme)

Hors ligne

#7 Le 03/09/2005, à 02:09

Grenshad

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

Je vais peut être dire une énorme ânerie, mais il me semble que les écrans LCD sont toujours qualifiés de 24 bit et pas 32 (réservé aux CRT ??!).

Si quelqu'un peux éclairer ma lanterne sur ce sujet que je connais bien mal smile

Hors ligne

#8 Le 09/09/2006, à 20:48

shensi

Re : [débutant] Problèmes pour configurer 2 cartes graphiques et 2 écrans

salut ! j'ai pausé un topic à se sujet aussi et mes écrans ne fonctionnent toujours pas ...

voici mon fichier xorg.conf concernatn juste la CG PCI s3 trio :

admin@admin:/etc/X11$ cat xorg.conf
# /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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "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    "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"      "pc104"
        Option          "XkbLayout"     "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"
  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

########
##      S3 + LCD
#######################

Section "Device"
        Identifier      "S3 Inc. 86c764/765 [Trio32/64/64V+]"
        Driver          "vesa"
        BusID           "PCI:2:9:0"
EndSection

Section "Monitor"
        Identifier      "GC150AT/ATA"
        Option          "DPMS"
        HorizSync       28-49
        VertRefresh     43-72
EndSection

Section "Screen"
        Identifier      "LCD Screen"
        Device          "S3 Inc. 86c764/765 [Trio32/64/64V+]"
        Monitor         "GC150AT/ATA"
        DefaultDepth    8
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


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

Section "DRI"
        Mode    0666
EndSection

et voici le fichier xorg.conf.crt+lcd avec les 2 écrans que je cherche à faire marcher
1 CG sur port pci s3 trio
1 CG pci express ati radeon9600

# /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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "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    "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"      "pc104"
        Option          "XkbLayout"     "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"
  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

########
##      ATI + CRT
#######################
Section "Device"
        Identifier      "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
        Driver          "ati"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "àcran générique"
        Option          "DPMS"
        HorizSync       28-49
        VertRefresh     43-72
EndSection

Section "Screen"
        Identifier      "CRT Screen"
        Device          "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
        Monitor         "àcran générique"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

########
##      S3 + LCD
#######################
Section "Device"
        Identifier      "S3 Inc. 86c764/765 [Trio32/64/64V+]"
        Driver          "S3"
        BusID           "PCI:2:9:0"
EndSection

Section "Monitor"
        Identifier      "GC150AT/ATA"
        Option          "DPMS"
        HorizSync       28-49
        VertRefresh     43-72
EndSection

Section "Screen"
        Identifier      "LCD Screen"
        Device          "S3 Inc. 86c764/765 [Trio32/64/64V+]"
        Monitor         "GC150AT/ATA"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "CRT Screen"
        Screen          "LCD Screen" LeftOf "CRT Screen"     InputDevice "Mouse1" "CorePointer"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus" "SendCoreEvents"
        InputDevice     "cursor" "SendCoreEvents"
        InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
        Mode    0666
EndSection

j'ai cherché d'abord à faire chque carte séparemment, l'ATI fonctionne tres bien mais toujours pas arrivé à faire marcher la s3...

si ququn à une idée ...

shensi


Distrib: Ubuntu 9.04
Citation : Si chuck Norris te dit que ta mère est bonne... tu peux l'appeler Papa

Hors ligne