Last active
July 13, 2018 21:38
-
-
Save netskink/890561fc84af675e7d54ffc13b12277a to your computer and use it in GitHub Desktop.
Debian Linux Nvidia installation notes for t570 laptop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using this guide, here are my notes in that regard: | |
=================================================== | |
https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus | |
lspci | grep 3D | |
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2) | |
My bios does not have the ability to disable the intel driver. | |
I installed x11-xserver-utils | |
The rest of this guide I have done before has resulted in my system not being able | |
to start x windows. So the remaining portions were skipped. | |
Another guide I consulted was this one | |
====================================== | |
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T570 | |
I updated my bios to the latest firmware as mentioned in the guide. | |
I modified my kernel boot parameters in GRUB so that pcie_port_pm=off | |
The core guide I used was this one | |
================================== | |
https://wiki.debian.org/Bumblebee | |
For this one, I can do it from start to finish and still have X windows working. I can even get some partial results | |
with nvidia. I'll explain more about my current results at the end. | |
Of the three options for installing bumblebee, | |
I chose to install bumblebee-nvidia and primus using this syntax | |
sudo apt-get install -t wheezy-backports bumblebee-nvidia primus | |
I added x11 userid to the bumblebee group using the method shown. I verified I am in the | |
bumblebee group by using the groups command. | |
The guide mentions using optirun glxgears. If I do this, I only get 60 fps. | |
If I do lsmod, I will not see the nvidia driver loaded. If I do this | |
$ optirun -b none nvidia-settings -c :8 | |
the nvidia driver is detected and while its running, the nvidia driver is shown | |
in the lsmod output. once I quit nvidia-settings it will unload the driver. | |
In the list of common errors it mentions | |
-- | |
If optirun returns the following error (756522): | |
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied | |
-- | |
If I cat my /var/log/Xorg.8.log I do see this error. The solution in the guide is to add a section to /etc/bumblebee/xorg.conf.nvidia | |
I added this section to that config file but afterwards I still get that error when I boot. | |
On irc someone suggested I create a directory and file. | |
I did this | |
mkdir /etc/X11/xord.conf.d | |
cat 10-use-intel.conf | |
Section "Device" | |
Identifier "Intel IGP" | |
#Driver "intel" | |
Driver "modesetting" | |
Option "DRI" "3" | |
EndSection | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment