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 9.2 & Nvidia drivers

Need help with peripherals or devices?
Message
Author
maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#16 Post by maximus1978 »

Is this fixed?

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#17 Post by qunt »

Now when I rebooted the computer, I get a white screen with an error message
Oh no! Something has gone wrong.
A problem occured and the system can't recover.
Please log out and try again.
In rescue mode i run journalctl -xb and going through the output I find some red text I assume is related to the problem:
nouveau 0000:01:00.0: unknown chipset (137000a1)
And some in white about nvidia:
nvidia: loading out-of-tree module taints kernel.
nvidia: module license 'NVIDIA' taints kernel
Disabling lock debugging due to kernel taint
No clue if related..

Not fixed :/

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#18 Post by maximus1978 »

Are you able to get to command prompt?

edit the following file (if it is not there, then create it, with exact name)

/etc/modprobe.d/blacklist-nouveau.conf

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

Try this too.
Pass this key=value to the linux command in your menu entry.
Press "e" in Grub

navigate to the end of the linux command and add the following below...

pcie_port_pm=off
Last edited by maximus1978 on 2017-11-22 19:48, edited 1 time in total.

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#19 Post by qunt »

Did the above. Still getting the same white screen with an error message after reboot.

The nouveau message is now gone from journalctl -xb output

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#20 Post by maximus1978 »

Pass this key=value to the linux command in your menu entry.
Press "e" in Grub

navigate to the end of the linux command and add the following below...

pcie_port_pm=off

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#21 Post by qunt »

By the end of the linux command do you mean at the very bottom of that file? Sorry, I'm a newbie..

I put it there at the bottom on a new line after all the other stuff, booted via F10 and still getting the same error.

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#22 Post by maximus1978 »

edit a menuentry by pressing e

the commands on each line have parameters passed to them

https://imagebin.ca/v/3iCz8LznvcB9

add pcie_port_pm=off

Then press F10 to boot

Note: edited values here are not saved

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#23 Post by qunt »

Alright, did that. Still same error :(

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#24 Post by maximus1978 »

Try uninstalling the driver first.

./NVIDIA-Linux-x86_64-384.98.run --uninstall

Let me know if you get it uninstalled and can boot back into your system.

I am still looking into this.hmmmmmmmmmmmm

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#25 Post by qunt »

Yup. I uninstalled Nvidia and commented the blacklist-nouveau file lines and I'm getting in to graphical mode now.

When I was looking into this before myself, I came to the conclusion I have hybrid graphics chipset. Since the command lspci -nn | egrep -i "3d|display|vga" returns 2 lines of output. But I did try the bumblebee guide aswell with no luck as you probably saw in my earlier posts..

Really appreciate the help by the way :)

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#26 Post by maximus1978 »

No problem.

I know we can get this to work.

Let me look into it abit more.

There is a great video online but nvidia-detect does not display anything for your video card. Is this like a brand new Nvidia Video card?

Method 1 (Package Version) Note - nvidia-detect does not bring any result thou for your card.

This video is worth watching and following the steps exactly.

https://www.youtube.com/watch?v=_5RJzZxQ62U

Method 2

This is the manual install which I know we can get working. I am still looking into it.
Lets not give up on this.

Please do watch the youtube video and try and go step by step to see if you can get it working that way.

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#27 Post by qunt »

Hmm.. I'm going to feel like a moron for not mentioning this before if this has something to do with this problem, but I'm seeing the following errors when I run dmesg command. Could this be related?

Code: Select all

ACPI Error: [_UPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160831/dswload-378)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160831/psobject-227)
ACPI Exception AE_ALREADY_EXISTS, (SSDT:xh_rvpll) while loading table (20160831/tbxfload-228)
ACPI Error: 1 table load failures, 9 successful (20160831/tbxfload-246)

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#28 Post by qunt »

maximus1978 wrote: There is a great video online but nvidia-detect does not display anything for your video card. Is this like a brand new Nvidia Video card?
GTX 1050, I guess it's pretty new stuff. I got this laptop just like a month ago.

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#29 Post by maximus1978 »

qunt wrote:Hmm.. I'm going to feel like a moron for not mentioning this before if this has something to do with this problem, but I'm seeing the following errors when I run dmesg command. Could this be related?

Code: Select all

ACPI Error: [_UPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160831/dswload-378)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160831/psobject-227)
ACPI Exception AE_ALREADY_EXISTS, (SSDT:xh_rvpll) while loading table (20160831/tbxfload-228)
ACPI Error: 1 table load failures, 9 successful (20160831/tbxfload-246)
Not related to the video problem.

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#30 Post by qunt »

I went though all the steps in the video you posted. Results in the same white screen error.

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#31 Post by maximus1978 »

qunt wrote:I went though all the steps in the video you posted. Results in the same white screen error.
This error exactly?

nvidia: loading out-of-tree module taints kernel.
nvidia: module license 'NVIDIA' taints kernel
Disabling lock debugging due to kernel taint

Curious?

What did nvidia-detect give you?

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#32 Post by qunt »

maximus1978 wrote: This error exactly?
What did nvidia-detect give you?
The same error I mentioned before. When I restart the computer and just as it should go into the graphical login view I get this error in a white background:
Oh no! Something has gone wrong.
A problem occured and the system can't recover.
Please log out and try again.
maximus1978 wrote:What did nvidia-detect give you?
Running nvidia-detect as instructed in the video had the same result as before:

Code: Select all

root@Laptop:/home/user# nvidia-detect
No NVIDIA GPU detected.

maximus1978
Posts: 93
Joined: 2015-03-19 12:49

Re: Debian 9.2 & Nvidia drivers

#33 Post by maximus1978 »

Please type and post result.

Code: Select all

dmesg | grep bbs
Please type and post result.

Code: Select all

lsmod | grep bbs
Please type and post result.

Code: Select all

uname -r

qunt
Posts: 20
Joined: 2017-11-08 22:33

Re: Debian 9.2 & Nvidia drivers

#34 Post by qunt »

maximus1978 wrote: Please type and post result.

Code: Select all

lsmod | grep bbs
I actually just messed something up it seems. I went to purge all the stuff installed on the video so I could get back in graphical mode and now I get into the login screen but when I enter the password (correctly :D), it doesn't let me in. Just refreshes the login view.. I guess it's time to do a reinstall again and start fresh...

lsmod | grep bbs returns nothing. Probably because I purged everything nvidia related. My bad.

uname -r returns 4.9.0-3-amd64

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9.2 & Nvidia drivers

#35 Post by stevepusser »

GTX 1050 support was added in version 375.20. Stretch has 375.82, no issue there.

With Bumblebee and Optimus done correctly, the Intel GPU will always provide the display. All Bumblebee optirun does is hand off the 3D rendering to the Nvidia GPU to do in the background, and then give it to the Intel GPU for display. If you followed the wiki for Bumblebee, the worst that happens is that the handoff does not work, you don't lose the GUI, since the Intel is always supplying that.

If you lose the GUI, that shows that you did not follow the wiki step by step. Usually that's because you created an xorg.conf configuration file like you would for a standard Nvidia GPU. DO NOT do this for Bumblebee! You should not need an xorg.conf file at all.

The other big mistake is not watching the terminal output for a build error and just assuming it worked. Seen that here many times.
MX Linux packager and developer

Post Reply