Re: AMDGPU RX580 OpenCL
Greg V <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 2, 2019 at 4:25 PM, Steve O'Hara-Smith <[email protected]> wrote: > On Wed, 02 Jan 2019 14:24:24 +0300 > Greg V <[email protected]> wrote: > >> >> >> On Wed, Jan 2, 2019 at 10:01 AM, Steve O'Hara-Smith >> <[email protected]> >> wrote: >> > On Wed, 2 Jan 2019 01:35:58 +0100 >> > Tomasz CEDRO <[email protected]> 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 out that the driver is actually radeonsi_dri.so, not the nonexistent amdgpu_dri.so. You can try setting the environment variable MESA_LOADER_DRIVER_OVERRIDE=radeonsi 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 > stuff. Have you tried not having an xorg.conf at all? Or install xf86-video-amdgpu and configure it in xorg.conf: Section "Device" Identifier "Card0" Driver "amdgpu" Option "AccelMethod" "glamor" Option "DRI" "3" Option "TearFree" "true" EndSection > 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 Well that's not fine. Do GL applications use the GPU, at least? Try running: MESA_DEBUG=1 LIBGL_DEBUG=verbose glxgears _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"