Author |
Message |
Spaceferret
|
|
Post subject: (solved)nvidia driver is missing after installing new kernel
Posted: 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
|
|
|
|
 |
towo
|
|
Post subject: RE: nvidia driver is missing after installing new kernel
Posted: 12.05.2011, 05:47
|
|

Joined: 2010-09-13
Posts: 522
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 |
_________________
Code:
System: Host: Defiant Kernel: 4.15.0-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
Distro: siduction 13.2.0 December - xfce - (201312310323)
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: nvidia driver is missing after installing new kernel
Posted: 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 |
|
|
|
|
 |
towo
|
|
Post subject: RE: nvidia driver is missing after installing new kernel
Posted: 12.05.2011, 13:14
|
|

Joined: 2010-09-13
Posts: 522
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. |
_________________
Code:
System: Host: Defiant Kernel: 4.15.0-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
Distro: siduction 13.2.0 December - xfce - (201312310323)
|
|
|
|
 |
browe
|
|
Post subject: RE: nvidia driver is missing after installing new kernel
Posted: 12.05.2011, 14:32
|
|

Joined: 2010-09-12
Posts: 157
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. |
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: nvidia driver is missing after installing new kernel
Posted: 12.05.2011, 23:47
|
|

Joined: 2010-09-13
Posts: 97
Status: Offline
|
|
|
|
 |
dibl
|
|
Post subject: Re: RE: nvidia driver is missing after installing new kernel
Posted: 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.  |
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 13.05.2011, 00:43
|
|

Joined: 2010-09-13
Posts: 97
Status: Offline
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 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' |
|
|
|
|
 |
towo
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 13.05.2011, 05:52
|
|

Joined: 2010-09-13
Posts: 522
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. |
_________________
Code:
System: Host: Defiant Kernel: 4.15.0-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
Distro: siduction 13.2.0 December - xfce - (201312310323)
|
|
|
|
 |
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 13.05.2011, 08:00
|
|
Moderator

Joined: 2010-09-11
Posts: 469
|
|
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. |
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 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 |
|
|
|
|
 |
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 13.05.2011, 13:20
|
|
Moderator

Joined: 2010-09-11
Posts: 469
|
|
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
|
|
|
|
 |
towo
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 13.05.2011, 13:20
|
|

Joined: 2010-09-13
Posts: 522
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. |
_________________
Code:
System: Host: Defiant Kernel: 4.15.0-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
Distro: siduction 13.2.0 December - xfce - (201312310323)
|
|
|
|
 |
Spaceferret
|
|
Post subject: RE: Re: RE: nvidia driver is missing after installing new ke
Posted: 14.05.2011, 03:35
|
|

Joined: 2010-09-13
Posts: 97
Status: Offline
|
|
|
|
 |
|