What is the currently accepted means of getting Nvidia to work on Ubuntu 15.04?
I've seen and followed at least 8 guides to getting Nvidia's proprietary drivers working with Ubuntu.
Here are a list of answers and guides that I have tried (about twice each) that do not work.
So after compiling this series of dead ends, I was hoping someone might be able to either tell me of a new means of getting my graphics card to work, or confirm that there is no known solution to this problem. Obviously, I would be thrilled if someone knows of a "tried and true" way to do it. I am admittedly frustrated by all of these lengthy proposed fixes that never solve the problem. Then having to try to "undo" each failed installation before trying the next approach. I am currently typing this question on an ASUS laptop that, according to the sticker under my left wrist, says it contains a "Nvidia Geforce GTX 960M" graphics card. Another possibility is that I actually had installed the graphics cards at some point, and I misdiagnosed slow rendering for an insufficient graphics card (I sometimes render 3D volumetric data with mayavi) for ill configured graphics drivers. Though I doubt that since I have always confirmed my suspicions when I found the CPU work monitor skyrocketed as I attempted to rotate the 3D image. Also, my nvidia settings manager has never actually confirmed a working graphics card--often complaining about an ill-configured xorg settings ("We're sorry, the graphics card you are trying to reach is not available, please run nvidia-xconfig and try again") or failing to exist entirely (then I install it, and it resumes complaining about incorrect xorg settings). |
i think it's a little unfair to say that something "does not work" if it actually does not work on your system.
i'm a little unsure as to what the problem actually is? i hope you understand that i did not click all those links, i'm counting on you to provide a more comprehensive description of the problem, with command line output and such. fwiw, i would start by identifying the card and which driver it is currently running on with sth like Code:
lspci -k | grep -iA10 vga also, hopefully you managed to keep track of all the changes you made and unmade... looks a liitle messy to me now. i never had to run nvidia-xconfig or even configure Xorg. biggest problem is usually the switch from nouveau to nvidia, some blacklisting might have to be added and/or removed. |
Sorry for the initial irritability. From my end, I just find get an endless list of dead but unsolved threads after trying to solve this problem myself for about a year now (on two different computers), but I guess some of those solutions may have worked for various hardware. I just wish there was a comprehensive guide on Ubuntu's website rather than a seemingly infinite number of potential solutions on different forums. </end rant>
Anyway, this is the output from lspci -k | grep -iA10 vga aeftimia@HAL:~$ lspci -k | grep -iA10 vga 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) Subsystem: ASUSTeK Computer Inc. Device 185d 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) Subsystem: Intel Corporation Device 2010 Kernel driver in use: snd_hda_intel 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) Subsystem: ASUSTeK Computer Inc. Device 185d Kernel driver in use: xhci_hcd 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04) Subsystem: ASUSTeK Computer Inc. Device 185d Kernel driver in use: mei_me |
like i said, i'm still not sure what the actual problem is?
according to the output you posted, you do not have an nvidia card/chip in your laptop, but an "Intel Corporation 4th Gen Core Processor Integrated Graphics Controller" instead. which should be good enough with the i915 (iirc) module. but, no kernel driver is in use for that card. probably a result of your attempts at installing an nvidia driver for an intel card. maybe the sticker is just wrong? if you don't know, please post the complete "sudo lspci" output, or, even better, "sudo lshw". plus exact make and model of your laptop. |
1 Attachment(s)
"maybe the sticker is just wrong?"
...well if that would explain a lot. And my frustration would be appropriately redirected to ASUS for false advertising--especially considering the time I've spent troubleshooting a nonexistent gpu. lspci: Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06) Code:
hal |
Quote:
you probably have some sort of hybrid graphics setup there... please post output of Code:
lspci -k | grep -iA10 nvidia |
I've never even heard of a "hybrid" setup. I'm looking that up now.
lspci -k | grep -iA10 nvidia Code:
01:00.0 3D controller: NVIDIA Corporation Device 139b (rev a2) |
ok, your last output proved that there is currently no driver assigned to that nvidia thing there (whatever it is - it doesn't even say graphics controller, only 3d controller).
meanwhile, some reading for you: https://wiki.archlinux.org/index.php/Hybrid_graphics how are things getting along? |
I looked into hybrid graphics and came across a few of the many tutorials I had already tried. In particular, I recall finding a thread that said to install from the automated "additional drivers" gui so I get Nvidia Prime. So I tried it. I got a subset of the same problems I always get:
"GLX not found" upon opening parole nonfunctional nvidia settings. So I uninstalled it, and haven't touched anything since. I checked out the link you gave in your last post and it looks like the same stuff I've seen before. Should I file a bug report for my laptop? Assuming these articles only fail to work for me, this looks like some kind of incompatibility with ASUS. This is the second ASUS laptop for which I've been utterly unable to get my graphics card(s) working. If nothing else, it might be worth warning future linux users of the dangers of ASUS laptops. |
Quote:
and I found that using https://www.google.com/#q=Install+/+...5.04&tbs=qdr:y Show us the output of Code:
sudo dpkg -l nvidia* | grep ii |
@Habitual just tried your solution. Got the usual error.
Code:
aeftimia@HAL:~$ parole Also, Code:
aeftimia@HAL:~$ sudo dpkg -l nvidia* | grep ii |
Yes you have a "hybrid graphics" intel/nvidia setup, and also with a very new nvidia chip (hence the code number rather than a proper description).
On Debian, the bumblebee project provides packages to support that (as nvidia seems less than interested in properly supporting it's linux using customers) - on ubuntu, no clue sorry. A newer kernel/xorg stack will probably support your chip better, but you'll still need bumblebee or equivalent to handle the "dynamic switching". Probably better avoided if you are buying new hardware... |
Quote:
i find that weird if compared to the last post (very new nvidia). while i don't have a solution, i would recommend doing it manually and not trusting those gui tools. |
The gui tool listed 346, 349, and 352. I had already tried installing plenty of stuff from that gui tool as well as manually from command line as well as manually from Nvidia's website, so I just tried following Habitual's advice to the letter just in case there was something special about 340.
|
find out which driver is the right one for your device, e.g. from here:
https://wiki.archlinux.org/index.php/NVIDIA#Installing (2. Determine the necessary driver version for your card) then re-install. |
All times are GMT -5. The time now is 10:53 PM. |