#1 Le 20/03/2007, à 14:05
- CloOode
Choisir la résolution d'un moniteur externe sur PC portable
Bonjour,
Le moniteur intégré au portable a une résolution standard de 1024x768 et j'aimerai que le bureau qui s'affiche sur le moniteur externe soit en 1280x1024 (je précise que c'est en principe sa résolution standard et que la carte ATI9200 va bien au delà de cette résolution).
Malgré mes essais de configuration, l'affichage sur le moniteur externe reste toujours en 1024x768
Pourtant j'ai configuré mon fichier xorg.conf de telle façon à bien distinguer les 2 moniteurs. Par contre j'ignore s'il faut bien déclarer 2 cartes vidéo avec des ports différents.
voici le fichier :
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/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 "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "USB" "on"
Option "Mode" "Absolute"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "USB" "on"
Option "Mode" "Absolute"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "USB" "on"
Option "Mode" "Absolute"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"
EndSection
Section "Device"
Identifier "ati_1"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "ati_2"
Driver "fglrx"
BusID "PCI:1:0:1"
EndSection
Section "Monitor"
Identifier "mon_integrato"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "mon_acer"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen_integrato"
Device "ati_1"
Monitor "mon_integrato"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "screen_acer"
Device "ati_2"
Monitor "mon_acer"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "screen_integrato"
Screen "screen_acer"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Vous voyez une solution?
NoteBook Acer Aspire 1350 - Athlon XP-M 2800 - Radeon Mobility 9200 - Kubuntu
A quand une fusion Gnome/KDE?
Hors ligne
#2 Le 21/03/2007, à 09:20
- CloOode
Re : Choisir la résolution d'un moniteur externe sur PC portable
Voilà, j'ai réussi à faire afficher du 1280x1024 sur le moniteur externe.
La conséquence est que cette résolution est aussi appliquée sur le moniteur intégré où je retrouve un bureau virtuel de 1280x1024.
Voici mon nouveau xorg.conf
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
#Load "i2c" présent sur "conseil pour ATI"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
load "glx"
load "dbe"
load "dri"
load "v4l"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
option "CoreKeyboard"
option "XkbRules" "xorg"
option "XkbModel" "pc105"
option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
option "CorePointer"
option "Device" "/dev/input/mice"
option "Protocol" "ExplorerPS/2"
option "ZAxisMapping" "4 5"
option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
option "SendCoreEvents" "true"
option "Device" "/dev/psaux"
option "Protocol" "auto-dev"
option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
option "Device" "/dev/input/wacom"
option "USB" "on"
option "Mode" "Absolute"
option "Type" "stylus"
option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
option "Device" "/dev/input/wacom"
option "USB" "on"
option "Mode" "Absolute"
option "Type" "eraser"
option "ForceDevice" "ISDV4"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
option "Device" "/dev/input/wacom"
option "USB" "on"
option "Mode" "Absolute"
option "Type" "cursor"
option "ForceDevice" "ISDV4"
EndSection
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX moniteur 1
Section "Screen"
Identifier "ECRAN_INT"
Device "ATI_INT"
Monitor "monitor_INT"
DefaultDepth 24
SubSection "Display"
depth 24
#virtual 1280 1024
modes "1280x1024@60" "1024x768@60" "800x600@60" "800x600@56"
EndSubSection
EndSection
Section "Device"
identifier "ATI_INT"
boardname "ATI Radeon (fglrx)"
busid "PCI:1:0:0"
driver "fglrx"
screen 0
vendorname "ATI"
EndSection
Section "Monitor"
identifier "monitor_INT"
vendorname "Generic"
modelname "Flat Panel 1024x768"
#HorizSync 31.5-55
#VertRefresh 40-70
HorizSync 31.5-64.3
VertRefresh 55-70
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
modeline "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX moniteur 2
Section "screen" #
identifier "screen1"
device "device1"
defaultdepth 24
monitor "monitor1"
SubSection "Display"
depth 24
modes "1280x1024@60" "1024x768@60" "1024x768@70" "800x600@60"
EndSubSection
EndSection
Section "device" #
identifier "device1"
boardname "ATI Radeon (fglrx)"
busid "PCI:1:0:0"
driver "fglrx"
screen 1
vendorname "ATI"
EndSection
Section "monitor" #
identifier "monitor1"
vendorname "Generic"
modelname "1280x1024 @ 60 Hz"
HorizSync 31.5-64.3
VertRefresh 55-70
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
modeline "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX server X
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "ECRAN_INT" 0 0
#screen 1 "screen1" rightof "ECRAN_INT"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX options X
Section "Extensions"
option "RENDER" "Enable"
EndSection
Section "DRI"
Mode 0666
EndSection
# Section "ServerFlags"
# option "Xinerama" "true"
# EndSection
Mais j'ai l'impression que la carte graphique ne réfléchi qu'une fois et envoie la même réponse sur les 2 sorties (intégrée et port VGA)
Serait-il possible de demander à la carte graphique d'envoyer 2 réponses adaptées à la résolution native des 2 écrans (1280x1024 et 1024x768)?
Notez que je n'ai pas besoin de 2 écrans en parllèle. S'il était également possible de lui demander de ne répondre que sur une sortie (a choisir lors du lancement de X par exemple) ça serait bysance
NoteBook Acer Aspire 1350 - Athlon XP-M 2800 - Radeon Mobility 9200 - Kubuntu
A quand une fusion Gnome/KDE?
Hors ligne
#3 Le 21/03/2007, à 15:57
- CloOode
Re : Choisir la résolution d'un moniteur externe sur PC portable
Bizarre tt de même, lorsque je quitte la session, l'écran externe envoi un message dans un gros rectangle blanc "configuration non supportée" et seul le moniteur du portable reste allumé sur l'invit de session.
A partir de ce moment même si je relance le serveur X via Alt+E, je ne retrouve pas d'écran sur mon moniteur externe.
Tout ceci n'arrive pas si je quitte la session via un Ctrl+Alt+BackSpace. Dans ce cas l'invit de session est présente sur les 2 moniteurs.
Quelqu'un voit à quel niveau se situe le problème?
Dernière modification par CloOode (Le 21/03/2007, à 15:58)
NoteBook Acer Aspire 1350 - Athlon XP-M 2800 - Radeon Mobility 9200 - Kubuntu
A quand une fusion Gnome/KDE?
Hors ligne
#4 Le 21/03/2007, à 18:15
- CloOode
Re : Choisir la résolution d'un moniteur externe sur PC portable
... C'est génial ce forum, on peut même se parler tout seul...
NoteBook Acer Aspire 1350 - Athlon XP-M 2800 - Radeon Mobility 9200 - Kubuntu
A quand une fusion Gnome/KDE?
Hors ligne
#5 Le 29/04/2007, à 20:17
- cubytus
Re : Choisir la résolution d'un moniteur externe sur PC portable
PTDR ,chui pas le seul à l'avoir vu ça fait plaisir
Pour ma part, il active bien la sortie vidéo...pour afficher un magnifique écran noir !
MacBook Pro 8,1, i7 2,8GHz, 16Go, Scorpio Black 750Go. Mac OS X 10.6.8 + Ubuntu 12.04, 13.10, Windows XP, 7 et 8.
Un jour, Ubuntu sera aussi au point que Mac OS X. Ce jour, je te quitterai, Apple.
Hors ligne