Mouse cursor lost when unlocking with Intel graphics

Bug #1568604 reported by Kenneth Zadeck
This bug affects 624 people
Affects Status Importance Assigned to Milestone
elementary OS
Fix Released
High
Unassigned
xf86-video-intel
Confirmed
Medium
xserver-xorg-video-intel (Debian)
Fix Released
Unknown
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Unassigned
Trusty
Won't Fix
Medium
Unassigned
Xenial
Fix Released
High
Unassigned
xserver-xorg-video-intel-lts-xenial (Ubuntu)
Trusty
Won't Fix
Medium
Unassigned

Bug Description

[Relevant details]
This bug also affects Trusty and all distributions based on it, like Elementary OS Freya.

[Impact]
Mouse cursor is no longer visible after VT-switch for systems with Intel graphics.

Switching VTs again may cause the cursor to become visible again.
- Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7)

This is often observed in systems that lock the session and return to the greeter (including at least Xubuntu, Ubuntu Mate, and elementary OS).

[Test Case]
(Requires a lightdm-based screen locking solution)
1. Start a new session.
2. Lock your screen.
2a. You are redirected to the lightdm greeter.
3. Login/Unlock your session.
4. Cursor is no longer visible.

[Regression Potential]
remains to be seen

===

[Original Report]
Cursor is visible at unlock screen either after returning from suspend or just locking.

After unlocking screen cursor is invisible.

Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor returns

====================

no matter if you suspend or sleep, to swap or disk when you return from it, the mouse cursor is missing. you can still move the mouse and you can see (because it highlights the window) as you move it around. But the cursor is not displayed on the screen.

i am using a lenovo W540 laptop. I downloaded the latest beta on april 8 2016.

this is xubuntu using the xfce window manager.

the cursor does return if i log off and log back in, but that actually defeats the purpose of going to sleep.
---
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-04-08 (2 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
Package: light-locker 1.7.0-2ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Tags: xenial
Uname: Linux 4.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

Revision history for this message
In , Denis Dupeyron (calchan) wrote :

Created attachment 122506
dmesg and Xorg.0.log

I am a Gentoo user and have the exact same problem as a Debian user which he describes at [1]. His words:

"The mouse pointer simply disappears when I want to log into the system after
locking the screen. After restarting the Xserver, everything backs to normal,
but when I lock the screen again, I won't see the pointer after login. I'm
using lightdm as DM.

I can get the mouse pointer back also when I switch to TTY using ctl-alt-f1 and
then to xsession via ctrl-alt-f7."

The issue appeared between 1.18.1 and 1.18.2, so I bisected. Reverting commit b04767c84deafc44993723add4b1c5163fc11711 by Michel Dänzer solves this particular issue.

Thanks.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818325

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Does this also happen using the modesetting driver instead of the intel driver?

Revision history for this message
In , Denis Dupeyron (calchan) wrote :

(In reply to Michel Dänzer from comment #1)
> Does this also happen using the modesetting driver instead of the intel
> driver?

Good catch. I tried and it does not happen with the modesetting driver.

Revision history for this message
In , Chris Wilson (ickle) wrote :

First machine I looked at worked fine. Could you please run xf86-video-intel/tools/cursor and cat /sys/kernel/debug/dri/0/i915_display_info when the cursor is invisible coming back from screenlock?

Revision history for this message
In , Denis Dupeyron (calchan) wrote :

Created attachment 122577
/sys/kernel/debug/dri/0/i915_display_info

This is a cat of /sys/kernel/debug/dri/0/i915_display_info when the cursor is invisible. The before and after screenlock diff is this:

--- before 2016-03-26 11:12:18.744047285 -0600
+++ after 2016-03-26 11:13:28.722867306 -0600
@@ -6,11 +6,11 @@
  fb: 50, pos: 0x0, size: 1280x800
  encoder 26: type: LVDS-26, connectors:
   connector 25: type: LVDS-1, status: connected, mode:
- id 0:"1280x800" freq 60 clock 82060 hdisp 1280 hss 1332 hse 1396 htot 1672 vdisp 800 vss 803 vse 806 vtot 818 type 0x48 flags 0xa
- cursor visible? yes, position (365, 188), size 64x64, addr 0x00816000, active? yes
+ id 0:"1280x800" freq 60 clock 82060 hdisp 1280 hss 1332 hse 1396 htot 1672 vdisp 800 vss 803 vse 806 vtot 818 type 0x0 flags 0xa
+ cursor visible? no, position (0, 0), size 0x0, addr 0x00000000, active? no
  No scalers available on this platform
  --Plane id 22: type=PRI, crtc_pos= 0x 0, crtc_size=1280x 800, src_pos=0.0000x0.0000, src_size=1280.0000x800.0000, format=XR24 little-endian (0x34325258), rotation=0 (0x00000001)
- --Plane id 23: type=CUR, crtc_pos= 365x 188, crtc_size= 64x 64, src_pos=0.0000x0.0000, src_size=64.0000x64.0000, format=AR24 little-endian (0x34325241), rotation=0 (0x00000001)
+ --Plane id 23: type=CUR, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
  underrun reporting: cpu=yes pch=no

 Connector info

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1568604/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Paul White (paulw2u) wrote :

I'm seeing this on a Toshiba C-50B. Only started in the last couple of days.

tags: added: xubuntu
tags: added: xenial
Revision history for this message
Kev Bowring (flocculant) wrote :

Perhaps a laptop issue - on this desktop can suspend and mouse is there on wake

affects: ubuntu → xfce4-power-manager (Ubuntu)
Revision history for this message
Pavlushka (pavelsayekat) wrote :

A logout and re-login solved this for me as a temporary solution.

Revision history for this message
Kev Bowring (flocculant) wrote :

@pavlushka - that is already commented in post #1

and as said there 'negates the purpose of suspend'

please don't add comments like that which add nothing - just use the Me Too option

Kev Bowring (flocculant)
affects: xfce4-power-manager (Ubuntu) → light-locker (Ubuntu)
Revision history for this message
Kev Bowring (flocculant) wrote :

@Kenneth Zadeck

first off - can you confirm the graphics adaptor on your laptop

can you please run

apport-collect 1568604

from the laptop so the bug report grabs the necessary

Revision history for this message
Kenneth Zadeck (zadeck) wrote :

Multi-GPU Configuration
1 single GPU card / integrated GPU
Graphics Processor
NVIDIA Quadro K2100M / Intel HD Graphics 4600 - 2 GB
Video System Features
NVIDIA Optimus

I need to also add that this was with the default driver that you get when you do an install.

i just installed the nvidia 361 driver and the problem seems to have gone away.

tags: added: apport-collected
description: updated
Revision history for this message
Kenneth Zadeck (zadeck) wrote : Dependencies.txt

apport information

Revision history for this message
Kenneth Zadeck (zadeck) wrote : JournalErrors.txt

apport information

Revision history for this message
Kenneth Zadeck (zadeck) wrote : Re: xubuntu 16.04 beta looses mouse cursor when returning from sleep

I did the apport-collect after i installed the nvidia driver. if that was a mistake, tell me and i will uninstall the driver and rerun it.

sorry, i did not read this carefully enough.

kenny

Revision history for this message
Kev Bowring (flocculant) wrote :

if we need that we'll ask again - thanks for the prompt response :)

if you find it comes back regardless of driver - please let us know

Changed in light-locker (Ubuntu):
importance: Undecided → High
Revision history for this message
Pavlushka (pavelsayekat) wrote :
Kev Bowring (flocculant)
summary: - xubuntu 16.04 beta looses mouse cursor when returning from sleep
+ xubuntu 16.04 beta loses mouse cursor when returning from sleep
Revision history for this message
Kev Bowring (flocculant) wrote : Re: xubuntu 16.04 beta loses mouse cursor when returning from sleep

can anyone affected check that a switch to vt1 and back to vt7 brings cursor back

Revision history for this message
Dan Streetman (ddstreet) wrote :

> can anyone affected check that a switch to vt1 and back to vt7 brings cursor back

yep, that does restore the pointer cursor, at least on my system.

Revision history for this message
Dan Streetman (ddstreet) wrote :

this happens even without suspending; I can just close my laptop (which is set to only lock screen), and when I open it and unlock, the pointer is not visible (except the lock screen, where the pointer is visible).

in my Xorg.0.log, the screen lock/unlock logs:
[ 5359.220] (II) intel(0): switch to mode 1024x768@60.0 on LVDS1 using pipe 0, position (0, 0), rot
[ 5360.676] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 5366.393] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 5366.393] (II) intel(0): switch to mode 1024x768@60.0 on LVDS1 using pipe 0, position (0, 0), rot

while the vt switch to VT1 then back to VT7 logs:
[ 5371.396] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 5372.514] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 5372.515] (II) intel(0): switch to mode 1024x768@60.0 on LVDS1 using pipe 0, position (0, 0), rot
[ 5373.001] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 1, disabling CRTC:24

Revision history for this message
Dan Streetman (ddstreet) wrote :

also, I'm also using xfce window manager, and upgraded from wily to xenial last night.

Kev Bowring (flocculant)
affects: light-locker (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
affects: light-locker → xserver-xorg-video-intel
Changed in xserver-xorg-video-intel:
status: Unknown → Fix Released
Revision history for this message
Pavlushka (pavelsayekat) wrote :

> can anyone affected check that a switch to vt1 and back to vt7 brings cursor back
yes, it restores my cursor too.

Revision history for this message
In , Andrey Vihrov (andrey.vihrov) wrote :

Created attachment 123068
xf86-video-intel/tools/cursor output

To add to the previous comment, running xf86-video-intel/tools/cursor when the pointer is invisible prints a correct pointer image and dimensions.

Revision history for this message
Daniel Kessel (dkessel) wrote :

Does not only affect standby/resume. Also happens when locking/unlocking the screen.

Kev Bowring (flocculant)
summary: - xubuntu 16.04 beta loses mouse cursor when returning from sleep
+ Mouse cursor lost when returning from lock
summary: - Mouse cursor lost when returning from lock
+ Mouse cursor lost when unlocking
Revision history for this message
sudodus (nio-wiklund) wrote : Re: Mouse cursor lost when unlocking

I have this issue or very similar in two laptops, a Toshiba and a Lenovo

http://www.toshiba.se/laptops/satellite-pro/c850/satellite-pro-c850-19w/

https://shop.lenovo.com/ISS_Static/ww/wci/products/us/laptop/thinkpad/x-series/x131e-intel/X131e-Datasheet-Intel.pdf

when running systems installed from the Lubuntu alternate iso file. But since my computers are not affected in live mode and not when created from the Lubuntu desktop iso files, I suspect that it is another issue and I will create a separate bug report.

Revision history for this message
Paul White (paulw2u) wrote :

Two points to note:

1) I can confirm that just locking the screen on a Toshiba C-50B causes the mouse pointer to not appear when unlocking.
2) I've never experienced this bug during a "live" session and I *have* tried several times.

Revision history for this message
sudodus (nio-wiklund) wrote :

It might be the same bug, but I'm not sure. It is strange, that it only affects systems made from Lubuntu Xenial Alternate, not from Lubuntu Xenial desktop.

So I created the bug report

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1572640

Maybe it will be considered a duplicate, maybe not.

Revision history for this message
Martin Wolf (mwolf-adiumentum) wrote :

i did a clean installation with the final xubuntu iso and i still have the same issue with my lenovo T420 (intel only)

Revision history for this message
Detroyer (destroyer954) wrote :

I have the same issue on clean installation of xubuntu 16.04 on lenovo thinkpad e540

Revision history for this message
Kauê Rodrigues (kauefr) wrote :

This affects me on a Lenovo G40-80 laptop with an Intel i3 5005U processor.

Revision history for this message
Wayne Stark (wastark-gmail) wrote :

Also clean install from the xubuntu 16.04 amd64 iso. Intel graphics.
Happens on suspend & screen lock.

Revision history for this message
Mrinmoy Dey (mrinmoy1988) wrote :

Facing the same issue on Lubuntu 16.04 - 32 bit after upgrading from lubuntu 15.10. The issue seems to be with Light DM, Light Locker setting also not opening.

Revision history for this message
Petr Gladkikh (petrglad) wrote :

I have similar issue on Lenovo B50-70 with AMD/Intel graphics, Xubuntu.
Switching to text console and back to Ctrl+Alt+F7 does restore cursor.
I have also noted that
1. Disabling discrete AMD card in BIOS this issue still persists.
2. After waking from lock/suspend there is cursor in unlock screen but cursor disappears after session is unlocked

Revision history for this message
Kev Bowring (flocculant) wrote :

If you have this bug with intel then please use the Me Too option -

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604/+affectsmetoo

to register that the bug affects you.

If you have this bug without intel - please comment further.

description: updated
summary: - Mouse cursor lost when unlocking
+ Mouse cursor lost when unlocking with Intel graphics
Revision history for this message
Jens Herrmann (bugs-u) wrote :

I just got rid of this problem on 2 laptops by reconfiguring the displaymanager to gdm and back to lightdm

These are the steps it took:

1. sudo apt-get install gdm
2. sudo dpkg-reconfigure lightdm, choose gdm3 here and reboot
3. To get a login screen I had to do CTRL ALT F1 and CTRL ALT F7
4. After login the mouse cursor is also missing, CTRL+ALT F1, CTRL+ALT F7 -> its there
5. sudo dpkg-reconfigure lightdm, choose lightdm, reboot
6. login, go to STR and wake up, mouse cursor is there

Can anyone confirm this?

Revision history for this message
Kauê Rodrigues (kauefr) wrote :

@bugs-u
Didn't work for me.
Info:
Xubuntu 16.04
CPU: Intel Core i3-5005U CPU @ 2GHz
GPU: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
DE: XFCE

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1568604

tags: added: iso-testing
Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :

Happens on my Lenovo A740.

I tried, as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815135#30 mentioned, to set accelmethod to uxa, but to no avail. Both vt-switching and xset dpms force off bring back the cursor (where locking removes it).

Drivers used:

$ grep Loading /var/log/Xorg.0.log
[ 21.562] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 21.593] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 21.596] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 21.598] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 21.598] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 21.598] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 21.598] (II) Loading sub module "fbdevhw"
[ 21.599] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 21.620] (II) Loading sub module "dri2"
[ 21.620] (II) Loading sub module "present"
[ 21.679] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 32.294] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so

This is very annoying – what package can I downgrade to avoid the problem more permanently?

Revision history for this message
Saurav (saurav1) wrote :

One workaround is to use gnome-screensaver instead of light-locker.

Revision history for this message
Leonard Samuelson (len-samuelson) wrote :

Happens with an Intel NUC-5i5RYH (Core i5-5250U), Xubuntu 16.04, DisplayPort driving Acer 2560x1440 monitor.

Another workaround: Create a keyboard shortcut to "light-locker-command --activate". I use "ctrl-alt-C". Using the command "xset s activate" also works. When an unlock fails to restore the mouse cursor, using the keyboard shortcut flashes the screen and when reactivated the mouse cursor is visible.

Revision history for this message
Jose Bordelon (jose-w) wrote :

I have exactly the same issue with Lubuntu 16.04 with LXDE destop and a Dell Latitude E6500.

Revision history for this message
panicopticon (embusse) wrote :

The temporary solution proposed by Leonard Samuelson (len-samuelson) in #35 works for me. I'm on a Xubuntu 16.04 on a Lenovo T530, i5-3320M, using Intel graphics.

Revision history for this message
M Hao (windcolor) wrote :

Thanks Leonard. That work around work for me. I almost want to do a fresh install.

Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :
Revision history for this message
In , Nicolasmaia (nicolasmaia) wrote :

For reference: duplicate bug #95132

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

*** Bug 95132 has been marked as a duplicate of this bug. ***

Revision history for this message
studoret (studoret) wrote :

Happens with shuttle XH170, Intel i36100 , Ubuntu Studio 16.04 LTS

Another workaround, using one keyboard shortcut acting as CTRL-ALT-F1 / CTRL-ALT-F7 sequence :

- create a script with the following lines :

   #!/bin/sh
   sudo /bin/chvt 1
   sudo /bin/chvt 7

- add a keyboard shortcut to this script

- add permission in /etc/sudoers
   <USER> <HOSTNAME> = NOPASSWD: /bin/chvt

Revision history for this message
palmerito0 (sandiegobutterflies) wrote :

Would it be possible to automatically run the script in #40 at login?

Revision history for this message
studoret (studoret) wrote :

I also wish I had the script called at unlock time, but I have not yet found the way to do that.

Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :

For those on XFCE, gnome-screensaver won't lock on idle – it requires gnome-session running in order to do that: https://bugzilla.xfce.org/show_bug.cgi?id=5927

A more permanent "solution" for XFCE users is to

 sudo apt-get purge light-locker
 sudo apt-get install xscreensaver
 # To make the "switch users" button know that you use lightdm:
 echo 'xscreensaver.newLoginCommand: dm-tool switch-to-greeter' >> ~/.Xresources

The downside is that you have to enter your password twice when you do "switch users" to an already logged-in user.

Revision history for this message
palmerito0 (sandiegobutterflies) wrote :

I placed this script and made it executable in /lib/systemd/system-sleep

#!/bin/sh

# Script to switch between virtual consoles on wakeup to make
# cursor reappear.

sudo /bin/chvt 1
sudo /bin/chvt 7

It doesn't seem to be working. I'll keep investigating to see if there is another place where this script could be put in order to make it execute. The correct place would probably be not on wakeup, but rather on login after wakeup.

Revision history for this message
Mrinmoy Dey (mrinmoy1988) wrote :

Simply pressing ctrl+F7 is bringing it back for me

Revision history for this message
Jarno Suni (jarnos) wrote :

As for #43, you have to log out and log in before the "New Login" button works in xscreensaver. You do not need to give password twice: first time you can skip it by Ctrl-Alt-F7.

Revision history for this message
Jarno Suni (jarnos) wrote :

As for #43 still, if you use other locker than light-locker and switch user using an Action button in xfce4-panel, you can switch back without giving password (by pressing Ctrl-Alt-F7). So it is better to use a script "xflock4 && dm-tool switch-to-greeter" for switching user, if you do not use light-locker. Besides, xscreensaver does not let you unlock a guest session, since it takes null password as cancel. Customize your guest session to not lock on suspend, not to autostart xscreensaver, and to have the ~/.Xresources customization for it, too. (https://help.ubuntu.com/community/CustomizeGuestSession)

BTW. you can not unlock guest session even if you use light-locker.

Revision history for this message
Jarno Suni (jarnos) wrote :

Actually, you don't need the ~/.Xresources customization in guest session if you don't start xscreensaver in guest session.

Revision history for this message
hyperboria (reganyway) wrote :

why script?
the only command:

xset s activate

helps to return cursor for me, besides the ctrl+alt+f1 ctrl+alt+f7

Revision history for this message
Jarno Suni (jarnos) wrote :

hyperboria, you need to use the script, if you use another locker than light-locker. Is activating screensaver by "xset s activate" desired?

Revision history for this message
hyperboria (reganyway) wrote :

Jarno, sorry i dont use screensaver. but i supose light-locker is working in my system.

Revision history for this message
Angelo (amsgomes-t) wrote :

Desktop computer, Lubuntu just upgraded yesterday and since them the same problem occurs here. The video is a INTEL one.

Revision history for this message
Pradyumna (pradyumnarn) wrote :

This is the same issue for me to.. I am using Lubuntu 16.04 LTS.. I do have a workaround which does work

One workaround until a fix is released seems to be to hit Ctrl+Alt+F1 then Ctrl+Alt+F7.

A Debian user reported that running xset dpms force off and then hitting a key also worked.

Revision history for this message
Aaron Raimist (aaronraimist) wrote :

I have a external monitor attached to my laptop and the mouse comes back if you move it on to the second monitor. At that point it is fixed until you lock Xubuntu again. Not sure if this is useful information to developers working on the fix but there you go.

What is the status on this bug? Do we know what change caused this issue?

Revision history for this message
Aaron Raimist (aaronraimist) wrote :

flocculant has determined (and I can confirm) that setting the Intel drivers to uxa acceleration mode instead of the default sna mode, fixes this issue. This post shows you how to change that option: https://askubuntu.com/questions/225356/how-can-i-enable-the-sna-acceleration-method-for-intel-cards-under-ubuntu-12-04

Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815135#30

Revision history for this message
Bill Naylor (willnay98) wrote : Re: [Bug 1568604] Re: Mouse cursor lost when unlocking with Intel graphics

Hi,

Thank you so much Aaron!! I reported this bug in Ubuntu Mate and your fix
worked for me. In a nutshell I ran these 2 commands:

sudo mkdir /etc/X11/xorg.conf.d/
echo -e 'Section "Device"\n Identifier "Card0"\n Driver "Intel"\n
Option "AccelMethod" "uxa"\nEndSection' | sudo tee
/etc/X11/xorg.conf.d/20-intel.conf

On Sun, May 1, 2016 at 5:50 PM, Aaron Raimist <email address hidden>
wrote:

> flocculant has determined (and I can confirm) that setting the Intel
> drivers to uxa acceleration mode instead of the default sna mode, fixes
> this issue. This post shows you how to change that option:
> https://askubuntu.com/questions/225356/how-can-i-enable-the-sna-
> acceleration-method-for-intel-cards-under-ubuntu-12-04
>
> Also see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815135#30
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1570881).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in xf86-video-intel:
> Fix Released
> Status in xserver-xorg-video-intel package in Ubuntu:
> Confirmed
>
> Bug description:
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: True
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1568604/+subscriptions
>

--

-Bill Naylor

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :
Revision history for this message
In , Sitsofe Wheeler (sitsofe) wrote :

I'm seeing this too with XUbuntu 16.04. Here's a potential downstream bug https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604 .

Revision history for this message
palmerito0 (sandiegobutterflies) wrote :

The workaround detailed in #56 did not work for me.

Revision history for this message
Yann Salmon (yannsalmon) wrote :

I tried the workaround in #56 but to no avail. Which is consistent with the fact that SNA is the default setting, if the question linked in #55 is correct.

Changed in xorg-server:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Olexii (noise2003) wrote :

I can confirm that all workarounds listed in this thread works for me.
- Ctrl+Alt+F1 and then Alt+F7
- xset s activate
- and the most convenient is to switch AccelMethod into uxa mode, as described in #56

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

A few workarounds have been collected here now, which is very helpful.

Can anybody comment on insight about _causes_ for this problem (regression)?
Does anybody know about work on a fix (upstream, in ubuntu)? Strangely, this bug is still in status unassigned.

Revision history for this message
palmerito0 (sandiegobutterflies) wrote :

I retract my statement in #58. The workaround in #56 does seem to have fixed the issue.

Revision history for this message
Yann Salmon (yannsalmon) wrote :

Adding this in case it helps identifying what is going on.

Here is the upper part of a screen capture. The red dot is the position of the mouse cursor at the time of the capture. Notice how the "g"s above the y-position of the cursor have a glitch, but not the one below. This happens systematically in Thunderbird and updates as the mouse cursor moves (there is a form of hysteresis : when the mouse cursor moves down, a line is affected after the cursor has passed the line below it ; when moving up, the glitch ceases for a given line only when the cursor reaches it).

Revision history for this message
studoret (studoret) wrote :

Hi,

Thanks Aaron. Switch AccelMethod into uxa mode works for me
Tested with Intel HD Graphics 530 on i3-6100 + kernel 4.5.2-040502-lowlatency x86_64.

Revision history for this message
Jan Schürmann (visionfactory.net) wrote :

Thanks Aaron. Switch AccelMethod into uxa mode works for me too.

Tested on Thinkpad T520 with Intel SandyBridge Mobile

Revision history for this message
hyperboria (reganyway) wrote :

Thanks Aaron, this works for me too +1

sudo mkdir /etc/X11/xorg.conf.d/

echo -e 'Section "Device"\n Identifier "Card0"\n Driver "Intel"\n Option "AccelMethod" "uxa"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf

Revision history for this message
hyperboria (reganyway) wrote :

^On Samsung np300e5a laptop

Revision history for this message
Petr Gladkikh (petrglad) wrote :

I am not sure if this issue related but after unlock I cannot switch between text consoles either. It's always tty6 no matter which Ctrl+Alt+Number I press and typing has no effect (cannot login there).

Revision history for this message
Kauê Rodrigues (kauefr) wrote :

#35 offers the best workaround. Thank you.

Revision history for this message
dreamon (db4mt) wrote :

Same issus. pluggin a external monitor in HDMI port .. brings mousepointer back again, too.

Revision history for this message
ro_wi (roland-wirth) wrote :

Same Issue - lost mouse - with Xubuntu 16.04 on a netbook Samsung N150

Aarons fix #55 worked for me

Roland

Revision history for this message
Peter Ries (peterriesde) wrote :

Turning off "Lock screen" option when suspending worked for me, but I'll try Aarons fix, too. This is more secure ;)

Revision history for this message
Scott Garman (sgarman) wrote :

In some A/B testing I've done, changing the AccelMethod to uxa has some unwelcome side effects, including making some browser-based video unusable. For my test case I would just go to the home page of bluejeans.com (a videoconferencing site) with Firefox, and my browser would immediately lock up with the full-page video they display. After removing the uxa setting and restarting my desktop session, it runs smoothly. Just FYI.

Revision history for this message
Sami Senng (samiseng) wrote :

With single display ctrl-alt-f1, ctrl-f7 works, with dual display configuration mouse pointer appears on the second display, but on the way back to the first one it completely freezes the whole OS (no logs, only hard reset helps). No matter if I use ubuntu-desktop or lubuntu-desktop.

HP EliteBook 850 G3
lubuntu 16.04 LTS
kernel 4.4.0-22-generic #39-Ubuntu SMP x86_64 GNU/Linux
VGA Sky Lake Integrated Graphics, 64 bits
cpu Intel(R) Core(TM) i5-6200U @ 2.30GHz, 64 bits

Revision history for this message
Olexii (noise2003) wrote :

Scott Garman (#82) pointed performance regress when AccelMethod switched from sna to uxa. I can confirm, "gtkperf" is almost twice slower with uxa. So is there any way to execute some script at unlock? It would be suitable to execute "xset s activate" automatically as a temporarily workaround.

Revision history for this message
Jarno Suni (jarnos) wrote :

Noise, there is no answer for light-locker so far: http://unix.stackexchange.com/q/203339/111181

Revision history for this message
unrud (unrud) wrote :

@: logind publishes session changes (including lock and unlock) over DBus.

The following sh-script automatically runs "xset s activate && xset s reset" every time the session is changed and makes the mouse cursor visible again:

dbus-monitor --system "type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1/seat/seat0',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'" | grep --line-buffered "ActiveSession" | while read line; do xset s activate && xset s reset; done

Revision history for this message
Saurav (saurav1) wrote :

@unrud: Your script causes the screen to get re-locked on the first attempt at unlocking, but it unlocks and the mouse pointer shows up on the second attempt.

Revision history for this message
unrud (unrud) wrote :

@saurav1: Only tested the script on freshly installed Xubuntu 16.04. The screen doesn't get relocked on my computer.

Maybe it's a race condition and setting "Delay after locking screen saver for" in "XFCE Power Manager" under the "Security" tab to a higher value helps.

Revision history for this message
Saurav (saurav1) wrote :

@unrud: Your hunch was right. Increasing the delay (even to 2 seconds is enough) resolves the issue. Even on your fresh installation, do check if it works correctly with suspend/hibernate as well when the delay is not more than one second.

I have gone back to gnome-screensaver for the time being, however, because my Wi-Fi keeps going off after resuming from more than one consecutive (with no intervening normal reboot) suspend/hibernate states with light-locker (I don't know why).

Revision history for this message
Jose Bordelon (jose-w) wrote :

I'm affected by this bug too. Dell Latitude E6500 after upgrade from Lubuntu 14.04 desktop AMD64 to Lubuntu 16.04. Cursor dissapear and when I press Ctr-Alt-F1 and return with Ctr-Alt-F7 cursor is visible again.

Revision history for this message
febs (spelta) wrote :

I am affected as well. Xubuntu 16.04. Same workaround as the above user, but it's annoying. Thanks.

Revision history for this message
Martin Rimmele (ubuntu-rimmele) wrote :

Same bug here on Lenovo T460s. Solution from #75 (uxa-mode) works, but is only good as a workaround. With uxa-mode Screen-resolutions I used before disappeared.

Revision history for this message
Etienne Papegnies (etienne-papegnies) wrote :

Same here on Ubuntu MATE 16.04
Graphics: Card: Intel Device 22b1
           Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           GLX Renderer: Mesa DRI Intel HD Graphics (Cherryview)
           GLX Version: 3.0 Mesa 11.2.0
Only triggers when switching user. Normal locking is not affected (mate-screensaver-command -l)
Switch to tty1 and back makes the cursor reappear.

Revision history for this message
Stephen Black (stfve) wrote :

Also using Ubuntu MATE 16.04

Graphics: Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.17.2 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1680x1050@59.95hz
           GLX Renderer: Mesa DRI Intel Haswell Desktop
           GLX Version: 3.0 Mesa 11.0.4

Same comments as Etienne Papegnies re switching user.

Revision history for this message
Yassine Imounachen (yassine256) wrote :

For those using Intel integrated chipsets, you can use UXA (instead of SNA) acceleration method as a workaround:

--------------------------------------
/etc/X11/xorg.conf.d/20-intel.conf
--------------------------------------

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "AccelMethod" "uxa"
EndSection

--------------------------------------

Revision history for this message
Andrew Lucas (apl270592) wrote :

Hi all,

I've been running Xubuntu 16.04 since about Feb 2016, and this has been an issue for ages.

Prior to seeing the fix for Ctrl+Alt+F1 -> Ctrl+Alt+F7 (which works), the fix for me was navigating to Chrome web browser, logging into Netflix, and playing a video. I've no idea why, and I'm not proposing this as a fix for anyone (clearly the above combination is quicker/easier), but I'm hoping it might help pin down the cause.

I don't have the technical skills to contribute a patch myself, but I was prompted to comment because I'm a bit worried that we're over a month past a release and seeing this bug - which has been around for 2/3 months before release - on an LTS, and still we don't even have it assigned.

Revision history for this message
Ezekiel Thiessen (ezekielthiessen7) wrote :

Hey,
I'm running Xubuntu 16.04 64-bit on an older HP Compaq dc7900 computer with a Core 2 Duo E6500 2.33GHz Processor and the Intel Q45 Graphics chipset and I am encountering the same problem. Pressing Ctrl+Alt+F1 and Ctrl+Alt+F7 rectifies the problem.

Revision history for this message
Emanuel Greisen (ubuntu-emanuelgreisen) wrote :

I am on a MacBook Pro Retina - and I guess this is the Intel graphics card I have:

user@host:~$ lspci
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)

Revision history for this message
da_coynul (xtragb) wrote :

Hoping for a fix but in the meantime, here is a way to automate the workaround:

https://linux4tw.wordpress.com/2016/05/25/disappearing-mouse-pointer-in-xubuntu/

Thanks to studoret for the idea!

Revision history for this message
4X_Pro (adoi3) wrote :

The same bug exists in Lubuntu 16.04 on my ASUS notebook with dual cards: Intel HD Graphics and NVidia. After I have switched to UXA acceleration like described in #95, the problem has gone.

Revision history for this message
studoret (studoret) wrote :

Hi,

Good job da_coynul.
I'm pleased to read that you succeed to automate the chvt based script.
Your solution works when I lock/unlock my PC, but not when the PC is locked by idle time.
Anyway, I prefer to keep your workaround with the Ctrl+c shortcut and set back the sna acceleration mode.

Revision history for this message
AroundWorker (aroundworker) wrote :

Best workaround:

* purge package `light-locker`

* install package `i3lock`

* execute command: `sudo ln -s /usr/bin/i3lock /usr/bin/slock`

cheers..

Revision history for this message
Sheldon Hearn (sheldonh) wrote :

The same work-around resolves another mouse pointer issue in a VirtualBox guest (using virtualbox-guest-dkms and virtualbox-guest-x11), where the mouse point is present, but is offset from where clicks are registered.

It's most obvious in a terminal window, where the click offset is -1,-1 character from the mouse pointer.

Revision history for this message
Dmitriy Geels (dmig) wrote :

I think, I found better workaround: after I changed lightdm configuration using 'lightdm greeter settings', I don't face this bug anymore

Revision history for this message
Jens Herrmann (bugs-u) wrote :

What exactly did you change in the 'lightdm greeter settings'? Ich changed the background from wallpaper to color and still face this bug.

Revision history for this message
Dmitriy Geels (dmig) wrote :

No, that's not a workaround. Bug appeared again after several hibernate-resume cycles.
I never seen this bug with xubuntu 15.10, kernel 4.5 from http://kernel.ubuntu.com/~kernel-ppa/mainline/ and latest Intel graphics from 01.org. But it appeared after installing 16.04.

I'll try latest kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/, may be it helps.

Revision history for this message
Donmatas (elcorreodematias) wrote :

I made a launcher in the panel with the command "xset s activate" and it works for me.

Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :

Even with xscreensaver instead of light-locker, there are times when the cursor disappears on a *fresh* login (not after locking/suspending). I'm trying light-locker again now, and using the workaround from https://linux4tw.wordpress.com/2016/05/25/disappearing-mouse-pointer-in-xubuntu/#comment-47 which at least requires no user-input to keep the cursor.

Revision history for this message
Henry J. Douglas (cyberdoug42-deactivatedaccount) wrote :

In this laptop, the mouse cursor is NOT affected if I let the computer lock itself when idle. It will only become invisible if I choose to lock it immediately OR lock it when closing the lid.

Revision history for this message
LaunchpadLoginDefectReport (nagle-1) wrote :

1. Encountered this bug with 16.04 LTS 64-bit fresh full install on an Asus 1001px notebook.

2. This bug was reported in 2014 at "https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1297144". It was dismissed as "incomplete", although 29 users reported the same problem.

3. This bug was reported in 2012 at "http://askubuntu.com/questions/118001/how-to-restart-only-missing-invisible-mouse-pointer-cursor". Workarounds were discussed.

4. Similar/identical bug reported in 2015 at "https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1453538". Listed as "Critical" there.

5. Similar/identical bug reported in 2013 for Fedora 19 on multiple machines including an Asus 1001px at "https://bugzilla.redhat.com/show_bug.cgi?id=969649". Closed without a fix when Fedora 19 reached end of life.

6. Mentioned in Xubuntu 16.04 release notes at "http://xubuntu.org/news/xubuntu-16-04-release/"

*Denial is not a river in Egypt.*

Revision history for this message
chesterman (chesterman86) wrote :

I also have this bug with Lubuntu 16.04 LTS 64-bit fresh install on a Samsung N210.

Alt+Ctrl+F1 -> Alt+Ctrl+F7 "solves" temporarily

Revision history for this message
sunox (ejspero) wrote :

Encountered this bug with Thinkpad T430 and HP Pavilion G6 running 64 bit Xubuntu 16.04 on fresh installs.

Revision history for this message
lepetit (lacsebastien) wrote :

I also have the bug with Xubuntu 16.04 LTS 64 bits desktop fresh install on a fujitsu siemens amilo si 2636, graphic card : intel x3100 (965gm)

Revision history for this message
Dave (dv0424) wrote :

Work around:

I'm running a Lenovo Flex 3 with Xubuntu. The problems shows up as stated above (locking, sleeping, etc).

After sleeping mouse is missing, however you can tell when it is moved over the whisker menu because the menu changes as the mouse-over event occurs.

After sleep log in

1. Move mouse to Whisker menu (for me top left corner of screen)
2. click and open Whisker menu - don't move mouse
3. Start typing (I just type "Sett")
4. Move mouse down menu, and back up over text box.

I've done this at least a dozen times now, and this seems to work for me every time. Some things I noticed is that if I open the menu and move the mouse prior to typing, it only works about half the time, if it doesn't work I close the menu then duplicate the steps above and it works.

Revision history for this message
Mikehl (ms-doss) wrote :

@Dave

I juste tried and this "workaround" also works for me.
I don't know wich is better...CTRL+ALT+F1 or this one ahah !

Can't wait the real solution !

Revision history for this message
Dave (dv0424) wrote :

Just confirmed the above worked on an Asus X54C

Revision history for this message
Tom greig (tomgreig36) wrote :

I find that once this happens, if I move the cursor to a second monitor and back it reappears.

Revision history for this message
Sb (sb56637) wrote :

I'm also facing this issue with light-locker and Intel graphics on openSUSE Tumbleweed. It does not occur on openSUSE Leap (4.1 kernel), so it is a regression.

Revision history for this message
Dietmar May (dcmay-f) wrote :

I'm running Ubuntu Gnome 16.04, with gdm3. I do not have light-locker or xscreensaver installed.

This happens almost every time that I fast switch to a different user. Pushing the mouse to the upper left corner (which shows the Activities Overview) and pressing Ctrl makes the cursor show up - every time. Pressing Super (which shows the Activities Overview) and nudging the mouse makes the cursor show up - every time. Nudging the mouse and then pressing Super makes the cursor show up.

This combination - in just about any order - seems to reliably make the mouse reappear:
 * Move the mouse
 * Press a key
 * Show the activities overview

Revision history for this message
Spamrefuse (spamrefuse) wrote :

Xubuntu 16.04

Same here:
1. Open terminal
2. Type xflock4
3. Unlock screen
4. Mouse pointer is invisible

Graphics adaptor:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 DeviceName: Onboard IGD
 Subsystem: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller
 Flags: bus master, fast devsel, latency 0, IRQ 25
 Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
 Memory at e0000000 (64-bit, prefetchable) [size=256M]
 I/O ports at f000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [d0] Power Management version 2
 Capabilities: [a4] PCI Advanced Features
 Kernel driver in use: i915
 Kernel modules: i915

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

We've had several reports of this for Intel users in elementary OS Loki as well. We use a LightDM-based greeter and the rest of the Ubuntu 16.04 stack.

Changed in elementaryos:
status: New → Confirmed
Revision history for this message
Patrick Gruber (patri6k) wrote :

I have had the same problem since I upgraded to Ubuntu 16.04 (Lenovo X250 hardware using LightDM as the default screen locker).
Today I noticed that my cursor does not disappear, if I have "Parole" (paused) in the foreground before locking my machine.

Can somebody else confirm this behavior?

Revision history for this message
Menci (menci) wrote : Re: [Bug 1568604] Re: Mouse cursor lost when unlocking with Intel graphics

How can I do "Parole" ?

2016-06-20 8:04 GMT+08:00 Patrick Gruber <email address hidden>:

> I have had the same problem since I upgraded to Ubuntu 16.04 (Lenovo X250
> hardware using LightDM as the default screen locker).
> Today I noticed that my cursor does not disappear, if I have "Parole"
> (paused) in the foreground before locking my machine.
>
> Can somebody else confirm this behavior?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1591045).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Confirmed
> Status in X.Org X server:
> Confirmed
> Status in xf86-video-intel:
> Fix Released
> Status in xserver-xorg-video-intel package in Ubuntu:
> Confirmed
>
> Bug description:
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: True
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1568604/+subscriptions
>

Revision history for this message
Patrick Gruber (patri6k) wrote :

I'm sorry, I got a little ahead of myself there.
Parole is the standard video player that Xubuntu comes with.

Now that I tried it a couple of ways, the video player brings the mouse pointer back, even after unlocking the screen (by simply bringing the application to the foreground). VLC shows the same behavior as Parole.

Revision history for this message
Menci (menci) wrote :

Both elementary OS's Video and VLC in both playing and paused the mouse
pointer didn't back aftter unlocking.

2016-06-20 8:53 GMT+08:00 Patrick Gruber <email address hidden>:

> I'm sorry, I got a little ahead of myself there.
> Parole is the standard video player that Xubuntu comes with.
>
> Now that I tried it a couple of ways, the video player brings the mouse
> pointer back, even after unlocking the screen (by simply bringing the
> application to the foreground). VLC shows the same behavior as Parole.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1591045).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Confirmed
> Status in X.Org X server:
> Confirmed
> Status in xf86-video-intel:
> Fix Released
> Status in xserver-xorg-video-intel package in Ubuntu:
> Confirmed
>
> Bug description:
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: True
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1568604/+subscriptions
>

Revision history for this message
Fiona Klute (fiona-klute) wrote :

The video player workaround works with mpv, too, but apparently I have to move the cursor over the player window. Just starting and immediately stopping mpv was not enough. My mpv configuration uses OpenGL/VAAPI output.

Revision history for this message
Eyal Zekaria (eyal-ez) wrote :

BTW, I'm also experiencing a different error besides this one which I couldn't really find a bug ticket for, maybe someone else here also has it?

Sometimes when turning on the laptop (opening the lid) after it has been suspended, I'm getting a black screen with back light, but nothing else. Tried all key combinations I could think of, nothing helped. When that happens I have to shut down the laptop altogether by pressing the power button for a few seconds and then turn it on again.....

It happens both when suspending from power option and when closing the lid and suspending.

I'm on a thinkpad x1 carbon gen 4 running Xubuntu 16.04 running kernel version 4.6.0-994-generic

Revision history for this message
Removed by request (removed3076179) wrote :

For the ThinkPad users, I was able to get the cursor back by pressing Fn + F7, with an X201 Tablet.

Revision history for this message
itx (irotem) wrote :

Happens on Lenovo X1 with Xubuntu 16.04 as well.

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

Revision history for this message
Richard van der Hoff (richvdh) wrote :

I don't feel that repeated comments saying "I am seeing this bug too" are adding much at this point.

Unless you have more concrete contributions to make (which might be better added to the upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=94677), just click on the 'Yes, it affects me' link at the top of the page.

Revision history for this message
Bob Dooby (squid12345678) wrote :

Thanks aroundworker for the i3lock tip in #103. This fixed the mouse issue in Xubuntu 16.04. It also resolved an issue with RDP breaking in VirtualBox when the screen was locked.

Revision history for this message
Martina (mar2504) wrote :

Happening on a HP- Pavilion 1540us (with Intel integrated graphics)

Using Elementary 0.4 Loki beta

Revision history for this message
palmerito0 (sandiegobutterflies) wrote :

Please do as richvd says.

Pic of where the "Me too button is" (click on the yellow button):
http://i.imgur.com/BGnzPmT.png

Revision history for this message
Ilya Molokanov (f-mg-r) wrote :

Sry, i missclicked and changed status for xserver-xorg-video-intel (Ubuntu). Now cant rollback.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
C de-Avillez (hggdh2)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
victorel (vparasch) wrote :

Same issue here, lubuntu 16.04, x86, on Dell inspiron mini 1011.

Revision history for this message
peerus (tsifra) wrote :

I think this bug is not related to Intel. I'm on nvidia nuveau(default) driver and have exactly the same problem on xubuntu 16.04. Everything was okay on 15.10. Wokaround Ctrl-Alt-F1 -> Ctrl-Alt-F7 works for me also. If i change driver to nvidia(proprietary) bug goes away. But this driver makes video in VLC "segmented".

Revision history for this message
sudodus (nio-wiklund) wrote :

I agree with peerus (comment #139). I suspect that this bug is related to another program package, but I do not know enough to be able to suggest which package.

I have problems with graphics with a non-intel graphics chip. It turns pale (almost completely greyed out), and after switching to another virtual screen and back again, the graphic rendering is good again. See this link

http://ubuntuforums.org/showthread.php?t=1958073&page=19&p=13511417#post13511417

There is another maybe related issue described at the following link

http://ubuntuforums.org/showthread.php?t=2329382

(I have the original bug of this thread too in another computer.)

Revision history for this message
pmow (pmow) wrote :

Has someone taken the patch (or rather revert) that was linked in the freedesktop bug entry and tried to apply it to the Ubuntu package? (That appears to be this commit: https://cgit.freedesktop.org/xorg/xserver/commit/?id=b04767c84deafc44993723add4b1c5163fc11711). I have no experience in how the Ubuntu distribution is run, but is it out of the question to apply this as patch on the Ubuntu side to finally fix this?

I notice that already in my surroundings, several not-so-proficient users are severely affected by this. (One has switched back to a rather old Windows installation because the key combinations of the workaround are apparently too difficult to remember.) So this is keeping me from updating to 16.04.

Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :

pmow, you could give them the below script first, which does the VT-switching automatically. It's worked fine for me for quite some time.

Save your work first (since the final command will log you out), then run this in a terminal:

sudo mkdir -p /usr/local/bin

echo '#!/bin/sh
n="$(fgconsole)" || exit 1
case "$n" in
[0-9]) /bin/chvt 1; /bin/chvt “$n”;sleep 1;;
*) echo "error from $0; fgconsole gave $n" >/tmp/VTswitch.log
esac
' | sudo tee /usr/local/bin/VTswitch

sudo chmod +x /usr/local/bin/VTswitch

sudo mkdir -p /etc/lightdm/lightdm.conf.d

echo '[Seat:*]
session-cleanup-script=/usr/local/bin/VTswitch
' | sudo tee /etc/lightdm/lightdm.conf.d/50-vtswitch.conf

sudo systemctl restart lightdm

Revision history for this message
Kevin Brubeck Unhammer (unhammer) wrote :

Argh, missed a “”→"" (I stupidly copy-pasted my script from another place I'd posted it instead of from the actual file …). Trying again:

sudo mkdir -p /usr/local/bin

echo '#!/bin/sh
n="$(fgconsole)" || exit 1
case "$n" in
[0-9]) /bin/chvt 1; /bin/chvt "$n";sleep 1;;
*) echo "error from $0; fgconsole gave $n" >/tmp/VTswitch.log
esac
' | sudo tee /usr/local/bin/VTswitch

sudo chmod +x /usr/local/bin/VTswitch

sudo mkdir -p /etc/lightdm/lightdm.conf.d

echo '[Seat:*]
session-cleanup-script=/usr/local/bin/VTswitch
' | sudo tee /etc/lightdm/lightdm.conf.d/50-vtswitch.conf

sudo systemctl restart lightdm

Revision history for this message
Einsiedler58 (hjgayring) wrote :

Hallo Danke,

einfangen der Maus hat super geklappt!!!

LG Hans-Jürgen Gayring
Am Fr, 1. Jul, 2016 um 2:05 schrieb Kevin Brubeck Unhammer
<email address hidden>:
> Argh, missed a “”→"" (I stupidly copy-pasted my script from
> another
> place I'd posted it instead of from the actual file …). Trying
> again:
>
>
> sudo mkdir -p /usr/local/bin
>
> echo '#!/bin/sh
> n="$(fgconsole)" || exit 1
> case "$n" in
> [0-9]) /bin/chvt 1; /bin/chvt "$n";sleep 1;;
> *) echo "error from $0; fgconsole gave $n" >/tmp/VTswitch.log
> esac
> ' | sudo tee /usr/local/bin/VTswitch
>
> sudo chmod +x /usr/local/bin/VTswitch
>
> sudo mkdir -p /etc/lightdm/lightdm.conf.d
>
> echo '[Seat:*]
> session-cleanup-script=/usr/local/bin/VTswitch
> ' | sudo tee /etc/lightdm/lightdm.conf.d/50-vtswitch.conf
>
> sudo systemctl restart lightdm
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Confirmed
> Status in X.Org X server:
> Confirmed
> Status in xf86-video-intel:
> Fix Released
> Status in xserver-xorg-video-intel package in Ubuntu:
> Confirmed
>
> Bug description:
> Cursor is visible at unlock screen either after returning from
> suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7)
> cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the
> mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that
> actually defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: True
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1568604/+subscriptions

Revision history for this message
BigBug (romans-heimanis) wrote :

I had cursor disappearing bug, but after building xorg intel driver from git - bug fixed. Also when i revert to the xorg intel driver shipped with ubuntu - bug appears again.

Revision history for this message
Bill Pechter (pechter) wrote :

looks like the script in #143 works beautifully on the bunch of Thinkpads I have running Intel graphics...

Revision history for this message
Mario Steele (eumario) wrote :

That is what I'm running on my ASUS S550CA laptop.

On Jul 6, 2016 3:25 PM, "Bill Pechter" <email address hidden> wrote:

> looks like the script in #143 works beautifully on the bunch of
> Thinkpads I have running Intel graphics...
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1598646).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Confirmed
> Status in X.Org X server:
> Confirmed
> Status in xf86-video-intel:
> Fix Released
> Status in xserver-xorg-video-intel package in Ubuntu:
> Confirmed
>
> Bug description:
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: True
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1568604/+subscriptions
>

Revision history for this message
Samuel Hokin (e9x6b89071m-kt6-j8117rzjg7u) wrote :

Bug repro'd here after upgrade to 16. Dell Latitude E5530. I solve it by hitting CR in a terminal after login, which I usually have up. If not, I can use the invisible pointer to launch the terminal.

Revision history for this message
Richard van der Hoff (richvdh) wrote :

> Bug repro'd here after upgrade to 16

Thank goodness you told everyone. With it only affecting 350 other people, your particular workaround is of critical importance.

Revision history for this message
Kauliukas (6d61696c) wrote :

elementary OS 0.4 Loki Beta (Ubuntu 16.04 based) is also effected.

Revision history for this message
Grorco (grorco-linux) wrote :

I'm running 16.04 on a HP envy 17t I only have the problem if I lock the screen, then hit switch user after that logging back in will cause mouse to disappear. I can get it back quickly by ctrl+alt+t to get a terminal and typing sudo then hitting the enter key.

Revision history for this message
Mario Steele (eumario) wrote :

To me, what it seems to be the problem, is that Lock Screens, and Login systems, such as GDM, or LightDM, or Pantheon's is utilizing VTs to display Login, and switch between users / lock screen and log back in. Which seems to be solved by resetting the Virtual Terminal, either through a chvt between 1 and 7, or bringing up / having a terminal open, and issuing some command that causes a line reset to which the Mouse Cursor is allowed to be displayed again. That's what it seems to me anyways.

Revision history for this message
Zisu Andrei (matzipan) wrote :

Hello everyone and future posters.

In order to keep the noise to a minimum, if you wish to +1 this bug, you can use the top button which asks if this bug report is affecting you. The switching terminals workaround has been confirmed time and again so reiterating it adds absolutely no value.

However, it has been observed that switching the version of the Intel graphics driver fixes the problem, so if you want to be truly helpful, use the git bisect feature and try and identify which commit fixes the issue.

Revision history for this message
Shawn B. (slooksterpsv) wrote :

I'd be willing to try the got feature and apply to locate the fix. Can you provide more information on how to accomplish that? Such as the URL to bisect from, a list of potential revisions to try, etc? I've used got to clone, branch, commit, and sync but that's it. I'd love to track this bug down and squish it.

Get Outlook for Android

On Sun, Jul 10, 2016 at 7:35 AM -0600, "Zisu Andrei" <email address hidden> wrote:

Hello everyone and future posters.

In order to keep the noise to a minimum, if you wish to +1 this bug, you
can use the top button which asks if this bug report is affecting you.
The switching terminals workaround has been confirmed time and again so
reiterating it adds absolutely no value.

However, it has been observed that switching the version of the Intel
graphics driver fixes the problem, so if you want to be truly helpful,
use the git bisect feature and try and identify which commit fixes the
issue.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1596224).
https://bugs.launchpad.net/bugs/1568604

Title:
  Mouse cursor lost when unlocking with Intel graphics

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

Revision history for this message
Kev Bowring (flocculant) wrote :

Finding that the yakkety package updated recently I installed that on xenial, appears to fix the cursor visiblity issue on suspend and/or lock.

Revision history for this message
José Jorge (mexchip) wrote :

I am running Xenial on an Inspiron 14 laptop with Intel video.

As per requested in the xubuntu-users mailing list, I installed the xserver-xorg-video-intel deb from the yaketti packages, both:

* Test that following a return from suspend and logging that the cursor is visible.
* Test that following a lock and unlock that the cursor is visible.

work fine with the yaketty package.

Removing the yaketty package and going back to the xenial one makes only this one work:

* Test that following a return from suspend and logging that the cursor is visible.

Revision history for this message
R00lf (rodolphe-debi) wrote :

I am running Xenial on a acer V3-112 (Celeron n2840) laptop with Intel video and have this bug (cursor loss on suspend/lock).

I've just installed the xserver-xorg-video-intel deb from the yaketti packages (because of flocculant mail on xubuntu-users mailing list).

- return from suspend : the cursor is visible.
- lock and unlock : the cursor is visible.

so, no more bug with the yaketty package

Thanks

Revision history for this message
Bill Naylor (willnay98) wrote :

I am running 16.04 Mate and would like to install the Yakkety intel package but I am having trouble with dependencies with the deb package. Can you please provide some instructions for the install? Thanks!

Bill

Revision history for this message
Bill Naylor (willnay98) wrote :

Please disregard my last comment...helps to download the correct package :)

The Yakkety package is working for me as well in Mate 16.04. This is the link to find it quickly:

https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel

Pacakge name 64bit: xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1_amd64.deb

Revision history for this message
Daniel Kessel (dkessel) wrote :

I tested this because of the mail from flocculant to the mailing list.

The yakkety package fixes the bug for me, too.

Package filename: xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1_amd64.deb

Revision history for this message
Sean Davis (bluesabre) wrote :

We've now had several reports of the latest package version in yakkety (2:2.99.917+git20160706-1ubuntu1) resolving this issue. Marking this bug as fixed.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
Sean Davis (bluesabre)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xserver-xorg-video-intel (Ubuntu Xenial):
status: New → Confirmed
Revision history for this message
Mario Steele (eumario) wrote :

Attempts to use 2:2.99.917+git20160706-1ubuntu1 on my Asus S550CA, with Intel Ivybridge Video card, did not resolve the issue with the mouse dis-appearing. I've also attempted to remove the xserver-xorg-video-intel package, and resort to using X.org's modesetting to see if that would resolve the issue, and it does not. This is on Elementary OS 0.4 (Loki).

Revision history for this message
Shawn B. (slooksterpsv) wrote :

Odd I did an update, no packages from other repos, just an update from the
preexisting repos and the issue is resolved. I didn't see an update for the
xorg drivers either. It's just working... weird..
On Jul 13, 2016 7:11 PM, "Mario Steele" <email address hidden> wrote:

> Attempts to use 2:2.99.917+git20160706-1ubuntu1 on my Asus S550CA, with
> Intel Ivybridge Video card, did not resolve the issue with the mouse
> dis-appearing. I've also attempted to remove the xserver-xorg-video-
> intel package, and resort to using X.org's modesetting to see if that
> would resolve the issue, and it does not. This is on Elementary OS 0.4
> (Loki).
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1596224).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1568604/+subscriptions
>

Revision history for this message
Brad Aytes (b-aytes-gmail) wrote :

This may already be solved or known as well however I'm having the same issue. I'm using Ubuntu 16.04 at its base (its Ubuntu Gnome 16.04). I'm using a script to put the machine (i'm on a desktop not lappy) to sleep upon a keyboard shortcut and once it "awakes" I can unlock the machine but the cursor is missing (right click shows the default nautilus menu however, but no cursor) however if I have an open window (or if i open a terminal via a shortcut) already i.e: firefox and alt+tab (or super+tab in my case) the cursor displays. Very odd. I cannot replicate any other time other than resuming from sleep. I've ran a dist-upgrade, normal 'upgrade' still no avail, Any thoughts?

- Brad

Revision history for this message
Sean Davis (bluesabre) wrote :

Attaching debdiff:
from xserver-xorg-video-intel_2.99.917+git20160325-1ubuntu1
to xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1

Mathew Hodson (mhodson)
affects: xserver-xorg-video-intel → ubuntu-translations
Changed in ubuntu-translations:
importance: Unknown → Undecided
status: Fix Released → New
no longer affects: ubuntu-translations
Changed in xserver-xorg-video-intel (Ubuntu Xenial):
importance: Undecided → High
Mathew Hodson (mhodson)
affects: xorg-server → xserver-xorg-video-intel
Changed in xserver-xorg-video-intel (Debian):
status: Unknown → Fix Released
Revision history for this message
Zisu Andrei (matzipan) wrote :

Hello,

This bug seems to be invalidly set as "Fix Released" in the Debian tracker, since it's only been archived.

I'm guessing the launchpad bug is just trying to mirror the status of that one? But the issue seems to be still present.

Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :

Bug observed on Asus n551jk using nouveau driver with latest updates applied.

Suspend not needed, locking is enough.

Ctrl-Alt-F1 then Ctrl-Alt-F7 works around, until next lock.

Thank you for your attention.

LC_ALL=C lshw -c video 2>/dev/null | grep configuration

       configuration: driver=nouveau latency=0
       configuration: driver=i915 latency=0

lspci -nn | egrep -i '(vga|3d)'

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 850M] [10de:1391] (rev a2)

Ebrael (ebraelshaddai)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Ebrael (ebraelshaddai)
assignee: Ebrael (ebraelshaddai) → nobody
Revision history for this message
Olexii (noise2003) wrote :

The problem has been solved on two affected PC's after adding the ppa:oibaf/graphics-drivers repository and updating. No more scripts or keyboard shortcuts needed.

Revision history for this message
Mohammad Anwar Shah (mohammadanwarshah) wrote :

I agree with @noise2003. Upgrading packages from ppa:oibaf/graphics-drivers solved this problem.

Revision history for this message
Ebrael (ebraelshaddai) wrote :

Bug goes on my Lenovo PABAS0241231. Only Ctrl+Alt+F1/Alt+F7 hack gets pointer back on the screen.
I added ppa:oibaf/graphics-drivers and updated APT. It did not work.

Revision history for this message
BALLOON (balloon) wrote :

I tried the information of the Google+ community of elementary OS, it worked:
https://plus.google.com/b/111659895494557099209/106882842682420321979/posts/DkdeBjMSAT3

sudo mkdir /etc/X11/xorg.conf.d
sudo (editor) /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"

    Option "AccelMethod" "uxa"
EndSection

It worked even Xubuntu and Lubuntu.

Revision history for this message
Mario Steele (eumario) wrote :

I have tried both the ppa:oibaf/graphics-drivers repo, and the Xorg.conf.d method on my Asus S550CA, with Intel Ivybridge, and now the issue seems intermediate. It'll sometimes unlock, with the cursor visible, and sometimes it'll not show the cursor till I have issued the chvt 1+7 script to have it re-appear. So, between the two, there's something that is making it work sometimes, and not other times.

Revision history for this message
Carlos Renê (slipttees) wrote :

I tried the information of the Google+ community of elementary OS, it worked:
https://plus.google.com/b/111659895494557099209/106882842682420321979/posts/DkdeBjMSAT3

sudo mkdir /etc/X11/xorg.conf.d
sudo (editor) /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"

    Option "AccelMethod" "uxa"
EndSection

It worked Elementary OS Loki 64bit

Revision history for this message
Mario Steele (eumario) wrote :

Slight amendment to my last comment. The issue is resolved when manually locking the screen. The cursor will come back each time. The issue remains however, when using the Automatic screen shutoff of the OS, to shut off the monitor after being idle for so long. Switching to 5 minute idle before turning off the monitor helps make it easier to see the issue. However, when Suspending the system, and manually locking, the cursor does return after unlocking the screen.

Revision history for this message
peerus (tsifra) wrote :

I've also updated from ppa:oibaf/graphics-drivers and everything work perfectly now. I have two notebooks. One on nouveau (nvidea), other on intel. Both are solved. So i believe problem is not related directly to drivers.

Revision history for this message
sciuro (sciurognathi) wrote :

@ Carlos Renê (slipttees) wrote on 2016-07-21: #174

Thank you for posting the workaround - it solves the problem in Xubuntu 16.04

Revision history for this message
Robie Basak (racb) wrote :

@Sean

Thank you for the patch. This looks too big to review to me, although other sponsors may disagree. So, though I don't usually work in the desktop area, I disagree with your statement "Regression potential here seems minimal". This might be why some other sponsors have been unwilling to touch this. Can I suggest that you bisect the changes to find the single fix needed to solve the problem, and then submit a debdiff with just that change? SRU policy says that to minimise regression risk to users, we should backport a minimal fix where possible.

This might not apply if there is a bigger picture plan to update the Intel driver, but I presume there isn't one since this bug has languished for a while.

HTH.

Revision history for this message
Sondra Kinsey (sondra.kinsey) wrote :

It took me a while to find this bug report. For the convenience of others, I thought I would share references to this bug on the internet. Perhaps a friendly user could post on all these forums links to this bug. :)

User descriptions and reports of this bug:
  https://askubuntu.com/questions/759723/mouse-cursor-is-disappearing-after-sleep
  https://www.reddit.com/r/Lubuntu/comments/4i5wn3/after_update_to_lubuntu_1604_mouse_cursor
  https://ubuntuforums.org/showthread.php?t=2321778&p=13476309#post13476309
  https://ubuntuforums.org/showthread.php?t=2321311&p=13474801#post13474801

Suggested workarounds I haven't tried:

gsettings set org.gnome.settings-daemon.plugins.cursor active false
<https://itsfoss.com/invisible-mouse-cursor-ubuntu-1310/>

/etc/init.d/gdm restart
<https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/63905>

pressing Ctrl-Alt-F1 then Ctrl-Alt-F7
<https://www.reddit.com/r/Lubuntu/comments/4i5wn3/after_update_to_lubuntu_1604_mouse_cursor/d2x9wg0>

opening Leafpad and then typing something (or just pressing the spacebar) brings back the cursor (press Ctrl-Alt-T and then type leafpad to open it).
<https://www.reddit.com/r/Lubuntu/comments/4i5wn3/after_update_to_lubuntu_1604_mouse_cursor/d2x9wg0>

Suggested workarounds that didn't work for me:

xrefresh
<http://askubuntu.com/a/771012/396228>

Bring up a terminal, Ctrl+Alt+t. Hit return in the terminal window and the mouse pointer reappears.
<http://askubuntu.com/a/771012/396228>

Revision history for this message
Somebody Else (reduxpl) wrote :

Updated my drivers using the ppa:paulo-miguel-dias/mesa respository and the issue seems to be gone now (Dell Latitude E5410).

Revision history for this message
Mike (miketemp) wrote :

The beginning of this page says issue is fixed for xserver-xorg-video-intel on Ubuntu, but there is no obvious link to the fix or instructions.
I am running Lubuntu 16.04 and my xserver-xorg-video-intel version was 2:2.99.917+git20160325-1ubuntu1 (it is a one, and not an "L" in front of ubuntu) and after doing an update in "Synaptic Package Manager" it still said this was the latest version, so I searched for the version you see if you hover over "xserver-xorg-video-intel (Ubuntu)" which is 2:2.99.917+git20160706-1ubuntu1 and found it here:
https://launchpad.net/ubuntu/yakkety/+package/xserver-xorg-video-intel

However, this is for 16.10 and this bug is reported for 16.04, but I still downloaded this and installed by running commands:
sudo dpkg -P xserver-xorg-video-intel
sudo dpkg -i xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1_amd64.deb

I then rebooted and tested and issue appears to be fixed.
I hope this helps others.

Mike

Revision history for this message
richo (richo67) wrote :

Please excuse me if my comment has no added value for you. I never did report any bugs on Linux. I tried to report disappearing of the mouse pointer on Elementary OS 0.4 Loki. (Linux hpbook 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64)

I have got here following suggestion that this may be the bug I try to report.

I am experiencing it when waking up my notebook from Sleep mode. The workaround switching between vt1 and vt7 restores the mouse pointer.

I wonder how developers of Elementary OS will know about fix for this issue?

Revision history for this message
Tommy_CZ (t-kijas) wrote :

Hi, do you know when it will be available for Ubuntu LTS (16.04)?

Revision history for this message
Jeremy LaCroix (j-jlacroix) wrote :

Same problem here, all current updates.

Revision history for this message
Ben High (explodingkittens) wrote :

I was having this issue on Xubuntu 16.04.1 with Intel HD Graphics 4600 on a Dell Inspiron 3847 desktop. I can confirm that the Yakkety package resolves this problem.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

someone who can reproduce this bug needs to bisect the driver to figure out what commit in the newer driver fixed it

Revision history for this message
Cody Garver (codygarver) wrote :

elementary OS Loki backported the intel driver.

Changed in elementaryos:
importance: Undecided → High
milestone: none → loki-rc1
status: Confirmed → Fix Released
Revision history for this message
Bryan Quigley (bryanquigley) wrote :
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

f4c7 doesn't build on it's own it when cherry-picked.

Based on just the summary (no code review) I added the following 3 commits to it:
00a3adaf43640b9aaa84b8cb98c1f2f227686689 52c9d7ca2467bc273a8ef3c61c1b690ac56caa74 ebc5e9c3b2241be69bee7b96bd63ef00dacf816c

The combination does build and with all of them the issue is fixed. Ignoring the one big sna/gen9 patch this seems like it's still a large amount of the changes in the driver.

Revision history for this message
d3b null (d3b-null) wrote :

I dont understand how a bug as important as this is not fixed after months in a LTS release of ubuntu...

Revision history for this message
Eyal Zekaria (eyal-ez) wrote :

Not enough +1's probably :)

Revision history for this message
Noel Henson (noel-h) wrote :

Same issue Acer Aspire One D250-1116. lubuntu 16.04 LTS.
Switching to xscreensaver appears to be a reliable workaround.

Revision history for this message
Sean Davis (bluesabre) wrote :

Bryan, thank you for taking the time to identify the commits that correct the bug. I am able to reproduce the bug, and after applying the patches, I can also confirm that the issue is resolved.

I've merged the 4 commits you identified into a single patch (preserve-mouse-cursor-after-vt-switch.patch) and have provided the attached debdiff. If we can organize a significant amount of testing, can we consider getting these changes into Xenial?

xserver-xorg-video-intel (2:2.99.917+git20160325-1ubuntu2) xenial; urgency=medium
  * Fix lost mouse cursor after unlocking (LP: #1568604)
  * debian/patches:
    - revert-dpms-fix.patch: Refreshed
    - preserve-mouse-cursor-after-vt-switch.patch: Added

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

d3b-null: because it wasn't fixed upstream before jun 21st, and noone did the necessary bisect to find the commits before this week. I haven't been able to reproduce it on my hw.

Bryan, Sean: thanks, I've modified the diff a bit, dropped the unnecessary refresh and fixed the version number and uploaded it

description: updated
Revision history for this message
Yury Krasouski (krasoffski) wrote :

Hi,
There are a few notes from my side.
Proposed workaround with adding adding configuration file for XOrg may affect re-draw speed and should be used carefully (tested on Xubuntu 16.04.1).
--------------------------------------
/etc/X11/xorg.conf.d/20-intel.conf
--------------------------------------

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "AccelMethod" "uxa"
EndSection

Moreover, the latest (5th) update for ubuntu 14.04.5 contains this issue (4th works like a charm). The second proposed workaround with installation of yakkety's does not work due to unsatisfied requirements.

>https://launchpad.net/ubuntu/yakkety/+package/xserver-xorg-video-intel
>sudo dpkg -P xserver-xorg-video-intel
>sudo dpkg -i xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1_amd64.deb

Here is the output from freshly installed xubuntu 14.04.5.
$ sudo gdebi xserver-xorg-video-intel_2.99.917+git20160706-1ubuntu1_amd64.deb
[sudo] password for keda:
This package is uninstallable
Dependency is not satisfiable: libxcb-util1 (>= 0.4.0)

Revision history for this message
Yury Krasouski (krasoffski) wrote :

Moreover, if you would like to build intel driver manually, you can use steps bellow (your own risk, I checked only for 14.04.5 and 16.04.1).

$ git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
$ cd xf86-video-intel

$ docker run -v `pwd`:/build -i -t ubuntu:14.04 /bin/bash
# apt update && apt upgrade && apt install build-essential dh-autoreconf xutils-dev xorg-dev git
# ./autogen.sh
# make
# exit

$ find ./ -name intel_drv.so
$ sudo apt purge xserver-xorg-video-intel*
cp ./src/.libs/intel_drv.so /usr/local/lib/xorg/modules/drivers/

You can install intel driver from repo using:
$ sudo apt purge xserver-xorg-video-intel-{VERSION}

P.S. May be it makes sense to create Dockerfile :-)

Revision history for this message
Kev Bowring (flocculant) wrote :

@ krasoffski

I have just :

Installed trusty 14.04.4 > no cursor issues

Updated and ended up with 14.04.5 > no cursor issues

enabled -proposed and updated > no cursor issues

Only issue I get is if I let upgrade to 16.04.x take place, issue is then totally expected.

Not sure why you are seeing what you are but given you think it's on 14.04.5 probably a new bug, please re-report it and see if you can get others to confirm on 14.04.5.

Revision history for this message
Yury Krasouski (krasoffski) wrote :

Sorry for spam, some additional notes (not necessary):

# apt update && apt upgrade && apt -y install build-essential dh-autoreconf xutils-dev xorg-dev git libxcb-util0-dev libudev-dev
# ./autogen.sh --enable-kms-only --enable-uxa

Revision history for this message
Jan Koci (cicindel) wrote :

#190 because it doesn't affect vanilla ubuntu? only derivatives like xubuntu and elementary are affected

Revision history for this message
d3b null (d3b-null) wrote :

According to #14 (or #38) in https://bugs.launchpad.net/ubuntu/+bug/1573454 it happens in all Ubuntu flavours, but I did not test myself. I am using xubuntu too.

If it is affecting all ubuntu versions with intel graphics that would be a very important bug and not getting this fixed after months, in a LTS, is a good enough reason for users to sadly stop using ubuntu.

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

Hmm. Using Ubuntu Gnome 16.04 here, intel graphics, no bug. On another laptop, with Xubuntu, it happens.

I think is more screen-locker related that desktop-flavor related.

Revision history for this message
Yury Krasouski (krasoffski) wrote :

As mentioned before, this issue might be related with light locker. After removing this one and installation of other screen locker the issue disappears.

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Kenneth, or anyone else affected,

Accepted xserver-xorg-video-intel into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/2:2.99.917+git20160325-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in xserver-xorg-video-intel (Ubuntu Xenial):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Stefanos (sk) wrote :

Tested successfully xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1 on xubuntu 16.04.1

Made a restart and did several suspends. The mouse cursor reappeared every time without problems.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Wayne Moses Burke (wmburke) wrote :

Tested successfully xserver-xorg-video-intel
2:2.99.917+git20160325-1ubuntu1.1 on xubuntu 16.04.1

Had to restart for it to take effect, then tested locking the screen and suspending - the cursor returned as it should after each.

Revision history for this message
Kev Bowring (flocculant) wrote :

Tested successfully xserver-xorg-video-intel from xenial proposed.

Tested from suspend.
Tested from lock.

Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

Successfully tested on Xubuntu 16.04.1, my cursor returned after suspend.

Revision history for this message
Rudi Servo (rudiservo) wrote :

Works on Lenovo T450 i5-5300U

Revision history for this message
Yosuke Kabuto (ysksn) wrote :

Works on Lenovo X201s :)

Revision history for this message
Wilfried (frietpan) wrote :

I installed lxdm and that fixed it for me on a Lubuntu machine

Revision history for this message
José Jorge (mexchip) wrote :

Tested succesfully xserver-xorg-video-intel from xenial proposed on an Inspiron 14 3000 series laptop.

Installed 2:2.99.917+git20160325-1ubuntu1.1, restarted system, tested from lock, then suspend and finally lock again, cursor returned everytime.

Revision history for this message
olbiv (olbiv) wrote :

Tested xserver-xorg-video-intel package.

Works on Lenovo X250.
Thanks.

Revision history for this message
David Pearson (akxwi-dave) wrote :

tested on a toshiba satellite pro... works a treat...

Revision history for this message
d3b null (d3b-null) wrote :

It also works for me. THANK YOU! and good work!

Revision history for this message
Chris Martin (6-chris-z) wrote :

@adconrad, fix works for me as well. Thank you!

Revision history for this message
Benjamin Wiese (bnwe) wrote :

Tested 2:2.99.917+git20160325-1ubuntu1.1 on Xubuntu 16.04.1: Fix works - thanks!

(Machine: Lenovo ThinkPad T450s Core i7)

Revision history for this message
Christoph Haas (chaas) wrote :

Works on Lenovo X230. Also the keyboard shortcuts on XFCE work again. Thanks for fixing the long-term annoyance.

Revision history for this message
Laurent Dufour (ldufour) wrote :

Tested 2:2.99.917+git20160325-1ubuntu1.1 on Thinkpad W541 running Xubuntu 16.04.1, the fix works.
Thanks!

Revision history for this message
Vladimír Kriška (ujovlado) wrote :

2:2.99.917+git20160325-1ubuntu1.1 works on ThinkPad T450s (i5-5200U), 4.4.0-34-generic

Revision history for this message
Mario Steele (eumario) wrote : Re: [Bug 1568604] Re: Mouse cursor lost when unlocking with Intel graphics
Download full text (3.2 KiB)

Issue remains with 2:2.99.917+git20160325-1ubuntu1.1 on ASUS S550CA
4.4.0-34-generic, x86_64, Sandybridge chipset, as installed from
xenial-proposed.

Mario Steele
Ruby Developer
C# Developer
Java Developer

On Wed, Aug 17, 2016 at 2:52 PM, Vladimír Kriška <<email address hidden>
> wrote:

> 2:2.99.917+git20160325-1ubuntu1.1 works on ThinkPad T450s (i5-5200U),
> 4.4.0-34-generic
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1598646).
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Fix Released
> Status in xf86-video-intel:
> Confirmed
> Status in xserver-xorg-video-intel package in Ubuntu:
> Fix Released
> Status in xserver-xorg-video-intel source package in Xenial:
> Fix Committed
> Status in xserver-xorg-video-intel package in Debian:
> Fix Released
>
> Bug description:
> [Impact]
> Mouse cursor is no longer visible after VT-switch for systems with Intel
> graphics.
>
> Switching VTs again may cause the cursor to become visible again.
> - Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7)
>
> This is often observed in systems that lock the session and return to
> the greeter (including at least Xubuntu, Ubuntu Mate, and elementary
> OS).
>
> [Test Case]
> (Requires a lightdm-based screen locking solution)
> 1. Start a new session.
> 2. Lock your screen.
> 2a. You are redirected to the lightdm greeter.
> 3. Login/Unlock your session.
> 4. Cursor is no longer visible.
>
> [Regression Potential]
> remains to be seen
>
> ===
>
> [Original Report]
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
> Tags: xenial
> Uname: Linux 4.4.0-18-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> _MarkForUpload: Tru...

Read more...

Revision history for this message
Aaditya Bagga (chk1827) wrote :

I am affected by this bug too, running Xubuntu 14.04.5 with the Hardware Enablement Stack from Ubuntu 16.04 (https://wiki.ubuntu.com/Kernel/LTSEnablementStack).

@adconrad (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604/comments/203) can the updated xserver-xorg-video-intel package be added to trusty proposed too?

Revision history for this message
Paolo Carlo Calanog (paul-calanog) wrote :

Can anyone recommend a workaround for Elementary OS?

Revision history for this message
Petr Gladkikh (petrglad) wrote :

Tested with xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1
the cursor is now visible after waking from suspend and login.

Revision history for this message
Jason Gray (michael-jason-gray) wrote :

The xserver-xorg-video-intel from xenial-proposed was successful on Dell Inspiron 15 3000 Series.

Revision history for this message
C. Gaspar (cdq74cn) wrote :

Tested Patch in Elementary OS NOT successful - Issue Remain.

elementary OS 0.3.2 Freya (64-bit)
Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
NVIDIA Corporation GM108M [GeForce 840M] (rev a2)

Workaround : xset s activate

Mathes (gmathes)
Changed in xserver-xorg-video-intel (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

@gmathes - The SRU system should automatically mark this as Fix Released when it's actually released. AFAICT it hasn't been released yet.

Changed in xserver-xorg-video-intel (Ubuntu Xenial):
status: Fix Released → Fix Committed
Revision history for this message
JOSÉ CASANOVA (casanovajg05) wrote :

I does installed these Packages:
- xserver-xorg-video-intel
- xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1

Don't work for me. I was install both, but then suspend and after unlock the cursor don't return.

Revision history for this message
Hannes Geist (hannes-geist) wrote :

I found a workarround for a HP 14-ac116ng (Intel Graphics) by accident:

Open the Menu with Strg + ESC or with the invisible mouse cursor. Enter something into search and then, while the menu is still open, drag the cursor from the upper left corner over the menu. It will reappear.

Revision history for this message
Jose Roa (jg-roac) wrote :

The bug remains in Elementary OS.

elementary OS 0.3.2 Freya (64-bit)
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

Revision history for this message
Dustin Townsend (dustintownsend95) wrote :

Tested xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1 on Xubuntu 16.04.1. Worked perfectly on Acer Aspire V3-571-6800.

Revision history for this message
linuxball (linuxball) wrote :

I had the same problem in Lubuntu 16.04.1 (running on Intel Skylake hardware).

After upgrading xserver-xorg-video-intel:amd64 from version

  2:2.99.917+git20160325-1ubuntu1

to

  2:2.99.917+git20160325-1ubuntu1.1

the problem was gone.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.99.917+git20160325-1ubuntu1.1

---------------
xserver-xorg-video-intel (2:2.99.917+git20160325-1ubuntu1.1) xenial; urgency=medium

  [ Sean Davis ]
  * preserve-mouse-cursor-after-vt-switch.patch: Fix lost mouse cursor after
    unlocking. (LP: #1568604)

  [ Timo Aaltonen ]
  * add-more-kbl-pciids.diff, remove-invalid-kbl-pciids.diff: Update KBL
    pciids. (LP: #1600124)

 -- Timo Aaltonen <email address hidden> Fri, 12 Aug 2016 09:32:54 +0300

Changed in xserver-xorg-video-intel (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for xserver-xorg-video-intel has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
ttosttos (ttosttos) wrote :

The bug remains in Elementary OS.

elementary OS 0.3.2 Freya (64-bit)

Revision history for this message
Rômulo (tlromulo-o) wrote :

Yes, this is not working on Xubuntu 14.04. The bug still remains.

Revision history for this message
Stefanos (sk) wrote :

After installing the updated xserver-xorg-video-intel, this bug got fixed, but made the "text disappearing after unsuspend" bug much more frequent. This other bug is described at https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1573959

Revision history for this message
Dmitriy Mozgovoy (unrtour) wrote :

When I unlock my elementary os Freya (based on Ubuntu 14.04), mouse pointer dissapears, but if I switch, for example, Youtube video to full screen, pointer appears again till next suspend.

Revision history for this message
Valdisvi (valdis-vitolins) wrote :

Following idea from comment #40, if bug still exists it's enough just to press Ctrl+F7, to push display refresh.
But at 2016-09-01 with updated 4.4.0-36-generic kernel and X.org server version 1.18.3 this bug seems fixed after locking/unlocking.

Revision history for this message
Valdisvi (valdis-vitolins) wrote :

I meant Ctrl+Alt+F7 in previous post. And it seems cursor is working after suspending also.

Revision history for this message
JP Vossen (jp-jpsdomain) wrote :

Fresh install of Xubuntu 16.05 on Dell mini9 (32-bit/atom) with Intel graphics (crash dump details in LP#1619969 if it matters):
1) At install = bug present
2) Fully update and reboot = bug fixed since that installed xserver-xorg-video-intel-2:2.99.917+git20160325-1ubuntu1.1

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

$ uname -a
Linux ubuntu-bellera 4.4.0-36-generic #55~14.04.1-Ubuntu SMP Fri Aug 12 11:49:30 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

1404_HWE_EOL applied
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

$ dpkg -l | grep xorg-video-intel
ii xserver-xorg-video-intel-lts-xenial 2:2.99.917+git20160325-1ubuntu1~trusty1

Still having the problem!

Workaround (switch to tty, switch to tty7)

Ctrl+Alt+F1 Ctrl+Alt+F7

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Tried with gnome-screensaver and xscreensaver

They work. I think the problem is light-locker

I'm trying to replace light-locker with one of them (at startup and preferences menu).

In fact, Lubuntu 12.04 LTS used xscreensaver

But Lubuntu 14.04 LTS uses light-locker

Test to do...

sudo apt-get install gnome-screensaver
sudo apt-get install xscreensaver

Ctrl+Alt+T

light-locker-command -l ----> Mouse cursor lost

killall light-locker

gnome-screensaver-command -l ----> OK

killall gnome-screensaver

xscreensaver ----> Needs daemon mode

Crtl+Alt+T

xscreensaver-command -l ----> OK

killall xscreensaver

Changed in light-locker (Ubuntu):
status: New → Invalid
importance: Undecided → High
Changed in light-locker (Ubuntu Xenial):
importance: Undecided → High
status: New → Invalid
description: updated
Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

This bug fixed in Xenial, but still needs to be patched in Trusty. This also will fix it in Trusty based distros like Elementary OS Freya.

I have just requested an upgrade on those. You'll be noticed when that's ready.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
Mathew Hodson (mhodson)
no longer affects: light-locker (Ubuntu)
no longer affects: light-locker (Ubuntu Xenial)
Revision history for this message
Luís Osório (luis-ferreira-gmail) wrote :

Lenovo X230 Tablet
ElementaryOS 0.3.2 Freya (all updates up to sat 17 sept 2016)
running with TLP (http://linrunner.de/en/tlp/tlp.html)

Recently started having this issue too. When returning from lock screen:
On the lock screen the mouse cursor is visible and working. After successfull password, the mouse still works but the cursor pointer is not visible.

Notes:
  Recently I started to, ocasionally, connect to TV via display port (don't know if it is related)

Workarounds that work for me:
  - shutdown and restart the computer - this is tedious and disruptive, but works.
  - press fn+f7 (key for changing to external display. Since there is no external display the screen just flickers once) - THIS IS EASY and fast, basically, the reason for my comment here.

Revision history for this message
Mikael Larsson (m1-k) wrote :

Samsung 900X4D
ElementaryOS 0.3.2 Freya (all updates today 20 Sept. 2016.

The mouse issue is gone for me at least.

However It is not possible to get a terminal via Ctrl+Alt+n anymore. Is this related? This was my work around fix before and then it worked.

Revision history for this message
Markus J Schmidt (smiddy84) wrote :

Same bug on Xubuntu 14.04.5, was NOT present in 14.04.4.

Seems to deped on the xenial version of the driver

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xserver-xorg-video-intel-lts-xenial (Ubuntu):
status: New → Confirmed
Revision history for this message
kabeza (kabeza) wrote :

Hi

I'm having this same issue in my desktop PC with ElementaryOS Freya
Also have a Intel based graphics board

Updated everything to 22 sept. 2016 and issue is still active

Solving temporarily with Ctrl+Alt+F1 then Alt+F7

Changed in xserver-xorg-video-intel-lts-xenial (Ubuntu):
importance: Undecided → High
Revision history for this message
André Silva Coelho de Oliveira (irmoktran) wrote :

I'm also having this same issue in my desktop PC with ElementaryOS Freya. Dell Vostro 3550 with Intel Graphic Card.

Using the trick Ctrl+Alt+F1 then Alt+F7 to avoid the problem.

Revision history for this message
m_k_t_6 (m-k-t-6) wrote :

I'm also having the same problem.

- ElementaryOS Freya.
- HP Z220 SFF Workstation (Intel i7-3770 CPU @ 3.40GHz. CPU integrated Intel graphics)

Solving temporarily problem with Ctrl+Alt+F1 then Alt+F7. Unbelievable that this bug still exist!

Revision history for this message
wolf (w+lf) wrote :

Bug maintainers: Looks like this should be marked as "Confirmed" for elementary OS and not "Fix released" based on the past few comments...

Revision history for this message
Zisu Andrei (matzipan) wrote :

Hey Wolf,

I believe this has been fixed in Loki (I wouldn't know, I'm running with oibaf's Intel drivers). The issue exsists in Freya since, I believe there was some update to 12.04 LTS's drivers.

Revision history for this message
kabeza (kabeza) wrote :
Download full text (3.4 KiB)

Zisu Andrei, do you have some instructions/link/whatever to solve this
manually under ElementaryOS Freya?
Thanks

On Thu, Sep 29, 2016 at 4:14 PM, Zisu Andrei <email address hidden>
wrote:

> Hey Wolf,
>
> I believe this has been fixed in Loki (I wouldn't know, I'm running with
> oibaf's Intel drivers). The issue exsists in Freya since, I believe
> there was some update to 12.04 LTS's drivers.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1568604
>
> Title:
> Mouse cursor lost when unlocking with Intel graphics
>
> Status in elementary OS:
> Fix Released
> Status in xf86-video-intel:
> Confirmed
> Status in xserver-xorg-video-intel package in Ubuntu:
> Fix Released
> Status in xserver-xorg-video-intel-lts-xenial package in Ubuntu:
> Confirmed
> Status in xserver-xorg-video-intel source package in Xenial:
> Fix Released
> Status in xserver-xorg-video-intel package in Debian:
> Fix Released
>
> Bug description:
> [Relevant details]
> This bug also affects Trusty and all distributions based on it, like
> Elementary OS Freya.
>
>
> [Impact]
> Mouse cursor is no longer visible after VT-switch for systems with Intel
> graphics.
>
> Switching VTs again may cause the cursor to become visible again.
> - Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7)
>
> This is often observed in systems that lock the session and return to
> the greeter (including at least Xubuntu, Ubuntu Mate, and elementary
> OS).
>
> [Test Case]
> (Requires a lightdm-based screen locking solution)
> 1. Start a new session.
> 2. Lock your screen.
> 2a. You are redirected to the lightdm greeter.
> 3. Login/Unlock your session.
> 4. Cursor is no longer visible.
>
> [Regression Potential]
> remains to be seen
>
> ===
>
> [Original Report]
> Cursor is visible at unlock screen either after returning from suspend
> or just locking.
>
> After unlocking screen cursor is invisible.
>
> Changing to vt1 then back to vt7 (ctrl+alt+f1 then ctrl+alt+f7) cursor
> returns
>
> ====================
>
> no matter if you suspend or sleep, to swap or disk when you return
> from it, the mouse cursor is missing. you can still move the mouse
> and you can see (because it highlights the window) as you move it
> around. But the cursor is not displayed on the screen.
>
> i am using a lenovo W540 laptop. I downloaded the latest beta on
> april 8 2016.
>
> this is xubuntu using the xfce window manager.
>
> the cursor does return if i log off and log back in, but that actually
> defeats the purpose of going to sleep.
> ---
> ApportVersion: 2.20.1-0ubuntu1
> Architecture: amd64
> DistroRelease: Ubuntu 16.04
> InstallationDate: Installed on 2016-04-08 (2 days ago)
> InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64
> (20160323)
> NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
> Package: light-locker 1.7.0-2ubuntu1
> PackageArchitecture: amd64
> ProcEnviron:
> LANGUAGE=en_US
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignatur...

Read more...

Revision history for this message
Pedro Ávila (pedroavila95) wrote :

Solved for me:

sudo apt-add-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get dist-upgrade

If you want to uninstall:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:oibaf/graphics-drivers

Revision history for this message
kabeza (kabeza) wrote :

Tried suggestion from @pedroavila95 without luck
ElementaryOS Freya

sudo apt-add-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get dist-upgrade
(then reboot)

Downloaded all updated, etc. still not working

Revision history for this message
Guillaume Gauffre (yomeuh) wrote :

I'm with ElementaryOS Freya.
Bug is still there

Is it because the fix is only available on xenial-updates, and still not present in trusty-updates?

The package currently installed on my laptop is xserver-xorg-video-intel-lts-xenial 2:2.99.917+git20160325-1ubuntu1

Revision history for this message
André Silva Coelho de Oliveira (irmoktran) wrote :

I'm using ElementaryOS Freya but now with two monitors and discovered that if you move the "hiden" mouse between the monitor the mouse cursor reappear.

I've tried to install the OIBAF drivers but nothing changed. The problem persists until now.

Revision history for this message
Grant (gsupp) wrote :

Same issue as reported in comment #244. The fix release for elementary OS only applies to version 0.4 Loki. Those of us running 0.3 Freya with the Trusty LTS Enablement Stack have not received an updated xserver-xorg-video-intel-lts-xenial:

$ lsb_release -a
No LSB modules are available.
Distributor ID: elementary OS
Description: elementary OS Freya
Release: 0.3.2
Codename: freya

$ dpkg -l | grep xorg-video-intel-lts-xenial
ii xserver-xorg-video-intel-lts-xenial 2:2.99.917+git20160325-1ubuntu1~trusty1 amd64 X.Org X server -- Intel i8xx, i9xx display driver

According to comment #203, the fix is in xserver-xorg-video-intel version 2:2.99.917+git20160325-1ubuntu1.1 (versus 2:2.99.917+git20160325-1ubuntu1). Hopefully this package will be updated in Trusty, so distros such as elementary OS Freya can benefit.

As mentioned before, the workaround is switching ttys with Ctl-Alt-F1 and then back with Ctl-Alt-F7.

Revision history for this message
Howe I. Shotweb (howeishotweb) wrote :

This is still a problem on Black Lab Linux 7.x (built on 14.04) too. Impatiently awaiting the fix.

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it's builtin modesetting driver instead.

https://packages.debian.org/sid/xserver-xorg-video-intel

https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/2:2.99.917+git20160325-1ubuntu1.1

sudo apt-get purge xserver-xorg-video*
sudo reboot

Woorking! Solved!

Acer TM B115M

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

I don't see anythign left to sponsor here, so unsubscribing sponsors now. Please re-subscribe when you upload further patches.

Revision history for this message
Davide Aguiari (gorghino) wrote :

Same error here with ELEMENTARY LOKI.

gorgo@dago:~$ dpkg -l | grep xorg-video-intel
ii xserver-xorg-video-intel 2:2.99.917+git20160706-1ubuntu1~elementary0.4.1 amd64 X.Org X server -- Intel i8xx, i9xx display driver

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

About my comments #261 & #262

I have problems with Google Chrome if I remove xserver-org-video-all (in my case xserver-xorg-video-all-lts-xenial) packages. Chrome works very slow and many times I'v got error application at startup.

Reinstalling the packages solves the problem with Chrome.

I read at some places that graphics acceleration can cause problems using Chrome, http://www.pcadvisor.co.uk/how-to/internet/how-turn-off-gpu-hardware-acceleration-in-google-chrome-3605455/

Revision history for this message
Eldar (fahreeve) wrote :

I have laptop with touchscreen
when cursor lost I touch the screen and move invisible cursor in touchpad and cursor displayed
I hope it will help in solving the problem

Revision history for this message
Lea Edel (ledel) wrote :

It would seem this problem still exists on trusty 14.04.5 LTS:

$ uname -a
Linux leadog 4.4.0-64-generic #85~14.04.1-Ubuntu SMP Mon Feb 20 12:10:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

$ dpkg -l | grep xorg-video-intel-lts-xenial
ii xserver-xorg-video-intel-lts-xenial 2:2.99.917+git20160325-1ubuntu1~trusty1 amd64 X.Org X server -- Intel i8xx, i9xx display driver

Revision history for this message
kabeza (kabeza) wrote :

Hi guys

Does anyone know if some kinda-new fix or workaround was released for Freya in these latest months?

I've same versions/config/OS as @ledel (previous post)

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

We migrated all the computers to Lubuntu (Ubuntu + LXDE) 16.04 64 bit. The problem is solved for us.

We had the problem with Lubuntu 14.04 32 & 64 bit with kernel enablement stack.
( https://wiki.ubuntu.com/Kernel/LTSEnablementStack )

We can't test this with 32 bit systems because we haven't them anymore.

josep maso (jmaso)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → josep maso (jmaso)
Revision history for this message
Viktor Mileikovskyi (v-mil) wrote :

Also affect Ubuntu 18.04.
Laptop: Acer Aspire 5715Z-2A1G12Mi.

Revision history for this message
Pete (brvcf) wrote :

I am still seeing this with Mint 18.3 and 19 on at least 4 different PCs but with nvidia graphics. Is there a fix somewhere?

Revision history for this message
Steve Baker (y9a7s7tjd2-s1eac-si9yrl01qs) wrote :

I'm seeing something like this on a 32bit Acer laptop - with Intel graphics - running Kubuntu 18.04.1 - it's been doing it for quite a long time - but it's still a current bug - I did a full apt upgrade/update just today.

When the machine awakes from a sleep (eg with by closing and opening the lid) the mouse cursor is gone - and the whole screen below the mouse position is white. So as you move the mouse up and down and it covers and uncovers the entire screen. You have no way to tell where the X position of the mouse is - but it does seem to work and you can still click on things.

Switching to a different virtual console and back again using Ctrl-Alt-Fn seems to fix it...until the machine goes to sleep again.

Seems like maybe some piece of graphics state isn't being properly saved and restored.

Mathew Hodson (mhodson)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: josep maso (jmaso) → nobody
no longer affects: xserver-xorg-video-intel-lts-xenial (Ubuntu)
Mathew Hodson (mhodson)
Changed in xserver-xorg-video-intel (Ubuntu Trusty):
status: New → Won't Fix
Changed in xserver-xorg-video-intel-lts-xenial (Ubuntu Trusty):
status: New → Won't Fix
Changed in xserver-xorg-video-intel (Ubuntu Trusty):
importance: Undecided → Medium
Changed in xserver-xorg-video-intel-lts-xenial (Ubuntu Trusty):
importance: Undecided → Medium
Revision history for this message
Qianqian Fang (fangq) wrote :

Had this issue occasionally last year on Ubuntu 20.04, but now every single time in the past week after my laptop wakes up from sleep.

Laptop is an Asus TUF F15 gaming laptop, with an NVIDIA 2060 GPU (hybrid graphics with Radeon Renoir GPU). CPU is an AMD Ryzen 7 4800H. NVIDIA driver 460.91.03. Ubuntu 20.04.3 LTS with Xfce 4.14.

Kernel version 5.6.14-050614-generic, dual monitors, one connected to the HDMI port from the USB-C adaptor (DP-0, connected directly to the NVIDIA GPU), and the other one connected to the HDMI port on the laptop (HDMI-1-1, graphics "pass-through" AMD Radeon GPU). see https://forums.developer.nvidia.com/t/ubuntu-19-04-doesnt-detect-my-hdmi-display/79577/80

When waking up, the DP-0 port (via USB-C, driven by NVIDIA GPU) does not have this issue, but the HDMI-1-1 port (via AMD GPU pass-through) loses cursor.

The workaround Ctrl+Alt+F1 followed by Alt+F7, as provided in #1573454 works. Looking for a permanent fix.

Revision history for this message
Sam Osborn (samosborn) wrote :

The permanent fix described by https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604/comments/261 works for me.

sudo apt-get purge xserver-xorg-video-intel*
sudo reboot

Note the poster of this fix has a follow up comment about the broader video driver removal also causing issues with Chrome, but I use Firefox so I havent seen any other issues removing just the intel driver.

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

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.