Good news I suppose, we recently discovered that PRIME Render Offload is (sort of) working, at least for NVidia driver 495.29.05. I was a little sad when I switched over to FreeBSD that I would have to go back to the Bumblebee days (at least, that's what the ports solution is very similar to right now).
However, this technology is very likely the reason I ditched Linux after many years in the first place... For some reason my laptop on any Linux distribution would hard lock up ever since (or thereabouts) I started using it. I never really figured out the real cause, since I had no way to catch logs or debug the problem, so I had to move on. [More controversial stuff removed by me.]
I've been using FreeBSD since sometime in July and I've never experienced a freeze, which is great, and I can have an uptime of a week or more without any sluggishness. Of course I've had to sacrifice most of the gaming toys available... until now? Well, from my recent testing, almost nothing of interest works for me on wine-proton due to what seems to be address space issues. However, vkcube works for NVidia now, and I at least have seen that DXVK *can* work. I got a Unity 4-based demo to start on both GPUs using Vulkan, but it crashed on NVidia.
Seems a little buggy on a simple native application too, for example glxinfo:
As far as I know, that error isn't fatal, and glxgears certainly works.
For some reason the linux-compat stuff (Linuxulator?) can't detect my Intel card at all, so it sort of sees the NVidia driver without any extra work:
Not sure why it's still showing llvmpipe...
I need more stuff to test, but I'm having trouble finding somewhat graphically demanding programs that aren't huge downloads.
Pardon the rant and introduction. Anybody else's experiences, introductions, suggestions, etc. are welcome. I suppose there was no real point to this post, no real problem to solve at this point, as all this stuff will fall into place eventually. It's certainly fun technology though if you're one of the (un)fortunate.
For reference:
github.com
forums.freebsd.org
Thanks,
Tod
However, this technology is very likely the reason I ditched Linux after many years in the first place... For some reason my laptop on any Linux distribution would hard lock up ever since (or thereabouts) I started using it. I never really figured out the real cause, since I had no way to catch logs or debug the problem, so I had to move on. [More controversial stuff removed by me.]
I've been using FreeBSD since sometime in July and I've never experienced a freeze, which is great, and I can have an uptime of a week or more without any sluggishness. Of course I've had to sacrifice most of the gaming toys available... until now? Well, from my recent testing, almost nothing of interest works for me on wine-proton due to what seems to be address space issues. However, vkcube works for NVidia now, and I at least have seen that DXVK *can* work. I got a Unity 4-based demo to start on both GPUs using Vulkan, but it crashed on NVidia.
Seems a little buggy on a simple native application too, for example glxinfo:
tod@mata:~$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep -i renderer
OpenGL renderer string: NVIDIA GeForce GTX 1050/PCIe/SSE2
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 78 (X_CreateColormap)
Serial number of failed request: 129
Current serial number in output stream: 136
As far as I know, that error isn't fatal, and glxgears certainly works.
For some reason the linux-compat stuff (Linuxulator?) can't detect my Intel card at all, so it sort of sees the NVidia driver without any extra work:
tod@mata:~$ /compat/linux/bin/glxinfo | grep -i renderer
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
Failed to establish dbus connection GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: NVIDIA GeForce GTX 1050/PCIe/SSE2
Not sure why it's still showing llvmpipe...
I need more stuff to test, but I'm having trouble finding somewhat graphically demanding programs that aren't huge downloads.
Pardon the rant and introduction. Anybody else's experiences, introductions, suggestions, etc. are welcome. I suppose there was no real point to this post, no real problem to solve at this point, as all this stuff will fall into place eventually. It's certainly fun technology though if you're one of the (un)fortunate.
For reference:
GitHub - shkhln/revird-aidivn
Contribute to shkhln/revird-aidivn development by creating an account on GitHub.

Laptop with Intel integrated + dedicated nVidia GPU
I own a Lenovo ThinkPad P2000 "mobile workstation" (hexacore Intel Xeon E-2176M, nVidia Quadro P2000 Max-Q GPU, 32-GB ECC RAM, 1TB NVMe SSD). Windows 10 is capable of using both the Intel integrated UHD P630 graphics as well as the dedicated nVidiaQuadro P2000 GPU. Not only can it switch...
Thanks,
Tod