LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-09-2023, 12:56 PM   #1
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Rep: Reputation: 3
Nvidia GTX 1060 3gb - Linux Doesn't Load


I got a new PC and transferred over my hard drive, linux booted with no problem. But when I add the graphics card to the system it just makes it past the Linux Mint logo and right before the login screen, the monitor goes to sleep. I've tried installing several sets of drivers while the card was out or from the Ctrl + Alt + F3 option while the card was in. (Sudo apt-get install nvidia-driver-###). I even downloaded the .run driver #535 and it doesn't run without the card. I can't get to it with the card in of course. As anyone had this problem or can anyone offer me help, please?

PC Specs:
Intel Sandy Bridge (Core i7) 3.40GHz
MSI Z68A-GD55 (MS-7681)
 
Old 12-09-2023, 01:11 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
Try booting into single user or recovery mode with the card in. Hopefully you will get a text login so you can install the .run driver.
 
Old 12-09-2023, 01:48 PM   #3
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by uteck View Post
Try booting into single user or recovery mode with the card in. Hopefully you will get a text login so you can install the .run driver.
I was just thinking that actually, so just find my way to the downloads directory and then run what command? I can't get to recovery mode, just the Ctrl Alt F3 thingy. I can run the driver from there?
 
Old 12-09-2023, 02:27 PM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
Yes, you should be able to run the command to install the driver.
 
Old 12-09-2023, 04:09 PM   #5
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by uteck View Post
Yes, you should be able to run the command to install the driver.
I ran the driver from the Ctrl Alt F3 terminal, it installed, but didn't work. But I am able to do Compatibility Mode on a Live Environment now. I tried running the drivers from there and it's the same error. If I put the error log up, would that help?
 
Old 12-09-2023, 04:16 PM   #6
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
So I appear to be getting somewhere. Yesterday before I installed nvidia-driver-440, nothing loaded at all, no Mint logo, just straight to "Monitor going to sleep". And now I'm on live environment. What if I reinstall Mint from here, would the drivers load that way?
 
Old 12-09-2023, 04:19 PM   #7
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Dec 9 21:18:12 2023
installer version: 535.146.02

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1687' of a running X server.
ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
 
Old 12-09-2023, 04:55 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,589

Rep: Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892
The same card is running perfectly in this box with the NVIDIA-Linux-x86_64-545.29.06.run driver.
Here you will find information on the driver,
https://www.nvidia.com/Download/driv.../216530/en-us/

Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."
 
Old 12-09-2023, 06:48 PM   #9
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by cwizardone View Post
The same card is running perfectly in this box with the NVIDIA-Linux-x86_64-545.29.06.run driver.
Here you will find information on the driver,
https://www.nvidia.com/Download/driv.../216530/en-us/

Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."
I must be doing something wrong, I did install it via OS without the card in and the Crtl Alt F3 terminal on boot with card in...Nothing. The read me is far too tek savvy for me. I'll continue to try. I am not giving up, but maybe for today. Thank you.
 
Old 12-09-2023, 07:07 PM   #10
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,589

Rep: Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892Reputation: 7892
Quote:
Originally Posted by frogfreak517 View Post
I must be doing something wrong, I did install it via OS without the card in......

Why would you try and install the driver without the card?
Did you blacklist the nouveau driver?
 
Old 12-11-2023, 11:14 AM   #11
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by cwizardone View Post

Why would you try and install the driver without the card?
Did you blacklist the nouveau driver?
I'm trying anyway, every way. I installed it with the card in too. No I didn't blacklist the nouveau driver, should I, and how do I go about that?
 
Old 12-11-2023, 04:21 PM   #12
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
From the readme file, it says you should blacklist tne nouveau driver. https://us.download.nvidia.com/XFree...alldriver.html
Quote:
...it is recommended to create a new file, for example, /etc/modprobe.d/disable-nouveau.conf, rather than editing one of the existing files, such as the popular /etc/modprobe.d/blacklist.conf. Note that some module loaders will only look for configuration directives in files whose names end with .conf, so if you are creating a new file, make sure its name ends with .conf.

Whether you choose to create a new file or edit an existing one, the following two lines will need to be added:

blacklist nouveau
options nouveau modeset=0
You will need to reboot for this take affect.
 
1 members found this post helpful.
Old 12-11-2023, 04:44 PM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,690
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
This is how I do it...

Quote:
Originally Posted by uteck View Post
From the readme file, it says you should blacklist tne nouveau driver. https://us.download.nvidia.com/XFree...alldriver.html

You will need to reboot for this take affect.
Hi, first, this is great advice.

I download the nVidia.run blob to somewhere you will have access to during boot.

Write the "/etc/modprobe.d/disable-nouveau.conf" as instructed above by "uteck" ,

then be ready to to edit the grub menu (just for one boot) when you reboot the kernel.

At the grub prompt, select safe/single mode to edit (e key) the grub boot paramaters.

Add to the last "Linux" line, ...
Code:
nouveau.modeset=0
I generally add "nokmsboot" and "vga=794" (for readable fonts)

I hope this helps.
 
1 members found this post helpful.
Old 12-11-2023, 06:29 PM   #14
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Thanks for all the help guys, but I don't know what I am doing wrong. Since I tried the blacklist nouveau I've been getting at random a different Mint loading logo and at random the grub menu comes up (with card in). So I'm doing something, but not correctly, I guess.

Last edited by frogfreak517; 12-11-2023 at 06:32 PM.
 
Old 12-11-2023, 10:47 PM   #15
frogfreak517
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 24

Original Poster
Rep: Reputation: 3
Ok, so I got in ONE TIME with using nouveau.modeset=0 and vga=794. The screen resolution at 800x600, and everything was pushed together. When I went to screw in the card and PC case and rebooted, it didn't work again. I booted the same way. I tried about 5 times...nothing. Any suggestions? I'm clearly close.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] nvidia installation - Quadro/1060/1650 rwwff Slackware 6 02-09-2022 02:42 AM
Screen messes up when initializing graphics card on boot (NVIDIA GTX 1060) KhalidSlack Slackware - Installation 2 09-07-2020 12:05 PM
Linux distro for using it as live-usb with persistence supporting nvidia 1060? udayuk Linux - Newbie 11 10-16-2018 11:10 AM
Can't boot with new Nvidia Geforce GTX 1060 Pblant0n Linux - Hardware 9 12-24-2016 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:58 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