Nvidia offload mode, no intel GPU running

Hey guys!

I need your help to fix something with my current setup.

I have a XPS 15 9560 which has a GTX 1050 and an intel GPU.

I was able with other distribution to use the offload mode functionality but It doesn’t seem to working with the configuration proposed in the wiki: Nvidia - NixOS Wiki

I expect a simple glxinfo to return the intel vendor:

▶ glxinfo | grep vendor                                                       ~
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
▶ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation

Thank you to all the contributors to this project! and thank you in advance to the persons that will help me, cause I know you guys will :slight_smile:

EDIT:

Here is a link to my configurations: https://pastebin.com/2gTwuNZM

I have added more details into an issue I have posted on github Broken Intel with or without Nvidia Configurations in unstable running XPS 15 9560 · Issue #82819 · NixOS/nixpkgs · GitHub

1 Like