[Bug 1767654] Re: [Intel Braswell] Cursor gets stuck on left side of the screen

2021-01-01 Thread Bob Lawrence
I'll also add that this problem is still present in kernel 5.8 (no
matter if you use "modesetting" or "intel" driver for the Braswell GPU.

My current setup:

System:Kernel: 5.4.0-58-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
Desktop: Cinnamon 4.6.7 
   wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 
20.04 focal 
Machine:   Type: Desktop System: ASUSTeK product: E410 v: 0703 serial:  
   Mobo: ASUSTeK model: E410 v: Rev 1.xx serial:  
   UEFI: ASUSTeK (Licensed from AMI) v: 0703 date: 07/07/2017 
CPU:   Topology: Quad Core model: Intel Celeron N3150 bits: 64 type: MCP 
arch: Airmont rev: 3 
   L2 cache: 1024 KiB 
   flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 
12800 
   Speed: 1008 MHz min/max: 480/2080 MHz Core speeds (MHz): 1: 721 2: 
1179 3: 2081 4: 2080 
Graphics:  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
Integrated Graphics 
   driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:22b1 
   Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: 
fbdev,vesa 
   resolution: 1920x1080~60Hz 
   OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (BSW) 
   v: 4.6 Mesa 21.0.0-devel (git-7de1468 2021-01-01 focal-oibaf-ppa) 
compat-v: 3.0 
   direct render: Yes

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1767654

Title:
  [Intel Braswell] Cursor gets stuck on left side of the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1767654/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767654] Re: [Intel Braswell] Cursor gets stuck on left side of the screen

2021-01-01 Thread Bob Lawrence
@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).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1767654

Title:
  [Intel Braswell] Cursor gets stuck on left side of the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1767654/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767654] Re: [Intel Braswell] Cursor gets stuck on left side of the screen

2020-06-06 Thread Bob Lawrence
I can confirm that the problem is present with both the intel and the
modesetting driver on Braswell systems. The exact symptoms differ for
each, but in both cases it is triggered when the mouse touches the left
limit of the screen. With modesetting, it seems to "stick" until you
move the mouse away from the left side. With intel, touching the left
side starts a flickering that persists even after you move the mouse
away. Mainly, just the mouse cursor flickers, but the whole screen will
flicker when doing graphics intensive tasks like fullscreen video or
gaming. Sometimes, the mouse flicker can be so bad it becomes nearly
invisible.

I have made full report on the bug report thread opened by Salvatore.

The good news is I found a workaround, you can use xrandr to scale the
display to 0.x0. and this prevents the issues in both intel and
modesetting. This can be done in your .xprofile in your home directory
to take effect at login. It does come with a slight performance penalty,
but it's preferable to the glitching that happens otherwise (at least
until someone fixes the regression).

xrandr --output HDMI-3 --mode 1920x1080 --scale 0.x0.

Replace "HDMI-3" with the name of your display (can be found by running
xrandr with no options).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1767654

Title:
  [Intel Braswell] Cursor gets stuck on left side of the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1767654/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs