Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #241431
| From | piorunz <piorunz@gmx.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: AMD OpenCL support |
| Date | 2021-10-18 00:10 +0200 |
| Message-ID | <D9mvT-2Fk-3@gated-at.bofh.it> (permalink) |
| References | <D8ZpE-4Lc-3@gated-at.bofh.it> <D99oZ-2E1-1@gated-at.bofh.it> <D9d9f-4Xr-5@gated-at.bofh.it> <D9lq9-1L0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 17/10/2021 21:50, Linux-Fan wrote: > There, the suggested fix is to switch to amdgpu-pro (which seems to > remedy the issue but not entirely...) which lead me to try the `.deb` > files from AMD. I downloaded > `amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz` and it seems to have > installed just fine. Can't install that on my Debian Bullseye. I have clean system with nothing modified or added from outside of Debian. Result: sudo ./amdgpu-install --opencl=legacy,rocr (...) Loading new amdgpu-5.11.19.98-1290604 DKMS files... Building for 5.10.0-9-amd64 Building for architecture amd64 Building initial module for 5.10.0-9-amd64 Error! Bad return status for module build on kernel: 5.10.0-9-amd64 (amd64) Consult /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/make.log for more information. dpkg: error processing package amdgpu-dkms (--configure): installed amdgpu-dkms package post-installation script subprocess returned error exit status 10 make.log shows: (...) /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Makefile:26: "Local GCC version 100202 does not match kernel compiler GCC version 100201" /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Makefile:27: "This may cause unexpected and hard-to-isolate compiler-related issues" MODPOST /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers ERROR: modpost: "migrate_vma_finalize" [/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "migrate_vma_pages" [/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "migrate_vma_setup" [/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "devm_request_free_mem_region" [/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko] undefined! make[2]: *** [/usr/src/linux-headers-5.10.0-9-common/scripts/Makefile.modpost:124: /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers] Error 1 make[2]: *** Deleting file '/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers' make[1]: *** [/usr/src/linux-headers-5.10.0-9-common/Makefile:1750: modules] Error 2 make: *** [/usr/src/linux-headers-5.10.0-9-common/Makefile:185: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-5.10.0-9-amd64' I tried various attempts: sudo ./amdgpu-install --opencl=rocr --headless sudo ./amdgpu-install sudo ./amdgpu-install --opencl=rocr Same result each time, something with compiling amdgpu-dkms. > > As a result, I should be running the proprietary driver now and thus > have OpenCL running -- I only ever tested it with a demo application, > though... I'd love that, but it fails on my system. What system do you have? How did you do it? -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-16 23:30 +0200
Re: AMD OpenCL support didier gaumet <didier.gaumet@gmail.com> - 2021-10-17 10:10 +0200
Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-17 14:10 +0200
Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-17 23:00 +0200
Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:10 +0200
Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 00:40 +0200
Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:50 +0200
Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 15:10 +0200
Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-19 02:20 +0200
csiph-web