The work-around of disabling polling works for me.  I have confirmed
that on the M4600, the polling of its 5 ports take up to 484
milliseconds during which the system is "frozen".  I haven't
investigated why but I'm confident that they way nouveau is detecting
the DDC and EDID information is causing these brief lockups.

Gents,

I have instrumented the nouveau driver to get exact timing and the
problem is definitely the EDID probe for the HDMI port taking 250
milliseconds and DDC detection taking 160 milliseconds for each port!

HDMI port connected

Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.106058] Got to 
nouveau_connector_detect
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.106059] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.106061] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.138669] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC detected
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.138670] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:251 - Getting EDID information
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.352525] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:253 - EDID information obtained
Nov  7 20:00:21 Precision-M4600-JRYQKQ1 kernel: [  231.352529] 
[drm:output_poll_execute], [CONNECTOR:17:DP-3] status updated from 1 to 1

HDMI port disconnected

Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.286060] 
[drm:output_poll_execute], [CONNECTOR:17:DP-3] Probing...
Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.286061] Got to 
nouveau_connector_detect
Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.286062] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.286064] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.446021] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected!
Nov  7 20:04:07 Precision-M4600-JRYQKQ1 kernel: [  457.446024] 
[drm:output_poll_execute], [CONNECTOR:17:DP-3] status updated from 2 to 2


No ports connected.  Notice the DDC detection takes 160 millisecs to time out 
for each DP port.  total detection time 484 milliseconds

Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  645.966016] 
[drm:output_poll_execute], [CONNECTOR:9:DP-1] Probing...
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  645.966027] Got to 
nouveau_connector_detect
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  645.966033] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  645.966039] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126051] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected!  <==== .16
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126053] 
[drm:output_poll_execute], [CONNECTOR:9:DP-1] status updated from 2 to 2
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126055] 
[drm:output_poll_execute], [CONNECTOR:12:DP-2] Probing...
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126057] Got to 
nouveau_connector_detect
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126058] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.126059] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286021] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected! <==== .16
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286023] 
[drm:output_poll_execute], [CONNECTOR:12:DP-2] status updated from 2 to 2
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286026] 
[drm:output_poll_execute], [CONNECTOR:15:eDP-1] Probing...
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286028] Got to 
nouveau_connector_detect
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286029] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286031] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286054] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected! <==== .16
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286056] 
[drm:output_poll_execute], [CONNECTOR:15:eDP-1] status updated from 2 to 2
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286058] 
[drm:output_poll_execute], [CONNECTOR:17:DP-3] Probing...
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286059] Got to 
nouveau_connector_detect
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286060] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.286062] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446019] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected! <=== .16
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446021] 
[drm:output_poll_execute], [CONNECTOR:17:DP-3] status updated from 2 to 2
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446023] 
[drm:output_poll_execute], [CONNECTOR:20:VGA-1] Probing...
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446025] Got to 
nouveau_connector_detect
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446026] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:238 - 
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.446027] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:247 - Detecting DDC
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.449954] [drm] nouveau 
0000:01:00.0: nouveau_connector_detect:249 - DDC not detected!
Nov  7 20:07:16 Precision-M4600-JRYQKQ1 kernel: [  646.449955] 
[drm:output_poll_execute], [CONNECTOR:20:VGA-1] status updated from 2 to 2


Roger R. Cruz

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-nouveau in Ubuntu.
https://bugs.launchpad.net/bugs/926714

Title:
  continuous jerky mouse movements while using nouveau driver in 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/926714/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to