From owner-freebsd-current@FreeBSD.ORG Fri Dec 13 14:39:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BFE9C24; Fri, 13 Dec 2013 14:39:06 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A72761E6E; Fri, 13 Dec 2013 14:39:05 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id u56so1915828wes.8 for ; Fri, 13 Dec 2013 06:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=e8zvQPecuvk8IiXk+cdVh/eowPZ4eBTUDDg4vKN6ORc=; b=krf3H8r0EhzHK0KimZMFI1X1RNFcnUNf2Bb02P0pGHvqO6LTZVGVeB0/G3YoKKpzvL gJ+7xfYPjDEnz+K7uFuNdp+A/ctFV9xfH75WmkkPXuJ0wxhAdGbSXoRAtIN6URkZTjtc A/Shc7ABPXYwsOqe2j6mIwYWYSqER7cdil43p8AbeuSgiAOY1qdC6gHNYJ7RhNJXguS+ nJH+uIokFXc7G3ZEhoBOHqJ/3BeeQcIUvJXApowJaRAmfR83jsW0cXidrL/0TjftgqCZ rjRRqIucNO0Nsgfqn3z6Q0K62k1wg1i6QJTYQEJF91eqnDpW6p8nqJNE+Yf3pP/vscWs dOsw== MIME-Version: 1.0 X-Received: by 10.194.237.99 with SMTP id vb3mr2707859wjc.28.1386945544037; Fri, 13 Dec 2013 06:39:04 -0800 (PST) Received: by 10.227.226.12 with HTTP; Fri, 13 Dec 2013 06:39:03 -0800 (PST) Date: Fri, 13 Dec 2013 16:39:03 +0200 Message-ID: Subject: [SOLVED]Re: vt-enabled 11.0-CURRENT + radeonkms boot load = direct rendering disabled in X From: Markiyan Kushnir To: =?ISO-8859-1?Q?Jean=2DS=E9bastien_P=E9dron?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 14:39:06 -0000 2013/12/13 Jean-S=E9bastien P=E9dron : > On 10.12.2013 12:21, Markiyan Kushnir wrote: >> Hello, > > Hi! > > First, a quick note: freebsd-current@ and current@ are the same list. > thanks, I will know now. >> 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 > yes, it turns out that the issue was logged in dmesg, and I should have noticed it. Thanks agian, Jean-S=E9bastien -- Markiyan. > -- > Jean-S=E9bastien P=E9dron >