M-Bab / linux-kernel-amdgpu-binaries

Kernel binaries (amd64) of amd-staging with DAL and latest security patches
214 stars 29 forks source link

Crash by testing a Blender file. #86

Closed MarioMey closed 3 years ago

MarioMey commented 4 years ago

Sorry, I know that the intention of this github is to provide the kernel and firmwares, you don't code the kernel nor the firmware... also, I didn't debug it (tell me how to do it if it is necessary), but I want to leave this report here.

Is there something to do, to test, to debug?

Is possible to do what this kernel does, but manually? I mean, by installing the kernel and the firmware separately and make they work exactly as this github kernel does?

MarioMey commented 4 years ago

amdgpu: The CS has been cancelled because the context is lost.

As google says, this seems a firmware bug.

M-Bab commented 4 years ago

Hello! It was time to update the kernel again - so I did. There is also an update on the firmware binaries (20.20). You can try if this helps before we look into further debugging.

MarioMey commented 4 years ago

I will try your kernel... but I would want to know where are the firmware binaries, could I?

The Blender crash, as I told you above, with your kernel, made the system crash. I had to boot. Then, I switched to my previous kernel 5.5 and installed firmware with (from this link):

apt-get install firmware-linux-nonfree libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers xserver-xorg-video-all

So, Blender crashed only the software, I could go on using the system. But yesterday I couldn't go back... and today I could. 🤷

I will keep on testing your kernel, official kernels and firmwares.

M-Bab commented 4 years ago

The firmware files are stored in /lib/firmware/amdgpu. My special debian package collects and combines the firmware binaries from https://people.freedesktop.org/~agd5f/radeon_ucode/ with the official linux firmware binaries from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu

MarioMey commented 4 years ago

Installed new kernel from this github... but system still hangs with the same file in the same moment of loading and compiling shaders. If it is the only problem of this new brand recently bought computer... is no problem. I'm not creating shaders or making 3d animation.

I will still wait for a fix... some day.

Thanks for the response!

M-Bab commented 3 years ago

You can try again with the new kernel. If it does not work we go into debugging. In rare worst case I already reported bugs and regressions upstream to the AMD developers.

MarioMey commented 3 years ago

Sorry for not trying the new kernel. For the moment, I stay in my kernel and drivers. They work for my needs.

Thanks for your time.