AMDGPU RX580 OpenCL
greg at unrelenting.technology
Wed Jan 2 13:54:23 UTC 2019
On Wed, Jan 2, 2019 at 4:25 PM, Steve O'Hara-Smith <steve at sohara.org>
> 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>
>> > 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.
It shouldn't exist, that's fine.
It's a detection problem. Mesa is supposed to read GPU info and find
the driver is actually radeonsi_dri.so, not the nonexistent
You can try setting the environment variable
as a workaround, but this really shouldn't happen.
> 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
Have you tried not having an xorg.conf at all?
Or install xf86-video-amdgpu and configure it in xorg.conf:
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
> 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
> failed (Cannot open "/usr/local/lib/dri/amdgpu_dri.so") [ 45.939]
> AIGLX: reverting to software rendering
Well that's not fine.
Do GL applications use the GPU, at least?
MESA_DEBUG=1 LIBGL_DEBUG=verbose glxgears
More information about the freebsd-questions