From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display Date: Wed, 9 Jun 2010 18:59:56 +0300 Message-ID: <20100609155956.GZ17817@reaktio.net> References: <20100602191205.GP17817@reaktio.net> <20100602201544.GR17817@reaktio.net> <20100602203655.GS17817@reaktio.net> <20100603115617.GY17817@reaktio.net> <20100603153045.GF17817@reaktio.net> <20100603160706.GG17817@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from ydin.reaktio.net (reaktio.net [194.89.68.22]) by gabe.freedesktop.org (Postfix) with ESMTP id E9E3D9E880 for ; Wed, 9 Jun 2010 08:59:54 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20100603160706.GG17817@reaktio.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alex Deucher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Thu, Jun 03, 2010 at 07:07:06PM +0300, Pasi K=E4rkk=E4inen wrote: > On Thu, Jun 03, 2010 at 11:33:03AM -0400, Alex Deucher wrote: > > On Thu, Jun 3, 2010 at 11:30 AM, Pasi K=E4rkk=E4inen wro= te: > > > On Thu, Jun 03, 2010 at 11:00:44AM -0400, Alex Deucher wrote: > > >> >> >> > > >> >> > > > >> >> > I just tried with Ubuntu 10.04 (kernel 2.6.32) and it fails in = a similar way than F13 (kernel 2.6.33) does. > > >> >> > > > >> >> > To summarize: > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop in the dock, both the inter= nal laptop display and the external DVI display connected, > > >> >> > =A0 =A0 =A0 =A0 =A0shows the beginning of the boot process on t= he internal display and then both displays go blank. > > >> >> > > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop in the dock, internal displ= ay in use and the external display powered *off*, > > >> >> > =A0 =A0 =A0 =A0 =A0shows the kernel boot process on the interna= l display but when GDM should show up the internal display goes blank. > > >> >> > =A0 =A0 =A0 =A0 =A0Nothing on the external display either (if I= power it on). > > >> >> > > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop without the dock (and witho= ut the external display) works OK, I can see kernel boot process and GDM/X = just OK. > > >> >> > > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop without the dock, and attac= hing it to the dock after X is running allows me to use (=3Denable) the ext= ernal display once. > > >> >> > =A0 =A0 =A0 =A0 =A0But Gnome Monitor application shows the exte= rnal display twice (as two devices).. > > >> >> > > > >> >> > > >> >> Does it work if you boot with the laptop in the dock and then aft= er it > > >> >> boots attach the external monitor and enable it? =A0Do things wor= k any > > >> >> better if you use xrandr rather than the gnome displays tool? > > >> >> > > >> > > > >> > I just shutdown the laptop, connected it to the dock, > > >> > disconnected the DVI cable from the dock, and then powered on the = laptop. > > >> > Now the boot process was OK using the laptop internal display.. gd= m and X > > >> > showed up on the internal display OK. > > >> > > > >> > When I was in X I connected the DVI cable to the dock, and went to= gnome > > >> > Monitors application. Same thing - the external display is shown as > > >> > two separate devices. Although they don't work - no matter which o= ne > > >> > of the external displays I choose I don't get picture on the exter= nal DVI display. > > >> > > > >> > I also tried with xrandr: > > >> > > > >> > $ xrandr > > >> > Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8= 192 > > >> > VGA-0 disconnected (normal left inverted right x axis y axis) > > >> > LVDS connected 1680x1050+0+0 (normal left inverted right x axis y = axis) 0mm x 0mm > > >> > =A0 1680x1050 =A0 =A0 =A060.0*+ > > >> > =A0 1400x1050 =A0 =A0 =A060.0 =A0 =A0 60.0 > > >> > =A0 1280x1024 =A0 =A0 =A059.9 =A0 =A0 60.0 > > >> > =A0 1440x900 =A0 =A0 =A0 59.9 > > >> > =A0 1280x960 =A0 =A0 =A0 60.0 =A0 =A0 59.9 > > >> > =A0 1280x854 =A0 =A0 =A0 59.9 > > >> > =A0 1280x800 =A0 =A0 =A0 59.8 > > >> > =A0 1280x720 =A0 =A0 =A0 59.9 > > >> > =A0 1152x768 =A0 =A0 =A0 59.8 > > >> > =A0 1024x768 =A0 =A0 =A0 60.0 =A0 =A0 59.9 > > >> > =A0 800x600 =A0 =A0 =A0 =A060.3 =A0 =A0 59.9 =A0 =A0 56.2 > > >> > =A0 848x480 =A0 =A0 =A0 =A059.7 > > >> > =A0 720x480 =A0 =A0 =A0 =A059.7 > > >> > =A0 640x480 =A0 =A0 =A0 =A059.9 =A0 =A0 59.4 > > >> > DVI-0 connected (normal left inverted right x axis y axis) > > >> > =A0 1920x1080 =A0 =A0 =A059.9 + > > >> > =A0 1600x1200 =A0 =A0 =A060.0 > > >> > =A0 1680x1050 =A0 =A0 =A060.0 > > >> > =A0 1280x1024 =A0 =A0 =A060.0 > > >> > =A0 1440x900 =A0 =A0 =A0 59.9 > > >> > =A0 1280x960 =A0 =A0 =A0 60.0 > > >> > =A0 1280x800 =A0 =A0 =A0 59.8 > > >> > =A0 1024x768 =A0 =A0 =A0 60.0 > > >> > =A0 800x600 =A0 =A0 =A0 =A060.3 =A0 =A0 56.2 > > >> > =A0 640x480 =A0 =A0 =A0 =A060.0 > > >> > HDMI-0 connected (normal left inverted right x axis y axis) > > >> > =A0 1920x1080 =A0 =A0 =A059.9 + > > >> > =A0 1600x1200 =A0 =A0 =A060.0 > > >> > =A0 1680x1050 =A0 =A0 =A060.0 > > >> > =A0 1280x1024 =A0 =A0 =A060.0 > > >> > =A0 1440x900 =A0 =A0 =A0 59.9 > > >> > =A0 1280x960 =A0 =A0 =A0 60.0 > > >> > =A0 1280x800 =A0 =A0 =A0 59.8 > > >> > =A0 1024x768 =A0 =A0 =A0 60.0 > > >> > =A0 800x600 =A0 =A0 =A0 =A060.3 =A0 =A0 56.2 > > >> > =A0 640x480 =A0 =A0 =A0 =A060.0 > > >> > > > >> > $ xrandr --output DVI-0 --right-of LVDS > > >> > > > >> > Didn't make a difference.. no picture on the external DVI display. > > >> > > > >> > I wonder if that HDMI-0 is the key to the problem.. I don't have a= nything connected > > >> > to the HDMI connector on the laptop. There's no HDMI connector on = the dock, it's only in the laptop. > > >> > > >> Indeed that is the problem. =A0On your system the HDMI and DVI ports > > >> share the same encoder and DDC line so they will both come up as > > >> connected since the line is shared. =A0The driver used to check the = edid > > >> when the lines where shared and select HDMI or DVI based on the EDID, > > >> but perhaps that got broken at some point. > > >> > > > > > > Makes sense. Does some kernel option/parameter affect that? > > = > > No. I'll check the code and see if I can figure out what's going on. > > = > = > Ok, thanks! > = Hello, I'll be near the dock tomorrow.. So if you have a chance of looking at this= , and want me to test something, I could do it on thursday/friday. -- Pasi