Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2019 13:25:48 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Greg V <greg@unrelenting.technology>
Cc:        Tomasz CEDRO <tomek@cedro.info>, freebsd-x11@freebsd.org, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: AMDGPU RX580 OpenCL
Message-ID:  <20190102132548.ec76b2b64d64cbf16c8006e1@sohara.org>
In-Reply-To: <1546428264.1787.1@smtp.migadu.com>
References:  <CAFYkXjnVOspenga%2BM0oP-0pS=vxr4gmqs7XcrJZdSjnf1geEZA@mail.gmail.com> <20190102070113.1e9781fc9ac1c37bba8f1800@sohara.org> <1546428264.1787.1@smtp.migadu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 02 Jan 2019 14:24:24 +0300
Greg V <greg@unrelenting.technology> wrote:

> 
> 
> On Wed, Jan 2, 2019 at 10:01 AM, Steve O'Hara-Smith <steve@sohara.org> 
> wrote:
> > On Wed, 2 Jan 2019 01:35:58 +0100
> > Tomasz CEDRO <tomek@cedro.info> wrote:
> > 
> >>  Hello world in 2019 :-)
> >> 
> >>  I have recently upgraded 11.2 to 12.0. I made AMDGPU work as my
> >>  desktop Xorg driver. However I still did not make it work with
> > 
> > 	Do you not get this in Xorg.0.log ?
> > 
> > [    45.939] (EE) AIGLX error: dlopen of 
> > /usr/local/lib/dri/amdgpu_dri.so
> > failed (Cannot open "/usr/local/lib/dri/amdgpu_dri.so")
> > 
> > 	If not what did you do to prevent it ?
> 
> This should never happen. I'm curious as to how you even got this 

	Hmm there is no such file - there are a bunch of files in lib.dri
but not that one.

> message :)

	Oh interesting. All I've done is install the drm-kmod port, put
kld_list="amdgpu" in /etc/rc.conf and start Xorg up, there's nothing
driver related in xorg.conf just some screen definition and layout stuff.

> Do you have permissions to /dev/drm/* and /dev/dri/*? (video group)

	Yes I'm in the video group.

> Do you have the latest libdrm and mesa installed?

	I've up to date packages installed - do some need to be ports ?

> Try running with MESA_DEBUG=1 LIBGL_DEBUG=verbose to see more debug 
> info,
> but you're probably already getting 'MESA-LOADER: failed to retrieve 
> device information', right?

	No, everything is working fine except that it reverts to software
rendering after modeset hsd set up DRI and VDPAU viz:

[    45.928] (==) modeset(0): DPMS enabled
[    45.928] (II) modeset(0): [DRI2] Setup complete
[    45.929] (II) modeset(0): [DRI2]   DRI driver: amdgpu
[    45.929] (II) modeset(0): [DRI2]   VDPAU driver: amdgpu
[    45.929] (--) RandR disabled
...
[    45.939] (EE) AIGLX error: dlopen of /usr/local/lib/dri/amdgpu_dri.so
failed (Cannot open "/usr/local/lib/dri/amdgpu_dri.so") [    45.939] (EE)
AIGLX: reverting to software rendering

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/



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