Page 1 of 1

linux guest / windows host / nvidia gpu / window redraw

Posted: 8. May 2020, 21:54
by brians-vbox
I've been struggling with this for quite some time and have tried many solutions without luck.

I'm running linux ubuntu 16.04 (fully updated) guest using compiz using Vbox 5.2.38 on a win7 host using nvidia Gt740 graphics and the latest 26.21.14.4575 drivers.

After my guest has been running for awhile, individual windows within the guest will not always redraw without a change of focus. Changing focus will cause them to update, but will not always mitigate the continuance of the problem.

Example: I focus on a terminal, start typing and the window doesn't show anything. If I move focus away and back, the window redraws. Sometimes when I start typing again after this, it will be fine. Other times, it takes a few refocus events to get it to behave such that it updates interactively. I see this on all windows, not just terminals.

Strangely, it seems to worsen the longer the guest runs. I never see the problem when I initially bring up the guest. After a few hours, it starts happening once in awhile and a single refocus fixes the problem for any individual window. The longer the guest runs, the more often it happens and the more refocus events it takes to make it behave.

I've done a lot of searching for solutions and I suspect this is some kind of 3d problem related to nvidia drivers and virtual box and guest xwin or openGL sync. I've tried updating to VBox 6, since it has new virtual graphics adapters, but I couldn't get it to run at all without major screen corruption. It somehow corrupted my VM and I had to restore from backup to get v5 working again, such that it is.

I've updated the nvidia drivers and it seems the problem has gotten worse with the latest update. I found a setting in compiz that forces sync between X and GLX, but it doesn't seem to help. I've tried lots of other tweaks and such and still not love.

Please, someone help me find a workaround so I can be productive again!!

Brian