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: Fri, 18 Jun 2010 21:45:22 +0300 Message-ID: <20100618184522.GY17817@reaktio.net> References: <20100602201544.GR17817@reaktio.net> <20100602203655.GS17817@reaktio.net> <20100603115617.GY17817@reaktio.net> <20100603153045.GF17817@reaktio.net> <20100603160706.GG17817@reaktio.net> <20100609155956.GZ17817@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 38BD19E778 for ; Fri, 18 Jun 2010 11:45:22 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20100609155956.GZ17817@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 Wed, Jun 09, 2010 at 06:59:56PM +0300, Pasi K=E4rkk=E4inen wrote: > 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 w= rote: > > > > 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 i= n a similar way than F13 (kernel 2.6.33) does. > > > >> >> > > > > >> >> > To summarize: > > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop in the dock, both the int= ernal laptop display and the external DVI display connected, > > > >> >> > =A0 =A0 =A0 =A0 =A0shows the beginning of the boot process on= the internal display and then both displays go blank. > > > >> >> > > > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop in the dock, internal dis= play in use and the external display powered *off*, > > > >> >> > =A0 =A0 =A0 =A0 =A0shows the kernel boot process on the inter= nal 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 wit= hout 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 att= aching it to the dock after X is running allows me to use (=3Denable) the e= xternal display once. > > > >> >> > =A0 =A0 =A0 =A0 =A0But Gnome Monitor application shows the ex= ternal display twice (as two devices).. > > > >> >> > > > > >> >> > > > >> >> Does it work if you boot with the laptop in the dock and then a= fter it > > > >> >> boots attach the external monitor and enable it? =A0Do things w= ork 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 th= e laptop. > > > >> > Now the boot process was OK using the laptop internal display.. = gdm 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= one > > > >> > of the external displays I choose I don't get picture on the ext= ernal DVI display. > > > >> > > > > >> > I also tried with xrandr: > > > >> > > > > >> > $ xrandr > > > >> > Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x= 8192 > > > >> > 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 displa= y. > > > >> > > > > >> > I wonder if that HDMI-0 is the key to the problem.. I don't have= anything connected > > > >> > to the HDMI connector on the laptop. There's no HDMI connector o= n the dock, it's only in the laptop. > > > >> > > > >> Indeed that is the problem. =A0On your system the HDMI and DVI por= ts > > > >> 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 th= e edid > > > >> when the lines where shared and select HDMI or DVI based on the ED= ID, > > > >> 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 th= is, and want me to test something, > I could do it on thursday/friday. > = I just tried the latest Fedora 13 kernel (2.6.33.5-124.fc13.x86_64) and the= latest = Fedora development (rawhide 2.6.34-43.fc14.x86_64) kernel, but the behaviou= r was the same. Connecting display to the DVI connector makes the HDMI connector also show = the same display, = breaking things.. -- Pasi