News for hackers. Stuff that matters.
Re:AMD reckons it can win the high-end GPU battle by bamboozled on Sunday February 02, 2020 @06:18AM (#22216433)
I recently purchased a laptop with an Nvidia/Intel composite setup.

As a Linux user, I’ll never buy a laptop with an Nvidia GPU again (if I can help it). What a pain.

A nice piece of hardware with relatively pathetic software to drive it.

Re:AMD reckons it can win the high-end GPU battle by qchris on Sunday February 02, 2020 @01:42PM (#22218521)
As one of the other replies to this comment mentioned, this is one of the pain points that the company System76 has spent some time working on. I think it's because it addresses a core part of their target market: professional developers or other users who might need access to the GPU for programming, but don't have the time or motivation to learn how to play around with a CUDA installation from scratch (I'm making the assumption that's probably a large part of your problem, as it has been mine).

Their Ubuntu-based distro, Pop!_OS, does a lot of good in this regard, and is really pretty plug and play for an Intel/NVIDIA combo set-up. The driver that they use to manage their CUDA install is also available for plain Ubuntu[1], and I've had good experience with using that to manage my own set-up running an Intel Xeon/NVIDIA P-series (if I'm remembering correctly). I haven't given it a shot on Debian, and if you're using something like Arch, there's a decent chance you'll be out of luck.

Note: I'm not affiliated with System76 in any way, just have slammed my head into this problem on multiple occasions and found this to be my go-to way of managing it.

[1] https://support.system76.com/articles/cuda/

Re:AMD reckons it can win the high-end GPU battle by castis on Sunday February 02, 2020 @06:37AM (#22216487)
I hear that, I had a laptop some years ago with an Nvidia Optimus card in it. It was quite the frustrating experience. I got it to work well enough with bumblebee on Ubuntu but it never felt solid. I had hoped maybe the experience had gotten better but I guess not. I'll continue steering clear.
Re:AMD reckons it can win the high-end GPU battle by agusgun on Sunday February 02, 2020 @07:49AM (#22216693)
I think using pop-os can solve the problem
Re:AMD reckons it can win the high-end GPU battle by bamboozled on Sunday February 02, 2020 @11:43PM (#22221471)
Thanks for the suggestion, but I prefer NixOS
Re:AMD reckons it can win the high-end GPU battle by SkyMarshal on Sunday February 02, 2020 @06:40AM (#22216496)
Nvidia has traditionally been very easy to use with Linux, as long as you were ok using their non-free drivers. Why was it so problematic for you?
Re:AMD reckons it can win the high-end GPU battle by Nullabillity on Sunday February 02, 2020 @07:19AM (#22216624)
Nvidia used to be the less bad option, but AMD's transition to AMDGPU leapfrogged that a long time ago.

They're still focused on their proprietary drivers, and naturally that means that they're way behind on supporting modern kernels. That's an issue if you have other hardware that only had support added recently. Their integration with X11's autoconfig also tends to have.. problems.

Nouveau basically doesn't work for their modern GPUs. My work laptop has a 1660Ti, and X11/Nouveau still can't render anything with it. Wayland/Gnome/Nouveau kinda sorta works, but I'd rather not have to use Wayland if I can avoid it.

Nvidia's support for PRIME is lacking. Their official stance was that you should restart your X11 session every time you wanted to swap. Bumblebee kind of worked, but was very slow and unstable. It looks like they finally implemented support for dynamic PRIME now, but of course they had to name their trigger environment variable something else, so that existing scripts for AMD PRIME wouldn't work.

Re:AMD reckons it can win the high-end GPU battle by bayindirh on Sunday February 02, 2020 @07:04AM (#22216576)
> Nvidia has traditionally been very easy to use with Linux...

Unless you want to do some cutting edge stuff with it. We're begging nVidia to fix their DPMS implementation over DisplayPort for years now.

Oh, I forgot that nVidia drivers do not make enabling VSync easy for video/compositing overlays for ~6 years? I have to disable all optimizations and lose 50% performance to enable VSync in a compositing or video layer.

Yes, most of it works but some annoying parts do not work, and nVidia doesn't make anything easier.

This is on a GTX680 card. It was king of the hill when I first bought it.

Re:AMD reckons it can win the high-end GPU battle by kitsunesoba on Sunday February 02, 2020 @03:47PM (#22219302)
In my experience Nvidia on Linux is fine… as long as you have a typical/common setup. The moment you step outside the norm, the experience falls apart rapidly and Intel/AMD become vastly more pleasant to work with.