Checking card: NVIDIA Corporation Device 1cbb (rev ff)
Your card is only supported by the updated drivers from stretch-backports.
See https://backports.debian.org for instructions how to use backports.
It is recommended to install the
nvidia-driver/stretch-backports
package.
but it will not boot into graphical interface and stops before gdm opens. ttys are accessible but other than deleting the xorg.conf I don’t know what to do or where to look for the nvidia error messages.
It’s an Optimus system so you can’t use nvidia-xconfig to create an xorg.conf, leads to a non-working system. You installed Bumblebee which enables on-demand use of the nvidia gpu by running
primusrun
or
optirun
Otherwise, the intel gpu is used for the desktop and the nvidia gpu is turned off.
Thank you for the answer. I know that it is an optimus system. I have run it as stand-alone nvidia and using bumblebee. The Problem is that the nvidia driver can not be activated. Neither in bumblebee nor in standalone. The only usable scenario right now is with intel graphics.
Here is the output of the primus commands:
$ optirun glxgears
[121617.827539] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[121617.827606] [ERROR]Aborting because fallback start is disabled.
$ primusrun glxgears
/usr/bin/primusrun: line 41: warning: command substitution: ignored null byte in input
primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card
There are also other errors in dmesg. Should I report upstream to DELL? - They advertise linux compatibility of the Precision 5530. dmesg.log (98.3 KB)
I am having the EXACT SAME issue. I’m running MX Linux with KDE, on a Dell Precision laptop. I was also trying to enable my nvidia driver, used nvidia-xconfig to generate etc/X11/xorg.conf, and now my desktop won’t load. I would love to find a solution for this.
ukso-nvidia, this looks like this acpi/pci bug: https://bugzilla.kernel.org/show_bug.cgi?id=156341
meaning, once the dgpu is turned off, you can’t turn it on again.
I think you can keep bumblebee from turning the nvidia gpu off by using
KeepUnusedXServer=true
in bumblebee config or blacklisting/uninstalling bbswitch. Of course this leads to higher power consumption.
Nevertheless, suspend/resume won’t work on this machine, at least your dgpu will be dead again.
This should be reported to Dell.
Last week’s (27 Feb 2019) firmware update (Dell Precision 5530 1.8.1 System BIOS) solves the ACPI BIOS Errors. I will try your solution with prime output config next.
I have recently upgraded to debian buster. The dmesg is now outputting a proper error. I currently have no additional active /proc/cmdline but I will try with the Window 2009 solution.
[ 44.995623] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[ 45.047689] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 45.047691] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 45.047697] nvidia: probe of 0000:01:00.0 failed with error -1
The error message is misleading. What’s happening is:
bbswitch is loading, turning off the nvidia gpu
nvidia driver is loading, trying to init the gpu which is off, so fails and unloads.
Since you’re trying to use bumblebee, the nvidia driver should be blacklisted and only load when bumblebee starts up, turning on the dGPU. Something is broken with your bumblebe setup.
Good to hear that there is no actual “error” anymore but optirun still is not work
So I tried
▶ sudo tee /proc/acpi/bbswitch <<<ON
ON
~
▶ sudo dmesg |tail -2
[ 880.868429] bbswitch: enabling discrete graphics
[ 880.868460] pci 0000:01:00.0: Refused to change power state, currently in D3
which is the same reason for optirun to fail:
~ ⍉
▶ sudo optirun glxgears -info
[ 1033.754918] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1033.754966] [ERROR]Aborting because fallback start is disabled.
~ ⍉
▶ sudo dmesg |tail -2
[ 1033.751425] bbswitch: enabling discrete graphics
[ 1033.751453] pci 0000:01:00.0: Refused to change power state, currently in D3