debian 8 64x Nvidia Drivers BLACK SCREEN

New to Debian (Or Linux in general)? Ask your questions here!

debian 8 64x Nvidia Drivers BLACK SCREEN

Postby unixlearn » 2014-11-24 15:41

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.
unixlearn
 
Posts: 6
Joined: 2014-11-18 19:12

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby thanatos_incarnate » 2014-11-24 15:52

I could be wrong, but it sounds like a bug. The module has always been called "nvidia" and not "nvidia_current".
User avatar
thanatos_incarnate
 
Posts: 717
Joined: 2012-11-04 20:36

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

Postby unixlearn » 2014-11-25 00:27

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
unixlearn
 
Posts: 6
Joined: 2014-11-18 19:12

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

Postby gradinaruvasile » 2014-11-26 02:20

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.
User avatar
gradinaruvasile
 
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania

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

Postby unixlearn » 2014-11-27 14:51

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.
unixlearn
 
Posts: 6
Joined: 2014-11-18 19:12

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby cra1g321 » 2014-11-28 19:08

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
Free Vultr $20 Credit = http://www.vultr.com/?ref=6934143-3B
User avatar
cra1g321
 
Posts: 241
Joined: 2011-01-20 23:03

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

Postby cra1g321 » 2014-11-28 19:09

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.
Free Vultr $20 Credit = http://www.vultr.com/?ref=6934143-3B
User avatar
cra1g321
 
Posts: 241
Joined: 2011-01-20 23:03

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby dilberts_left_nut » 2014-11-28 22:14

Threads merged.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4858
Joined: 2009-10-05 07:54
Location: enzed

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby kmathern » 2014-11-29 00:32

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).
kmathern
 
Posts: 603
Joined: 2011-02-05 19:20

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

Postby unixlearn » 2014-12-02 21:23

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

Postby unixlearn » 2014-12-02 21:28

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.
unixlearn
 
Posts: 6
Joined: 2014-11-18 19:12

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby mawrick » 2014-12-13 22:18

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): viewtopic.php?f=5&t=119350
mawrick
 
Posts: 10
Joined: 2014-12-09 20:06

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby rburkholder » 2015-01-04 19:57

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

Postby rburkholder » 2015-01-04 20:08

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.
rburkholder
 
Posts: 4
Joined: 2015-01-04 19:31

Re: debian 8 64x Nvidia Drivers BLACK SCREEN

Postby mslayten » 2015-09-03 17:18

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.
mslayten
 
Posts: 1
Joined: 2015-09-03 17:13

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable