Le vendredi 4 juillet 2008 00:33, Professeur Méphisto s'est exprimé de la
sorte sur fr.comp.os.linux.configuration :
Bonjour,
j'ai un portable compaq 6820s avec un écran "large" (1440 * 900) mais si
je projette sur vidéoproj. le resultat est plutôt laid : écran en haut et
bureau en bas. Or cette partie basse n'a aucun intérêt.
Comment faire pour restreindre, de préférence sur un seul des bureaux,
virtuels la résolution ?
La configuration de mon portable est la suivante :
- Ecran principal : Celui du portable en 1400X1050 (ATI Radeon 9600 Mobility
+ driver proprio)
- Ecran secondaire : LCD en 1280x1024 (sur sortie VGA)
- Bureau étendu sur les deux écrans (le LCD à droite de celui du portable)
Le seul truc chiant avec ATI c'est que la zone d'affichage réèlle s'étend
sur 1050 pixels de hauteur sur toute la largeur (du coup sur l'écran LCD de
bureau, la zone comprise entre 1024 et 1050 pixels ne s'affiche pas)
Le problème (et bien d'autres mais ça fait longtemps que je ne suis plus Ã
jours) n'existe pas chez nvidia où on peut avoir 2 résolutions aussi
farfelues que distinctes sans aucun soucis.
Les parties intérressantes du xorg.con de la machine sont les suivantes (Ã
adapter à tes résolutions of course) :
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 91.1
VertRefresh 60 - 100
# Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5 - 91.1
VertRefresh 60 - 100
# Option "DPMS"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper,
driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "Horizontal"
Option "HSync2" "31.5 - 91.1"
Option "VRefresh2" "60 - 100"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "TVFormat" "PAL-G"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
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"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
# L'ecran du portable
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768"
EndSubsection
EndSection
Section "Screen"
# L'écran secondaire
Identifier "Screen1"
Device "ATI Graphics Adapter"
Monitor "Monitor1"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
# The Identifier line must be present
Identifier "Server Layout"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
HTH
--
@+
Doug - Linux user #307925 - Gentoo rocks ;-)
[ Plus ou moins avec une chance de peut-être ]