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: Thu, 3 Jun 2010 19:07:06 +0300 Message-ID: <20100603160706.GG17817@reaktio.net> References: <20100602191205.GP17817@reaktio.net> <20100602201544.GR17817@reaktio.net> <20100602203655.GS17817@reaktio.net> <20100603115617.GY17817@reaktio.net> <20100603153045.GF17817@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 757BA9EFEA for ; Thu, 3 Jun 2010 09:07:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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 11:33:03AM -0400, Alex Deucher wrote: > On Thu, Jun 3, 2010 at 11:30 AM, Pasi K=E4rkk=E4inen wrote: > > 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 interna= l 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 display= in use and the external display powered *off*, > >> >> > =A0 =A0 =A0 =A0 =A0shows the kernel boot process on the internal = display but when GDM should show up the internal display goes blank. > >> >> > =A0 =A0 =A0 =A0 =A0Nothing on the external display either (if I p= ower it on). > >> >> > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop without the dock (and without= the external display) works OK, I can see kernel boot process and GDM/X ju= st OK. > >> >> > > >> >> > =A0 =A0 =A0 =A0- Booting the laptop without the dock, and attachi= ng it to the dock after X is running allows me to use (=3Denable) the exter= nal display once. > >> >> > =A0 =A0 =A0 =A0 =A0But Gnome Monitor application shows the extern= al display twice (as two devices).. > >> >> > > >> >> > >> >> Does it work if you boot with the laptop in the dock and then after= it > >> >> boots attach the external monitor and enable it? =A0Do things work = 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 la= ptop. > >> > 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 g= nome > >> > 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 externa= l 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 ax= is) 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 any= thing connected > >> > to the HDMI connector on the laptop. There's no HDMI connector on th= e 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 ed= id > >> 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! -- Pasi