Just bought a laptop with AMD + nvidia 1650; this is how I got it working.The goal is to use the nvidia card for photogrammetry and rendering,in this case with meshroom and blender.
This particularlaptop is an Asus TUF FX705DT, less than a grand even with the extramemory stick you’ll buy because it only comes with 8GB. In addition tothe “optimus” configuration because AMD’s Ryzen CPU has abuilt-in Vega GPU, this laptop has a realtek wifi adapter(rtl8821ce). Thank you Sauerland for providing the driver in thisrepo:
vidently, the wifidriver doesn’t work with a kernel later than 5.6.2, which zypperkindly installs. What it doesn’t install is kernel-default-devel,so be sure to grab it. For those unfamiliar, the way to do this inYaST Software is to search for the package, click on the versions tabwhere you’ll see whatever’s most current installed, but in thiscase also select version 5.6.2.
With the communityrepository for nvidia drivers enabled, selecting suse-primeautomatically brings in the drivers as dependencies. You’ll have toreboot before you can run “prime-select nvidia” and then rebootagain before the card’s actually enabled. This utility assumes anintel cpu with integrated gpu, but you can’t run “prime-selectintel” so to switch back use “prime-select unset” instead.
The opensuse blenderpackage doesn’t seem to detect the nvidia card, so download the binary from theblender website and unzip it into /opt. Okay, technically it doesn’thave to go there, but when you download a binary like this, yourpackage manager (zypper) is unaware, so the opt directory isconvenient to put such things all in one place. I did the same withMeshroom and created launchers for both with KDE’s menu editor.
I’m not sure ifCUDA is necessary for Meshroom to work because I installed it first,and here’s how to do that. First, install gcc7 alongside thecurrent version. Tumbleweed isn’t supported by nvidia’s CUDA repo, so use the runfile as explained here:
At this time, itsinstructions are as follows:
$ sudo sh cuda_10.2.89_440.33.01_linux.run
But you have to make a slight change:
$ sudo sh cuda_10.2.89_440.33.01_linux.run –override
Remember how I said to install gcc7? Even though it’s there, the fact that a newer version is also there confuses the script, and the override switch skips the version check.
Once you get to the setup screen, deselect driver installation. I couldn’t get suse-prime to work with the driver version it installed.
How well does CUDS work? I don’t know enough yet to put it through it’s paces; all I’m doing here is aggregating advice I found elsewhere. I did run meshroom, though, and while the finished product was disappointing, there was a finish. All I did was select the file full of images and hit start, didn’t play with any parameters.
By the way, I got better and faster results with 3DF Zephyr Free, without using a gpu. That’s a windows program that works great under wine as described by 3DF here:
I didn’t get bumblebee working, and I’m not too worried about it, for suse-prime suits my use case, and besides, the thing doesn’t seem to run hot or drain fast with the nvidia enabled if I’m not rendering.