Re: [PATCH] [RFC] drm/drm_buddy fails to initialize on 32-bit architectures

2023-03-15 Thread Luís Mendes
I'll give it a try this weekend. Luís On Fri, Mar 10, 2023 at 1:15 PM Arunpravin Paneer Selvam wrote: > > > > On 3/9/2023 3:42 PM, Luís Mendes wrote: > > Hi, > > > > Ping? This is actually a regression. > > If there is no one available to work this, maybe I

Re: [PATCH] [RFC] drm/drm_buddy fails to initialize on 32-bit architectures

2023-03-09 Thread Luís Mendes
Hi, Ping? This is actually a regression. If there is no one available to work this, maybe I can have a look in my spare time, in accordance with your suggestion. Regards, Luís On Tue, Jan 3, 2023 at 8:44 AM Christian König wrote: > > Am 25.12.22 um 20:39 schrieb Luís Mendes: > >

[PATCH] [RFC] drm/drm_buddy fails to initialize on 32-bit architectures

2022-12-25 Thread Luís Mendes
to go. So I would like to get a second opinion on this, by those who know. /include/linux/log2.h /drivers/gpu/drm/drm_buddy.c Signed-off-by: Luís Mendes >8--8< diff -uprN linux-next/drivers/gpu/drm/drm_buddy.c linux-nextLM/drivers/g

[PATCH] [RFC] drm/drm_buddy fails to initialize on 32-bit architectures

2022-12-25 Thread Luís Mendes
/drivers/gpu/drm/drm_buddy.c Signed-off-by: Luís Mendes >8--8< diff -uprN linux-next/drivers/gpu/drm/drm_buddy.c linux-nextLM/drivers/gpu/drm/drm_buddy.c --- linux-next/drivers/gpu/drm/drm_buddy.c2022-12-25 16:29:26.0 + +++

Re: Please consider Open-source OpenCL support in amdgpu/mesa

2022-07-29 Thread Luís Mendes
that packages ROCm for you as > Clover is nowhere near ready > > On Fri, 29 Jul 2022 at 11:06, Luís Mendes wrote: > > > > Hi, > > > > I am an Aparapi project developer that has been struggling for two > > years to get an RX 5700 properly running OpenCL applic

Please consider Open-source OpenCL support in amdgpu/mesa

2022-07-29 Thread Luís Mendes
with this card and hope for a better future. Please consider Open-source OpenCL support in amdgpu/mesa. Best regards, Luís Mendes

Re: Regression: bisected: AMDGPU causes Kernel Bad page state OOPS starting with kernels 5.11.x, 5.12.x, 5.13-rc

2021-05-25 Thread Luís Mendes
the strong suspicion that is just another one of those. > > Regards, > Christian. > > Am 24.05.21 um 21:25 schrieb Luís Mendes: > > Hi, > > > > AMDGPU was working fine on my armhf systems with 5.10.x and previous > > kernels and a RX550 card. Unfortunately I ha

Regression: bisected: AMDGPU causes Kernel Bad page state OOPS starting with kernels 5.11.x, 5.12.x, 5.13-rc

2021-05-24 Thread Luís Mendes
++--- 1 file changed, 14 insertions(+), 31 deletions(-) Detailed bisect log is here: https://bin.privacytools.io/?a88ae63fb95fa1c1#EtrC4qxGWjmgy5C3dBzXFGqjxc7znTKULtz4cxoYFxW5 Best regards, Luís Mendes Aparapi developer PhD Student & Resear

Re: 答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2019-09-01 Thread Luís Mendes
, 2018 at 6:58 PM Luís Mendes wrote: > The problems remains with Linux 4.18 and Linux 4.19 kernels. I am unable > to use AMD RX 460 and AMD RX 550 on my x64 Linux platforms. > > I've installed Windows 10 in the same machine along with > win10-64bit-radeon-software-adrenalin-editio

Re: Regression with kernel 4.20 on armhf

2019-01-05 Thread Luís Mendes
Reply in between. On Fri, Jan 4, 2019 at 4:22 PM Michel Dänzer wrote: > > On 2019-01-04 4:32 p.m., Luís Mendes wrote: > > Hi Alex, Christian, > > > > I've tested amd-staging-drm-next at commit > > 9698024e8a191481321574bec1fe886bbce797cf - drm/amdgpu: Cleanup 2 >

Re: Regression with kernel 4.20 on armhf

2019-01-03 Thread Luís Mendes
-rc1 comes out. Regards, Luís On Thu, Jan 3, 2019 at 2:12 PM Alex Deucher wrote: > > Does this patch help by any chance? > > https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next=5e01c09ce3b7263d88873105f21a82eda904664b > > Alex > > On Thu, Jan 3, 201

Re: Regression with kernel 4.20 on armhf

2018-12-28 Thread Luís Mendes
ng periods. Regards, Luís Mendes On Tue, Dec 18, 2018 at 11:16 PM Luís Mendes wrote: > > Hi Alex, > > I am already using drm_arch_can_wc_memory() set to false. > I will try to bisect... > > Regards, > Luís > > On Tue, Dec 18, 2018 at 7:03 PM Alex Deucher wrote: >

Re: Powerplay clock information missing on Polaris 12 (msi RX550 LP OC) on armhf

2018-12-19 Thread Luís Mendes
Ok, great! Thanks! Luís On Wed, Dec 19, 2018 at 6:27 PM Deucher, Alexander wrote: > > Those messages are harmless and can be ignored. I think they have been > removed in newer kernels. > > > Alex > > > From: amd-gfx on behal

Powerplay clock information missing on Polaris 12 (msi RX550 LP OC) on armhf

2018-12-19 Thread Luís Mendes
Hi, Just want to report this issue for the Polaris 12, RX550, with kernel 4.19.9 [ 20.272719] amdgpu: [powerplay] Failed to retrieve minimum clocks. [ 20.272723] amdgpu: [powerplay] Error in phm_get_clock_info dmesg excerpt of relevant amdgpu initialization follows below. Regards, Luís

Re: Regression with kernel 4.20 on armhf

2018-12-18 Thread Luís Mendes
Hi Alex, I am already using drm_arch_can_wc_memory() set to false. I will try to bisect... Regards, Luís On Tue, Dec 18, 2018 at 7:03 PM Alex Deucher wrote: > > On Tue, Dec 18, 2018 at 8:58 AM Luís Mendes wrote: > > > > Hi Christian, > > > > I've been using a Sap

Regression with kernel 4.20 on armhf

2018-12-18 Thread Luís Mendes
Hi Christian, I've been using a Sapphire RX 550 and a Sapphire RX 460 on a custom armhf board that runs well with Linux 4.19.9 at least, but now starting with Linux kernel 4.20, I'm having a gpu hang, right after the console being displayed, but before entering in graphical mode, when starting X

Re: 答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-10-20 Thread Luís Mendes
: task plymouthd:449 blocked for more than 120 seconds. Is there any hope on getting this fixed? On Thu, Jul 12, 2018 at 2:56 PM Luís Mendes wrote: > Hi Jim, > > Replies in between. > > Regards, > Luís > > On Thu, Jul 12, 2018 at 3:16 AM, jimqu wrote: > >> >&g

Re: 答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-07-12 Thread Luís Mendes
Hi Jim, Replies in between. Regards, Luís On Thu, Jul 12, 2018 at 3:16 AM, jimqu wrote: > > > On 2018年07月12日 05:27, Luís Mendes wrote: > > Hi Jim, > > I followed your suggestion and was able to bisect the kernel patches. > The offending patch is: drm/amdgpu: def

Re: 答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-07-12 Thread Luís Mendes
later on. So I think we should concentrate on fixing that. > > Regards, > Christian. > > > Am 11.07.2018 um 23:27 schrieb Luís Mendes: > > Hi Jim, > > I followed your suggestion and was able to bisect the kernel patches. > The offendi

Re: 答复: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-07-11 Thread Luís Mendes
ression issue on 4.18, you can bisect the kernel patches. > > GPU hang: > > Fix IB test fail first. > > > Thanks > > JimQu > > > > On 2018年07月11日 17:34, Luís Mendes wrote: > > Hi Jim, > > Thanks for your interest in this issue. Actually this is

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-07-10 Thread Luís Mendes
block:uvd_v6_0 is hung! [ 227.443140] [drm] IP block:vce_v3_0 is hung! [ 227.443141] [drm] GPU recovery disabled. Regards, Luís On Tue, Jun 26, 2018 at 10:03 AM, Luís Mendes wrote: > > I've tested Ubuntu 18.04 with kernel 4.17.2 using libdrm-2.4.92 and > mesa-18.1.0 and AMD RX 550 4GB is stil

Re: Regression with kernel 4.18 - AMD RX 550 fails IB ring test on power-up

2018-07-10 Thread Luís Mendes
Hi, Issue remains in kernel 4.18-rc4 using SAPPHIRE RX 550 4GB. Logs follow attached. Regards, Luis On Tue, Jun 26, 2018 at 10:08 AM, Luís Mendes wrote: > Hi, > > I've tried kernel 4.18-rc2 on a system with a NVIDIA GTX 1050 Ti and an > AMD RX 550 4GB and the RX 550 card is fa

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-06-26 Thread Luís Mendes
] [drm] IP block:vce_v3_0 is hung! [ 548.705005] [drm] GPU recovery disabled. [ 548.705006] [drm] IP block:vce_v3_0 is hung! [ 548.705007] [drm] GPU recovery disabled. Are there any new regarding this issue? Regards, Luís On Fri, May 25, 2018 at 11:23 AM, Luís Mendes wrote: > I've just tes

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-25 Thread Luís Mendes
have tried amdgpu-pro 18.10 and 17.50 and also no improvements. ./amdgpu-pro-install -opencl=legacy,pal --headless On Thu, May 24, 2018 at 11:18 AM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Additional update... > > I was able to boot and enter X by installing an NVI

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-24 Thread Luís Mendes
. The dmesg log follows attached. Luís On Thu, May 24, 2018 at 10:13 AM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Michel, > > I also work as a researcher at a university and we are considering buying > AMD cards to do OpenCL computations for numerical modelling, but curre

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-24 Thread Luís Mendes
this also be a Mesa issue, regarding OpenCL on RX 460? Regards, Luís On Thu, May 24, 2018 at 9:55 AM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Michel, > > I will have to check previous rc releases of 4.17 to see if it wasn't > already happening, before trying any p

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-24 Thread Luís Mendes
with RX 460/RX 550. Regards, Luís On Thu, May 24, 2018 at 9:30 AM, Michel Dänzer <mic...@daenzer.net> wrote: > On 2018-05-24 12:06 AM, Luís Mendes wrote: > > I've tried Linux 4.17-rc6 with Ubuntu 18.04 on Tyan S7002 and I am not > even > > able see lightdm/gdm3 as syst

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-24 Thread Luís Mendes
work, or at least I have been unable to make them work. Regards, Luís On Thu, May 24, 2018 at 10:01 AM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Michel, > > 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.

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-23 Thread Luís Mendes
at 1:15 PM, Luís Mendes <luis.p.men...@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_

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-11 Thread Luís Mendes
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.men...@gmail.com> wrote: > Hi Michel, > > No, I haven't tried the exac

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-07 Thread Luís Mendes
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 <mic...@daenzer.net> wrote: > On 2018-05-05 01:15 AM, Luís Mendes wrote: >> >> - On another system with armhf 32 bits, 1GB ram,

Re: GPU hang trying to run OpenCL kernels on x86_64

2018-05-04 Thread Luís Mendes
issue? > > > > Slava A > > > From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Luís > Mendes <luis.p.men...@gmail.com> > Sent: Friday, May 4, 2018 12:27:47 PM > To: amd-gfx list; Koenig, Christian; Michel Dänzer > Subject: GPU hang tryi

GPU hang trying to run OpenCL kernels on x86_64

2018-05-04 Thread Luís Mendes
16.04.4 with AMDGPU PRO 17.50 and 18.10 show the same problems, in fact, AMDGPU-PRO 18.10 is even worse. However the same set of kernels run happily on armhf with vanilla Linux 4.16.7 and mesa 18.0 (mesa-opencl-icd and libclc for amdgcn), Ubuntu 17.10, on an AMD RX460 and an AMD RX 550. Luís Mendes

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-02-05 Thread Luís Mendes
to kmemleak which I attach along with the crash dmesg log. The kernel and patches are the same as on my previous email. I ended up not changing either the mesa version, nor the kernel version and patches. Regards, Luís On Fri, Feb 2, 2018 at 6:46 PM, Luís Mendes <luis.p.men...@gmail.com>

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-02-02 Thread Luís Mendes
ís On Fri, Feb 2, 2018 at 7:48 AM, Christian König <ckoenig.leichtzumer...@gmail.com> wrote: > Hi Luis, > > please enable kmemleak in your build and watch out for any suspicious > messages in the system log. > > Regards, > Christian. > > > Am 02.02.2018 um 00:03 sc

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-02-01 Thread Luís Mendes
with those versions. If you have additional suggestions I'll be happy to try them. Regards, Luís Mendes On Thu, Feb 1, 2018 at 2:30 AM, Alex Deucher <alexdeuc...@gmail.com> wrote: > On Wed, Jan 31, 2018 at 6:57 PM, Luís Mendes <luis.p.men...@gmail.com> wrote: >> Hi everyone, >

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-31 Thread Luís Mendes
. Regards, Luís Mendes On Wed, Jan 31, 2018 at 12:47 PM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Alexander, > > I've cherry picked the patch you pointed out into kernel from > amd-drm-next-4.17-wip at commit > 9ab2894122275a6d636bb2654a157e88a0f7b9e2 ( drm/amdgpu: set

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-30 Thread Luís Mendes
: writing more dwords to the ring than expected! [ 591.876945] [drm:amdgpu_ring_insert_nop [amdgpu]] *ERROR* amdgpu: writing more dwords to the ring than expected! [ 591.887454] [drm:amdgpu_ring_insert_nop [amdgpu]] *ERROR* amdgpu: writing more dwords to the ring than expected! Regards, Luís Mendes

Re: BUG: KASAN: use-after-free in amdgpu_job_free_cb

2018-01-12 Thread Luís Mendes
Hi Andrey, Johannes, Sorry for getting into this conversation, but I think I might have something related to this. I am getting GPU hangs playing some videos, both on ARMv7 and on x86, although with slightly different blocking paths. On ARMv7 it always blocks with amdgpu_dm_do_flip. I suspect the

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-03 Thread Luís Mendes
ut [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=25158, last emitted seq=25160 [ 223.406926] [drm] IP block:tonga_ih is hung! [ 223.407167] [drm] GPU recovery disabled. Regards, Luís On Wed, Jan 3, 2018 at 5:47 PM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Michel, Christian, &g

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-03 Thread Luís Mendes
no difference. I will try amd-staging-drm-next and report back. Regards, Luís On Wed, Jan 3, 2018 at 5:09 PM, Michel Dänzer <mic...@daenzer.net> wrote: > On 2018-01-03 12:02 PM, Luís Mendes wrote: >> >> What I believe it seems to be the case is that the GPU lock up only >>

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-03 Thread Luís Mendes
Hi Christian, David, David, replying to your question... The issue is indeed reproducible on x86, I just did it with kodi and the same VP9 video. So it is not arm specific. Regards, Luís On Wed, Jan 3, 2018 at 11:02 AM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Hi Christian, &g

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-03 Thread Luís Mendes
Hi Christian, Replies follow in between. Regards, Luís On Wed, Jan 3, 2018 at 9:37 AM, Christian König wrote: > Hi Luis, > > In general please add information like /proc/iomem and dmesg as attachment > and not mangled inside the mail. Ok, I'll take that into

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-02 Thread Luís Mendes
em to work fine... I am able to run glmark2 tests without issues. How can I send these apitraces? On Tue, Jan 2, 2018 at 10:29 PM, Luís Mendes <luis.p.men...@gmail.com> wrote: > Ok... I've done some of the suggested tests. > > I still haven't tested on x86, but I'll get to that. >

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-02 Thread Luís Mendes
lways return false. > > Apart from that the only other explanation I have is that some system memory > isn't accessible for the GPU while some other is working fine. > > Please provide the output of "sudo cat /proc/iomem" to double check that. > > Regards, > Christia

Re: Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-02 Thread Luís Mendes
Dear Mr. David, Mr. Christian, First of all, thanks for your replies! David, I will try the same software versions on x86 to see if I am able to replicate the problem on x86, but I suspect it is ARM specific... I'll report back when I have more details. Christian, I'll collect the data you've

Deadlocks with multiple applications on AMD RX 460 and RX 550 - Update 2

2018-01-01 Thread Luís Mendes
me to look into this. Regards, Luís Mendes Software and Hardware engineer [ 253.904103] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=43831, last emitted seq=43833 [ 253.915041] [drm] IP block:gmc_v8_0 is hung! [ 253.915047] [drm] IP block:gfx_v8_0 is hung! [ 253.91

Deadlocks with multiple applications on AMD RX460

2017-12-05 Thread Luís Mendes
7018e56098) there is an immediate and systematic deadlock which always happen in glmark2 at the start of the terrain test. Stack traces follow below. Regards, Luís Mendes Hardware and Software engineer The stacktrace for glmark2 after deadlock is: #0 0xb6b9b246 in ioctl () at ../sysdeps/unix/syscall-templa

Deadlocks with multiple applications on AMD RX460

2017-12-05 Thread Luís Mendes
ich always happen in glmark2 at the start of the terrain test. Stack traces follow below. Regards, Luís Mendes Hardware and Software engineer The stacktrace for glmark2 after deadlock is: #0 0xb6b9b246 in ioctl () at ../sysdeps/unix/syscall-template.S:84 #1 0xb6943dc6 in drmIoctl (fd=