View previous topic :: View next topic |
Author |
Message |
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 450
|
Posted: Thu Sep 19, 2024 7:36 pm Post subject: NVIDIA, nouvean, and opencl |
|
|
Hi folks
I only have the vaguest notion what OpenCL is, but I know that Darktable can use it. When I've tried it on my Fedora system, enabling OpenCL makes a huge difference to rendering performance. So I'd quite like to use it on Gentoo as well. But my Gentoo systems are much older, and have ancient NVIDIA GPUs.
I'm currently using the nouveau driver, which I believe is open source. I tried installing the proprietary NVIDIA driver, but `emerge` said "Your hardware is known not to work". So I didn't go any further with this.
So my question is: what do I have to do, on Gentoo, to make OpenCL work with the nouveau driver? I believe it's supported, in principle; at least, Google hints that it is. But I have no idea how to set it up in Gentoo.
Please be patient, if possible. I know next to nothing about graphics, and I don't even understand what most of the jargon means. On my Fedora system I just installed the proprietary NVIDIA driver and everything else just worked, as if by magic. Which is good, but not a learning experience.
BR, Lars. |
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 48 Location: Italy
|
Posted: Thu Sep 19, 2024 7:53 pm Post subject: Re: NVIDIA, nouvean, and opencl |
|
|
lars_the_bear wrote: | I tried installing the proprietary NVIDIA driver, but `emerge` said "Your hardware is known not to work". |
You're supposed to look up the latest driver version known to support your card. If it's available in the main tree, you emerge it by specifying the corresponding slot - something like "nvidia-drivers:0/470".
If you're lucky, the kernel module will compile as is. If not, you're supposed to hunt down and apply patches for recent kernels (or downgrade the kernel). |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 450
|
Posted: Fri Sep 20, 2024 9:25 am Post subject: Re: NVIDIA, nouvean, and opencl |
|
|
stefantalpalaru wrote: |
You're supposed to look up the latest driver version known to support your card. If it's available in the main tree, you emerge it by specifying the corresponding slot - something like "nvidia-drivers:0/470".
|
Thank you, but that's more hassle than I want to go through, if there's an alternative. I've seen many references to OpenCL support in Nouveau, going back many years; but I don't see any explanation how to use it.
If nobody around here knows much about this stuff -- which is fair enough -- I wonder where else I might ask?
BR, Lars. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2687 Location: Here and Away Again
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|