From owner-freebsd-x11@freebsd.org Thu Apr 20 18:49:52 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE787D48FB1 for ; Thu, 20 Apr 2017 18:49:52 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id CF89815F7 for ; Thu, 20 Apr 2017 18:49:52 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CEDD5D48FB0; Thu, 20 Apr 2017 18:49:52 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE864D48FAF for ; Thu, 20 Apr 2017 18:49:52 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1E8015F3 for ; Thu, 20 Apr 2017 18:49:52 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id CD2C114D0; Thu, 20 Apr 2017 18:49:51 +0000 (UTC) Date: Thu, 20 Apr 2017 18:49:51 +0000 From: Alexey Dokuchaev To: x11@FreeBSD.org Subject: Hardware acceleration broken for AMD Norther Islands cards? Message-ID: <20170420184951.GA4950@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 18:49:53 -0000 Hi there, Today I've updated my X.org/Mesa stack to the latest in ports. Apart from now having to do `kldload radeonkms' by hand before startx(1), it seems that hw accell is broken: `games/cake' and `games/quake2lnx' in GLX mode are now capped by ~15 fps, and emit the following messages on startup: MESA-LOADER: failed to retrieve device information unknown chip id 0x990d, can't guess. <--- ??? libGL error: failed to create dri screen libGL error: failed to load driver: radeon $ glxinfo -B (trimmed) [ same messages as above ] direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: VMware, Inc. (0xffffffff) Device: llvmpipe (LLVM 4.0, 128 bits) (0xffffffff) Version: 17.0.3 Accelerated: no <--- :-( Video memory: 16384MB <--- that's my total RAM amount Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 4.0, 128 bits) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Any ideas why the correct driver is no longer loaded? Previous output (when things were working): Vendor: X.Org (0x1002) Device: AMD ARUBA (DRM 2.29.0, LLVM 3.7.1) (0x990d) <--- now unknown id Version: 11.2.2 Accelerated: yes <--- :-) Video memory: 768MB <--- looks more sane [ unchanged lines snipped ] OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD ARUBA (DRM 2.29.0, LLVM 3.7.1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (xf86-video-ati-7.9.0,1 package installed, user is in `video' group, most or all graphics-related ports were purged and reinstalled against the new X.org/Mesa bits.) ./danfe