From owner-freebsd-x11@freebsd.org Thu Apr 20 19:06:49 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 A1938D4872B for ; Thu, 20 Apr 2017 19:06:49 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C9C66EB for ; Thu, 20 Apr 2017 19:06:49 +0000 (UTC) (envelope-from isoa@kapsi.fi) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=vbisnGZP96dH0CkDzdsLujlRmEsxlN7E3RXq0x8BpCo=; b=unwiDI+5227t5JMaYx6enBifz3otnuAgW3+dnVs3wVf+6AhhpOgMn77ehJ08H2qbXyzo1DrpjhNfn2zczkVPG5tgnXXqtMyivc8LeYKhGTjDjLLzNwb7ejq6UJr0Y9rKCyxtcJe+8ESs86ZrGUk4VpRIrfzmrQeWO7IH0Qv69/6fEP4gXSIapc3Mrd2fLGwbOfjAhO4KekmLVjauVgezRYChZnsLYYCJNHGcnJ1fBmIaNNnoFKQVlOFizlY30YU7Ulq6UpzaaW5/59Lwg3M6piu/g6NAs8Ou0fdGULiekdfl5EXs+Fn+6eBSIFaxQ/96IIZRoVDZ2QvNwEVt0z78ig==; Received: from dsl-jklbng11-54fa5a-206.dhcp.inet.fi ([84.250.90.206] helo=[192.168.255.112]) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1d1HPh-0004e2-SE for freebsd-x11@freebsd.org; Thu, 20 Apr 2017 22:06:45 +0300 Subject: Re: Hardware acceleration broken for AMD Norther Islands cards? To: freebsd-x11@freebsd.org References: <20170420184951.GA4950@FreeBSD.org> From: Arto Pekkanen Message-ID: Date: Thu, 20 Apr 2017 22:06:42 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170420184951.GA4950@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u3eVs9o3pBjm58RIx2aDE08hKo5g3poxn" X-SA-Exim-Connect-IP: 84.250.90.206 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false 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 19:06:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u3eVs9o3pBjm58RIx2aDE08hKo5g3poxn Content-Type: multipart/mixed; boundary="hqvXX5U2iKEq80iBsbmATr45e6XABRDWv"; protected-headers="v1" From: Arto Pekkanen To: freebsd-x11@freebsd.org Message-ID: Subject: Re: Hardware acceleration broken for AMD Norther Islands cards? References: <20170420184951.GA4950@FreeBSD.org> In-Reply-To: <20170420184951.GA4950@FreeBSD.org> --hqvXX5U2iKEq80iBsbmATr45e6XABRDWv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I don't know why mesa fails to recognize the dri driver based on this info alone, but I do know that the reason why glxinfo reports 16G graphics memory is because, in case it cannot initialize hardware acceleration, libGL defaults to using the software renderer which uses system RAM for buffers. I am not a specialist in regards to the graphics subsystem, but to make even an uneducated guess the following information is required: - dmesg - pciconf -lbev - /var/log/Xorg.0.log - your X.org configuration file, if any There was also some specific sysctls that can be enabled to produce more DRI/KMS debug information into dmesg, but I just cannot remember which ones they were ... and they might have changed since the last time I had to do any configuration on the graphics. On 20.4.2017 21:49, Alexey Dokuchaev wrote: > Hi there, >=20 > Today I've updated my X.org/Mesa stack to the latest in ports. Apart f= rom > 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: >=20 > 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 >=20 > $ glxinfo -B (trimmed) >=20 > [ 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) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > Any ideas why the correct driver is no longer loaded? Previous output > (when things were working): >=20 > Vendor: X.Org (0x1002) > Device: AMD ARUBA (DRM 2.29.0, LLVM 3.7.1) (0x990d) <--- now unknow= n 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) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^ >=20 > (xf86-video-ati-7.9.0,1 package installed, user is in `video' group, mo= st > or all graphics-related ports were purged and reinstalled against the n= ew > X.org/Mesa bits.) >=20 > ./danfe > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >=20 --=20 Arto Pekkanen --hqvXX5U2iKEq80iBsbmATr45e6XABRDWv-- --u3eVs9o3pBjm58RIx2aDE08hKo5g3poxn 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 iF4EAREIAAYFAlj5BsUACgkQTBivhqtJa270+gD/cRjHMtH4+NXPlWYHqpw040eT bGi42uPjgn5q+Au2Qu0A/RXT52kxIpim+zCkkgjIA+KEGIh+13jgaL/vJNwqQvcU =FlRp -----END PGP SIGNATURE----- --u3eVs9o3pBjm58RIx2aDE08hKo5g3poxn--