From: Ben Hutchings Subject: Bug#649448: udev loading radeon drivers garbles screen output Date: Mon, 21 Nov 2011 03:12:54 +0000 Message-ID: <1321845174.2839.154.camel@deadeye> References: <4EC98C5E.3050006@gmx.net> <20111121010240.GA11611@elie.hsd1.il.comcast.net> Reply-To: Ben Hutchings , 649448@bugs.debian.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kqYACjzxdxFVCjgHpWgV" Return-path: Resent-To: debian-bugs-dist@lists.debian.org Resent-Message-ID: In-Reply-To: <20111121010240.GA11611@elie.hsd1.il.comcast.net> List-URL: List-Post: List-Help: List-Subscribe: List-Unsubscribe: To: Alex Deucher Cc: Martin von Gagern , 649448@bugs.debian.org, Jonathan Nieder , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --=-kqYACjzxdxFVCjgHpWgV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote: > reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3 > severity 649448 important > retitle 649448 radeon (evergreen): random-looking pattern of pixels when = firmware not installed > tags 649448 + upstream > quit >=20 > Hi Martin, >=20 > Martin von Gagern wrote: >=20 > > Version: 3.0.0-3 > [...] > > Just installed a wheezy setup using debootstrap, adding grub-pc and > > linux-image-amd64 after the chroot was created. The kernel boots, the > > initrd seems all right. When the main system boots up, udev gets launce= d > > pretty early. Soon after it is started, the screen turns into a pretty > > random-looking pattern of pixels, making the console pretty unusable. > > This also happens in "recovery" i.e. single-user mode. > [...] > > Possible workarounds seem to include: > [...] > > - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf, > > followed by running "depmod -a". > [...] > >> [ 150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin" > >> [ 150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware= ! > >> [ 150.125859] radeon 0000:00:01.0: disabling GPU acceleration >=20 > Yes, the radeon driver currently copes poorly when firmware is missing. > Compare [1], [2], [3]. > > [...] > > Not having GPU accelleration due to lack of free firmware is acceptable= . > > Not having a usable text console can be a real problem. >=20 > Agreed. The radeon driver should be bailing out when firmware is > missing for cards that need it, but that is not working for some > reason. [...] At the time I converted the radeon driver to load external firmware, it was apparently only required for 3D acceleration and both KMS and 2D acceleration of X worked without it, at least on those systems I tested (which were quite old, R100-R300 families). Therefore failure to load firmware would only result in DRM (3D acceleration support) being disabled. However, it looks like driver support for the R600 family onward now absolutely requires the 'RLC' firmware blobs: commit d8f60cfc93452d0554f6a701aa8e3236cbee4636 Author: Alex Deucher Date: Tue Dec 1 13:43:46 2009 -0500 drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3) And the 'Northern Islands' GPUs and 'Fusion' APUs appear to require the 'MC' firmware blobs: commit 0af62b0168043896a042b005ff88caa77dd94d04 Author: Alex Deucher Date: Thu Jan 6 21:19:31 2011 -0500 drm/radeon/kms: add ucode loader for NI Therefore I think that at least r600_init(), rv770_init(), evergreen_init() and cayman_init() should be treating failure to load firmware as a fatal error. Ben. --=20 Ben Hutchings Teamwork is essential - it allows you to blame someone else. --=-kqYACjzxdxFVCjgHpWgV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUATsnBtue/yOyVhhEJAQpXwg//W/os/AkVahmbHQ+i0+eOYEijcSDwhGkp E+Vk/xjaUvF3wsShIPxGfDCQXBwhnnHErmezI3DtKt2A8cDFCC6hfclngglw8Bv5 TfO5LAAi7Ql+eXjwm1g7b2ksiurQKJC0LiRowKFvhAtWBgsjKEZwcf0etWc07UOd hwuwU7wdiy4PVlmJ84mwQBlGOOSfMXJhNv579GS25oJMTeOKaaocobdBtl6JRXrQ UXWcDIlE3XrsAvvIWnrAHP9ypjhb/A+9tWK4z6TQl6uSinA8YT8qkgf5n8gD95YN bysYxVMnTbdGVTgbOQUAPtzIWObX+n7nwBEJ/rrOiC0ZvxrmRyAPMEQU+pQLM2i1 3dIqFLHorGHP7snrETPciyroPyc+dXZW0/7QaaNOmgV2m8q+z70kB3lry3tFPdvh 8awT/LuiYnsZRpWkGbnjhgKfti7BxYxfqFZkadE9D0T36H6YP4BNkIX45hX0eNWu fyhnt+4tEjBB0SkSFMirpRkEKF6UIJs3mU3w4ojMMCpwLlMtn4HLMmPYdS2axVJw GjhLIn93a7kL2pr0+7bTExoxV93DeCu1O2VijBxPfkopYyArmL/dvUhGRO5/jXEQ K5n5JUN/437hPxm7gubEReCnVDeODeejiEXDyHzOe6IfBN9VoeTJtl3QW6UMhvwU +QTAwk0Q+5o= =cRBW -----END PGP SIGNATURE----- --=-kqYACjzxdxFVCjgHpWgV--