Forum

The time now is Thu Jul 29, 2010 2:58 pm

Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
[topic unique] Xorg.conf, les exemples
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Mandriva Forum Index -> Cartes Graphiques, Vidéo, Webcams
View previous topic :: View next topic  
Author Message
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Wed Jan 10, 2007 2:18 pm    Post subject: [topic unique] Xorg.conf, les exemples Reply with quote Report

Vous trouverez ici des exemples de divers fichiers /etc/X11/xorg.conf, selon diverses configurations : diverses cartes graphiques / divers drivers / un ou plusieurs écrans, plusieurs possibilités / diverses souris et claviers / des tablettes graphiques / ...

Une mini documentation, très simple, sur les bases de l' organisation du fichier Xorg, peut être un début pour se familiariser avec le sujet ici (sera elle aussi soumise à évolution.)
ici le lien vers le pdf
ici le lien vers le document source (scribus 1.3.3.7) Pour toutes corrections & ajouts

ce topic se completera au fur et à mesure des contributions, et avec des liens vers la KB et la documentation de XFdrake.

1 ) -> Cartes Nvidia, driver closed-sources, n fichier xorg.conf très simple semble suffire pour faire fonctionner beryl

2 ) -> Cartes Nvidia, driver closed-sources, les options habituellement rencontrées.

3 ) -> Cartes Nvidia, 2 écrans (lcd + tv) en TwienView

4 ) -> Cartes ATI, driver Radeon, 2 écrans, mode clone

5 ) -> Cartes ATI, driver Radeon, 2 écrans, mode Xinerama

6 ) -> Cartes ATI, driver Fglrx closed-sources, 2 écrans, sortie TV

7 ) -> Cartes ATI, driver Fglrx closed-sources, 2 écrans, mode dualhead

8 ) -> Cartes ATI, driver Fglrx closed-sources, mode clone

9 ) -> Cartes Nvidia, driver closed-sources, les options peuvent être écrites en "1" pour être activer.

10 ) -> [tuto] 2 écrans, 2 claviers, 2 souris, 2 cartes graphx = 2 sessions, 2 utilisateurs simultanés sur 1 seule machine.

11 ) -> Carte Nvidia GeForce 6600, double écran, un en vga l' autre sur sortie dvi, deux écrans indépendants (pas de xinerama)


Last edited by muny on Sat Feb 10, 2007 3:02 pm; edited 13 times in total
Back to top
Pacho Ramos

Pacho Ramos

Joined: 24 Mar 2006
Posts: 75

View user's profile Send private message MSN Messenger
PostPosted: Wed Jan 10, 2007 9:22 pm    Post subject: Reply with quote Report

Mon xorg.conf:
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Dec 15 10:12:14 PST 2006

# File generated by XFdrake (rev 57713)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
    Identifier     "layout1"
    Screen         "screen1" 0 0
    InputDevice    "Keyboard1" "CoreKeyboard"
    InputDevice    "Mouse1" "CorePointer"
EndSection

Section "Files"

    # font server independent of the X server to render fonts.
    # minimal fonts to allow X to run without xfs
    FontPath        "unix/:-1"
    FontPath        "/usr/share/fonts/misc:unscaled"
EndSection

Section "Module"
    Load           "dbe" # Double-Buffering Extension
    Load           "v4l" # Video for Linux
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
#    Load           "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
    Load           "glx"
EndSection

Section "ServerFlags"

    #DontZap # disable <Crtl><Alt><BS> (server abort)
 # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    Option         "allowmouseopenfail"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "es"
    Option         "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver       Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/mouse"
EndSection

Section "Monitor"

    # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
    Identifier     "monitor1"
    VendorName     "Plug'n Play"
    ModelName      "SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "768x576" 50.0 768 832 846 1000 576 590 595 630
    ModeLine       "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
    Identifier     "device1"
    Driver         "nvidia"
    VendorName     "nVidia Corp."
    BoardName      "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
    Identifier     "screen1"
    Device         "device1"
    Monitor        "monitor1"
    DefaultDepth    24
    Option         "DPMS"
    Option         "AddARGBGLXVisuals"  "true"
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"  "enable"
EndSection
      "mouse"


J'ai une nvidia 6600 carte graphique avec beryl. J'ai installé nvidia.com drivers avec succes Smile
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 5:05 am    Post subject: Reply with quote Report

sur une configuration similaire : Nvidia / un seul écran / une seule souris / un seul clavier / pas d' autres périphériques genre tablettes, voici les diffs de mon xorg.conf par rapport à celui de Pacho2 :

Code:
Section "Device"
    Identifier "device1"
    VendorName "NVIDIA Corp."
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
    Option "AddARGBGLXVisuals" "true"
    Option "RenderAccel" "True"
    Option "BackStoring" "True"
    Option "DisableGLXRootClipping" "true"
EndSection


Code:
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    Option "AddARGBGLXVisuals" "true


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


Last edited by muny on Thu Jan 11, 2007 2:43 pm; edited 1 time in total
Back to top
Pacho Ramos

Pacho Ramos

Joined: 24 Mar 2006
Posts: 75

View user's profile Send private message MSN Messenger
PostPosted: Thu Jan 11, 2007 9:12 am    Post subject: Reply with quote Report

[J utilise beryl et nvidia.com drivers avec cet xorg.conf

(Sorry for english post, my french is too poor Sad ).

I am not using all nvidia extensions, only Composite and AddARGBGLXVisuals (that can be put in Section Device or Screen). I don't use RenderAccel because it doesn't seem to make any effect on my card. Same with Option RENDER. But, with this xorg.conf, I have 3D acceleration with propietary nvidia drivers and I use beryl from backports repos.

Thanks Smile
Back to top
sahaghian

Non Figura

Joined: 09 Apr 2005
Posts: 1267

View user's profile Send private message
PostPosted: Thu Jan 11, 2007 9:50 am    Post subject: Reply with quote Report

Voici pour une carte nvidia geforce2 avec 3D beryl et un 2ème layout pour une sortie twinview (écran LCD et TV) que je lance avec la commande startx -- :1 -layout layout2 (nécessité de désactiver la 3d avant) :

Code:
Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
   
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

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

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x1024"
    HorizSync 31.5-90
    VertRefresh 60
    # Option "DynamicTwinview" "false"
    Option "UseEDID" "false"
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nvidia"
    Option "DPMS"
    Option "RenderAccel" "True"
    Option "DisableGLXRootClipping" "true"
    Option "BackStoring" "True"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nvidia"
    Option "TwinView"
    Option "MetaModes" "DFP-1: 1280x1024, TV-1: 800x600"
    Option "SecondMonitorHorizSync" "30 - 50"
    Option "SecondMonitorVertRefresh" "60"
    Option "TwinViewOrientation" "RightOf"
    Option "RenderAccel" "True"
    Option "DisableGLXRootClipping" "true"
    Option "BackStoring" "True"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    Option "AddARGBGLXVisuals" "True"
    Option "DisableGLXRootClipping" "True"
   
    Subsection "Display"
        Depth 8
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor1"
    DefaultColorDepth 24
    Option "AddARGBGLXVisuals" "True"
    Option "DisableGLXRootClipping" "True"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

Section "ServerLayout"
    Identifier "layout2"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen2"
EndSection
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 4:22 pm    Post subject: Reply with quote Report

Cartes ATI, Driver RADEON, pour deux écrans en mode clone :

les options au driver :
Code:
Section "Device"
   Identifier   "Generic Video Card"
   Driver      "radeon"
   BusID      "PCI:1:0:0"
   Option         "DynamicPM"       "True"
   Option      "DynamicClocks"      "True"
   Option      "AGPMode"       "4"
   Option      "AGPFastWrite"      "yes"
   Option      "EnablePageFlip"   "true"
   Option      "RenderAccel"      "true"
   Option      "Monitorlayout"      "LVDS,CRT"
   Option      "CRT2Position"      "Clone"
   Option      "MergedFB"      "true"
   Option      "MergedXinerama"   "true"
   Option      "MergedNonRectangular"   "true"
   Option      "CRT2HSync"      "30-80"
   Option      "CRT2VSync"      "20-60"
   Option      "MetaModes"      "1400x1050-1280x1024 1400x1050-1024x768"
EndSection


Exemples (raccourcis) pour les moniteurs :
Code:

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      24
      Modes      "1280x1024"
   EndSubSection
EndSection


Quelques options supplémentaires...
Code:
Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection


Last edited by muny on Thu Jan 11, 2007 4:30 pm; edited 1 time in total
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 4:26 pm    Post subject: Reply with quote Report

cartes ATI, driver RADEON, deux écrans en mode "xinerama"

Code:
Section "Device"
   Identifier   "Generic Video Card"
   Driver      "radeon"
   BusID      "PCI:1:0:0"
   Option         "DynamicPM"       "True"
   Option      "DynamicClocks"      "True"
   Option      "AGPMode"       "4"
   Option      "AGPFastWrite"      "yes"
   Option      "EnablePageFlip"   "true"
   Option      "RenderAccel"      "true"
   Option      "Monitorlayout"      "LVDS,CRT"
   Option      "CRT2Position"      "leftOf"
   Option      "MergedFB"      "true"
   Option      "MergedXinerama"   "true"
   Option      "MergedNonRectangular"   "true"
   Option      "CRT2HSync"      "30-80"
   Option      "CRT2VSync"      "20-60"
   Option      "MetaModes"      "1400x1050-1280x1024 1400x1050-1024x768"
EndSection


Option "CRT2Position" "leftOf"

Cette option au driver remplace les options de la section "server layout" ...
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 4:46 pm    Post subject: Reply with quote Report

Carte ATI, Driver fglrx (proprio), sortie TV activée :

Le driver
Code:
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off"
    Option "DesktopSetup"               "(null)"
    Option "TVFormat"                   "PAL-B"     
    Option "TVStandard"                 "VIDEO"
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    Option "KernelModuleParm"      "agplock=0"
# Attention : option CenterMode pour un ordi portable seulement :
    Option "CenterMode"                 "off"

    BusID  "PCI:numéro de chez vous, automatique"
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "fglrx"
    BusID "PCI:numéro de chez vous, automatique"
    Screen 1
EndSection


Code:
Section "ServerLayout"
    Identifier  "TV Out"
    Screen "Screen0"
    Screen "Screen1" RightOf "Screen0"


Last edited by muny on Thu Jan 11, 2007 4:58 pm; edited 2 times in total
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 4:49 pm    Post subject: Reply with quote Report

Carte ATI, Driver fglrx, pour un "dual-head"

Code:
Section "Device"
    Identifier                          "ATI Graphics Adapter connector 0"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off"
    Option "DesktopSetup"               "(null)"
    Option "HSync2"                     "31.5 - 80.5"
    Option "VRefresh2"                  "20 - 60"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on
    Option "OpenGLOverlay"              "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    Option "KernelModuleParm"      "agplock=0"
#option CenterMode pour portables seulement
    Option "CenterMode"                 "off"

    BusID "blablabla"
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "fglrx"
    BusID "blablabla"
    Screen 1
EndSection


Code:
Section "ServerLayout"
    Identifier  "Dual Head"
    Screen "Screen0"
    Screen "Screen1" LeftOf "Screen0"
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 5:02 pm    Post subject: Reply with quote Report

Cartes ATI, driver fglrx, mode clone :

Code:
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off"
    Option "DesktopSetup"               "clone"
    Option "HSync2"                     "31.5 - 80.5"
    Option "VRefresh2"                  "20 - 60"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    Option "KernelModuleParm"      "agplock=0"
#option centermode pour portables
    Option "CenterMode"                 "off"

    BusID "blablabla"
    Screen 0
EndSection


Code:
Section "ServerLayout"
    Identifier  "Clone Mode"
    Screen "Screen0"
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Thu Jan 11, 2007 11:25 pm    Post subject: Reply with quote Report

Astuce concernant ATI :

le driver fglrx (driver closed-sources pour cartes ATI) :
sur certaines cartes, il rencontre des difficultés avec l' option "composite" : désactivez la si nécessaire.
il est possible, par la section "dri" de spécifier qui aura droit àl' accès au driver (options sous forme modale, par exemple 0666 pour tout le monde. A vous de voir (...)

Avec certaines cartes, comme les 9600 et autres, il est possible de choisir, pour avoir le bureau 3d, entre
utilisation du driver ClosedSources fglrx -> utilisation de Xgl
utilisation du driver OpenSource -> utiilsation de Aiglx

Dans ce cas, c' est 2 bonnes raisons d' utiliser le driver libre : 1) il est libre (et suit mieux, respecte mieux, les évolutions du kernel et de xorg). 2) Aiglx, étant intégré à xorg c est une solution plus élégante et moins gourmande en ressources que Xgl.
Back to top
PaLmAs

Non Figura

Joined: 25 Jan 2006
Posts: 248

View user's profile Send private message
PostPosted: Fri Jan 12, 2007 12:12 am    Post subject: Reply with quote Report

bonjour,

carte nvidia 7600 GS , beryl , pas de sortie tv activé, un clavier, une souris, deux ecrans:
17 pouces plat
19 pouces 16/10 plat

Code:

Section "Extensions"
    Option "Composite" "Enable"                ##modification pour beryl
    Option "RENDER" "Enable"                  ##modification pour beryl
EndSection [/color]

Section "ServerLayout"
    Identifier     "Layout1"
    Screen        "screen1"
    InputDevice    "Keyboard1" "CoreKeyboard"
    InputDevice    "Mouse1" "CorePointer"
EndSection

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
   
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection


Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "L1740BQ "
    HorizSync 30-83
    VertRefresh 56-75
   
    # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce 7 Series"
    Driver "nvidia"
    Option "DPMS"
    Option "RenderAccel" "1"                         ##modification pour beryl
    Option "DisableGLXRootClipping" "1"      ##modification pour beryl
    Option "BackStoring" "1"                          ##modification pour beryl         
EndSection

Section "Screen"
    Identifier     "screen1"
    Device         "device1"
    Monitor        "monitor1"
    DefaultDepth    24
    Option         "TwinView"                ##modification pour double ecran
    Option "AddARGBGLXVisuals" "1"        ##modification pour beryl             
    Option "SecondMonitorVertRefresh" "56-75"           ##modification pour double ecran
    Option "ConnectedMonitor" "dfp,dfp"                 ##modification pour double ecran
    Option "TwinViewOrientation" "Clone"               ##modification pour double ecran
    Option "SecondMonitorHorizSync" "30-83"             ##modification pour double ecran
    Option         "metamodes" "CRT: 1280x1024 +0+0, DFP: nvidia-auto-select +1280+0; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 640x480 +0+0, DFP: NULL; CRT: 320x240 +0+0, DFP: NULL"            ##modification pour double ecran
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


Un double écran avec carte intel devrait arriver (ou sortie télé)
Wink


Last edited by PaLmAs on Sat Feb 10, 2007 9:49 pm; edited 2 times in total
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Fri Jan 12, 2007 12:40 am    Post subject: Reply with quote Report

2 PERSONNES PEUVENT ELLES TRAVAILLER EN MEME TEMPS SUR 1 SEUL PC ?

oui !
gnu/linux est multi-utilsateurs, vraiment multi-utiisateurs !
et le serveur Xorg permet des configurations "incroyables"

pour cela, vous devez avoir :
PC confortable (type modèle d' il y a 2 ou 3 ans) : 1.5ghz minimum, 1go de mémoire semble être correct. Ou mieux...
2 claviers (un en ps2 et un en usb, ou deux en usb)
2 souris (un en ps2 et un en usb, ou deux en usb)
2 cartes graphiques (par exemple 2 nvidia gforce4 64mo de ram, ou encore 2 matrox, ou une de chaque)
2 écrans.
et... un Xorg correctement configuré... en fait 2 Xorg...
Voilà de belles économies en perspectives pour toutes associations ou écoles.

la pratique
Brancher le tout. Installer Mandriva : celle ci va, comme d' hab, reconnaitre et configurer tout le matos. (création des devices, attribution des drivers, ajustement des moniteurs, etc etc) Par défaut, les claviers et souris seront en mode redondance, fonctionneront de concert. Par défaut, XFdrake permet plusieurs types de configurations (xinerama complet, mode clone, mode double X double bureaux...)

Il faut attribuer les bons périphériques d' entrées aux bons périphériques de sorties, isoler ainsi leur fontionnement. Attention aux attributions des numéros des périphériques. (si vous dites à xorg que la carte1 est branché sur le moniteur 2, forcément...) De la même manière faites attention aux ports PCI sur lesquelles sont branchées les cartes. Si l' un d' elle est branché en agp et l' autre en pci, changer correctement. Pareil si vous utiliser du pci-express pour l' une et une vieille pci pour l' autre. Si vous n' êtes pas sûr de la bonne manière de connaître ces valeurs :
Code:
cat /proc/bus/input/devices

pour les claviers et souris (voir d' éventuelles tablettes graphiques ou pointeur laser)
Code:
lspci |grep VGA

pour les cartes graphiques (les valeurs de début de ligne correspondent aux branchements, exemple : "01:00.0 VGA compatible controller: nVidia Corporation")
Notez ces valeurs.

Afin d' être lisible, je sépare en deux parties distinctes les deux configurations. Mais cet ensemble constituera bien un et un seul fichier xorg.conf
Code:
# Poste de Karine
Section "InputDevice"
Identifier     "Keyboard1"
Driver         "evdev"
Option         "Device" "/dev/input/event11"
Option         "XkbModel" "pc105"
Option         "XkbLayout" "fr"
Option         "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "evdev"
    Option "product" "0x0006"
    Option "vendor" "0x0002"
    Option "HWheelRelativeAxisButtons" "7 6"
EndSection

Section "Device"
Identifier     "device1"
Driver         "nvidia"
VendorName     "NVIDIA Corp."
BoardName      "NVIDIA GeForce4 (generic)"
BusID          "PCI:1:0:0"
EndSection

Section "Monitor"
   Identifier     "monitor1"
   ModelName      "plug and play"
    HorizSync 30-70
   VertRefresh 50-160
   ModeLine       "768x576" 50.0 768 832 846 1000 576 590 595 630
   ModeLine       "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Screen"
   Identifier     "screen1"
   Device         "device1"
   Monitor        "monitor1"
   DefaultDepth    24
   SubSection     "Display"
   Depth       24
   Virtual     1024 768
   EndSubSection
EndSection

Section "ServerLayout"
Identifier     "Karine"
Screen      0  "Screen1" 0 0
InputDevice    "Mouse1" "CorePointer"
InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

On voit ici que "Karine" dispose d' un couple souris/clavier en usb. De plus la carte graphique usitée est branchée sur le port pci 1.0.0. Enfin son moniteur est un crt à affichage en 24 bits de profondeur et en 1024x768 de taille. (limitation volontaire des diverses possibilités de tailles pour avoir un fichier lisible ici. Et puis qui reste en 800x600 si son moniteur permet le 1024x768 ??)



"Vincent" quant à lui, à un couple souris/clavier en ps/2. Une carte graphique et un écran aux capacités similaires.
Code:
# Poste de Vincent
Section "InputDevice"
   Identifier     "Keyboard2"
   Driver "kbd"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "fr"
   Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
   Identifier "Mouse2"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
EndSection

Section "Device"
Identifier     "device2"
Driver         "nvidia"
VendorName     "NVIDIA Corp."
BoardName      "NVIDIA GeForce4 (generic)"
BusID          "PCI:0:0d:0"
EndSection

Section "Monitor"
   Identifier     "monitor2"
   ModelName      "plug and play"
    HorizSync 30-70
   VertRefresh 50-160
   ModeLine       "768x576" 50.0 768 832 846 1000 576 590 595 630
   ModeLine       "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Screen"
   Identifier     "screen2"
   Device         "device2"
   Monitor        "monitor2"
   DefaultDepth    24
   SubSection     "Display"
   Depth       24
   Virtual     1024 768
   EndSubSection
EndSection

Section "ServerLayout"
Identifier     "Vincent"
Screen      1  "Screen2" 0 0
InputDevice    "Mouse2" "CorePointer"
InputDevice    "Keyboard2" "CoreKeyboard"
EndSection

Une option utile est de placer
Code:
DontZap "true"
Dans "ServerFlag" de xorg.conf. Afin d' interdire la combinaison de touches ctrl+alt+backspace (qui peut redémarer brutalement Xorg...)





Pour démarrer tout ça de manière automatique et joli, utilisons un DM comme GDM : Ajouter ces éléments à /etc/X11/gdm/gdm.conf (selon votre version de Mandriva, il peut s' agir du fichier /etc/X11/gdm/custom.conf)

Code:
0=Standard0
1=Standard1

Code:
[server-Standard0]
name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout Karine
flexible=true

Code:
[server-Standard1]
name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout Vincent
flexible=true


Vous pouvez peaufiner ce fichier en y ajoutant par exemple un thème, la ligne est du type :
Code:
[greeter]
GraphicalTheme=garGANTuan
par exemple...


ps : si vous avez deux cartes sons, il sera également possible d' obtenir du son pour chaque utiilsateur (et pas seulement un son mixé des 2 utilisateurs, ou un seul utilisateur ayant du son) : en configurant vos périphériques /dev/dsp et dev/dsp0 par exemple, correctement, puis en les attribuant spécifiquement et uniquement une à chaque utilisateur. Enfin en lançant deux solutions de mixage différentes (par exemple arts pour l' un et esd pour l' autre). Mais ceci est presque un autre sujet Wink
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Fri Jan 19, 2007 4:08 pm    Post subject: Reply with quote Report

Un petit 'up' pour remercier particulièrement "Pacho2" et "Palmas" de participer à ce topic. Si vous avez des fichier xorg.conf un peu exotiques : merci de bien vouloir les partager avec nous ici !
à venir : cartes graphiques matrox et ati ensemble, les possibilités. Et un tuto tout en images sur XFdrake.
Back to top
muny

muny

Joined: 05 Oct 2003
Posts: 6505
Location: Fr tls

View user's profile Send private message Visit poster's website
PostPosted: Sat Feb 10, 2007 3:01 pm    Post subject: Reply with quote Report

Carte Nvidia GeForce 6600, double écran, un en vga l' autre sur sortie dvi, deux écrans indépendants (pas de xinerama)

Code:
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen1" 1440 0
    Screen      1  "Screen0" LeftOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"

    # font server independent of the X server to render fonts.
    # minimal fonts to allow X to run without xfs
    FontPath        "unix/:-1"
    FontPath        "/usr/share/fonts/misc:unscaled"
EndSection

Section "Module"
    Load           "dbe" # Double-Buffering Extension
    Load           "v4l" # Video for Linux
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx" # 3D layer
EndSection

Section "ServerFlags"

    #DontZap # disable <Crtl><Alt><BS> (server abort)
 # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    Option         "allowmouseopenfail"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/mouse"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    ModeLine       "nvidia-auto-select" 106.5 1440 1520 1672 1904 900 903 909 934 -hsync +vsync
    ModeLine       "1440x900_75" 136.5 1440 1536 1688 1936 900 901 904 940 -hsync +vsync
    ModeLine       "1440x900_60" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
    ModeLine       "1280x800_75" 107.2 1280 1360 1496 1712 800 801 804 835 -hsync +vsync
    ModeLine       "1280x800_60" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1440x900_75" 136.5 1440 1536 1688 1936 900 901 904 940 -hsync +vsync
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "device1"
    Driver         "nvidia"
    VendorName     "nVidia Corp."
    BoardName      "NVIDIA GeForce 6 Series"
EndSection

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

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1440x900 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1440x900_75 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Back to top
jpbenoit

Non Figura

Joined: 20 Oct 2003
Posts: 33

View user's profile Send private message
PostPosted: Sat Feb 10, 2007 6:24 pm    Post subject: Reply with quote Report

Une config de xinerama qui fonctionne sur mon portable avec un video-projecteur comme second écran ( xorg.conf entièrment modifiée à la main javascript:emoticon('Wink') )
Config:
MDV 2007 free (à jour)
915resolution
Carte video Intel 945GM (pilote i810)
Ecran principal flat panel 1280X800
Ecran secondaire Vdeo-projecteur en1024X768

Code:

# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
   
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "SHMConfig" "on"
EndSection

Section "Device"
    Identifier   "device1"
    VendorName "Intel Corp."
    BoardName "Intel 945"
    Driver   "i810"
    Option "May_Need_ForceBIOS" "1"
    Option "XaaNoOffscreenPixmaps" "1"
    Screen 0
    Option  "MonitorLayout" "CRT, CRT+LFP" 
    BusID "PCI:0:2:0"
EndSection

Section "Device"
    Identifier      "device2"
    Driver          "i810"
    Screen      1
    Option       "MonitorLayout"       "CRT, CRT+LFP" 
    BusID "PCI:0:2:0"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x800"
    HorizSync 31.5-90
    VertRefresh 60
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
    Option      "DPMS"
   
EndSection

Section "Monitor"
    Identifier   "optoma"
    VendorName   "Optoma"
    ModelName "Optoma EP739H"
    Option       "DPMS"
    HorizSync 31.0-72.0
    VertRefresh 56.0-60.0
EndSection

Section "Screen"
    Identifier   "screen1"
    Device "device1"
    Monitor   "Monitor1"
    DefaultColorDepth   24

    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 24
    EndSubSection
EndSection

Section "Screen"
      Identifier      "screen2"
      Device          "device2"
      Monitor         "optoma"
      DefaultColorDepth    24
     SubSection "Display"
      Depth           24
      Modes      "1024x768"
     EndSubSection
EndSection

Section "ServerLayout"
      Identifier     "DualHead-xinerama"
      Screen         0 "screen1" 0 0
      Screen          1 "screen2" RightOf "screen1"
      InputDevice   "Keyboard1" "CoreKeyboard"
      InputDevice   "Mouse1" "CorePointer"
      InputDevice   "SynapticsMouse1" "AlwaysCore"
      Option      "Xinerama" "on"
      Option      "Clone" "on"
EndSection

Section "DRI"
      Mode   0666
EndSection



Petit piège
le postionnement "screen2" LeftOf "screen1" ne fonctionne pas bien avec KDE

Maintenant si qqun peut me dire comment mettre un fond d' écran sur l' extension xinérama
car le fond noir pour une projection c' est pas top ! (KDE)

JPB
Back to top
D Martin

Non Figura

Joined: 05 Feb 2007
Posts: 76

View user's profile Send private message
PostPosted: Thu Feb 15, 2007 10:10 am    Post subject: Reply with quote Report

Signalé dans un autre topic, l'existence d'un utilitaire pour configurer le xorg avec une nvidia : Nvclock. Il gère aparemment twinview. Pas testé (encore).

http://www.linuxhardware.org/nvclock/

Back to top
Neije

Neije

Joined: 20 Dec 2006
Posts: 2836

View user's profile Send private message
PostPosted: Thu Feb 15, 2007 10:52 am    Post subject: Reply with quote Report

la mm chose existe pour ATI ?
Back to top
D Martin

Non Figura

Joined: 05 Feb 2007
Posts: 76

View user's profile Send private message
PostPosted: Thu Feb 15, 2007 11:14 am    Post subject: Reply with quote Report

Sé pa. Essaye de voir avec jmanster, c'est lui qui m'a donné le tuyau
(http://forum.club.mandriva.com/viewtopic.php?t=58913&postdays=0&postorder=asc&start=150)
Back to top
Neije

Neije

Joined: 20 Dec 2006
Posts: 2836

View user's profile Send private message
PostPosted: Tue Feb 20, 2007 1:15 pm    Post subject: Reply with quote Report

En tout cas, super pour ces exemples (surtout ceux avec deux moniteurs ... impressionant).

Qd je pense que moi avec un écran et une carte ati j'ai déjà du mal Sad

Bon, mais en fait il m'est venu une autre question ... qui je pense est un beau défi Very Happy

un pc / 2 cartes / 2 claviers /2 souris /2 OS /1 écran par OS ?

ça franchement ça serait le pied : un login sous grub par exemple par écran ... je peux toujours rêver ou c'est possible ? (à mon avis c pas possible ... accès au réseau /pb de driver etc ...)
Back to top
D Martin

Non Figura

Joined: 05 Feb 2007
Posts: 76

View user's profile Send private message
PostPosted: Thu Feb 22, 2007 12:16 pm    Post subject: Reply with quote Report

Il me semble que c'est l'exemple 10
(http://forum.club.mandriva.com/viewtopic.php?t=59939#292493)

Ca permet d'avoir 2 utilisateurs indépendants sur 1 machine.
Il n'ya même pas besoin de 2 OS, un seul suffit.
Ca dépend de ce que tu veux faire avec Wink

Pas testé...
Back to top
Neije

Neije

Joined: 20 Dec 2006
Posts: 2836

View user's profile Send private message
PostPosted: Thu Feb 22, 2007 1:27 pm    Post subject: Reply with quote Report

bah non le but est d'avoir deux OS pour faire tourner les jeux ... et je transforme windows en winconsole en somme ... rien d'autre dessus que le jeu (aucun graphisme/écran de veuille ... juste les jeux et un antivirus/firewall genre avast ;...)

Et l'autre Os bah linux ... ce qui me permet d'avoir ma messagerie instantanée, mon navigateur web ... mon log de gravure etc ...
Back to top
ptyxs

Non Figura

Joined: 04 Feb 2005
Posts: 3795
Location: Paris/Nîmes

View user's profile Send private message
PostPosted: Thu Feb 22, 2007 3:25 pm    Post subject: Reply with quote Report

Sur la configuration du clavier dans xorg.conf on trouvera quelques éléments ici :

http://club.mandriva.com/xwiki/bin/view/KB/XwinXkeys#HLes2Bfichiers2Bde2Bconfiguration2Bdu2Bclavier2Bet2Ble2Bsyst25C325A8me2BXKb

et - en anglais - dans ce document :
http://pascal.tsu.ru/en/xkb/setup.html#setup

ou encore dans la section 3 de ceci (toujours en anglais) :
http://www.charvolant.org/~doug/xkb/
les sept pages qui commencent >>ICI<< montrent cependant une façon de personnaliser le clavier d'un utilisateur sans avoir à modifier le xorg.conf
Back to top
D Martin

Non Figura

Joined: 05 Feb 2007
Posts: 76

View user's profile Send private message
PostPosted: Fri Feb 23, 2007 2:59 pm    Post subject: Reply with quote Report

Youhou j'ai enfin réussi !
Mais pas grace à Nvclock, la beta 1 présente dans les dépôts urpmi ne comprenait pas la petite interface du screenshot...

Voilà comment j'ai procédé :

Après l'installation des drivers Nvidia (grâce à urpmi, pas avec le fichier .run du site de Nvidia), un utilitaire Systeme> Configuration> Matériel s'est installé.

Cet utilitaire comprend une section "X Server Display Configuration". Là je clique sur Position: Left Of et là, miracle, mon deuxiemme écran apparaît !! Un petit coup de "apply", et l'écran s'allume, il n'y a plus qu'à régler la résolution.

Chez moi l'option "Save to X Configuration File" n'a pas marché (plus d'interface graphique ou plus de clavier). En théorie j'imagine qu'elle doit servir à "transférer" la config établie avec Nvidia Settings vers Xorg. Si ça marche chez vous, tant mieux Wink

Si ça ne marche pas, lancez Kwrite en root (Terminal> Su > votremotdepasseroot > Kwrite).
Faites "ouvrir" et allez chercher le fichier xorg.conf dans "/etc/X11" (vous en aurez fait une sauvegarde avant bien entendu).

Cliquez sur "show preview" dans le menu "Save X Configuration" du menu Nvidia Settings.

Copiez les section "Monitor", "Device" et "Screen" et collez les dans Kwrite à la place des anciennes.

Repérez la section "ServerFlags" et la section "ServerLayout" et collez les lignes manquantes dans votre fichier xorg (kwrite). Ne touchez pas aux lignes "InputDevice" de la section "ServerLayout".

Redémarrez !
Voyez Ironic

Il n'y a plus qu'à chercher les wallpapers correspondant à votre nouvelle résolution (sur DeviantArt par exemple).

Wala, j'espère avoir été clair !
Back to top
nmrk.n

nmrk.n

Joined: 25 Sep 2003
Posts: 4953
Location: Ailleurs.fr

View user's profile Send private message
PostPosted: Thu May 03, 2007 5:41 am    Post subject: Reply with quote Report

Neije wrote:
En tout cas, super pour ces exemples (surtout ceux avec deux moniteurs ... impressionant).
Qd je pense que moi avec un écran et une carte ati j'ai déjà du mal Sad
Bon, mais en fait il m'est venu une autre question ... qui je pense est un beau défi Very Happy
un pc / 2 cartes / 2 claviers /2 souris /2 OS /1 écran par OS ?
ça franchement ça serait le pied : un login sous grub par exemple par écran ... je peux toujours rêver ou c'est possible ? (à mon avis c pas possible ... accès au réseau /pb de driver etc ...)
VirtualBox
_________________
Scroogle ??,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Forum Index -> Cartes Graphiques, Vidéo, Webcams All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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


Powered by phpBB © 2001, 2005 phpBB Group