LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-01-2014, 11:07 AM   #1
zkab
Member
 
Registered: Dec 2007
Posts: 134

Rep: Reputation: 16
Desktop problems with NVIDIA


My workstation runs 'jessie' (3.13-1-amd64).
After last 'apt-get update /dist-upgrade' and reboot I did not get my xfce desktop back but a command login.
Following was shown in log files:

kern.log:

May 1 14:21:41 zkab kernel: [1057362.050984] NVRM: API mismatch: the client has the version 331.67, but
May 1 14:21:41 zkab kernel: [1057362.050984] NVRM: this kernel module has the version 331.49. Please
May 1 14:21:41 zkab kernel: [1057362.050984] NVRM: make sure that this kernel module and all NVIDIA driver
May 1 14:21:41 zkab kernel: [1057362.050984] NVRM: components have the same version.
May 1 14:21:41 zkab kernel: [1057362.050993] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22

syslog:

May 1 14:29:50 zkab gdm3[3735]: GdmDisplay: display lasted 0.101874 seconds
May 1 14:29:50 zkab gdm3[3735]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors

Xorg.0.log:

(EE) NVIDIA: Failed to load the NVIDIA kernel module.
Please check your [ 10.462] (EE) NVIDIA: system's kernel log for additional error messages.
[ 10.462] (EE) No devices detected.
[ 10.462] (EE) Fatal server error: [ 10.462] (EE) no screens found(EE)

How can this be fixed ?
 
Old 05-01-2014, 11:30 AM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
The nVidia module was probaby compiled against your last kernel, instead of the new kernel.

Code:
dkms install nvidia/331.67 -k $(uname -r)
 
Old 05-02-2014, 04:16 AM   #3
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
When executing 'dkms install nvidia/331.67 -k $(uname -r)' I get:
Error! Could not find module source directory.
Directory: /usr/src/nvidia-331.67 does not exist.

But I have /usr/src/nvidia-current-331.67 directory.
When I ran 'dkms install nvidia-current-331.67 -k $(uname -r)' it complains that 'Invalid number of arguments passed'
I have apparently missed something ...
 
Old 05-02-2014, 10:55 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,725
Blog Entries: 7

Rep: Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677Reputation: 2677
it seems like replica9000 gave good advice, but maybe they made a typo somewhere?
or maybe you made one?
try "man dkms" and read carefully, maybe you can fix it yourself.
btw, whatever the output of "uname -r" is, maybe you can insert it manually?
(it's the kernel version).
 
Old 05-02-2014, 11:11 AM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by zkab View Post
When executing 'dkms install nvidia/331.67 -k $(uname -r)' I get:
Error! Could not find module source directory.
Directory: /usr/src/nvidia-331.67 does not exist.

But I have /usr/src/nvidia-current-331.67 directory.
When I ran 'dkms install nvidia-current-331.67 -k $(uname -r)' it complains that 'Invalid number of arguments passed'
I have apparently missed something ...
What about
Code:
dkms install nvidia-current/331.67 -k $(uname -r)
 
Old 05-03-2014, 08:01 AM   #6
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
When I ran 'dkms install nvidia-current/331.67 -k $(uname -r)' it complained that 'linux-headers-3.13-1-amd64' not was found and suggested to install it.
So I did 'apt-get install linux-headers-3.13-1-amd64' and it went OK.
Reboot and 'dkms install nvidia-current/331.67 -k $(uname -r)' but the it said 'Module nvidia-current/331.67 already installed on kernel 3.13-1-amd64/x86_64' but
kern.log still complains that 'NVRM: API Mismatch: the client has version 331.67, but kernel module has version 331.49'
I read the 'man dkms' ... still lost
How can I get the versions to be equal ?

Forgot to mention that after reboot I get a page telling me 'Oh no! Something has gone wrong'

Last edited by zkab; 05-03-2014 at 08:09 AM.
 
Old 05-05-2014, 06:18 AM   #7
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
Still problem after reboot - no gui ... 'dmesg | grep segfault' gives

[ 14.558068] gnome-shell[5181]: segfault at 8c ip 00007fafb95e3679 sp 00007fffa1f09330 error 4 in libcogl.so.20.1.0[7fafb959f000+9d000]
[ 15.395446] gnome-shell[5345]: segfault at 8c ip 00007fb50acdd679 sp 00007fff1ff60c00 error 4 in libcogl.so.20.1.0[7fb50ac99000+9d000]

Need some advice ...
 
Old 05-05-2014, 07:37 AM   #8
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
OK - what I did was 'sudo apt-get autoremove gdm3' to get rid of gnome-shell
Now I get some kind of GUI login interface where I can choose my xfce session ... but all the icons are marked with red x ... that goes also when I have login-ed to my xfce session.
How do I get the icons back ?
Still struggling and hopefully will reach the sky ...
 
Old 05-05-2014, 07:50 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,215
Blog Entries: 5

Rep: Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284
Remove the lot and start again
Code:
# aptitude purge ~invidia
Code:
# aptitude install nvidia-kernel-dkms nvidia-driver
At a minimum /etc/X11/xorg.conf should contain a device section as follows:
Code:
Section "Device"
        Identifier "device0"
        Driver "nvidia"
EndSection
 
Old 05-05-2014, 09:01 AM   #10
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
I still get these red x icons ... hmmm
 
Old 05-05-2014, 09:34 AM   #11
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
Try installing an icon theme:

Code:
apt-get install tango-icon-theme
 
Old 05-05-2014, 09:35 AM   #12
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
tango-icon-theme is already the newest version.
 
Old 05-05-2014, 09:52 AM   #13
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by zkab View Post
tango-icon-theme is already the newest version.
I'm sure you've already selected it in setting right? Auto-removing gdm3 must have removed something else. At this point I can only guess what's missing.

Check for this package:
gtk2-engines-xfce
 
Old 05-05-2014, 10:23 AM   #14
zkab
Member
 
Registered: Dec 2007
Posts: 134

Original Poster
Rep: Reputation: 16
gtk2-engines-xfce is already the newest version.
gtk2-engines-xfce set to manually installed.
 
Old 05-05-2014, 10:49 AM   #15
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,621
Blog Entries: 20

Rep: Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675
Kinda sorta went through the icons thing on my install that is long in the tooth. It was a gtk problem.

http://antix.freeforums.org/gtk-upda...ing-t4891.html
 
  


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] Installed the latest nVidia drivers from nvidia.com, can't get desktop now snowkitty Linux - Newbie 1 03-03-2014 10:16 PM
[SOLVED] Desktop Cube Screws UP My Desktop With Nvidia Graphics Gallifrey Linux - Newbie 2 09-25-2010 04:46 AM
Problems with desktop after nVidia driver install blueobsession Linux - Software 5 03-21-2007 06:17 PM
NVIDIA-GLX and General NVIDIA Problems g452 Slackware 7 05-30-2004 03:10 PM
NVIDIA TNT2 problems. I already scanned all the NVIDIA stuff I could find on here. Crashlander42 Linux - Newbie 5 03-24-2004 04:49 PM

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

All times are GMT -5. The time now is 02:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration