Hugues MORIN a écrit :

cette version n'existe pas en etch, j'ai utilisé mergefb à la place

par contre ta version permet de jouer 'un peu' avec les résolution, tout en gardant le dri (accélération matérielle)

tu peux suivre mon fil de discussion du 09/03/08 "Xinerama pb forme du curseur sur 2iem écran", qui au final m'a orienté sur un xorg fonctionnel sous etch (ne donne pas du tout le même résultat sous lenny).

par contre y'a surement des sections a virer issu de test '2 écran indépendant', boot autre résolution ....

# /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/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
        #Load    "GLcore" # test : specifique nvidia ?
EndSection

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

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "MergedFBdevice"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Option  "MergedFB"      "true"
        Option  "CRT2Position"   "RightOf"
        Option  "MetaModes"      "1280x1024-1024x768 1152x870-1024x768 
1280x1024 1152x768-1024x768 1152x870 1024x768"
        Option "OverlayOnCRTC2" "true"
        Option "MergedNonRectangular" "true"
        Option          "MergedXineramaCRT2IsScreen0"   "true"                  
# determines which screen is going to be the primary screen; value can be 
"true" or "false"
        # Option        "VideoOverlay" "on"
        # Option        "OpenGLOverlay" "off"
  Option "EnablePageFlip" "True"
  Option "AGPMode" "4"
  #Option "AGPFastWrite" "True"



EndSection

Section "Device"
        Identifier      "ATI Technologies Inc RV350 AR [Radeon 9600]"
        #Driver         "ati"
        Driver          "radeon"
        #Driver         "fglrx"
        BusID           "PCI:1:0:0"
EndSection

Section "Device"
        Identifier      "device[0]"
        Screen 0
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Option "MonitorLayout" "crt,crt"
EndSection
Section "Device"
        Identifier      "device[1]"
        Screen 1
        Driver          "radeon"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "ecran[0]"
        Option          "DPMS"
EndSection
Section "Monitor"
        Identifier      "ecran[1]"
        Option          "DPMS"
EndSection


Section "Screen"
    Identifier    "screen[0]"
    Device        "device[0]"
    Monitor        "ecran[0]"
    DefaultDepth    24
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1152x864" "1152x870" "1024x768" "832x624" 
"800x600" "720x400" "640x480"
        #"1280x1024-1024x768 1152x870-1024x768 1152x768-1024x768 1152x870 
1024x768"
    EndSubSection
EndSection
Section "Screen"
    Identifier    "screen[1]"
    Device        "device[1]"
    Monitor        "ecran[1]"
    DefaultDepth    24
    SubSection "Display"
        Depth        24
        Modes        "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection


Section "Monitor"
        Identifier      "StudioWor;s"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option          "DPMS"
EndSection



Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc RV350 AR [Radeon 9600]"
        Monitor         "StudioWor;s"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "832x624" "800x600" "720x450" 
"720x400" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "MergeFBscreen"
        Device          "MergedFBdevice"
        Monitor         "StudioWor;s"
        defaultDepth    24
        SubSection "Display"
                Depth           24
                Modes        "1280x1024" "1152x864" "1152x870" "1024x768" 
"832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                #ViewPort  0 0
                #virtual        2048 768
                #virtual        2176 768
                virtual         2176 870
        EndSubSection
EndSection


Section "ServerLayout"
    Identifier          "Default Layout mergedfb"
    Option              "MergedFB" "true"
    Screen              "MergeFBscreen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Option        "xinerama"
    Screen        "screen[0]" 0 0
    Screen        "screen[1]" RightOf "screen[0]"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "ServerLayout"
        Identifier      "_Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection 
Section "Extensions"
    Option        "Composite" "disable"
EndSection

Répondre à