Skip to contentSkip to conversation

New: Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

Bug 97588 [email protected] 1 participant 20 messages Sep 3, 2016 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=97588

Bug ID: 97588
Summary: Disconnecting/Reconnecting monitor results in 'laggy'
graphics and disappearing mouse cursor
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 126188
--> https://bugs.freedesktop.org/attachment.cgi?id=126188&action=edit
kernel_log

Overview:
Whenever I disconnect or reconnect my monitor via HDMI or switch systems with my HDMI switcher, the screen seems to be laggy and my mouse cursor won't move. There seems to be input from the mouse as I can use the 'hidden' cursor to log out and log back in which resolves the issue.

I can only describe the effect as being extremely laggy. In chrome I can see that tabs change, however content won't show. I can type in the terminal but only see some letters appearing (really slowly and random).

Steps to Reproduce:

1) Disconnect HDMI cable
2) Reconnect

Actual Results:
Slow and unusable screen

Expected Results:
Usable screen

Hardware:
NVIDIA Corporation GM206 [GeForce GTX 960]

Software:
Fedora 24
Kernel 4.7.2-201.fc24.x86_64

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: 4.6.4-301.fc24.x86_64
Current Operating System: Linux ElGuapo 4.7.2-201.fc24.x86_64 #1 SMP Fri Aug 26 15:58:40 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.7.2-201.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet log_buf_len=1M
Build Date: 25 August 2016 05:27:31PM
Build ID: xorg-x11-server 1.18.4-4.fc24
Current version of pixman: 0.34.0

xorg-x11-drv-nouveau
Version : 1.0.12
Release : 4.fc24

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-97588-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #1 from [email protected] --- Created attachment 126189
--> https://bugs.freedesktop.org/attachment.cgi?id=126189&action=edit
Xorg.0.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Can you see if your interrupt rate goes through the roof? You can see in /proc/interrupts. Is the attached kernel log from after the issue happens?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #3 from [email protected] --- Created attachment 126192
--> https://bugs.freedesktop.org/attachment.cgi?id=126192&action=edit
interrupts_before

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #4 from [email protected] --- Created attachment 126193
--> https://bugs.freedesktop.org/attachment.cgi?id=126193&action=edit
interrupts after

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #5 from [email protected] --- The log is indeed after the issue occurred. I have added a cat of the interrupts before and after.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Hm, 300 interrupts is hardly what I call a storm. Maybe with 3 or 4 more 0's on it...

Try booting with

nouveau.debug=debug drm.debug=14

and see if that reveals anything interesting.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #7 from [email protected] --- Created attachment 126194
--> https://bugs.freedesktop.org/attachment.cgi?id=126194&action=edit
kernel_log with debugging

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #8 from [email protected] --- Created attachment 126195
--> https://bugs.freedesktop.org/attachment.cgi?id=126195&action=edit
Xorg.0.log debug

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #9 from [email protected] ---
I am now booted with debugging on and attached the dmesg output and Xorg.0.log after I have unplugged and reconnected the monitor.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- And no messages are constantly repeating in "steady state"? If not, I got nothing. Otherwise we're not properly clearing some interrupt state. I do see

nouveau 0000:01:00.0: disp: DAC1 sense: 80100000

a whole bunch. Which reminds me - there was some userspace application that kept polling and repolling connector state and messing things up. Perhaps the unplug/plug activates it in your desktop environment?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #11 from [email protected] ---
I am not sure how I can check for messages that are constantly repeating in "steady state". I can provide a list of running apps if that helps at all. But it is a pretty clean installation (or at least I think so :P ).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #12 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Once you get to a messed up state, ssh in from another machine and run

dmesg -w

And see if new messages keep appearing. If they do, I'd be curious which ones.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #13 from [email protected] --- There does not seem to be any new messages popping up with dmesg -w.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #14 from [email protected] ---
Ok cool, I have a horrible work around! I installed Arandr, now if I disconnect the monitor and reconnect, the graphics are screwed up (laggy and does not seem to be updated).

If I then just do a ctrl-return in Arandr (apply settings) all is back to normal.

Does this maybe give a clue of what happens? I wonder if there is a way of connecting a script to the reconnect event to do this underwater. It ain't pretty but at least it is somewhat workable.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#16 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #15 from Karol Herbst <[email protected]> --- uhh I remember. At work on a xfce4 machine we also have troubles with a laptop
+ 2 external monitors on an AMD gpu. After login all screens are black and sometimes when reconnecting screens we have really bad artefacts on one of them.

Maybe this is a xfce4 issue?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#17 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #16 from [email protected] ---
Hmm, it does start to look like this is a XFCE bug instead of nouveau. I'll try and see what happens with another DE. Thanks for all the responses so far, I actually learned a lot.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#18 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #17 from [email protected] ---
I think this can be closed as it does seem to be a XFCE bug rather than nouveau. I have confirmed that KDE/openbox do work when switching or disconnecting the monitor.

For future reference, when people have the same issue I would recommend creating a keyboard shortcut that loads an Arandr script. (mine is at win+alt+pause). Thanks for the responses and help figuring this out.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#19 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

--- Comment #18 from poma <[email protected]> --- (In reply to Karol Herbst from comment #15)

Quoted 6 lines

uhh I remember. At work on a xfce4 machine we also have troubles with a laptop + 2 external monitors on an AMD gpu. After login all screens are black and sometimes when reconnecting screens we have really bad artefacts on one of them.

Maybe this is a xfce4 issue?

Have you considered the possibility to report the issue here:
https://bugzilla.xfce.org/buglist.cgi?component=Display%20Settings&product=Xfce4-settings

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#20 lore raw

[Bug 97588] Disconnecting/Reconnecting monitor results in 'laggy' graphics and disappearing mouse cursor

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=97588

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #19 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/284.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau