Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Xorg] Dual display (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
DidgeriDude
Guru
Guru


Joined: 30 Jan 2005
Posts: 349

PostPosted: Wed Sep 27, 2006 4:23 pm    Post subject: [Xorg] Dual display (résolu) Reply with quote

Bonjour à tous.

Voici une partie de mon xorg.conf que j'ai configuré afin d'avoir 2 serveurs X distincts, un sur mon écran (DFP) et l'autre sur ma TV.
Code:
Section "ServerLayout"
    Identifier  "Double affichage DFP-TV"
    Screen 0 "Ecran DFP" 0 0
    Screen 1 "Ecran TV" LeftOf "Ecran DFP"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

(...)

Section "Module"
        Load  "dbe"
        SubSection "extmod"
#               Option      "omit xfree86-dga"
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load  "extmod"
EndSection

(...)

Section "DRI"
  Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
EndSection

(...)

Section "Monitor"
        Identifier   "EIZO FlexScan L767"
        HorizSync  31-64
        VertRefresh  59-61
        ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066
        ModeLine "1024x768" 60.80 1024 1056 1128 1272 768 768 770 796
EndSection

Section "Monitor"
        Identifier   "TV Sony"
        HorizSync  30-50
        VertRefresh  60
        ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806
EndSection

Section "Device"
    Identifier  "GeForce FX5900 Ultra sur DFP"
    BusID "PCI:1:0:0"
    Driver "nvidia"
    Screen 0
    Option "NvAGP" "1"
    Option "NoLogo" "1"
    Option "ConnectedMonitor" "DFP"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
EndSection

Section "Device"
    Identifier  "GeForce FX5900 Ultra sur TV"
    BusID "PCI:1:0:0"
    Driver "nvidia"
    Screen 1
    Option "NvAGP" "1"
    Option "NoLogo" "1"
    Option "IgnoreEDID" "1"
    Option "ConnectedMonitor" "TV"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "TVStandard" "PAL-N"
    Option "TVOutFormat" "SVIDEO"
    Option "DigitalVibrance" "0"
EndSection

Section "Screen"
    Identifier  "Ecran DFP"
    Device      "GeForce FX5900 Ultra sur DFP"
    Monitor     "EIZO FlexScan L767"
    DefaultDepth 24
    DefaultFbBpp 32
    Subsection "Display"
        Depth 24
        Modes "1280x1024"
#       Modes "1024x768"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Ecran TV"
    Device      "GeForce FX5900 Ultra sur TV"
    Monitor     "TV Sony"
    DefaultDepth 24
    DefaultFbBpp 32
    Subsection "Display"
        Depth 24
        Modes "1024x768"
    EndSubsection
EndSection

Avec cet xorg.conf, tout a bien fonctionné pendant 2 ans, en Xorg monolithique, avec nvidia-kernel et nvidia-glx. Par contre, depuis que je suis passé en Xorg modulaire et avec nvidia-drivers, j'obtiens l'erreur suivante dans mon Xorg.0.log :
Code:
(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(**) NVIDIA(0): Depth 24, (**) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "1"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): ConnectedMonitor string: "DFP"
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5900 Ultra at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 04.35.20.22.00
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX 5900 Ultra at
(--) NVIDIA(0):     PCI:1:0:0:
(--) NVIDIA(0):     EIZO L767 (DFP-0)
(--) NVIDIA(0): EIZO L767 (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): EIZO L767 (DFP-0): External Single Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config option
(**) NVIDIA(1): Depth 24, (**) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "NoLogo" "1"
(**) NVIDIA(1): Option "NvAGP" "1"
(**) NVIDIA(1): Option "IgnoreEDID" "1"
(**) NVIDIA(1): Option "ConnectedMonitor" "TV"
(**) NVIDIA(1): Option "TVStandard" "PAL-N"
(**) NVIDIA(1): Option "TVOutFormat" "SVIDEO"
(**) NVIDIA(1): Option "RenderAccel" "true"
(**) NVIDIA(1): Option "AllowGLXWithComposite" "true"
(**) NVIDIA(1): Enabling RENDER acceleration
(**) NVIDIA(1): Forcing SVIDEO output
(**) NVIDIA(1): TV Standard string: "PAL-N"
(II) NVIDIA(1): NVIDIA GPU GeForce FX 5900 Ultra at PCI:1:0:0
(--) NVIDIA(1): VideoRAM: 262144 kBytes
(--) NVIDIA(1): VideoBIOS: 04.35.20.22.00
(II) NVIDIA(1): Detected AGP rate: 8X
(--) NVIDIA(1): Interlaced video modes are supported on this GPU
(--) NVIDIA(1): Connected display device(s) on GeForce FX 5900 Ultra at
(--) NVIDIA(1):     PCI:1:0:0:
(--) NVIDIA(1):     EIZO L767 (DFP-0)
(--) NVIDIA(1): EIZO L767 (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(1): EIZO L767 (DFP-0): External Single Link TMDS
(EE) NVIDIA(1): Unable to find available Display Devices for screen 1.
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"

Comme vous le voyez, ma TV n'est même pas reconnue...
Mon xorg.conf étant assez vieux, peut-être certaines parties sont-elles obsolètes ou bien en manquent-ils d'autres... Si vous voyez comment résoudre ce problème et m'aider à récupérer mon double affichage...
Je tiens à signaler que lors du boot du PC, la console s'affiche sur la TV donc pas de souci de connection. C'est bien Xorg qui n'en veut plus !

Merci d'avance.


Last edited by DidgeriDude on Sat Sep 30, 2006 7:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Thu Sep 28, 2006 1:49 am    Post subject: Re: [Xorg] Dual display Reply with quote

DidgeriDude wrote:
Comme vous le voyez, ma TV n'est même pas reconnue...
Mon xorg.conf étant assez vieux, peut-être certaines parties sont-elles obsolètes ou bien en manquent-ils d'autres... Si vous voyez comment résoudre ce problème et m'aider à récupérer mon double affichage...
Je tiens à signaler que lors du boot du PC, la console s'affiche sur la TV donc pas de souci de connection. C'est bien Xorg qui n'en veut plus !

Je ne saurai te dire pourquoi ça ne fonctionne pas, mais comme j'ai une config qui fonctionne, la voici, tu feras les essais :
Code:
Section "Module"
    Load   "record"
    Load        "dbe"
    Load   "extmod"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection

Section "Extensions"
    Option "Composite"   "Enable"
    Option "RENDER"   "Enable"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "logimedia"
    Option "XkbLayout"   "fr"
    Option "XkbOptions"   "compose:rwin"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitorLCD"
    VendorName "IIyama"
    ModelName  "AS4314UT"
    HorizSync   31.5 - 79.0
    VertRefresh 56-75
EndSection

Section "Monitor"
   Identifier "monitorTV"
   HorizSync 30-50
   VertRefresh 60
EndSection

# X séparé
Section "Device"
    Identifier  "deviceAGPSep"
    VendorName  "Nvidia"
    Driver      "nvidia"
    BusID   "PCI:1:00:0"
    Option   "NvAGP" "1"
    Option      "RenderAccel" "true"
    Option   "AllowGLXWithComposite" "True"
    Option   "backingstore" "true"
    Option      "NoLogo" "1"
    Option      "DPMS"
    Screen      0
EndSection

Section "Device"
    Identifier  "deviceTVSep"
    BoardName   "Nvidia"
    Driver      "nvidia"
    BusID   "PCI:1:00:0"
    Option      "ConnectedMonitor" "TV"
    Option   "TVOutFormat" "COMPOSITE"
    Option      "AllowGLXWithComposite" "true"
    Option      "TVStandard" "PAL-B"
    Option      "TVOverScan" "0.98"
    Option   "NvAGP" "1"
    Option      "DPMS"
    Option      "NoLogo" "1"
    Screen      1
EndSection

Section "Screen"
    Identifier  "screenAGPSep"
    Device      "deviceAGPSep"
    Monitor     "monitorLCD"
    Option      "backingstore" "true"
    DefaultDepth 24
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Section "Screen"
    Identifier  "screenTVSep"
    Device      "deviceTVSep"
    Monitor     "monitorTV"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "separate"
    Screen      0 "screenAGPSep"
    Screen   1 "screenTVSep"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Bonne chance.

Ceci dit, j'ai moi aussi un problème depuis que je me suis ajouté un ecran supplémentaire sur la sortie DVI, impossible à ce moment d'avoir la TV en même temps. C'est 2 des 3, mais jamais les 3. Peut-être que c'est au niveau hard (FX5200) et qu'il n'y a rien à faire.
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Thu Sep 28, 2006 2:27 am    Post subject: Re: [Xorg] Dual display Reply with quote

novazur wrote:
C'est 2 des 3, mais jamais les 3. Peut-être que c'est au niveau hard (FX5200) et qu'il n'y a rien à faire.

C'est au niveau hard, seulement 2 sorties...
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Thu Sep 28, 2006 2:30 am    Post subject: Re: [Xorg] Dual display Reply with quote

PabOu wrote:
C'est au niveau hard, seulement 2 sorties...

Je m'en doutais un peu, vu tous les essais que j'ai déjà fait. Dommage !
Mais merci de m'avoir confirmé, ça m'évite du temps perdu :-)
Back to top
View user's profile Send private message
DidgeriDude
Guru
Guru


Joined: 30 Jan 2005
Posts: 349

PostPosted: Fri Sep 29, 2006 8:59 pm    Post subject: Reply with quote

Merci novazur pour ta config. Je l'ai essayée telle qu'elle est, et ça a marché !
Par contre impossible de comprendre pourquoi la mienne ne marchait pas ! Même après avoir viré les options obsolètes... J'ai donc réécrit la mienne à partir de ton fichier et tout remarche comme avant.
Merci encore.
Back to top
View user's profile Send private message
prentonmantoonsenva
n00b
n00b


Joined: 23 Aug 2006
Posts: 49
Location: Point Place, Wisconsin

PostPosted: Fri Sep 29, 2006 9:41 pm    Post subject: Re: [Xorg] Dual display Reply with quote

DidgeriDude wrote:

Avec cet xorg.conf, tout a bien fonctionné pendant 2 ans, en Xorg monolithique, avec nvidia-kernel et nvidia-glx. Par contre, depuis que je suis passé en Xorg modulaire et avec nvidia-drivers, j'obtiens l'erreur suivante dans mon Xorg.0.log :


Petite question bête : quelle est la différence entre un Xorg modulaire et un monolithique ?

Merci.
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Fri Sep 29, 2006 10:03 pm    Post subject: Reply with quote

DidgeriDude wrote:
Merci novazur pour ta config. Je l'ai essayée telle qu'elle est, et ça a marché !
Par contre impossible de comprendre pourquoi la mienne ne marchait pas ! Même après avoir viré les options obsolètes... J'ai donc réécrit la mienne à partir de ton fichier et tout remarche comme avant.
Merci encore.


C'est parfait alors, j'en suis le premier ravi :-)
Back to top
View user's profile Send private message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Sat Sep 30, 2006 9:08 am    Post subject: Reply with quote

Si tout est bon, un petit résolu dns le titre ne serait pas de trop alors :wink:
_________________
Knight Gent00 Industries RiDeR !!!!
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sat Sep 30, 2006 10:45 am    Post subject: Re: [Xorg] Dual display Reply with quote

prentonmantoonsenva wrote:
DidgeriDude wrote:

Avec cet xorg.conf, tout a bien fonctionné pendant 2 ans, en Xorg monolithique, avec nvidia-kernel et nvidia-glx. Par contre, depuis que je suis passé en Xorg modulaire et avec nvidia-drivers, j'obtiens l'erreur suivante dans mon Xorg.0.log :


Petite question bête : quelle est la différence entre un Xorg modulaire et un monolithique ?

Merci.


l'ancienne version de Xorg (< à 7.0 donc) était "tout en un". C'est à dire que quand tu "l'emergais" tu avais tout dedans (v4l, tout plein de drivers qui te servent jamais etc...)
Maintenant ils ont découpés Xorg en plein de petits paquets. Ça te permet de sélectionner ce dont tu as besoin et uniquement ceux qui te convient. C'est plus court à compiler aussi du coup, plus facilement maintenable. Imagine que "xkb" déconne? bah avant tu étais obligé de re-emergé tout xorg. maintenant juste le paquet xkb. voilà en gros la différence.
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum