LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2024, 03:24 PM   #1
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
CUDA and Nvidia...


Hiya folks,

I have always installed the Nvidia blob when installing Nvidia drivers...it's just easier, IMHO.

Now, I would like to install cuda, and the slackbuild mentions that I must have the nvidia driver/kernel driver installed. Does this mean that I have to have those installed via the slackbuilds way, or that the cuda build will find my already installed nvidia blob?

Every time I've tried to install the nvidia drivers the slackbuilds way, it's never worked right and I always ended up having to reinstall the Slackware install.

So if anyone happens to know if the blob will work, I'd sure appreciate hearing it. Reason being, I got the Krita appimage of 5.2.2 on my system and have the AI extensions installed, but if I try to use anything 'AI', it throws out a CUDA error, presumably because I don't have CUDA installed.
 
Old 03-22-2024, 01:49 PM   #2
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
In my experience the SlackBuild scripts for nVidia driver and kernel module has worked fine and has also been possible to uninstall. That is IMHO the major advantage of using the SlackBuild scripts instead of using the .run file provided by nVidia directly which might break OpenGL libraries when the driver is uninstalled.

That said, there is no clear definition of the "slackbuilds way". Basically, slackbuilds.org will provide you with SlackBuild scripts. Those scripts will most likely work for you if you manually have resolved all dependencies even though not by installing packages created by SlackBuilds from slackbuilds.org.

Slackbuilds.org will also provide .info files for each SlackBuild script. Those files will list dependencies and tools like slpkg will by default use the information in those files to resolve the dependencies with other SlackBuild scripts. You might be able to tell your favorite tool to not care about dependencies.

regards Henrik

Last edited by henca; 03-22-2024 at 01:50 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUDA error cudaStreamSynchronize(stream) and CUDA error in ComputeBondedCUDA chiendarret Linux - Software 0 11-19-2022 12:47 PM
LXer: DebugPoint Weekly Roundup #22.06: NVIDIA Open Sources CV-CUDA, Rust-Based FreeBSD Kernel and More LXer Syndicated Linux News 0 09-24-2022 03:51 PM
Need help installing Nvidia driver and CUDA for Oracle Linux Server 7.7 (Red Hat Enterprise Linux Server release 7.7 Maipo) bc_uk Linux - Virtualization and Cloud 0 02-05-2020 03:45 PM
[SOLVED] It appears that CUDA is broken in the latest NVIDIA beta and short lived drivers for Slackware users RadicalDreamer Slackware 9 09-16-2018 01:15 AM
nvcc CUDA Fortran from PGI and Nvidia GPU Alexvader General 2 05-12-2011 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration