Message boards :
Number crunching :
Ubuntu 14.04 updates break cuda
Message board moderation
Author | Message |
---|---|
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
Updated kernel etc today. Minor update supposedly. Ubuntu 14.04. x86_64 nvidia gtx 760SC (2 of them) Suddenly CUDA ceased working, boinc cannot find GPUs. Ubuntu bug 1401350. Non-working driver: 331.113. |
Wedge009 Send message Joined: 3 Apr 99 Posts: 451 Credit: 431,396,357 RAC: 553 |
Whenever there's a kernel update I uninstall any proprietary display drivers, update the kernel and then re-install the display drivers. It's a hassle, but I've had enough troubles with kernel updates breaking GPU processing that it's the procedure I follow every time nowadays. Soli Deo Gloria |
ML1 Send message Joined: 25 Nov 01 Posts: 20147 Credit: 7,508,002 RAC: 20 |
Whenever there's a kernel update I uninstall any proprietary display drivers, update the kernel and then re-install the display drivers. It's a hassle, but I've had enough troubles with kernel updates breaking GPU processing that it's the procedure I follow every time nowadays. That's a 'side effect'/'problem' of the nVidia driver being a (proprietary) "binary blob" that is tied to a particular kernel. Will need a reboot to pick up a new kernel and pull in the nVidia driver. (Your system must rerun the nVidia install for any kernel update... And both kernel and nVidia versions must be supported...) Usually, that is all taken care of by the normal distro updates. I believe the nVidia licensing requires their proprietary bits be downloaded from the nVidia site and so you can never be sure of the nVidia process... NVidia can change things... So far from what I've seen, that works well enough. However, the FLOSS nouveau driver is much to be preferred unless you're into ultimate performance gaming! ... Or cuda for crunching... Happy fast crunch in Martin |
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
Switched to Noveau driver. reboot (Aside: the boot screen is much prettier with Noveau driver than with nvidia driver, noveau giving blue screen with cute xubuntu image and fancy progress indicator, nvidia drivers give boring black/white screen with dots progress indicator) Removed all nvidia (with synaptic). reboot installed nvidia-331 reboot lsmod: nvidia-uvm did not get loaded. Did modprobe which loaded it, but its use count is zero... No GPU seen by boinc. So this is not a case of the upgrade mechanism getting mixed up by my specific history on the the machine. While Seti has had no CUDA work for me for a while Einstein has a steady CUDA supply (now those are stuck). Reports on Ubuntu suggest this bug is maybe fixed(?) for next release but I see no sign it's been backported to 14.04. Yet. |
ML1 Send message Joined: 25 Nov 01 Posts: 20147 Credit: 7,508,002 RAC: 20 |
Do you also need the "nv" module loading for nVidia? Or has that been renamed for the systemd way of working? Also, do you have the libcuda files installed for your kernel version? Or drop back to your previous kernel that worked? Good luck, Happy fast crunch in, Martin |
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
For now just living with it. No time to deal with this. Plus I could make things much worse... :-) Anyway, thanks for the tips, ML1. |
Wedge009 Send message Joined: 3 Apr 99 Posts: 451 Credit: 431,396,357 RAC: 553 |
For Trusty Tahr, I have a recollection of manually linking the libOpenCL.so and libcuda.so in /usr/lib/x86_64/ to their respective .so.1 files. (This was with standard Ubuntu repositories, nvidia-331.) For Utopic Unicorn I am using the xorg-edgers PPA and installed nvidia-340, nvidia-340-dev and nvidia-340-uvm. When I only had nvidia-340 installed previously, BOINC wouldn't recognise the CUDA/OpenCL libraries. Soli Deo Gloria |
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
(was out of town a week, just now back). Enabled Trusty-Backports so I could install nvidia-modprobe. Installed it and ran it (executable is the same name). Made no visible difference in the output of lsmod|grep nv but after sudo /etc/init.d/boinc-client restart now boinc sees my GPUs and nvidia_uvm suddenly shows up in the output of lsmod|grep nv !. GPUs at work again! See Ubuntu bug 1361207 for additional details if you care. |
ML1 Send message Joined: 25 Nov 01 Posts: 20147 Credit: 7,508,002 RAC: 20 |
Good stuff and good you're back on cuda. Thanks for letting us know and for noting the bug. Happy fast crunchin! Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.