LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2019, 03:27 PM   #1
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Rep: Reputation: Disabled
Trouble installing driver


Hello, I'm trying to update my driver's following the guide here https://www.if-not-true-then-false.c...-nvidia-guide/

I'm at step 2.8.5
And got:
Failed to run `/usr/sbin/dkms build -m Nvidia -v 390.116 -k 5.1.11-300.fc30.x86_64` Error! echo your kernel headers for kernel 5.1.11-300.fc30.x86_64 cannot be found at /lib/modules/5.1.11-300.fc30.x86_64/build or /lib/modules/5.1.11-300.fc30.x86_64/source

I've cd'd to /5.1.11-300.fc30.x86_64
Build and source are listed in red but I can't cd into them, no such file or directory.
Any help is greatly appreciated!
 
Old 06-26-2019, 03:30 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
What distro of Linux are you running? Most have these drivers in the package management system (with some exceptions) and that is generally the preferred way of installing Nvidia drivers, not the way you are attempting.
 
Old 06-26-2019, 03:34 PM   #3
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Fedora 30 that sounds much easier, I just googled how to install graphic driver and this guide came up, I was thinking there should be an easier way than this
 
Old 06-26-2019, 03:42 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
When googling how to do something in Linux, always preface your searches with the distro and version you are running, otherwise you will not get accurate results.
 
Old 06-26-2019, 03:49 PM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
What is the specific problem you are hoping to solve by doing this?

Fedora supports many Nvidia cards "out of the box" with the open source Nouveau driver.

A good first step is to identify your specific card with:

Code:
lspci |grep -E "VGA|3D"
The error message suggests you're missing the kernel headers, which you can install with:

Code:
sudo dnf install kernel-headers
(Your tutorial covers this in step 2.5 "Install needed dependencies"---did you skip this step?)

Last edited by snowday; 06-26-2019 at 03:50 PM.
 
Old 06-26-2019, 04:02 PM   #6
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
So the problem is that images flash across the screen with a horizontal crack if that makes any sense. When I move a window around it's the same effect like the refresh rate is noticeable in that spot. I figured it was a graphical problem.
 
Old 06-26-2019, 04:11 PM   #7
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
I did 2.5 I even double checked, and it said already installed. Let me try what you suggest, fingers crossed
 
Old 06-26-2019, 04:12 PM   #8
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Still the same error I'm afraid
 
Old 06-26-2019, 05:32 PM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Looks like Fedora 30 is up to kernel 5.1.12 now. Try a full software update and reboot, then try again?

Personally, I have had good luck in the past with the rpmfusion method (but I am hesitant to recommend your 'switching gears' at this point, since you already got so far with the other method): https://rpmfusion.org/Howto/NVIDIA

It would be helpful if you told us which card model you have.
 
1 members found this post helpful.
Old 06-26-2019, 05:33 PM   #10
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Let me give it a shot, it's a GeForce GT 630m
 
Old 06-26-2019, 06:03 PM   #11
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The next thing you want to check is whether your GT 630m is an example of "optimus" technology.

Code:
lspci -vnn | grep '\''[030[02]\]'
If you see two cards, one Nvidia and one Intel, then you probably have Optimus. When I run this command on my Dell laptop, I get this output, indicating I have Optimus:

Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics P530 [8086:191d] (rev 06) (prog-if 00 [VGA controller])
01:00.0 3D controller [0302]: NVIDIA Corporation GM107GLM [Quadro M1000M] [10de:13b1] (rev ff) (prog-if ff)
The following tutorial has worked for me on my (slightly different than yours) Optimus laptop. Your mileage may vary.

https://docs.fedoraproject.org/en-US...ocs/bumblebee/

(If it turns out you do not have Optimus, then please disregard.)
 
1 members found this post helpful.
Old 06-26-2019, 06:07 PM   #12
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
I do have Optimus, I just ran the update and am trying again. It worked!thanks you guys for all your help!
 
Old 06-26-2019, 06:09 PM   #13
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Any clue as to why the screen was jagged at parts like that?
 
Old 06-26-2019, 06:22 PM   #14
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I think you might be describing a phenomenon called "tearing"? It happens when the frame rate of the graphics card is out of sync with the display.

If you watch this video, and the vertical lines appear jagged (the tops don't line up with the bottoms) then you have "tearing":

https://www.youtube.com/watch?v=MfL_JkcEFbE
 
Old 06-26-2019, 06:24 PM   #15
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
I'll be sure to test that as soon as I can get on, it won't boot now, it's stuck on starting network name resolution
 
  


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
Trouble installing Xastir: Trouble with the dependency library gpsmanshp tristan.sebens Linux - Software 0 10-13-2017 04:48 AM
having trouble installing lexmark driver yzrider210 Linux - Software 8 10-25-2006 06:36 PM
Trouble in installing ati driver Kami.JZ Linux - Newbie 1 11-25-2004 12:53 PM
nvidia driver trouble installing with 2.6.9 Lord Zoltar Slackware 5 10-24-2004 06:52 PM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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