AMDGPU RX580 OpenCL

Steve O'Hara-Smith steve at sohara.org
Wed Jan 2 13:26:03 UTC 2019


On Wed, 02 Jan 2019 14:24:24 +0300
Greg V <greg at unrelenting.technology> wrote:

> 
> 
> On Wed, Jan 2, 2019 at 10:01 AM, Steve O'Hara-Smith <steve at sohara.org> 
> wrote:
> > On Wed, 2 Jan 2019 01:35:58 +0100
> > Tomasz CEDRO <tomek at 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/


More information about the freebsd-x11 mailing list