Acer Aspire VN7-793G (GTX1060) corrupt display upon rotation


On Acer Aspire VN7-793G with Nvidia GTX 1060, upon rotating the screen with xrandr the display becomes corrupted:

nvidia driver version 384.98

nvidia-bug-report output:

Please let us know how we can help further diagnose this issue

Does this work if you turn on prime sync? i.e. using kernel parameter
In case of Ubuntu, you might have to add a file in /etc/modprobe.d/ containing
options nvidia_XXX_drm modeset=1
with XXX being the major version of the installed nvidia driver.
After that, run
update-initramfs -u

This is also reproducible on Asus X705UQ (nvidia 940MX).

Turned on that parameter and checked with:

root@endless:~# cat /sys/module/nvidia_drm/parameters/modeset 

Started X, set 90 degrees rotation, and the behaviour is still as above.

The display on these laptops is done via the Intel display controller.

I checked and this appears to be a bug in xf86-video-intel. Switching to the modesetting driver makes the problem go away.

Probably not an nvidia issue then - sorry for the noise