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 23/12/2006, à 18:20

misterniark

double ecran chipset intel (i915)

voici deux an que j'essayais veinement d'utiliser la sortie vga de mon laptop pour la faire sortir sur un ecran plat 17''.

il faut savoir que je dois utiliser 915resolution pour obtenir du 1280x800 sur mon portable...
donc toute mes tentatives on echoué, jusqua aujourd'huit, donc je partage.

voici le fameux xorg.conf qui va bien
je précise que j'arrive a sortir 1280x1024 sur le plat big_smile

# xorg.conf for Acer Travelmate 3000 (3004WTMi) and Ubuntu 6.06 LTS Dapper
# http://www.iki.fi/karvinen/acer_travelmate_3004wtmi_with_linux.html
# - External projector works (vga 1024x768)
# - Widescreen 1280x800 works with 915resolution
# - Suspend-to-ram s3 works with settings to /etc/default/acpi-support
# 2006-11-07 Added 1024x768 for external vga projector. Published. 
# 2006-08-03 External monitor has sharp image. 
# 2006-06-13 Synaptics touchpad and scroll button work. Disabled dead keys.
# 2006-06-12 Cleanup
# 2006-06-10 Published full xorg.conf
# 2006-06-09 Suspend-to-ram s3 works (VBERestore)
# (c) GPL 2006 Tero Karvinen www.iki.fi/karvinen
# GNU General Public License, version 2 or later

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"	"us"
        Option          "XkbVariant"    "nodeadkeys"
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"
	# from 'sudo dpkg-reconfigure xserver-xorg'
        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/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "Intel-LCD"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "VBERestore" "true"
        Option          "MonitorLayout" "CRT,LFP"
	Screen          0
EndSection

Section "Device"
        Identifier      "Intel-external"
        Driver          "i810"
        #Driver         "vesa"
        BusID           "PCI:0:2:0"
        #VideoRam        16384
        Option          "Display"       "CRT"
        Option          "MonitorLayout" "CRT,LFP" # put crt on pipe A
        Screen          1
EndSection


Section "Monitor"
        Identifier      "LCD"
        Option          "DPMS"
        HorizSync       30.0-71.0
        VertRefresh     50-160
EndSection


Section "Monitor"
        Identifier      "Philips 107S"
        VendorName      "Philips"
        ModelName       "107S"
        Option          "DPMS"
        HorizSync       30.0-70.0
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Local LCD"
        Device          "Intel-LCD"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                # use "1400x1050" or "1280x800" for a widescreen
                Modes           "1280x800" "1280x1024" "1024x768" "800x600"
                # use standard resolutions for non-widescreens
                #Modes           "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "External Monitor"
        Device          "Intel-external"
        Monitor         "Philips 107S"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Dual Head (Xinerama) Layout"
        Screen 0        "Local LCD"     0 0
## comment out the following line to stop using two monitors,
# and comment out the Xinerama option below
        Screen 1        "External Monitor" RightOf "Local LCD"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "ServerFlags"
# comment out this line to stop using xinerama (dual head)
        Option "Xinerama" "true"
EndSection

# note that enabling xinerama disables Direct Rendering...
Section "DRI"
        Mode    0666
EndSection

et voila !

sources:
http://www.wlug.org.nz/i915-xorg.conf
http://forum.ubuntu-fr.org/viewtopic.php?id=68562


Ubuntu since 2006

Hors ligne

#2 Le 03/01/2007, à 14:16

Ago

Re : double ecran chipset intel (i915)

Merci beaucoup pour ça, j'étais justement en train de galérer big_smile

Mais j'ai toujours deux problèmes:
- La résolution ne correspond pas sur la tv (le deuxième écran). D'ailleurs, c'est la même chose sur un moniteur
- Je ne peux pas passer une fenêtre d'un écran à l'autre (alors que j'ai supprimé la clef dans gconf, comme indiqué dans le lien que tu donnes).

Des idées? Merci d'avance smile


Blog libre <= pour bien se lancer sous Ubuntu Linux !
Linux =/= Windows Souvenez-vous en!

Exalead Fête l'été, viendez gagner des Ipods Nano!

Hors ligne

#3 Le 03/01/2007, à 16:46

dadabe

Re : double ecran chipset intel (i915)

Salut,
J'ai modifié mon xorg.conf pour activer la sortie svideo sans utiliser l'option xinerema. J'ai rajouté un deuxième server layout pour le double écran.
Je peux lancer un film sur la tv avec mplayer tout en continuant à utiliser mon écran LFP. (carte intel 945GM)
Une question cependant : En mode double écran, l'économiseur d'écran ou glxgears  interrompent brutalement la session...Avez-vous été confronté à ce bug ?

Hors ligne

#4 Le 04/01/2007, à 11:09

dadabe

Re : double ecran chipset intel (i915)

Hi,
La solution trouvée pour mon problème est de désactiver l'accélération graphique dans xorg

Hors ligne

#5 Le 05/01/2007, à 00:51

misterniark

Re : double ecran chipset intel (i915)

tu fais ca comment ?


Ubuntu since 2006

Hors ligne

#6 Le 05/01/2007, à 04:21

dadabe

Re : double ecran chipset intel (i915)

Salut,
Dans xorg, il suffit de commenter  load "dri" dans la section Module et aussi la section "DRI". à la fin.

Hors ligne

#7 Le 05/01/2007, à 11:12

Bkssou

Re : double ecran chipset intel (i915)

Bonjour

Dadabe, pourrais-tu si cela ne te dérange pas poster ton Xorg.conf pour montrer ta config avec la sortie svideo, cela m'interesse, et aussi me dire comment tu fais pour lancer mplayer sur cette sortie.

Merci.

Hors ligne

#8 Le 06/01/2007, à 07:45

dadabe

Re : double ecran chipset intel (i915)

Salut Bkssou,
Voici la partie de mon xorg.conf concernant le dual screen:

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        #Load   "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection
....
Section "Device"
        Identifier      "Intel Corporation Mobile Integrated Graphics Controller"
        Driver          "i810"
Option      "VBERestore" "true"
Option "XAANoOffscreenPixmaps" "true"
        VideoRam    131072
        Option      "BackingStore" "true"
        Option      "BusType" "PCIE"
        Option      "NoAccel" "false"
        Option      "DRI" "true"
Option          "UseFBDev"              "true"
        Option "DDCMode" "True"
Option      "AGPMode" "1"
Option "MonitorLayout"  "TV,LFP"
Screen  0
        BusID           "PCI:0:2:0"
EndSection

Section "Device"
        Identifier      "tvout"
        Driver          "i810"
Option "DDCMode" "True"
        Option          "UseFBDev"              "true"
        Option          "XAANoOffscreenPixmaps" "true"

Option "MonitorLayout"  "TV,LFP"
Option  "TVStandard"    "PAL-B"
Option  "TVOutFormat"   "SVIDEO"
Option  "ConnectedMonitor"      "TV"
Screen  1
        BusID           "PCI:0:2:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
EndSection

Section "Monitor"
Identifier      "TV"
HorizSync 30-50
VertRefresh 50-60
EndSection

Section "Screen"
        Identifier      "LCD"
        Device          "Intel Corporation Mobile Integrated Graphics Controller"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection

Section "Screen"
Identifier      "TV"
Device  "tvout"
Monitor "TV"
DefaultDepth    24
SubSection      "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "LCD"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus" "SendCoreEvents"
        InputDevice     "cursor" "SendCoreEvents"
        InputDevice     "eraser" "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "ServerLayout"
        Identifier      "LCDetTV"
        Screen          "LCD"
Screen "TV" RightOf "LCD"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus" "SendCoreEvents"
        InputDevice     "cursor" "SendCoreEvents"
        InputDevice     "eraser" "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection

#Section "DRI"
#       Mode    0666
#EndSection

Section "ServerFlags"
Option  "DefaultServerLayout" "LCDetTV"
#Option "DefaultServerLayout"   "Default Layout"
EndSection

Section "Extensions"
Option "Composite" "disable"
EndSection

Et la commande pour lancer mplayer sur la TV est
DISPLAY=:0.1 mplayer -fs  <ton fichier>

Hors ligne

#9 Le 06/01/2007, à 07:57

dadabe

Re : double ecran chipset intel (i915)

J'ai oublié de préciser que si tu n'a pas l'utilité du dual screen dans une session
tu édites xorg.conf ,
décommentes load "dri" et la section "DRI",
choisis l'option Option "DefaultServerLayout"   "Default Layout" dans la section "ServerFlags" en commentant la précédente
enregistres
relance ton serveur X.
Tu tournes alors avec l'accélération graphique sur un seul écran
Voilà. C'est fonctionnel sur mon laptop.

Hors ligne

#10 Le 06/01/2007, à 12:43

Bkssou

Re : double ecran chipset intel (i915)

Merci beaucoup je vais tester tout ça cet après midi.

Hors ligne

#11 Le 24/01/2007, à 22:03

Julius

Re : double ecran chipset intel (i915)

J'ai un Acer Aspire 1642WLMi avec une intel i915. J'ai mis le Xorg.conf donné dans le premier post et le serveur graphique ne se lance pas quand je redémarre le pc. Sur la tv j'ai souvent un "hors standard" qui s'affiche.

J'essaye de poster mon fichier /var/log/Xorg.0.log mais vu qu'il est trop volumineux, je le met en lien :

http://sportchu.free.fr/linux/Xorg.0.log

Ca me broute... Sinon, je ne souhaite pas nécessairement avoir les deux écrans qui fonctionnent en même temps mais au minimum la sortie tv !!! N'y a t'il pas un programme qui permet de gérer ca plus facilement ?

Hors ligne

#12 Le 26/01/2007, à 16:56

dadabe

Re : double ecran chipset intel (i915)

Salut,
Curieux que ton serveur graphique ne se lance pas, car rien dans ton fichier Xorg.0.log n'indique une erreur (EE) impliquant un crash .( D'ailleurs tu peux te contenter de poster uniquement les erreurs et warnings de ton fichier log avec les commandes cat /var/log/Xorg.0.log | grep EE  puis avec grep WW )
Vraiment je ne vois pas la cause de ton problème. Sur mon laptop, mon xorg a fonctionné du premier coup...

Hors ligne