Comment 41 for bug 1767654

Revision history for this message
Bob Lawrence (pilotbob42) wrote : Re: [Intel Braswell] Cursor gets stuck on left side of the screen

@tonypanduru

I'd like to share a slightly improved workaround on this for those still dealing with the issue. The core problem seems to be that the mouse cursor can go into a negative X position by one pixel when moved to the far left of the screen. With either the now obsolete intel proprietary driver or the current intel modesetting driver, this causes issues (exact symptoms are different for each, but seem to be from the same root cause).

My previous workaround got by this by scaling the entire desktop to 99.99% of its former size. This prevented the cursor from getting to the -1 X position, but came at a cost of lost performance and some screen tearing in videos and games. This was due to a bilinear filter being applied by xrandr to the whole desktop to accommodate the slight re-size.

The following command avoids this issue and instead merely shifts the entire desktop right one pixel. It still works around the issue, but seems to avoid the overhead of resizing the whole desktop (which preserves display integrity and performance).

xrandr --output HDMI-3 --transform 1,0,-1,0,1,0,0,0,1

It would be nice to get a root cause fix for this, but this workaround seems to do the trick with very little downside. As before, replace the "HDMI-3" with the name of your active display (found by running xrandr with no options) and place the command in your ~/.xprofile (or make a startup app entry in your desktop manager).