Greetings,
I have been using the Prime offload for quite awhile and it stopped working with my current settings and the only thing I now can get working is Prime Sync which I don’t want.
I have the following Setup.
Latest openSUSE Tumbleweed
using NVIDIA 410.57 Beta (Same result with 396.54)
When i would run dGPU with Prime offload i used the following settings:
The above configuration would work fine with 396.24 driver, but now it takes me to a black screen since the last few driver releases and does not load the displaymanager.
The only way I can now get it working is with Prime Sync and passing the boot param nvidia-drm.modeset=1 and with no xorg.conf file. This gets poor performance when driving 3 monitors or 3D games.
Any ideas on the above configuration in the first post to get Prime offload working again?
You’ve been using prime output, prime offload is not supported by the proprietary driver, just nouveau. Prime sync is a feature on top of prime output, eliminating tearing. Now you’re using probably just the igpu on wayland.
What DM/DE are you using?
You should modify your xorg.conf like this:
If you’re still getting just a black screen, maybe the xrandr commands to enable prime output that have to be run by your login manager (DM) are missing
Please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post will reveal a paperclip icon.
Edit: swapped the sections
Please use the complete xorg.conf from the mentioned thread. The ‘ServerLayout’ section is important.
The old style xorg.conf with the Load Module section doesn’t work anymore with Prime sync.
For shorter config, you would need to use OutputClass snippets.
It’s not limited to one monitor. It just sets a minimal X layout, everything else is autodetected. The important part is that it’s setting the Nvidia gpu as main and the Intel one to secondary (inactive).
This didn’t work either. I’m going to try booting without any monitors attached and see where it gets. See attached for the bug report. nvidia-bug-report.log.gz (968 KB)
ok… so this worked if I remove all monitors attached and then attach them afterwards. However its not speedy. my FPS are low with glxgears that actually works again now. Need a setup for discreet nvidia GPU
GPU-wise it’s working but mesa glx is still used, so you only got software rendering.
The config snippet has to be extended by a ModulePath that points to the nvidia glx. How did you install the driver?
OK I think I have it in the best case scenario here. and GLX isn’t loading at all and glxgears won’t work so… I can tell i’m running in discreet GPU mode because the video response is very fast now. Very nice.
Errrm…according to your logs, everything is set up perfectly now.
glxgears probably now displays 60FPS, which is the expected value since your display is vsync’d now.
You can force it to run unsynced
__GL_SYNC_TO_VBLANK=0 glxgears