Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVIDIA, nouvean, and opencl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 448

PostPosted: Thu Sep 19, 2024 7:36 pm    Post subject: NVIDIA, nouvean, and opencl Reply with quote

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
View user's profile Send private message
stefantalpalaru
n00b
n00b


Joined: 11 Jan 2009
Posts: 48
Location: Italy

PostPosted: Thu Sep 19, 2024 7:53 pm    Post subject: Re: NVIDIA, nouvean, and opencl Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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