#996453 nvidia-driver: Unable to use Prime Render Offload with nvidia-driver

#996453#5
Date:
2021-10-14 09:03:38 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation? Tried to launch apps with command __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
 I've installed the nivida-driver from stable repo and firmware-misc-non-free pkg as said by the Wiki.

Afterwards, I went through https://wiki.debian.org/Steam instructions, enabled 32bit architecture, made sure that the mesa vulkan drivers installed as suggested.
During steam install I received a notification that I need to make sure that the pkg below is installed:
nvidia-driver-libs-i386
However, apt unable to locate this package - non-free contrib enabled.
   * What was the outcome of this action?
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)

   * What outcome did you expect instead?
To launch steam app with command __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam

Able to launch steam from terminal not using the Prime Render Offload, however the games won't launch when trying to run them with option: _NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

*** End of the template - remove these template lines ***

#996453#10
Date:
2021-10-17 07:40:34 UTC
From:
To:
Dear Maintainer,

I've solved the problem by installing the following package:

  * libgl1-nvidia-glvnd-glx:i386

The wiki may be a bit missleading in the NvidiaGraphics section, as it
does not require to add the 32bit architecture when installing the
nvidia-driver, or even if it the 32bit arch. added on a later stage, by
reinstalling the nvidia-driver doesthe above package does not get
installed automatically as a dependency, at least in my case.

Kind regards,

Lazlo