nvLock: client timed out, taking the lock after changing refresh rate of second monitor

Bug #935912 reported by Cinquero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev
In Progress
Medium
nvidia-graphics-drivers (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

I have a dual-screen setup with two separate screens handled by one nvidia geforce graphics card.

Bug gets triggered when starting playback (mplayer) on second screen in fullscreen mode, then quickly and repeatedly move the mouse from screen one to two and back. When disabling the hardware mouse cursor in xorg.conf, the problem goes away.

dmesg:

[28443.474348] NVRM: Xid (0000:01:00): 16, Head 00000001 Count 00243538

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Keine Berechtigung
 dmesg: write failed: Datenübergabe unterbrochen (broken pipe)
Date: Sun Feb 19 03:17:15 2012
DistUpgraded: Log time: 2012-02-12 12:51:46.485634
DistroCodename: precise
DistroVariant: ubuntu
EcryptfsInUse: Yes
MachineType: Gigabyte Technology Co., Ltd. P55-USB3
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 LANGUAGE=de:en
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-16-generic root=/dev/mapper/hostnamevg-hostnameroot ro ipv6.disable=1 ip=dhcp ISCSI_INITIATOR=iqn.1993-08.org.debian:01:95384da15332 ISCSI_TARGET_NAME=iqn.mstier.de:desktop64.img ISCSI_TARGET_IP=192.168.0.4 ISCSI_TARGET_PORT=3260
SourcePackage: xserver-xorg-input-evdev
UpgradeStatus: Upgraded to precise on 2012-02-12 (6 days ago)
dmi.bios.date: 02/11/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: P55-USB3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF4:bd02/11/2010:svnGigabyteTechnologyCo.,Ltd.:pnP55-USB3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP55-USB3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P55-USB3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu4
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0~rc2-0ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0~rc2-0ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Cinquero (cinquero) wrote :
Revision history for this message
Cinquero (cinquero) wrote :
Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

I have a dual-screen setup with two separate screens handled by one nvidia geforce graphics card.

Bug gets triggered when starting playback (mplayer) on second screen in fullscreen mode, then quickly and repeatedly move the mouse from screen one to two and back. When disabling the hardware mouse cursor in xorg.conf, the problem goes away.

dmesg:

[28443.474348] NVRM: Xid (0000:01:00): 16, Head 00000001 Count 00243538

More details at:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/935912

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

Created attachment 57274
xorg log

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

Created attachment 57275
xorg.conf

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Keine Berechtigung
 dmesg: write failed: Datenübergabe unterbrochen (broken pipe)
Date: Sun Feb 19 03:17:15 2012
DistUpgraded: Log time: 2012-02-12 12:51:46.485634
DistroCodename: precise
DistroVariant: ubuntu
EcryptfsInUse: Yes
MachineType: Gigabyte Technology Co., Ltd. P55-USB3
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 LANGUAGE=de:en
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-16-generic root=/dev/mapper/hostnamevg-hostnameroot ro ipv6.disable=1 ip=dhcp ISCSI_INITIATOR=iqn.1993-08.org.debian:01:95384da15332 ISCSI_TARGET_NAME=iqn.mstier.de:desktop64.img ISCSI_TARGET_IP=192.168.0.4 ISCSI_TARGET_PORT=3260
SourcePackage: xserver-xorg-input-evdev
UpgradeStatus: Upgraded to precise on 2012-02-12 (6 days ago)
dmi.bios.date: 02/11/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: P55-USB3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF4:bd02/11/2010:svnGigabyteTechnologyCo.,Ltd.:pnP55-USB3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP55-USB3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P55-USB3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu4
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0~rc2-0ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0~rc2-0ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

the attached xorg.conf has hwcursor set to false, but must be set to true in order to trigger the bug.

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

I'm sure there's a bug file for this already but I couldn't find it. Either way, it's a longer-standing issue that hasn't been tracked down yet. It's in the server though.

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

Is there anything I can do to help?

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

(In reply to comment #6)
> Is there anything I can do to help?

a reliable reproducer. unfortunately, it seems to be a race condition and I haven't managed to reliably trigger it yet.

Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

It is *very* reliable here.

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

once it hangs, attach gdb and see what causes the loop. Is it stuck in a single function or does it actually still process events?

Revision history for this message
Cinquero (cinquero) wrote :
Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

The culprit is "DISPLAY=:0.1 xrandr -r 24".

It always happens after switching the refresh rate of the second screen using xrandr.

Revision history for this message
Cinquero (cinquero) wrote :

The culprit is "DISPLAY=:0.1 xrandr -r 24".

It always happens after switching the refresh rate of the second screen using
xrandr.

Bryce Harrington (bryce)
Changed in xserver-xorg-input-evdev (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in evdev:
importance: Unknown → Medium
status: Unknown → In Progress
Revision history for this message
In , Bugs-freedesktop-org-674292 (bugs-freedesktop-org-674292) wrote :

Forwarded to nvidia.

It gets stuck somewhere within the nvidia driver.

Timo Aaltonen (tjaalton)
affects: xserver-xorg-input-evdev (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Bryce Harrington (bryce)
summary: - nvLock: client timed out, taking the lock
+ nvLock: client timed out, taking the lock after changing refresh rate of
+ second monitor
Revision history for this message
Bryce Harrington (bryce) wrote :

The 295.33 driver was updated in Ubuntu recently. Please re-test after updating to that version, and report back here if that resolves the issue. It includes several DisplayPort fixes which might be relevant to your issue.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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