[opensuse-support] Fail to install amdgpu driver on Leap 15.2
I'm trying to install amdgpu-pro-20.20-1089971-sle-15 driver on my Opensuse Leap 15.2 laptop, but the dkms fails to install complaining about DRM_VERSION macro: DKMS make.log for amdgpu-5.6.0.13-1089971 for kernel 5.3.18-lp152.47-default (x86_64) Wed Oct 28 21:04:48 CET 2020 make: Entering directory '/usr/src/linux-5.3.18-lp152.47-obj/x86_64/default' CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/main.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/symbols.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/kcl_mn.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/kcl_memory.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/kcl_ioctl.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/scheduler/sched_main.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/kcl_device_cgroup.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/scheduler/sched_fence.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdkcl/kcl_drm_cache.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/scheduler/sched_entity.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/ttm/ttm_memory.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdgpu/amdgpu_drv.o CC [M] /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/amd/amdgpu/amdgpu_device.o In file included from <command-line>:0:0: /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/include/kcl/kcl_version.h:4:34: error: missing expression between '(' and ')' #define DRM_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c)) ^ /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/include/kcl/kcl_version.h:5:26: note: in expansion of macro ‘DRM_VERSION’ #define DRM_VERSION_CODE DRM_VERSION(DRM_VER, DRM_PATCH, DRM_SUB) ^~~~~~~~~~~ /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/include/kcl/kcl_fence.h:60:5: note: in expansion of macro ‘DRM_VERSION_CODE’ #if DRM_VERSION_CODE < DRM_VERSION(4, 19, 0) ^~~~~~~~~~~~~~~~ /var/lib/dkms/amdgpu/5.6.0.13-1089971/build/include/kcl/kcl_version.h:4:34: error: missing expression between '(' and ')' #define DRM_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c)) <snip> I've tried changing my os-release ID to opensuse rather than opensuse-leap trying to bypass the OS check, but not to avail. Also, in the documentation recommends to report this via bug report at freedestop.org's bugzilla, but that is already shutdown, and I fail to find a proper GIT repo for AMD to report this, My system is an AMD Ryzen 5 4600H with Radeon Graphics with 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7) Could you shed light on how to get the driver installed on my system?
Am 29.10.20 um 11:01 schrieb Isgleas, Francisco:
I'm trying to install amdgpu-pro-20.20-1089971-sle-15 driver on my Opensuse Leap 15.2 laptop, but the dkms fails to install complaining about DRM_VERSION macro: ...
No real help, but AMD offers also amdgpu-pro-20.40-1147287-sle-15.2 Peter -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
No real help? You've nailed it! I was not offered that version a couple days ago, when I first looked for the driver. Yes, 20.40 got installed and it seems to be working (at least glxgears does not put my laptop on frying eggs mode) Thanks a lot Francisco On Thu, Oct 29, 2020 at 12:03 PM Peter McD <peter.posts@gmx.net> wrote:
Am 29.10.20 um 11:01 schrieb Isgleas, Francisco:
I'm trying to install amdgpu-pro-20.20-1089971-sle-15 driver on my Opensuse Leap 15.2 laptop, but the dkms fails to install complaining about DRM_VERSION macro: ...
No real help, but AMD offers also amdgpu-pro-20.40-1147287-sle-15.2
Peter -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am 29.10.20 um 12:41 schrieb Isgleas, Francisco:
No real help? You've nailed it!
I was not offered that version a couple days ago, when I first looked for the driver. Yes, 20.40 got installed and it seems to be working (at least glxgears does not put my laptop on frying eggs mode)
Great. I use just the openCL part for Darktable darktable-user@lists.darktable.org SOLVED amdgpu-pro OpenCI problem tumbleweed leap, was: [darktable-user] Graphic card opensource drivers If you are interessted, check there or I can send what I did. Peter -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
I have laptop(s) with AMD 4750U - I could not get it working properly with kernel older than 5.8.x Of course switching kernel has all sorts of different annoyances, but it could not really be used as laptop without 5.8.x kernel, back ports or not. While I do not need amd-gpu-pro driver/module - perhaps 5.8+ kernel is what you need before installing it. Best luck, Tomas On Thu, 2020-10-29 at 12:41 +0100, Isgleas, Francisco wrote:
No real help? You've nailed it!
I was not offered that version a couple days ago, when I first looked for the driver. Yes, 20.40 got installed and it seems to be working (at least glxgears does not put my laptop on frying eggs mode)
Thanks a lot Francisco
On Thu, Oct 29, 2020 at 12:03 PM Peter McD <peter.posts@gmx.net> wrote:
Am 29.10.20 um 11:01 schrieb Isgleas, Francisco:
I'm trying to install amdgpu-pro-20.20-1089971-sle-15 driver on my Opensuse Leap 15.2 laptop, but the dkms fails to install complaining about DRM_VERSION macro: ...
No real help, but AMD offers also amdgpu-pro-20.40-1147287-sle-15.2
Peter
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (3)
-
Isgleas, Francisco
-
Peter McD
-
TomasK