AMD & NVIDIA Driver Issue

As I mentioned it, not all scenarios are working. The proprietary driver of nvidia is not able to run at the same time as an opensource driver do.

2 possible scenarios:

  1. The proprietary driver as standalone (as main) and offload applications with DRI_PRIME=1
  2. The amdgpu driver as main and offload applications with prime-run.

Not possible with the proprietary driver :

  1. Having both GPUs with active outputs for screens. As mentioned above: If the amd gpu is the output source (main output), then the nvida gpu (when using the nvidia driver) cannot be used as output sink (second output). Having 2 screens on each gpu works only with open source drivers due the lack of support by nvidia.
  2. Also the reverse method does not work.
  3. Offloading to the amdgpu does not work as well if nvidia is main. Only offloading to nvidia gpu could work.

What you could try:

Option “AllowPRIMEDisplayOffloadSink” “boolean”

RandR PRIME Display Offload Sink support, also known as “Reverse PRIME”, is disabled by default for NVIDIA RandR providers on X.Org X servers prior to version 1.20.7 due to latent bugs that can result in crashes when used with the NVIDIA driver. X server version 1.20.6 contains fixes for the crashing, but cannot be detected automatically.

This option overrides the default behavior, allowing PRIME Display Offload Sink to be used regardless of X server version.

Default: PRIME Display Offload Sink will be allowed only for X server 1.20.7 or newer.

https://download.nvidia.com/XFree86/Linux-x86_64/460.80/README/xconfigoptions.html#AllowPRIMEDisplayOffloadSink

But it seems very new and not well tested. With this option you should be able to use the amd gpu as second output sink. But no idea how this works. Never tried it.

1 Like