LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Debian 9 Install Nvidia drivers on Asus Zenbook UX501 (https://www.linuxquestions.org/questions/linux-software-2/debian-9-install-nvidia-drivers-on-asus-zenbook-ux501-4175614105/)

lyndhurst 09-19-2017 07:54 AM

Debian 9 Install Nvidia drivers on Asus Zenbook UX501
 
I am starting a new thread after this one, because I misidentified the issue I was facing at first, as being related to the installation process, and, as it turns out it is more of a nvidia driver issue.

I already made a few attempts to get the drivers to work, and I will describe what I observed here hoping someone will be able to make sense of it.

To sum it up, after installing debian 9 on my Asus zenbook ux501 I was logging into a frozen system displaying a wallpaper, with no commands available at all. Once in while I would be able to log in into a normal Xfce session, and could not figure out why, but, when I could, the "lspci" command would just hang with no output as well as any attempt to install bumblebee, or nvidia drivers.

My grapic card is Nvidia geforce gtx 960m, with Intel i7 processor.

This InstallingDebianOn page allowed me to boot reliably into a functioning system by changing the grub settings as follows:

Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi=! acpi_osi=Linux acpi_backlight=native"
Now, I can run lspci which outputs:

Code:

lspci -k | grep -iEA5 'vga|3d|display'


00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
        Subsystem: ASUSTeK Computer Inc. HD Graphics 530
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
        Subsystem: ASUSTeK Computer Inc. Skylake Processor Thermal Subsystem
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
        Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX 960M]
        Kernel driver in use: nouveau
        Kernel modules: nouveau
02:00.0 Unassigned class [ff00]: Alcor Micro Device 6621
        Subsystem: Alcor Micro Device 6621
--
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01)
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller
        Kernel driver in use: nvme
        Kernel modules: nvme

It also allowed me to successfully follow all the steps described in this tutorial about how to make optimus work on debian up untill the last command that just hangs for ever:

Code:

service bumblebeed restart
Also note that the first check for nouveau drivers yields expected results, but the second about vga_switcheroo does not output anything..

Code:

sudo modprobe -r nouveau
sudo modprobe -r vga_switcheroo

A forced reboot gets me to a black screen with a block a error messages that I cannot remember as it was a few days ago, but no command available, I could not find any way to interact with the system.
So I did a new clean install..

I do not understand much about "acpi" settings in the grub configuration, but the installation instructions for installing bumblebee on Debian I followed has a troubleshooting section where they recommend a different grub configuration for acpi_backlight with "=vendor" instead of the "=native" I previously set in order to be able to boot into the xfce session.
Is the problem here? Should I update the grub configuration , and reboot instead of issuing

Code:

service bumblebeed restart
?
I had also previously tried this guide with no success.
However, it was before finding out the tips about the grub config that fixed my log in primary issue..
Should I try it again?

I am sorry for the delay between my posts, but I am in the middle of a development project on the windows part of my dual boot, so I do not have a lot of time to make new attempts on this install.

This was a lot of questions, so thank you for your help and attention :)

ondoho 09-20-2017 12:48 AM

is vga_switcheroo a kernel module? i'm not sure, never used hybrid graphics.
find out for yourself with 'lsmod'.

you really have to get the nvidia proprietary driver working first. that is a process well-documented for every distro that supports it.

only after that, see how you can make it hybrid.

lyndhurst 09-20-2017 05:54 AM

Thank you, I actually do think I am not proceeding in the correct sequence.. I guess I got kind of frustrated and overwhelmed by all this new problems I did not expect.

I actually get a bit confused between nvidia drivers, bumblebee/optimus, and how they work together and need each other..
So I am going to try again the instructions to install the correct nvidia drivers; I have the page, and, it is clear enough.

I was not successful with that process in the past, but then again, at that point I could hardly log into my session :)

I only hope that vga_switcheroo not being loaded, and my grub configuration settings described above will not conflict with the installation process..
As I wrote this line, it made me wonder if it is not related...

Thanks again, I will come back after trying it out.


All times are GMT -5. The time now is 12:48 AM.