nvidia drivers breaking lightdm

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

nvidia drivers breaking lightdm

Postby Jakir » 2018-03-31 22:51

Okay so I followed the guide on your wiki for my nvidia gtx 760m driver on debian 9 and installed it using the commands:
Code: Select all
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-legacy-340xx-driver
apt-get install nvidia-xconfig
sudo nvidia-xconfig


But now when I try to log in I get a screen that says:
[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.


I read a guide that said that the problem can be fixed by editing/creating the file /ect/modprobe.d/blacklist.conf and adding the lines:
Code: Select all
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off


So I did that and nothing changed. I did notice there was a file named "blacklist nvidia-nouveau" or something along those lines in there. Should I add the code to that file?
Jakir
 
Posts: 7
Joined: 2018-03-31 05:28

Re: nvidia drivers breaking lightdm

Postby dilberts_left_nut » 2018-03-31 22:59

Code: Select all
See 'systemctl status lightdm.service' for details.
So did you?

You checked that your card needs the legacy drivers?

Installing the nvidia package should blacklist nouveau already.

I read a guide
Anyone can write a "guide", most of them are clueless.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: nvidia drivers breaking lightdm

Postby stevepusser » 2018-03-31 23:34

Yeah, but that sounds like the guide in the Debian wiki, possibly with some steps omitted in the post. If they were actually skipped, that might be why problems occurred. One thing is to make sure the OP has sudo enabled, and what the actual outputs of the commands were. And also make sure it's not an Optimus system with Intel and Nvidia graphics.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.11, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.1.0
User avatar
stevepusser
 
Posts: 9718
Joined: 2009-10-06 05:53

Re: nvidia drivers breaking lightdm

Postby Jakir » 2018-03-31 23:48

dilberts_left_nut wrote:
Code: Select all
See 'systemctl status lightdm.service' for details.
So did you?

You checked that your card needs the legacy drivers?

Installing the nvidia package should blacklist nouveau already.

I read a guide
Anyone can write a "guide", most of them are clueless.


Yes, this is what it said:
Code: Select all
Lightdm.service - Light Display Manager

  Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
  Active: inactive (dead)
    Docs: man:lightdm(1)


But I have no clue what it means or how I'm supposed to fix the problem with this information.
Jakir
 
Posts: 7
Joined: 2018-03-31 05:28

Re: nvidia drivers breaking lightdm

Postby Jakir » 2018-04-01 00:33

It works now but I did receive a few warnings!

I checked the guide, again. This time I ran the pre-check phase to determine my gpu and it confirms it is being read as a GeForce gtx 760m. Then I checked the current nvidia drivers (I was previously using the second newest because it said it supported the 7xx line) and it listed itself as supporting the 760m so I installed that instead. The instructions were simpler and only required running the code:

Code: Select all
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver

and restarting.

I noticed when I installed the nvidia graphics pack the last 3 lines were:

W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3


Is there some way to download those firmwares?
Jakir
 
Posts: 7
Joined: 2018-03-31 05:28

Re: nvidia drivers breaking lightdm

Postby jibberjabber » 2018-04-01 00:43

N5RLX > "Jibber jabber jibber jabber,all day and all night, jibber jabber jibber jabber"

Then there is Papa Parrot
jibberjabber
 
Posts: 93
Joined: 2016-01-10 16:58

Re: nvidia drivers breaking lightdm

Postby Fernando Negro » 2018-04-06 22:36

If you install the *wrong* version of the proprietary NVIDIA driver, you will have problems.

I have had Xorg/LightDM (repeatedly) not initializing (black screen at the end of the boot process, or monitor turning off during boot) on fresh Ubuntu and Debian installations, after having I installed the proprietary NVIDIA driver, because of what I later realized were the wrong versions of the driver I wanted to install.

Debian (at least) is a very stable GNU/Linux distribution. So, if there's something not working properly after you install it, it's immensely likely that it's the end user's fault, for having done something not right.
Signed,

A longtime Ubuntu user, that has migrated to Debian.
User avatar
Fernando Negro
 
Posts: 91
Joined: 2013-11-24 01:29
Location: Portugal


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable