External monitor freezes when using dedicated GPU

Thank you!

I tested latest betta driver 545.23.06 and found that bug can be reproduced even easier: only run
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
on laptop display without running any other apps on second monitor. Now hold right bottom corner of the gears window and start resizing it by moving mouse in circles quickly. After 3-5 circles main laptop display freezes for a second, then unfreezes. At this point laptop display usable again, but second monitor (that didn’t have any apps on it) gets permanently frozen.
nvidia-bug-report.log.gz (332.6 KB)

This also can be reproduced with Release driver 535.113.01
nvidia-bug-report.log.gz (302.6 KB)

One more thing I forgot to mention - no matter what driver it is, when I start up and login into desktop, only laptop display works and external display is frozen - if I move mouse to the second screen, it doesn’t appear there. Once I open any app on laptop display and move window to external display - it unfreezes and function normally, so most users would probably never note that it was frozen.

1 Like