LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2020, 10:57 AM   #1
rup1034
Member
 
Registered: May 2011
Posts: 77

Rep: Reputation: 10
Angry nvidia cuda 11.1.1


I can not seem to get cuda to install 11.1.1 when I run cuda-installer it says Failed to load required ncurses libraries. I have upgraded ncures to 6.2 and it still has this issue. Anyone know whats up with that?
 
Old 12-05-2020, 11:59 AM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Rumor has it the latest stable Nvidia driver with kernel 5.9 is not so stable. Many features are broken including cuda. I'm using version 450.80.02-1 and I lost the ability to roll the multiple desktop cube in KDE plasma with the scroll wheel.
Quote:
jo@Willy:~$ uname -a
Linux Willy 5.9.0-4-amd64 #1 SMP Debian 5.9.11-1 (2020-11-27) x86_64 GNU/Linux
EDIT: The more I think of it, this "may" be with all versions of Nvidia, it's a problem with the kernel.

Last edited by Brains; 12-05-2020 at 12:09 PM.
 
Old 12-05-2020, 02:55 PM   #3
rup1034
Member
 
Registered: May 2011
Posts: 77

Original Poster
Rep: Reputation: 10
Im running old stuff, I have slackware 14.2 with kernel 4.19~, nvidia driver 435.x. But when I run the cuda_11.1.whatever installer it says it cant load ncurses library which makes no sense since I have version 6.
I just wanted to play around with taking my hand at using XMR mining software on gpu. Now I did install cuda 10 with a slackbuild, but then when I go to compile the xmr mining software it says missing cuda_art or something. So I figured id get a full cuda installer.run file and isntall it but the ncurses thing is stopping me.
 
Old 12-05-2020, 03:14 PM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Here's a good article. Down at the bottom it shows how to circumvent your ncurses issue:

Quote:
--ui=none

The installer uses an ncurses-based user interface if it is able to locate the correct ncurses library. Otherwise, it will fall back to a simple commandline user interface. This option disables the use of the ncurses library.
 
Old 12-05-2020, 03:37 PM   #5
rup1034
Member
 
Registered: May 2011
Posts: 77

Original Poster
Rep: Reputation: 10
Code:
bash-4.3# ./cuda_11.1.1_455.32.00_linux.run --ui=none
Unknown option: --ui=none
I am not installing a nvidia driver itself, all nvidia installers have worked fine for me. Slackware uses ncurses for its package tool and other installers so it should be functioning perfectly on this distro I would think.

Edit:
Unless this cuda thing is a all in one with a nvidia driver and cuda stuff.
 
Old 12-05-2020, 09:21 PM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Well...
Documentation has nothing regarding ncurses. But I did notice one article where the person had to install ncurses-dev or libncurses5-dev, etc. something for development.
 
Old 12-07-2020, 09:57 AM   #7
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by rup1034 View Post
Code:
bash-4.3# ./cuda_11.1.1_455.32.00_linux.run --ui=none
Unknown option: --ui=none
I am not installing a nvidia driver itself, all nvidia installers have worked fine for me. Slackware uses ncurses for its package tool and other installers so it should be functioning perfectly on this distro I would think.

Edit:
Unless this cuda thing is a all in one with a nvidia driver and cuda stuff.
That article is about installing the nvidia driver, not cuda.

I think what Brains was saying is that the nvidia driver needs to be installed with that option before cuda is installed if you want to disable ncurses in cuda. I can't speak to what affect it will have on other packages.

Since installing the nvidia driver does involve compiling it could very well be that you need the dev packages for ncurses so that nvidia has the proper libraries for compiler support as well as cuda

Last edited by computersavvy; 12-07-2020 at 10:04 AM.
 
  


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
[SOLVED] Opensuse 12.3 Nvidia CUDA 5.5 install issues sniff SUSE / openSUSE 6 09-17-2013 03:42 PM
LXer: Nvidia launches Nsight CUDA dev tools into Eclipse LXer Syndicated Linux News 0 05-14-2012 09:40 PM
nvcc CUDA Fortran from PGI and Nvidia GPU Alexvader General 2 05-12-2011 11:44 AM
Ubuntu Nvidia / CUDA driver installation gourox Linux - Hardware 1 08-14-2009 12:36 AM
Anyone tried nvidia CUDA toolkit sniff Programming 0 02-28-2007 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:20 PM.

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