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 28/08/2008, à 19:02

legz

Double Bureau - Configuration de Xorg ?

Bonjour,

Je fais appel a vous pour m'aider à configurer Xorg en mode double-bureau.
Je m'explique:

J'ai deux écran branché en DVI sur un NVidia 8800GT, mais pas moyen de faire marcher les 2 écrans simultanément, hormis en utilisant l'option twinview dispo via les pilotes NVidia.

J'aimerai avoir un bureau sur chaque écran, et non un seul bureau étendu...


J'ai essayé le tuto dispo dans la doc sur le multi-écran mais visiblement ca marche pas sad


Voici mon xorg.conf d'origine (un seul écran fonctionne...):

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"nvidia"
	Option		"NoLogo"	"True"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Defaultdepth	24
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	screen "Default Screen"
EndSection

Section "Module"
	Load		"glx"
EndSection

Merci de votre aide !


Me suivre sur Twitter ? C'est par ici : http://twitter.com/legz !

Hors ligne

#2 Le 30/08/2008, à 10:12

Sagittarus

Re : Double Bureau - Configuration de Xorg ?

bonjour,

---- Contenu de mon /etc/X11/xorg.conf ----

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Thu Jun  5 09:26:53 UTC 2008

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" "0"
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"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "fr"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Vision_Master_Pro_413"
    VendorName     "Iiyama"
    ModelName      "Iiyama HM703U"
    HorizSync       30.0 - 96.0
    VertRefresh     50.0 - 160.0
    ModeLine       "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine       "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine       "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine       "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    ModeLine       "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine       "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine       "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine       "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine       "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine       "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine       "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine       "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    ModeLine       "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine       "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine       "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine       "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine       "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Vision_Master_Pro_410"
    VendorName     "Iiyama"
    ModelName      "Iiyama"
    HorizSync       31.0 - 93.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine       "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine       "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine       "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine       "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    ModeLine       "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine       "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    ModeLine       "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine       "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine       "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine       "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine       "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine       "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine       "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine       "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Vision_Master_Pro_413"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1280x1024@75 +0+0; CRT-0: 1280x1024@60 +0+0; CRT-0: 1280x960@85 +0+0; CRT-0: 1280x960@75 +0+0; CRT-0: 1280x960@60 +0+0; CRT-0: 1280x1024@85 +0+0; CRT-0: 1152x864@75 +0+0; CRT-0: 1024x768@60 +0+0; CRT-0: 1024x768@70 +0+0; CRT-0: 1024x768@75 +0+0; CRT-0: 1024x768@85 +0+0; CRT-0: 832x624@75 +0+0; CRT-0: 800x600@60 +0+0; CRT-0: 800x600@85 +0+0; CRT-0: 800x600@75 +0+0; CRT-0: 800x600@72 +0+0; CRT-0: 800x600@56 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 1024x768_87i +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Vision_Master_Pro_410"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: 1280x1024@75 +0+0; CRT-1: 1152x864@75 +0+0; CRT-1: 1024x768@60 +0+0; CRT-1: 1024x768@70 +0+0; CRT-1: 1280x960@60 +0+0; CRT-1: 1024x768@75 +0+0; CRT-1: 832x624@75 +0+0; CRT-1: 1280x1024@60 +0+0; CRT-1: 800x600@60 +0+0; CRT-1: 1280x960@75 +0+0; CRT-1: 800x600@75 +0+0; CRT-1: 800x600@72 +0+0; CRT-1: 800x600@56 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

----------

Espérant que cela fasse votre bonheur...

Cdlt.

Dernière modification par Sagittarus (Le 31/08/2008, à 10:44)


E PLURIBUS UNUM
3 postes Ubuntu / 1 poste XP / 1 serveur Debian / et un portable XP-Ubuntu

Hors ligne

#3 Le 02/09/2008, à 02:40

legz

Re : Double Bureau - Configuration de Xorg ?

Parfait le problème est résolu....

...Mais je constate un ralentissement de compiz sur l'écran principal sad
Les fenêtres mettent un certain temps (environs 2-3sec) pour s'ouvrir, idem pour les menus, et je ne parle pas du cairo dock...

Alors que sur l'écran secondaire pas de problème !

C'est deja arrivé a quelqu'un ?


Me suivre sur Twitter ? C'est par ici : http://twitter.com/legz !

Hors ligne

#4 Le 02/09/2008, à 20:07

Sagittarus

Re : Double Bureau - Configuration de Xorg ?

oui , à moi big_smile

mais en fait je pensais que cela venait du fait qu'un seul de mes deux écran est reconnu comme il se doit (IIYAMA_VisionMasterPro410 et IIYAMA_VisionMasterPro413), et que j'ai activé cette fonctionnalité juste pour le fun, ensuite j'ai sauvegardé la config et remis le xorg.conf d'origine.

Je n'avais pas peaufiné les résolutions sur le IIYAMA 413.
De votre coté avez-vous renseigné les résolutions respectives de vos écrans ?

Dernière modification par Sagittarus (Le 02/09/2008, à 20:12)


E PLURIBUS UNUM
3 postes Ubuntu / 1 poste XP / 1 serveur Debian / et un portable XP-Ubuntu

Hors ligne

#5 Le 02/09/2008, à 22:55

legz

Re : Double Bureau - Configuration de Xorg ?

Voila mon xorg.conf :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Thu Jun  5 09:26:53 UTC 2008

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbVariant" "oss"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HSD Hanns.G HG281"
    HorizSync       24.0 - 80.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "HIQ L90D+ DVI"
    HorizSync       31.0 - 67.0
    VertRefresh     59.0 - 61.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    Option         "Rotate" "left"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1920x1200 +0+0; DFP-0: nvidia-auto-select +0+0"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1280x1024 +0+0"
EndSection

Les résolutions ne sont indiquées que dans les metamodes, je devrais les mettre dans la section "Monitor" ?


Me suivre sur Twitter ? C'est par ici : http://twitter.com/legz !

Hors ligne

#6 Le 07/09/2008, à 00:30

Sagittarus

Re : Double Bureau - Configuration de Xorg ?

bonsoir,

je sèche également sur ce point de "lenteur" sur le 2ième écran...

car vu de ma carte vidéo l'écran "lent" c'est le 2ième !
du coup, est-ce à dire que c'est normal ? hmm

pas si sur car j'ai noté un autre problème qui m'avait échappé :
je n'ai plus certains effets visuels lorsque j'active le xorg en double écran (les bordures de fenêtres par exemple)

=> serait-ce un soucis avec Compiz qui gère mal le dual-screen ?  roll


E PLURIBUS UNUM
3 postes Ubuntu / 1 poste XP / 1 serveur Debian / et un portable XP-Ubuntu

Hors ligne

#7 Le 07/09/2008, à 13:34

legz

Re : Double Bureau - Configuration de Xorg ?

Sagittarus a écrit :

pas si sur car j'ai noté un autre problème qui m'avait échappé :
je n'ai plus certains effets visuels lorsque j'active le xorg en double écran (les bordures de fenêtres par exemple)

=> serait-ce un soucis avec Compiz qui gère mal le dual-screen ?  roll

Tu dois utiliser Emerald comme gestionnaire de fenêtre, il faut le relancer sur le 2e écran avec l'option "--display=:0.1" pour avoir 2 instances Emerald.

Ca marche pareil avec Compiz, tu le relance sur le 2e écran et zou tout va bien wink

M'enfin au final tu as 2 serveurs X, 2 Compiz, 2 Emerald... une usine  gaz quoi sad

Dernière modification par legz (Le 07/09/2008, à 13:34)


Me suivre sur Twitter ? C'est par ici : http://twitter.com/legz !

Hors ligne

#8 Le 07/09/2008, à 21:29

Sagittarus

Re : Double Bureau - Configuration de Xorg ?

bonsoir,

en fait j'utilise GTK tout simplement, certes j'ai testé Emerald...

Pour la "double config usine à gaz" je suis d'accord c'est nul

S'il faut doubler les services c'est pas franchement idéal,
mais pourtant dans le principe c'est cohérent il me semble,
et ça n'explique pas ces problèmes de lenteur sur le 2ième écran

quelqu'un a-t-il une idée ?

courage Legz smile


E PLURIBUS UNUM
3 postes Ubuntu / 1 poste XP / 1 serveur Debian / et un portable XP-Ubuntu

Hors ligne

#9 Le 15/09/2008, à 23:55

legz

Re : Double Bureau - Configuration de Xorg ?

J'ai regardé du coté de ibex qui semble mieux gérer le Dual-Screen en natif, mais même la dernière alpha est encore trop buguée wink


Me suivre sur Twitter ? C'est par ici : http://twitter.com/legz !

Hors ligne