GPU hang trying to run OpenCL kernels on x86_64

Luís Mendes luis.p.mendes at gmail.com
Wed May 23 22:06:28 UTC 2018


I've tried Linux 4.17-rc6 with Ubuntu 18.04 on Tyan S7002 and I am not even
able see lightdm/gdm3 as system hangs when starting X.
Having SR-IOV enabled or disabled makes no difference.
Tested with AMD RX 460.
When X is supposed to start the system hangs and only a rectangular region
on the top left corner screen remains with console text messages from the
boot process while the remaining of the screen is just black. I am unable
to do anything with the keyboard, switching to console does not work,
ctrl-alt-del also doesn't work. I've to do a cold reset.


Regards,
Luís


On Fri, May 11, 2018 at 1:15 PM, Luís Mendes <luis.p.mendes at gmail.com>
wrote:

> Hi Michel,
>
> Just made a fresh Ubuntu 18.04 LTS install for armhf with ubuntu
> default mesa, libdrm and libclc, with the same 4.16.7 kernel and it
> runs fine with the OpenCL applications that cause the hang on x86_64.
> So it is surely a kernel or mesa issue exclusive to x86_64, libraries
> versions are the same on both systems now, as well as the kernel.
> I have even tried amdgpu-pro-18.20 with ubuntu 18.04 on x86_64 and it
> hangs just the same.
>
> Regards,
> Luís
>
> On Mon, May 7, 2018 at 1:31 PM, Luís Mendes <luis.p.mendes at gmail.com>
> wrote:
> > Hi Michel,
> >
> > No, I haven't tried the exact same versions of Mesa, nor libclc, nor
> > LLVM on x86, however on armhf I have been able to use several
> > combinations of Linux kernel versions and mesa versions which are able
> > to run the OpenCL kernels in question. I will try to see if the same
> > happens with the exact same Ubuntu 18.04 LTS base installation on
> > armhf, but won't be able to test it today.
> >
> > Luís
> >
> > On Mon, May 7, 2018 at 10:38 AM, Michel Dänzer <michel at daenzer.net>
> wrote:
> >> On 2018-05-05 01:15 AM, Luís Mendes wrote:
> >>>
> >>> - On another system with armhf 32 bits, 1GB ram, 512GB SSD, AMD RX 480
> >>> or AMD RX 550
> >>>   with Ubuntu 17.10, vanilla kernel 4.16.7, mesa-18.0.2,
> >>> libdrm-2.4.92-git, libclc-git at commit
> >>> 3d994f2ff2cbb4531223fe2657144cb19f0c5328 (15/Nov/2017)
> >>>
> >>>   The kernels work properly on the same AMD cards.
> >>
> >> Have you tried those exact same versions of the kernel, Mesa, libclc and
> >> LLVM on x86?
> >>
> >>
> >> --
> >> Earthling Michel Dänzer               |
> http://www.amd.com
> >> Libre software enthusiast             |             Mesa and X developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180523/25f7340c/attachment-0001.html>


More information about the amd-gfx mailing list