Ubuntu 17.04 freeze while Prime Sync is On

Hello,

My Desktop on Ubuntu 17.04 freeze while the Prime Sync is one. I just see two lines in output of last Xorg log which is :

[  1167.371] (WW) NVIDIA(0): WAIT (2, 8, 0x8000, 0x00000350, 0x00000a38)
[  1174.371] (WW) NVIDIA(0): WAIT (1, 8, 0x8000, 0x00000350, 0x00000a38)

I couldn’t find any other error somewhere else.
I’ve attached the nvidia bug report.
Any help would be appreciated.

Thanks.

nvidia-bug-report.log.gz (169 KB)