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

Bug #1767654 reported by will9183 on 2018-04-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned
mesa (Ubuntu)
Undecided
Unassigned
mutter (Ubuntu)
Undecided
Unassigned

Bug Description

When moving the cursor to the left side of the screen, it stops close to the edge. The cursor still moves over in the area but invisible until I move it out of the area. When it doesn't do this, glitching occurs on the screen where the cursor is until I log out. And on screen cast it shows the cursor going to the side of the screen and moving.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 28 09:49:51 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [8086:22b1] (rev 21) (prog-if 00 [VGA controller])
   Subsystem: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [8086:2060]
InstallationDate: Installed on 2018-04-27 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 8087:0a2a Intel Corp.
 Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
 Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: \\boot\vmlinuz-4.15.0-20-generic root=UUID=c6f92850-287a-4747-ac0d-3af593994183 ro quiet splash vt.handoff=1 initrd=boot\initrd.img-4.15.0-20-generic
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/08/2017
dmi.bios.vendor: Intel Corp.
dmi.bios.version: PYBSWCEL.86A.0062.2017.0308.1328
dmi.board.name: NUC5CPYB
dmi.board.vendor: Intel Corporation
dmi.board.version: H61145-408
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrPYBSWCEL.86A.0062.2017.0308.1328:bd03/08/2017:svn:pn:pvr:rvnIntelCorporation:rnNUC5CPYB:rvrH61145-408:cvn:ct3:cvr:
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

will9183 (will9183) wrote :
Daniel van Vugt (vanvugt) wrote :

If you have any Gnome Shell extensions installed, please try disabling them and tell us if that fixes the problem.

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
will9183 (will9183) wrote :

Disabling Gnome Shell extensions does not fix the problem.

Daniel van Vugt (vanvugt) wrote :

OK. Can you please provide a video or screencast of the problem?

will9183 (will9183) wrote :

Here is my video. It is from my camera as a screen recording would not show the bug.

Daniel van Vugt (vanvugt) wrote :

Thanks. Next please try:

1. Logging into "Ubuntu on Wayland" and see if the problem persists.

2. Live booting Ubuntu 18.10 and see if the problem persists there too:
     http://cdimage.ubuntu.com/daily-live/

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
Changed in xorg-server (Ubuntu):
status: Incomplete → New
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in mutter (Ubuntu):
status: New → Incomplete
no longer affects: xorg-server (Ubuntu)
will9183 (will9183) wrote :

Logging into "Ubuntu on Wayland" or live booting Ubuntu 18.10 does not fix the problem.

Daniel van Vugt (vanvugt) wrote :

Thanks.

I've just noticed that gnome-shell sometimes seems to place the cursor slightly offscreen by a couple of pixels. This works fine on my machine, but it's possible your graphics driver can't handle a negative cursor position, so you only see it in the last position that was positive (a few pixels away from the edge).

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
Changed in mutter (Ubuntu):
status: Incomplete → New
Daniel van Vugt (vanvugt) wrote :

I will need to get hold of a machine with a similar CPU/GPU to test that theory.

will9183 (will9183) wrote :

There is also a few more issues that might relate to this issue.

1. On Wayland the mouse stutters a lot.
2. On other desktop environments this issue also happens (I tried LXDE)
3. Other Linux distros have simmilar graphical issues with the cursor too (I have tried Arch)

Hopefully this information will help you more determine the issue. It seems like this issue effects people running Intel Integrated Graphics on Brasswell CPUs.

summary: - Cursor gets stuck on left side of the screen
+ [Intel Braswell] Cursor gets stuck on left side of the screen
echoxxzz (echoxxzz) wrote :

I had the exact same problem with my Intel NUC5CPYH which uses the Braswell chipset. After reading a lot of other articles I found this worked for me and now I can move my mouse anywhere on the desktop and my whole experience is a lot snappier:

1. Create a new xorg.conf file in your home directory:

 sudo X :1 -configure

2. Edit the new xorg.conf.new file and modify/uncomment the following lines in the "Device" section:

 Driver "intel"
 Option "AccelMethod" "sna"
 Option "TearFree" "true"
 Option "DRI" "3"

3. Copy the file to the /usr/share/X11/xorg.conf.d directory and name it 20-intel.conf:

 sudo cp xorg.conf.new /usr/share/X11/xorg.conf.d/20-intel.conf

4. Either reboot or restart the gdm service.

If it doesn't work other posters suggested using "uxa" as the AccelMethod but apparently "sna" is faster.

will9183 (will9183) wrote :

Thanks for the suggestion. It does stop the cursor from getting stuck on the left side of the screen but it causes the cursor to have more problems including disappearing in Chrome when there is no movement, multiple cursors appearing, and other weird artifacts on the screen. Switching to "uxa"causes the mouse to get stuck on the left side of the screen again.

Daniel van Vugt (vanvugt) wrote :

If 'Driver "intel"' fixes the problem then that suggests this is a bug in the default driver "modesetting". So reassigning there.

Daniel van Vugt (vanvugt) wrote :

Also, Xorg moves the cursor independently of gnome-shell/mutter. So any failure to move the cursor is likely to be in Xorg.

Daniel van Vugt (vanvugt) wrote :

Oops. You already said Wayland is also affected.

no longer affects: xorg-server (Ubuntu)
echoxxzz (echoxxzz) wrote :

Remove/comment out the last two options should fix the problem.

#Option "TearFree" "true"
#Option "DRI" "3"

will9183 (will9183) wrote :

It does't fix the issue.

echoxxzz (echoxxzz) wrote :

It works for me using XFCE but I agree it doesn't work on KDE or Gnome.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed

Hello, i have the same problem with my Gigabyte Brace N3150. After a lot of searching i found out that this also is related to HDMI (maybe other digital output as well, but i can't test that).

I've a HDMI and DSUB VGA and tried the VGA and saw that the problem does not occur with VGA. But of course i don't want to use VGA but HDMI.

I hope this helps.

---
OS installed: Ubuntu 18.04 LTS

Output lspci -v -s 00:00:
-------------
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
 Subsystem: Gigabyte Technology Co., Ltd Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
 Flags: bus master, fast devsel, latency 0, IRQ 125
 Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
 Memory at 80000000 (64-bit, prefetchable) [size=256M]
 I/O ports at f000 [size=64]
 [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
 Capabilities: [d0] Power Management version 2
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [b0] Vendor Specific Information: Len=07 <?>
 Kernel driver in use: i915
 Kernel modules: i915

icon master (iconmaster) wrote :

Exact same issue with a Gigabyte BRIX GB-BACE-3150 with a Celeron N3150 (Braswell). I've had this issue with Lubuntu and Debian (lxqt with xfwm4) with and without Compton as compositor.

I'm using a monitor plugged in with hdmi.

Daniel van Vugt (vanvugt) wrote :

If this bug is Braswell-only then it needs to be assigned to the kernel and/or Mesa.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in mesa (Ubuntu):
status: New → Confirmed
Daniel van Vugt (vanvugt) wrote :

Can someone experiencing this bug please try live booting Ubuntu 19.10 or 19.04, and tell us if the problem is fixed there?

Timo Aaltonen (tjaalton) wrote :

Or do a rough bisect using mainline builds of the kernel:

https://kernel.ubuntu.com/~kernel-ppa/mainline/

using 5.1, 5.2, 5.3rc first.

Install linux-image-unsigned-..-generic and linux-modules-...-generic and then select it from the boot menu

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers