<div dir="ltr"><div>I've just tested Ubuntu 18.04 with kernel 4.17-rc6 using libdrm-2.4.92 and mesa-18.1.0.</div><div>Now both sdma0 and sdma1 timeout as can be seen in the attached logs.</div><div><br></div><div>~agd5f -b drm-next-4.18 doesn't improve also.</div><div><br></div><div>I have also tried amdgpu-pro 18.20 both on Ubuntu 18.04 and 16.04, but no improvements.</div><div>I have tried amdgpu-pro 18.10 and 17.50 and also no improvements.</div><div><br></div><div>./amdgpu-pro-install -opencl=legacy,pal --headless<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 11:18 AM, Luís Mendes <span dir="ltr"><<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Additional update...</div><div><br></div><div>I was able to boot and enter X by installing an NVIDIA GTX 1050 Ti as the primary display card and using an AMD RX 550 as the secondary card on the Tyan S7025 with the same Ubuntu 18.04 and the same Linux kernel 4.17-rc6.</div><div>However once I try to run an OpenCL kernel on RX 550 I get a sdma1 timeout and the GPU hangs, which likely what is happening when I boot with RX 550 as the single GPU card on the system.</div><div><br></div><div>This means it is not an issue introduced in 4.17-rc6, it just means that I didn't notice the effect of the system with the two GPUs vs system with single AMD GPU.<br></div><div><br></div><div>The dmesg log follows attached.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Luís<br></div></font></span><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 10:13 AM, Luís Mendes <span dir="ltr"><<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Michel,</div><div><br></div><div>I also work as a researcher at a university and we are considering buying AMD cards to do OpenCL computations for numerical modelling, but currently I am unable to give a try at the AMD cards I have at home. <br></div><div>I couldn't find any working driver for them... also amdgpu-pro drivers don't work, or at least I have been unable to make them work.</div><div><br></div><div>Regards,</div><div>Luís<br></div></div><div class="m_-7330547345245497836HOEnZb"><div class="m_-7330547345245497836h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 10:01 AM, Luís Mendes <span dir="ltr"><<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Michel,</div><div><br></div><div>So summarizing with Linux kernel 4.17-rc6 on Ubuntu 18.04 using AMD RX 460/RX 550 I am not able to enter X.</div><div>The same system with AMD Radeon R7 240 not only enters X as also runs the OpenCL kernel that RX 460 / RX 550 are unable to run for all the kernels that I have tested.</div><div>Could this also be a Mesa issue, regarding OpenCL on RX 460?</div><div><br></div><div>Regards,</div><div>Luís<br></div></div><div class="m_-7330547345245497836m_-2589740912204989814HOEnZb"><div class="m_-7330547345245497836m_-2589740912204989814h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 9:55 AM, Luís Mendes <span dir="ltr"><<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Michel,</div><div><br></div><div>I will have to check previous rc releases of 4.17 to see if it wasn't already happening, before trying any possible git bisect.</div><div>As an update I can say that an AMD Radeon R7 240 works fine on the same system with the same kernel and I am able to run the OpenCL kernels, that I couldn't with RX 460/RX 550.</div><div><br></div><div>Regards,</div><div>Luís<br></div></div><div class="m_-7330547345245497836m_-2589740912204989814m_-8831467556420229668HOEnZb"><div class="m_-7330547345245497836m_-2589740912204989814m_-8831467556420229668h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 9:30 AM, Michel Dänzer <span dir="ltr"><<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2018-05-24 12:06 AM, Luís Mendes wrote:<br>
> I've tried Linux 4.17-rc6 with Ubuntu 18.04 on Tyan S7002 and I am not even<br>
> able see lightdm/gdm3 as system hangs when starting X.<br>
> Having SR-IOV enabled or disabled makes no difference.<br>
> Tested with AMD RX 460.<br>
> When X is supposed to start the system hangs and only a rectangular region<br>
> on the top left corner screen remains with console text messages from the<br>
> boot process while the remaining of the screen is just black. I am unable<br>
> to do anything with the keyboard, switching to console does not work,<br>
> ctrl-alt-del also doesn't work. I've to do a cold reset.<br>
<br>
</span>Can you isolate which change introduced this new issue with git bisect?<br>
<div class="m_-7330547345245497836m_-2589740912204989814m_-8831467556420229668m_-6894958231640817724HOEnZb"><div class="m_-7330547345245497836m_-2589740912204989814m_-8831467556420229668m_-6894958231640817724h5"><br>
<br>
-- <br>
Earthling Michel Dänzer | <a href="http://www.amd.com" rel="noreferrer" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast | Mesa and X developer<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>