Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 12:23:08 +0100
From:      =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: vt-enabled 11.0-CURRENT + radeonkms boot load = direct rendering disabled in X
Message-ID:  <52AAEE1C.8030604@FreeBSD.org>
In-Reply-To: <CACvtUJdiz%2BmDeajGisC6vW=vcw7unAbKBXjF5Jr3L8DTV_FRAA@mail.gmail.com>
References:  <CACvtUJdiz%2BmDeajGisC6vW=vcw7unAbKBXjF5Jr3L8DTV_FRAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NrEFIE1wvUJ8VxWWfaR8X3BaIRVkkrtLH
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 10.12.2013 12:21, Markiyan Kushnir wrote:
> Hello,

Hi!

First, a quick note: freebsd-current@ and current@ are the same list.

> There seems to be a difference in how Xorg server can use direct
> rendering depending when radeonkms.ko was loaded: at boot time vs. at
> a later time (but not necessarily at X startup time). The difference
> is that direct rendering could not be enabled for X in the former
> case. In the latter case, direct rendering was successfully enabled.

The problem is that if you load radeonkms from the loader or you build
it into your kernel, it can't load the relevant firmware(s):
error: [drm:pid0:r600_init_microcode] *ERROR* r600_cp: Failed to load
firmware "radeonkmsfw_RV710_pfp"
error: [drm:pid0:rv770_startup] *ERROR* Failed to load firmware!

This is because /boot isn't available at the time the card is
initialized: / is not mounted yet.

The solution is to load firmware(s) from the loader too (or build them
into the kernel). To know which firmware(s) are used by your card, you
can boot without radeonkms, kldload it after the computer booted, and run=
:
  kldstat | grep radeonkmsfw

--=20
Jean-S=E9bastien P=E9dron


--NrEFIE1wvUJ8VxWWfaR8X3BaIRVkkrtLH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKq7iEACgkQa+xGJsFYOlNjDwCeOH1b0xxw3+xkTGtpCzH3ArvJ
9AEAnRktY18oG6a1FF7MK2ZPp8CRrm/W
=ypvb
-----END PGP SIGNATURE-----

--NrEFIE1wvUJ8VxWWfaR8X3BaIRVkkrtLH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AAEE1C.8030604>