unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55111: CONFIG_HSA_AMD unset in recent kernels
@ 2022-04-25 15:59 John Kehayias via Bug reports for GNU Guix
  2022-04-26 17:07 ` John Kehayias via Bug reports for GNU Guix
  2022-06-29 19:54 ` John Kehayias via Bug reports for GNU Guix
  0 siblings, 2 replies; 4+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-04-25 15:59 UTC (permalink / raw)
  To: 55111

Hi Guix,

In trying to update AMD's OpenCL stuff (ROCm) in Guix to the latest version, I found that CONFIG_HSA_AMD is not set in our kernel config which I think might be needed (for HSA, most visibly having a /dev/kfd if I'm understanding). I see it was set to 'm' in previous versions, like 4.19, but at some point has been unset.

Does anyone know why this was changed or have any reason not to set it in our kernel config?

I've tried building the kernel with this configuration change and it went fine, but haven't been able to properly test it just yet.

John




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55111: CONFIG_HSA_AMD unset in recent kernels
  2022-04-25 15:59 bug#55111: CONFIG_HSA_AMD unset in recent kernels John Kehayias via Bug reports for GNU Guix
@ 2022-04-26 17:07 ` John Kehayias via Bug reports for GNU Guix
  2022-06-16 16:02   ` John Kehayias via Bug reports for GNU Guix
  2022-06-29 19:54 ` John Kehayias via Bug reports for GNU Guix
  1 sibling, 1 reply; 4+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-04-26 17:07 UTC (permalink / raw)
  To: 55111@debbugs.gnu.org

I can confirm setting CONFIG_HSA_AMD=y (setting it to 'm' didn't seem to work for me) made /dev/kfd available and the OpenCL ROCm work, including making OpenCL available to Darktable. Note that I tested this on a non linux-libre kernel (what I use) which may or may not be required for OpenCL on some hardware. This is on x86-64.

Are there any objections to enabling this option in our kernel config?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55111: CONFIG_HSA_AMD unset in recent kernels
  2022-04-26 17:07 ` John Kehayias via Bug reports for GNU Guix
@ 2022-06-16 16:02   ` John Kehayias via Bug reports for GNU Guix
  0 siblings, 0 replies; 4+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-06-16 16:02 UTC (permalink / raw)
  To: 55111@debbugs.gnu.org

Hello,

------- Original Message -------
On Tuesday, April 26th, 2022 at 1:07 PM, John Kehayias <john.kehayias@protonmail.com> wrote:
>
> I can confirm setting CONFIG_HSA_AMD=y (setting it to 'm' didn't seem to work for me) made /dev/kfd available and the OpenCL ROCm work, including making OpenCL available to Darktable. Note that I tested this on a non linux-libre kernel (what I use) which may or may not be required for OpenCL on some hardware. This is on x86-64.
>
> Are there any objections to enabling this option in our kernel config?

Now that ROCm has been updated in #55948, I tested again if I needed this kernel config change. Indeed, without CONFIG_HSA_AMD I do not get OpenCL with ROCm (darktable-cltest fails, as does rocminfo). I again set this configuration option and it works.

Any obstacles to (re)enabling this configuration option?

Thanks!
John




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55111: CONFIG_HSA_AMD unset in recent kernels
  2022-04-25 15:59 bug#55111: CONFIG_HSA_AMD unset in recent kernels John Kehayias via Bug reports for GNU Guix
  2022-04-26 17:07 ` John Kehayias via Bug reports for GNU Guix
@ 2022-06-29 19:54 ` John Kehayias via Bug reports for GNU Guix
  1 sibling, 0 replies; 4+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-06-29 19:54 UTC (permalink / raw)
  To: 55111-done@debbugs.gnu.org

Addressed in #56200, pushed by Leo as 44f2c7c2ca5d0a275c61d5bfd9dde1205590504b




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-29 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 15:59 bug#55111: CONFIG_HSA_AMD unset in recent kernels John Kehayias via Bug reports for GNU Guix
2022-04-26 17:07 ` John Kehayias via Bug reports for GNU Guix
2022-06-16 16:02   ` John Kehayias via Bug reports for GNU Guix
2022-06-29 19:54 ` John Kehayias via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).