Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 18:49:51 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        x11@FreeBSD.org
Subject:   Hardware acceleration broken for AMD Norther Islands cards?
Message-ID:  <20170420184951.GA4950@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



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