945GM and multiscreen

Dmitry Babrovich Dmitry.Babrovich at densitrongaming.com
Fri Sep 21 04:48:56 PDT 2007


Dear Frederic
 
To be honest I had the same problem with TMDS and VGA outputs. The only other thing I can sudgest is to use PreferredMode option. Although you might notice that according to log files it is not used but in reality it does make a difference. Mind you on Ubuntu 7.04 after adding this option my Xserver crashed and the only way out was to reboot the board. When I was using Kubuntu 7.10 it worked fine. I also noticed that KDE doesn't always work properly with dual screen and intel driver. Although KDM starts fine with both screens enabled and configured individually, as soon as KDE start the second monitor is turned off and KDE continues working in a single screen mode. I can switch everything back into dual mode using xrandr utility but it's a pain in a bum. I wonder if there is a config script for KDE which you could ammend in order to force dual screen in KDE.
 
BR,
 

Dmitry 

[Dmitry Babrovich]  -----Original Message-----
From: Frederic MAZUR [mailto:f.mazur at pga-avionics.com] 
Sent: Friday, September 21, 2007 11:18 AM
To: Dmitry Babrovich
Cc: xorg at freedesktop.org
Subject: RE : RE : 945GM and multiscreen



	Hi Dmitry and all others,
	 
	 
	I disabled DDC in "Device" Section but I still can't fix any mode neither for my VGA (LCD) monitor nor for my TV output. If I disable DDC , my VGA monitor has "1024x768" mode, if I enable DDC, it has "1280x1024" mode, Even if I configure any modeline in (VGA) "Monitor" section, or if I configure anu "Modes" in SubSection "Display". 
	I tested xrandr, and I can change my mode with this binary (only on VGA output, I can't fix any mode for TV output, It does'nt work) but I prefer fix my mode into xorg.conf. 
	 
	Any other idea ? I suppose it's possible because TV output and VGA output worked already together.
	 
	Thanks again :)
	 
	F. MAZUR.

		-----Message d'origine-----
		De : Dmitry Babrovich [mailto:Dmitry.Babrovich at densitrongaming.com] 
		Envoyé : jeudi 20 septembre 2007 14:48
		À : Frederic MAZUR
		Cc : xorg at freedesktop.org
		Objet : RE: RE : 945GM and multiscreen
		
		
		Dear Frederic
		 
		Try disabling DDC in drivers section when playing with modelines. Also check check you config file by justy using Xorg - config <your config file>. It would save you some time. I had simmilar problem to yours when I was playing with Kubuntu gutsy one VGA and one TMDS output. For some reason when I started KDE TMDS output would be on but VGA would be turned off. I managed to turn it back on using xranrd. For example xranrd --output VGA --size 1024x768. Also there is crtc option which I think specifies the pipe the output should be connectd to. So if the first command does not bring you TV up try adding crtc=1 or crtc=0.
		 
		 

		Dmitry 
		[Dmitry Babrovich]  -----Original Message-----
		From: Frederic MAZUR [mailto:f.mazur at pga-avionics.com] 
		Sent: Thursday, September 20, 2007 1:26 PM
		To: Dmitry Babrovich
		Cc: xorg at freedesktop.org
		Subject: RE : 945GM and multiscreen
		
		

			I tried this, and it works better. I had not seen this last line in intellinuxgraphics documentation. Now, when I configure monitor-LVDS with option "ignore" to "true" , LVDS output is well disabled, but I have now these lines in Xorg.log :
			 
			(II) intel(0): Output VGA connected
			(II) intel(0): Output TV connected
			
			(II) intel(0): Output VGA using initial mode 1280x1024
			
			(II) intel(0): Output TV enabled but has no modes
			 
			and further
			 
			(II) intel(0): Output configuration:
			(II) intel(0): Pipe A is on
			(II) intel(0): Display plane A is now enabled and connected to pipe A
			(II) intel(0): Pipe B is off
			(II) intel(0): Display plane B is now disabled and connected to pipe B
			(II) intel(0): Output VGA is connected to pipe A
			(II) intel(0): Output TV is connected to pipe none
			 
			I probably suppose that if Output TV has no modes, the driver automatically puts Output TV to pipe none (= no pipe), and if I want the driver puts Output TV on pipe B, I have to configure a mode for my TV output.
			 
			But there's a problem :  Whatever any mode I configure for any Output, It doesn't change anything. Output VGA still stays in 1280x1024,  even if I configure with the following lines :
			 
			Section "Screen"
			    Identifier "Screen0"
			    Device "Card0"
			    DefaultDepth 24
			    SubSection "Display"
			        depth 24
			        modes "800x600" (or "1024x768", "640x480")
			    EndSubSection
			EndSection
			 
			The only way I found is to force lower Refresh Values on VGAMonitor configuration.
			 
			And concerning TV Output, I didn't find how to select a mode for it. Whatever the configuration which I test, I still remain on "(II) intel(0): Output TV enabled but has no modes".
			 
			Thank you for your fast answer anyway :)
			 

				-----Message d'origine-----
				De : Dmitry Babrovich [mailto:Dmitry.Babrovich at densitrongaming.com] 
				Envoyé : jeudi 20 septembre 2007 11:58
				À : Frederic MAZUR
				Cc : xorg at freedesktop.org
				Objet : RE: 945GM and multiscreen
				
				
				Dear Frederic
				 
				If you are using intel driver then you need to follow this manual http://www.intellinuxgraphics.org/dualhead.html. In order to disable LVDS so it does not get a pipe assigned to it, you would need to specify Option "monitor-LVDS" "LVDSMon" in device section and create monitor section  with LVDSMon identifier. Within the section you need to specify option "Ïgnore" set to "true". You might also need to set option "Enable" to "false" if the first option does not work.
				
				 
				 

				Dmitry 
				[Dmitry Babrovich] 

				 -----Original Message-----
				From: xorg-bounces at lists.freedesktop.org [mailto:xorg-bounces at lists.freedesktop.org] On Behalf Of Frederic MAZUR
				Sent: Thursday, September 20, 2007 9:31 AM
				To: xorg at lists.freedesktop.org
				Subject: [spam] 945GM and multiscreen
				
				

					Hi,
					 
					I have some problems configuring my Xorg Server with 945HM graphic chipset. I compiled Xorg 7.3 version and I didn't succeed in making  simultaneously CRT Output and TV Output. Only CRT, or Only TV works independently. I tried some options ,described in the documentation on the web site www.intellinuxgraphics.org <http://www.intellinuxgraphics.org>  , like "MonitorLayout" :
					 
					(Option "MonitorLayout" "anystr"Allow different monitor configurations. e.g. "CRT,LFP" will configure a CRT on Pipe A and an LFP on Pipe B. Regardless of the primary heads' pipe it is always configured as "<PIPEA>,<PIPEB>". Additionally you can add different configurations such as "CRT+DFP,LFP" which would put a digital flat panel and a CRT on pipe A, and a local flat panel on pipe B.For single pipe configurations you can just specify the monitors typeson Pipe A, such as "CRT+DFP" which will enable the CRT and DFPon Pipe A.Valid monitors are CRT, LFP, DFP, TV, CRT2, LFP2, DFP2, TV2 and NONE.NOTE: Some configurations of monitor types may fail, this depends onthe Video BIOS and system configuration.Default: Not configured, and will use the current head's pipe and monitor. )
					 
					But when I use this option in my "Device" Section, I have these lines in XOrg.log : 
					 
					(II) intel(0): Output configuration:
					(II) intel(0): Pipe A is on
					(II) intel(0): Display plane A is now enabled and connected to pipe A
					(II) intel(0): Pipe B is on
					(II) intel(0): Display plane B is now enabled and connected to pipe B
					(II) intel(0): Output VGA is connected to pipe A
					(II) intel(0): Output LVDS is connected to pipe B
					(II) intel(0): Output TV is connected to pipe none
					
					(WW) intel(0): Option "MonitorLayout" is not used. 
					 
					 
					And whatever the combination which I puts, that does not change anything : Option "MonitorLayout" "CRT,TV" or "CRT+TV" (or  anything else) doesn't change anything. And I have always CRT on Pipe A , and LVDS on Pipe B. Sometimes, when I use others parameters for Monitor Configuration (TV parameters for example), Pipe A goes automatically on TV, and if I restore my CRT Monitor parameters for monitor configuration, Pipe A goes again on CRT. Pipe B never change. I supposed there is into driver source code a function that determine automatically which pipe on which output, but I want to fix manually (like monitorlayout would do it) Pipe A on CRT and Pipe B on TV (Don't need LVDS).
					 
					In order to test the multi screen fonctionnality , I try to remove LVDS initialisation in intel driver source code. I commented these lines (i830_driver.c:746) :
					 
					if (IS_MOBILE(pI830) && !IS_I830(pI830))
					    i830_lvds_init(pScrn);
					 
					And now, it works better. Intel driver find only 2 outputs (CRT and TV) , so It automatically puts CRT on Pipe A and TV on Pipe B and I have my 2 images well on each monitors. But I don't like this solution, and I will prefer to have the good configuration lines to do that.
					 
					Maybe anyone knows the solution ?
					 
					 
					Thanks :)
					 
					F. MAZUR.
					 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070921/6fd205de/attachment.html>


More information about the xorg mailing list