Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
SpaceferretOffline
Post subject: (solved)nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 03:20



Joined: 2010-09-13
Posts: 97

Status: Offline
My nvidia driver only works with towo's kernel, when I try to run newly installed kernel startx gives me 'no screen found,failed to start nvidia driver' message.

spaceferret@ethernity:~$ dmesg | grep -i nvidia
[ 0.000000] Nvidia board detected. Ignoring ACPI timer override.
[ 10.847830] nvidia: module license 'NVIDIA' taints kernel.
[ 12.486111] nvidia 0000:00:05.0: PCI INT A -> Link[APC7] -> GSI 16 (level, low) -> IRQ 16
[ 12.497580] nvidia 0000:00:05.0: setting latency timer to 64
[ 12.510134] NVRM: loading NVIDIA UNIX x86 Kernel Module 270.41.06 Mon Apr 18 14:54:25 PDT 2011
[ 12.823201] hda_intel: Disable MSI for Nvidia chipset
[ 13.633446] input: HDA NVidia Headphone as /devices/pci0000:00/0000:00:10.1/sound/card0/input5

spaceferret@ethernity:~$ dpkg -l | grep nvidia
ii libgl1-nvidia-alternatives 270.41.06-1 simplifies replacing MESA libGL with GPU vendor libraries
ii libgl1-nvidia-glx 270.41.06-1 NVIDIA binary OpenGL libraries
ii libglx-nvidia-alternatives 270.41.06-1 simplifies replacing Xorg module libglx.so with GPU vendor library
ii nvidia-common 20110426+1 NVIDIA binary graphics driver support files
ii nvidia-glx 270.41.06-1 NVIDIA binary Xorg driver
ii nvidia-kernel-2.6.38-4.slh.6-aptosid-686 270.30-0~frickel.1+2.6.38-28 NVIDIA binary kernel module for Linux 2.6.38-4.slh.6-aptosid-686
ii nvidia-kernel-2.6.38-4.towo.1-frickel-686 270.41.06-1+2.6.38-11 NVIDIA binary kernel module for Linux 2.6.38-4.towo.1-frickel-686
ii nvidia-kernel-common 20110426+1 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 270.41.06-1 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-source 270.41.06-1 NVIDIA binary kernel module source
rc nvidia-libvdpau1-driver 190.42-3 NVIDIA vdpau driver
ii nvidia-settings 195.36.24-1 Tool for configuring the NVIDIA graphics driver
ii nvidia-vdpau-driver 270.41.06-1 NVIDIA vdpau driver
ii nvidia-xconfig 260.19.44-1 X configuration tool for non-free NVIDIA drivers


Last edited by Spaceferret on 14.05.2011, 23:54; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 05:47



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
apt-get purge dkms
m-a a-i nvidia-kernel-source
cat /etc/X11/xorg.conf.d/20-nvidia.conf
 
 View user's profile Send private message  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 13:02



Joined: 2010-09-13
Posts: 97

Status: Offline
Thank you towo, I did as you suggested, got rid of dkms but still it doesn't seem to work,I can boot your kernel but any new kernel drops me into shell ,and after that 'no screen found' By the it doesn't look like I have a file named xorg.conf.d
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 13:14



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
read our manual about installing nvidia-drivers!
And btw, paste /var/log/Xorg.0.log.
and /etc/X11/xorg.conf.d is not a file, it's a directory.
and you have to prevent nouveau from loading, so do

echo blacklist nouveau > /etc/modprobe.d/nouveau.conf

as root and reboot.
 
 View user's profile Send private message  
Reply with quote Back to top
broweOffline
Post subject: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 14:32



Joined: 2010-09-12
Posts: 152
Location: Canada
Status: Offline
In addition to what towo said, a little history might be useful: A few months ago xorg was updated to use /etc/X11/xorg.conf.d/*.conf for the *.conf files. Prior to this one file was used, /etc/X11/xorg.conf. If you still have /etc/X11/xorg.conf it is recommended that you either simply delete it or move it into /etc/X11/xorg.conf.d (this also might be a good time to clean up the directory and get rid of any backup files there). This change in naming is the same as what happened with apt since we now use /etc/apt/sources.list.d/*.list instead of /etc/apt/sources.list. Expect all programs that have a configuration file to eventually be replaced with such a naming system.
 
 View user's profile Send private message  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 23:47



Joined: 2010-09-13
Posts: 97

Status: Offline
Thank you guys for your input,I will certainly use your advice ,however it's not all that simple.I have been aptosid user since sidux and always update my system as soon as it safe to do so. I can't post /var/log/Xorg.0.log because of :
root@ethernity:/home/spaceferret# /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied
And as you can see it I'm doing it as root.Why permission denied- no idea.

Regarding /etc/X11/xorg.conf.d - there's no such directory
This is the content of my X11

file:///etc/X11/X
file:///etc/X11/Xreset
file:///etc/X11/Xreset.d
file:///etc/X11/Xresources
file:///etc/X11/Xsession
file:///etc/X11/Xsession.d
file:///etc/X11/Xsession.options
file:///etc/X11/XvMCConfig
file:///etc/X11/Xwrapper.config
file:///etc/X11/app-defaults
file:///etc/X11/cursors
file:///etc/X11/default-display-manager
file:///etc/X11/fonts
file:///etc/X11/rgb.txt
file:///etc/X11/xinit
file:///etc/X11/xkb
file:///etc/X11/xorg.conf
file:///etc/X11/xorg.conf.backup
file:///etc/X11/xorg.conf~
 
 View user's profile Send private message  
Reply with quote Back to top
diblOffline
Post subject: Re: RE: nvidia driver is missing after installing new kernel  PostPosted: 12.05.2011, 23:54



Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
      Spaceferret wrote:


Regarding /etc/X11/xorg.conf.d - there's no such directory


But in the manual, here: http://manual.aptosid.com/en/gpu-en.htm

it tells you to

      Code:
mkdir /etc/X11/xorg.conf.d
touch /etc/X11/xorg.conf.d/20-nvidia.conf


So, you have no /etc/X11/xorg.conf.d directory because you did not make it. Wink
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 00:43



Joined: 2010-09-13
Posts: 97

Status: Offline
Guilty as charged !
 
 View user's profile Send private message  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 02:34



Joined: 2010-09-13
Posts: 97

Status: Offline
So far no luck. I followed all instructions but the problem persists. Everything works fine with Flickerplatz kernel but not with aptosid one. Well, I guess I'll have to stick with Flickerplatz for now. Trying to compile nvidia-kernel-source with newer kernel gives me 'nvidia-kernel-source is already newest versions'
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 05:52



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
You should learn some basics and read our manual carefully.
Please do aptosid-paste /var/log/Xorg.0.log from a boot with the recent aptosid-kernel.
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 08:00
Moderator


Joined: 2010-09-11
Posts: 468

      Quote:

root@ethernity:/home/spaceferret# /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied
And as you can see it I'm doing it as root.Why permission denied- no idea.

Because you called the file as the executable. It is just a log file in text format.
It is not executable, and (rightly) the permission to execute was not set.
 
 View user's profile Send private message  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 12:46



Joined: 2010-09-13
Posts: 97

Status: Offline
@towo http://paste.pocoo.org/show/388078/
@muchan : I'm totally impressed by the scope of your expertise, who would guess a file with extension .log is a log file ? Don't assume everyone is a retard
spaceferret@ethernity:~$ /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied
root@ethernity:/home/spaceferret# /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 13:20
Moderator


Joined: 2010-09-11
Posts: 468

      Quote:

@muchan : I'm totally impressed by the scope of your expertise, who would guess a file with extension .log is a log file ? Don't assume everyone is a retard
spaceferret@ethernity:~$ /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied
root@ethernity:/home/spaceferret# /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied

I do not understand what you want to tell.
if you are user (with red $) or root (with red #) does not change the fact
the file is not executable.
      Code:

ls -l /var/log/Xorg.0.log                                                        ~
-rw-r--r-- 1 root root 32189 May 13 09:35 /var/log/Xorg.0.log

-rw-r--r-- means readble for everybody, writable for owner(root) only, executable to nobody
if it is not a program (binary or script), even root can not execute it. Thus permission denied.
problem is not who you're (root or not), but this log file is not a program but a data.
(you need a program name like cat, less, vim, etc., before the filename)


Last edited by muchan on 13.05.2011, 13:39; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 13.05.2011, 13:20



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
It seems, you have big problems with reading!
I want to see the X-log from a start with the recent aptosid-kernel!
It's useless to provide the log from the boot with my kernel.
 
 View user's profile Send private message  
Reply with quote Back to top
SpaceferretOffline
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke  PostPosted: 14.05.2011, 03:35



Joined: 2010-09-13
Posts: 97

Status: Offline
http://paste.pocoo.org/show/388453/
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio