Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

debian 8 64x Nvidia Drivers BLACK SCREEN

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
unixlearn
Posts: 6
Joined: 2014-11-18 19:12

debian 8 64x Nvidia Drivers BLACK SCREEN

#1 Post by unixlearn »

I installed nvidia drivers using

Code: Select all

apt-get install nvidia-driver nvidia-xconfig
i also followed the instructions given for debian wheezy.

Code: Select all

/etc/X11/xorg.conf.d/20-nvidia.conf 
Section "Device"
        Identifier "My GPU"
        Driver "nvidia"
EndSection
sidenote:there are no instructions for Debian Jessie. So i followed the instructions from this thread
I get a black screen with a cursor similar to the problems mentioned in other posts.
I did make sure that that nouveau is disable but problem still exists.
the error message that when i try to

Code: Select all

startx
manually is
likbmod: ERROR ../libkmod/libkmod-module.c:791 kmod_module_insert_module: could not find module by name='nvidia_current'
ERROR: could not insert 'nvida_current': Function not implemented
i can only

Code: Select all

service lightdm start
if there is no if there is not xorg.conf.d

The other method that i have tried is to rm xorg.conf.d and execute the

Code: Select all

nvidia-xconfig
to produce the xorg.conf
This method also gave me a blank screen. I had to remove it to get lightdm to work.

User avatar
thanatos_incarnate
Posts: 717
Joined: 2012-11-04 20:36

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#2 Post by thanatos_incarnate »

I could be wrong, but it sounds like a bug. The module has always been called "nvidia" and not "nvidia_current".

unixlearn
Posts: 6
Joined: 2014-11-18 19:12

Nvidia Drivers do not work on Jessie beta 2 (black screen)

#3 Post by unixlearn »

I reported this problem here. I installed the nvidia drivers using

Code: Select all

apt-get install nvidia-driver
However, I find that modprobe does not even find the drivers.

Code: Select all

modprobe nvidia
# modprobe nvidia
modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_current'
modprobe: ERROR: could not insert 'nvidia_current': Function not implemented

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Nvidia Drivers do not work on Jessie beta 2 (black scree

#4 Post by gradinaruvasile »

Make sure you have kernel headers installed and install the nvidia-kernel-dkms package too.
It should show you what happens during installaton.
The first important thing is that the kenel module to be built (it should go automatically if you have everything needed installed).
Then make sure you have an xorg.conf file that points to the nvidia driver (auto generate with sudo nvidia-xconfig, from the nvidia-xconfig package)
And finally make sure the nouveau driver is blacklisted (this too should be automated but sometimes doesnt happen, you have to manually insert "blacklist nouveau" into the /etc/modprobe.d/blacklist.conf file, create it if doesnt exist - in fact any text file with .conf extension will do if its in /etc/modprobe.d/).
Then reboot.

unixlearn
Posts: 6
Joined: 2014-11-18 19:12

Re: Nvidia Drivers do not work on Jessie beta 2 (black scree

#5 Post by unixlearn »

All of that was done. Still doesn't recognize the driver. It has to be something specific to jessie and nvidia because this was fine on wheezy.

User avatar
cra1g321
Posts: 241
Joined: 2011-01-20 23:03

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#6 Post by cra1g321 »

Here is what i did -

Most steps taken from this page - https://wiki.debian.org/NvidiaGraphicsDrivers

Code: Select all

aptitude update

Code: Select all

aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') 

Code: Select all

aptitude install nvidia-kernel-dkms

Code: Select all

 mkdir /etc/X11/xorg.conf.d

Code: Select all

echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
reboot

User avatar
cra1g321
Posts: 241
Joined: 2011-01-20 23:03

Re: Nvidia Drivers do not work on Jessie beta 2 (black scree

#7 Post by cra1g321 »

Here is what i did -

Most steps taken from this page - https://wiki.debian.org/NvidiaGraphicsDrivers

Code: Select all

aptitude update

Code: Select all

aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') 

Code: Select all

aptitude install nvidia-kernel-dkms

Code: Select all

 mkdir /etc/X11/xorg.conf.d

Code: Select all

echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
reboot


** It's best to not post twice on the forum for the same issue.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#8 Post by dilberts_left_nut »

Threads merged.
AdrianTM wrote:There's no hacker in my grandma...

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#9 Post by kmathern »

unixlearn wrote:... It has to be something specific to jessie and nvidia because this was fine on wheezy.
unixlearn wrote:... I installed the nvidia drivers using

Code: Select all

apt-get install nvidia-driver
Out of curiosity what type nvidia card do you use? Installing Jessie's nvidia-driver package installs a 340.46 series nvidia driver.
That series of nvidia driver doesn't work with GeForce 6xxx & 7xxx cards. If your card is that type install nvidia-legacy-304xx-driver instead (and remove nvidia-driver).

unixlearn
Posts: 6
Joined: 2014-11-18 19:12

Re: Nvidia Drivers do not work on Jessie beta 2 (black scree

#10 Post by unixlearn »

cra1g321 wrote:Here is what i did -

Most steps taken from this page - https://wiki.debian.org/NvidiaGraphicsDrivers

Code: Select all

aptitude update

Code: Select all

aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') 

Code: Select all

aptitude install nvidia-kernel-dkms

Code: Select all

 mkdir /etc/X11/xorg.conf.d

Code: Select all

echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
reboot


** It's best to not post twice on the forum for the same issue.
this works for wheezy. not jessie

unixlearn
Posts: 6
Joined: 2014-11-18 19:12

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#11 Post by unixlearn »

kmathern wrote:
unixlearn wrote:... It has to be something specific to jessie and nvidia because this was fine on wheezy.
unixlearn wrote:... I installed the nvidia drivers using

Code: Select all

apt-get install nvidia-driver
Out of curiosity what type nvidia card do you use? Installing Jessie's nvidia-driver package installs a 340.46 series nvidia driver.
That series of nvidia driver doesn't work with GeForce 6xxx & 7xxx cards. If your card is that type install nvidia-legacy-304xx-driver instead (and remove nvidia-driver).
My card is the 8700M GT. it is supported by this driver.

There really needs to be some detailed instructions on how to install from the drivers that are downloaded from nvidia. That would provide a nice backup for when Debian packages do not work.

mawrick
Posts: 10
Joined: 2014-12-09 20:06

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#12 Post by mawrick »

unixlearn wrote:
kmathern wrote:
unixlearn wrote:... It has to be something specific to jessie and nvidia because this was fine on wheezy.
unixlearn wrote:... I installed the nvidia drivers using

Code: Select all

apt-get install nvidia-driver
Out of curiosity what type nvidia card do you use? Installing Jessie's nvidia-driver package installs a 340.46 series nvidia driver.
That series of nvidia driver doesn't work with GeForce 6xxx & 7xxx cards. If your card is that type install nvidia-legacy-304xx-driver instead (and remove nvidia-driver).
My card is the 8700M GT. it is supported by this driver.

There really needs to be some detailed instructions on how to install from the drivers that are downloaded from nvidia. That would provide a nice backup for when Debian packages do not work.
What you could try to do is when the black screen shows up (give it time for the system to load), press ctrl+alt+F1 log in with root.

run:

dpkg-reconfigure nvidia-kernel-dkms and see if it throw any errors.

If that doesn't work I would try to uninstall the package you installed, and install the legacy, before running that dpkg-reconfigure command again
(If I forgot something it might be a bit more info in my other thread (I had the same problem as you): http://forums.debian.net/viewtopic.php?f=5&t=119350

rburkholder
Posts: 4
Joined: 2015-01-04 19:31

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#13 Post by rburkholder »

This is fromhttps://www.debian.org/devel/debian-installer/ official netinst install of amd64.

I am having a similar problem with my Quadro 5000, which is supported by the driver set.

After installing:

Code: Select all

apt-get install nvidia-kernel-dkms nvidia-settings nvidia-xconfig
And rebooting, and coming up into a console screen, and simulating the process:

Code: Select all

root@z800:/home/rpb# startx
xauth:  file /root/.Xauthority does not exist


X.Org X Server 1.16.2.901 (1.16.3 RC 1)
Release Date: 2014-12-09
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian
Current Operating System: Linux z800 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.16-2-amd64 root=UUID=94ba1be7-2e3b-4129-9390-5d8bc17ba328 ro quiet
Build Date: 09 December 2014  10:15:28PM
xorg-server 2:1.16.2.901-1 (http://www.debian.org/support)
Current version of pixman: 0.32.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan  4 15:16:00 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_current'
modprobe: ERROR: could not insert 'nvidia_current': Function not implemented
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Key part of the message is

Code: Select all

modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_current'
modprobe: ERROR: could not insert 'nvidia_current': Function not implemented
Simulating the line, gives a similar result:

Code: Select all

root@z800:/home/rpb# modprobe nvidia-current
modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_current'
modprobe: ERROR: could not insert 'nvidia_current': Function not implemented
root@z800:/home/rpb#
The nvidia config file shows that the name nvidia-current is on purpose:

Code: Select all

root@z800:/home/rpb# cat /etc/modprobe.d/nvidia.conf
alias nvidia nvidia-current
remove nvidia-current rmmod nvidia nvidia-uvm
And that the black list is in place:

Code: Select all

root@z800:/home/rpb# cat /etc/modprobe.d/nvidia-blacklists-nouveau.conf
# You need to run "update-initramfs -u" after editing this file.

# see #580894
blacklist nouveau
Uname command shows what are current headers expected:

Code: Select all

root@z800:/home/rpb# uname -a
Linux z800 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux
However, dpkg-reconfigure is looking for an old set of headers:

Code: Select all

root@z800:/home/rpb# dpkg-reconfigure nvidia-kernel-dkms

------------------------------
Deleting module version: 340.65
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-340.65 DKMS files...
Building only for 3.16-2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
So the nvidia reconfigure is out of date.

Any ideas on how to remedy the nvidia drivers for the latest headers?

rburkholder
Posts: 4
Joined: 2015-01-04 19:31

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#14 Post by rburkholder »

I fixed my problem with:

Code: Select all

apt-get install nvidia-kernel-3.16.0-4-amd64
Appears to be a missing dependency in the nvidia install stuff. I guess it doesn't know what kernel version to use.

mslayten
Posts: 1
Joined: 2015-09-03 17:13

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#15 Post by mslayten »

Sorry for necroing this topic but wanted to thank rburkholder, this issue is still present when you install nvidia driver packages after liquorix kernel installation with a 64 bit installation,due to it reading x86_64 as 32 bit it first the nvidia package defaults to the i386 kernel merge and it had me ready to smash my computer trying to figure out how I was screwing up such a basic process. Was able to resolve it thanks to your post here.

anibal.marques.dev
Posts: 1
Joined: 2017-01-21 02:24

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

#16 Post by anibal.marques.dev »

Today I saw the January 14 update of Jessie https://www.debian.org/News/2017/20170114 and this topic was reborn as I applied the solution implemented here and it worked.
Note that the post is from 2014 to 2015 and we are in 2017.
I had the same problem reported here and by chance I have the same nvidia card reported here.
I applied the same suggested fix, that is,

Code: Select all

apt-get install nvidia-kernel-3.16.0-4-amd64
And, in fact, it worked.
Again, it seems that the problem of detecting which kernel version has been modified has not been modified.
As a consequence, a new line appears in grub to access linux with version 3.16 of the kernel.
I hope this can help.

:D Sorry for my english, I'm brazilian.

Post Reply