Mouse flickering on one of my two screens
Solution 1
Changing the scaling factor from 1x1
to 0.9999x0.9999
did the trick for me
xrandr --output eDP-1 --scale 0.9999x0.9999
Solution 2
I had the same problem when I connected my second display to the VGA port. Problem solved when I changed to DVI. I found other issue using Display Port with a VGA adapter. The system goes crazy and becomes unable to detect the resolution properly. Quite a mess.
Solution 3
Go to a terminal and type or copy & paste [ sudo apt-get install linux-source
] -- press enter, it will ask if you really want to install, just say YES.
Then in same terminal type -- [ sudo apt-get remove --purge nvidia-*
] -- OR -- [ sudo apt-get remove nvidia-current
] -- OR -- [ sudo apt-get remove nvidia-current-updates
] -- then shut down and reboot.
After reboot, your system will be using a generic driver, go to Software & updates (additional drivers) and click one of the NVIDIA binary drivers listed, you should have a couple to pick from, either (proprietary,tested) or (proprietary), I would not use the Nouveau display driver, it is a generic driver and does not give full function.
Click on one of the listed drivers and click apply changes in bottom right corner and allow that driver to install, after its done installing, reboot system. If the driver you clicked on works flawlessly your all set to enjoy, if you still have problems you need to compleatly remove that driver using the remove command as per above and try the other driver listed in your (additional drivers) box. The KEY is to completely remove any other driver that is in your system or you will most certainly have problems!
Just so you know, you can copy and paste all my sudo
commands, they are correct :-) Do not use the [ or ] when copying or typing they are only for separation. I hope this has helped, so you can ENJOY using LINUX as much as I do.
Solution 4
I had this problem on 14.04 with a similar setup. I also, at some point, had a problem of text editing delay from one of my monitors.
I had two video cards: one with 1 DVI port, and the other with both a VGA and DVI port.
In the end, I determined my problem was that I was mixing video cards: I was using two DVI ports from two different cards. By instead using just one video card -- using the VGA and DVI ports from that one card -- all my problems went away.
Solution 5
Try connecting your monitor on the VGA port if possible. I have a laptop with 2 external monitors connected - one on the VGA port and one on the HDMI port. Hardware is NVidia Optimus. With the 2 monitors connected the mouse cursor flickers on the built in display (the HDMI display works fine). If I unplug the HDMI monitor the flickering on the built-in display stops. This is probably a bug with the open source nvidia drivers. Please tell us more about your hardware.
Related videos on Youtube
Comments
-
Timothée Jeannin over 1 year
I just installed ubuntu 14.04 and the mouse is now flickering on one of my two screens. The other screen doesn't have any flickering. I was previously using ubunutu 13.10 without any issue.
- If I disable the screen that is working properly, the second screen stops flickering and starts to work properly.
- If I disable the screen that is flickering, the other screen continues to work properly.
I already tried the solutions found here:
- Ubuntu Detects 2 monitors when I only have one
- Mouse Flickering/Disappearing
- Mouse cursor flickering and disappearing
Here is what my display settings look like:
I'm using the
X.Org X Server - Nouveau display driver from xserver-xorg-video-nouveau (open source)
driver. If I try to switch to an proprietary nvidia one, and click theApply Changes
button, it just starts and takes for ever to complete, changes seems to never apply.Here is what outputs
xrandr
:Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192 VGA-1 disconnected (normal left inverted right x axis y axis) DVI-I-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm 1920x1080 60.0*+ 1680x1050 59.9 1280x1024 75.0 60.0 1024x768 75.1 60.0 800x600 75.0 60.3 56.2 640x480 75.0 72.8 66.7 60.0 720x400 70.1 HDMI-1 disconnected (normal left inverted right x axis y axis) VGA2 disconnected HDMI2 disconnected DP1 disconnected HDMI3 disconnected HDMI4 connected 1920x1080+1920+0 521mm x 293mm 1920x1080 60.0*+ 50.0 59.9 30.0 25.0 24.0 30.0 24.0 1920x1080i 60.1 50.0 60.0 1680x1050 59.9 1280x1024 75.0 60.0 1280x720 60.0 50.0 59.9 1440x576i 50.1 1024x768 75.1 60.0 1440x480i 60.1 60.1 800x600 75.0 60.3 56.2 720x576 50.0 720x480 60.0 59.9 640x480 75.0 72.8 66.7 60.0 59.9 720x400 70.1 DP2 disconnected DP3 disconnected VIRTUAL1 disconnected 1920x1080 (0x4b) 148.5MHz h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.5KHz v: height 1080 start 1084 end 1089 total 1125 clock 60.0Hz 1680x1050 (0xa2) 119.0MHz h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz 1280x1024 (0xa3) 135.0MHz h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz 1280x1024 (0xa4) 108.0MHz h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1024x768 (0xa5) 78.8MHz h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz v: height 768 start 769 end 772 total 800 clock 75.1Hz 1024x768 (0xa6) 65.0MHz h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 800x600 (0xa7) 49.5MHz h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz v: height 600 start 601 end 604 total 625 clock 75.0Hz 800x600 (0xa8) 40.0MHz h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 800x600 (0xa9) 36.0MHz h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz v: height 600 start 601 end 603 total 625 clock 56.2Hz 640x480 (0xaa) 31.5MHz h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz v: height 480 start 481 end 484 total 500 clock 75.0Hz 640x480 (0xab) 31.5MHz h: width 640 start 664 end 704 total 832 skew 0 clock 37.9KHz v: height 480 start 489 end 491 total 520 clock 72.8Hz 640x480 (0xac) 30.2MHz h: width 640 start 704 end 768 total 864 skew 0 clock 35.0KHz v: height 480 start 483 end 486 total 525 clock 66.7Hz 640x480 (0xad) 25.2MHz h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 60.0Hz 720x400 (0xae) 28.3MHz h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz v: height 400 start 412 end 414 total 449 clock 70.1Hz
-
Timothée Jeannin about 10 yearsI tried to move the green monitor but I can't find any
Unknown monitor
to disable. Where should I look exactly ? -
Timothée Jeannin about 10 yearsI have a Nvidia GeForce GTX 560 TI, maybe I should change drivers ?
-
sмurf about 10 yearsWell, yours is a desktop system which makes a bit of difference.
-
sмurf about 10 yearsI would try connecting the monitors do different port types - DVI, VGA, etc, including the on-board VGA. Perhaps the HDMI connection causes the flicker, at least it looks like that on my laptop.
-
dschinn1001 almost 9 yearsflickering mouse could be too ---> malware "animal" ???
-
David Foerster almost 7 yearsI recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on AskUbuntu.)
-
GreQ about 4 yearsWow! Worked perfect for me. I have a second Screen connected over USB using evdi-dkms/1.6.0+dfsg-1ubuntu2 . You are the man :)
-
Jihel about 4 yearsI had issues with top bar size, I tried with xrandr --output eDP-1 --scale 1.0001x1.0001 => Worked like a charm, no more flickering and scale if perfect :) Original issue occured when my 4k main screen is used with an external FHD usb-c screen
-
sevenever over 3 yearsIt works! But my question raised, why?
-
Andrey Artemyev over 3 yearsI thought it was because different frame rate, but this trick works. Got this on custom scaling on second monitor. Page on main WQHD display still tearing though.
-
CarlEdman about 2 yearsAmazingly that worked for me too. Wish we had a real fix though. But for now I am very happy to have the hack.