Re: vt-enabled 11.0-CURRENT + radeonkms boot load = direct rendering disabled in X

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Fri, 13 Dec 2013 12:23:08 +0100
On 10.12.2013 12:21, Markiyan Kushnir wrote:
> Hello,

Hi!

First, a quick note: freebsd-current_at_ and current_at_ 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

-- 
Jean-Sébastien Pédron


Received on Fri Dec 13 2013 - 10:23:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC