23

Seriously, Ubuntu can go burn in hell far as I care.

I've spent the better part of my morning attempting to set it up to run with the correct Nvidia drivers, Cuda and various other packages I need for my ML-Thesis.

After countless random freezes, updates,. Downgrades and god-knows-what, I'm going back to Windows 10 (yes, you read that right). It's not perfect but at least I don't have to battle with my laptop to get it running. The only thing which REALLY bothers me about it is the lack of GPU pass-through, meaning running local docker containers rely solely on the CPU. In itself not a huge issue if only I didn't NEED THE GOD DAMN GPU FOR THE TRAINING

Comments
  • 4
    running it inside a vm wouldn't help?
    The last time I ran ubuntu as a default installation was 13 years ago, ever since I just throw it in a VM and use it
  • 16
    Nvidia and Linux aren't huge friends :p
  • 3
    I have a txt I used to ctrl+c/v commands into a Ubuntu 16 server. Sets up Cuda with a virtualenv to use Keras with Theano backend, all the latest. Maybe that could help you?
  • 0
    @stupidshade oh my god that would be amazing!
  • 1
    @gitpush I usually do the WSL or VM route but they don't have the GPU pass-through on Windows :(
  • 2
    @polaroidkidd Okay, so this might not be the cleanest, but it worked on my dual-booted ubuntu and parts were applied to an azure-hosted ubuntu 16. 04 VM.
    I installed stuff on Windows and Ubuntu a bunch of times, so if something comes up I might be able to help beyond this :)
    Hope it works out!
    https://github.com/d4rkspir1t/...
  • 0
    Ubuntu(mint) is really bad in that part. Took me a week of struggle to make it work with the nvidia driver. I don't know why is this still so hard when every user should go through it.
  • 4
    What am I missing? I selected the non-free Nvidia driver, and it worked perfectly.
  • 0
    @stupidshade thanks very much! I'll give it another go tonight!
  • 2
    I dont recommend using 16.04. 17.10 worked right out of the box on my laptop (NVidia optimus). 18.04 LTS is right around the corner too
  • 3
    @bahua some laptops are just unlucky
    A few of my friends suffered similar problems too
    I think its more to do with the motherboard and the laptops design than the GPU and linux itself
  • 1
    @brasorexia

    There's also the fact that for me, laptops are for work, not personal use. So I have no particular need for big 3D performance on it. For games, I have a full size computer at home.
  • 0
    😂🤣🤣🤣
  • 0
    I usually have no trouble with Antergos Linux. Do you HAVE to have Ubuntu?
  • 0
    @Seshpenguin Oh nice? I've tried 14 and 16 but since I'm also bound by optimus, I'll try that as well. Have you had any bad experiences with 17?
  • 0
    @RiderExMachina not really, it's just the one I'm most familiar with
  • 0
    @bahua unfortunately I need the gfx to work to train the models
  • 1
    For me setting up cuda on my Ubuntu and Matlab wasn't hard. Exceptionally easy in fact. But finding the right package was horror. Nvidia has no useful landing page for cuda. I found multiple official sites with years old releases until I finally found the newest one, which was just run setup and it's done. Another part is missing documentation about the versions. You can define a cuda version to use in code, but there is no clear listing about available versions. Had to increment it one by one to find out the newest.
  • 1
    I have amd GPU so I can't relate to your problems
  • 1
    @polaroidkidd no, not really. Just make sure you go to the driver manager after installation and pick the NVidia driver (not nouveau). One thing to note is you won't be able to use hybrid graphics (intel and NVidia at the same time), but you can pick which card to use using the 'prime-select' command. Good luck!
  • 1
    @Seshpenguin so I've managed to get it all working and it runs like a dream (mostly). I can only use the Nvidia card because when I use the intro card I can't log in anymore (logs me straight out again) so that's a bit annoying. Also, I'm not sure if that's the reason for it, but the fan is always running. Using sensors and pwmconfig fails because pwmconfig claims there are no components which can be configured. Other than that, it's great and I am starting to seriously enjoy it! The UI was a nice surprise as well!

    Thanks very much for the tip!
Add Comment