LinuxQuestions.org
Review your favorite Linux distribution.
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 09-03-2016, 11:02 AM   #1
ahmadnouralizadeh
LQ Newbie
 
Registered: Dec 2013
Posts: 15

Rep: Reputation: Disabled
NVIDIA Driver Installation Leads to Program Failure


I have built and installed an untouched Linux 4.5.2 kernel. Then I downloaded NVIDIA device driver for my graphics card. The driver version is 367.35 and my graphics card model is GeForce GTX 960M. I have also downloaded and built MPlayer-1.2.1 and run 10 H.264 videos with frame-sizes of 1920*816. When I use the default scheduler (cfs), nothing wrong happens. But When I change the scheduler to CBS (SCHED_DEADLINE), the system stops (No kernel panic). The scheduler switch is done using sched_setattr system call at the beginning of MPlayer source code.

NOTE THAT, the same code works perfectly when I use the default Ubuntu 16.04 system with the NVIDIA driver downloaded from Ubuntu repository.

It seems that there is a problem with the driver installation. How can I confirm that the installation is OK?
 
Old 09-04-2016, 11:07 AM   #2
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
Don't know if this will work, but worth a try. Have you tried the beta driver? Its version number is 370.23. I am running kernel 4.7.2, but my card is older than yours: GT520. The standard driver does not compile for me, but the beta driver does.
 
1 members found this post helpful.
Old 09-05-2016, 10:48 AM   #3
ahmadnouralizadeh
LQ Newbie
 
Registered: Dec 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
You are right. The problem was version mismatch! I changed to Linux 4.7.2 and the latest stable version of the NVIDIA driver (367.44) works for me!

Last edited by ahmadnouralizadeh; 09-05-2016 at 10:50 AM.
 
Old 09-05-2016, 11:43 AM   #4
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
As a follow up, I also got version 367.44 to work with kernel 4.7.2. Its good to know that both the latest stable and beta versions work. FWIW 367.44 has a newer release date than 370.23.
 
Old 09-06-2016, 07:37 AM   #5
ahmadnouralizadeh
LQ Newbie
 
Registered: Dec 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Unfortunately, the problem is still there. Any change in CBS implementation leads to system halt. No problem happens when I use the default nouveau driver on hardware or in virtual environment. I think that I have to give up after wasting the last week.

Last edited by ahmadnouralizadeh; 09-06-2016 at 07:40 AM.
 
  


Reply

Tags
device driver, halt, kernel, mplayer, nvidia



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] Slack64 13.1 - X failure + nvidia driver failure Sum1 Slackware 9 03-04-2011 07:41 AM
2.6.27.5-smp Generic + Nvidia (*.run) Driver = Failure orbit Slackware 6 11-11-2008 03:39 AM
Botched nvidia driver leads to hellp needed desecrated Linux - Newbie 5 01-11-2005 11:01 AM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
SuSE 9.1 NVidia Geforce 256 Driver Failure? dona Linux - Distributions 4 07-01-2004 09:41 AM

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

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