LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2017, 07:54 AM   #1
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Rep: Reputation: Disabled
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
 
Old 09-20-2017, 12:48 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 09-20-2017, 05:54 AM   #3
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugtraq 2 (Black Widow) on Asus Zenbook Ux305f SuperNinja Linux - Laptop and Netbook 1 07-01-2016 05:21 AM
ASUS Zenbook UX305CA - specific drivers usvsthem Linux - Laptop and Netbook 11 05-01-2016 01:55 PM
LXer: Ubuntu on the Asus Zenbook UX305 ultrabook LXer Syndicated Linux News 0 04-04-2015 09:33 PM
LXer: ASUS Zenbook Prime Linux Benchmarks LXer Syndicated Linux News 0 12-28-2013 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration