X pauses until mouse is moved

Coleman Kane cokane at FreeBSD.org
Wed Mar 26 08:38:40 PDT 2008


Kevin Oberman wrote:
>> Date: Wed, 26 Mar 2008 10:09:35 -0400
>> From: Coleman Kane <cokane at FreeBSD.org>
>>
>> Kevin Oberman wrote:
>>     
>>>> From: Joe Marcus Clarke <marcus at FreeBSD.org>
>>>> Date: Wed, 26 Mar 2008 01:47:38 -0400
>>>>
>>>> On Tue, 2008-03-25 at 17:38 -0400, Joe Marcus Clarke wrote:
>>>>     
>>>>         
>>>>> On Tue, 2008-03-25 at 14:31 -0700, Kevin Oberman wrote:
>>>>>       
>>>>>           
>>>>>>> From: Joe Marcus Clarke <marcus at FreeBSD.org>
>>>>>>> Date: Tue, 25 Mar 2008 12:07:00 -0400
>>>>>>> Sender: owner-freebsd-x11 at freebsd.org
>>>>>>>
>>>>>>> This problem was originally reported on this list on March 5
>>>>>>> (http://lists.freebsd.org/pipermail/freebsd-x11/2008-March/006077.html).
>>>>>>> I am now seeing this on my RELENG_7 and -CURRENT boxes.  Basically, all
>>>>>>> interaction with X is temporarily suspended until the mouse is moved.
>>>>>>> This only occurs when using /dev/sysmouse (thus when moused is enabled).
>>>>>>> If I disabled moused, and use /dev/psm0 directly, the problem goes away.
>>>>>>>
>>>>>>> My i386 RELENG_7 machine was working fine until I updated to:
>>>>>>>
>>>>>>> FreeBSD shumai.marcuscom.com 7.0-STABLE FreeBSD 7.0-STABLE #17: Mon Mar
>>>>>>> 24 15:32:39 EDT 2008
>>>>>>> marcus at shumai.marcuscom.com:/build/obj/build/src/sys/SHUMAI  i386
>>>>>>>
>>>>>>> Prior to that I was running FreeBSD 7.0-STABLE #16: Sat Mar  8 20:07:36
>>>>>>> EST 2008.
>>>>>>>
>>>>>>> Also prior to that I had the xorg-server update that was supposed to fix
>>>>>>> jerky mouse movement.  That didn't seem to trigger this problem.  I
>>>>>>> thought it might have been related to the recent moused fix in RELENG_7,
>>>>>>> so I backed out the moused.c changes, but the problem persists.  I also
>>>>>>> backed out the recent X mouse driver VT switch fix, but the problem
>>>>>>> persists.
>>>>>>>
>>>>>>> At least two other users have described similar problems.  Any
>>>>>>> suggestions on what may be causing this?  The only difference I spot in
>>>>>>> dmesg relates to CPU clock speed (off by 1/100 of a MHz).  The working
>>>>>>> version of FreeBSD had:
>>>>>>>
>>>>>>> CPU: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz (2327.52-MHz
>>>>>>> 686-class CPU)
>>>>>>>
>>>>>>> The current version has:
>>>>>>>
>>>>>>> CPU: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz (2327.51-MHz
>>>>>>> 686-class CPU)
>>>>>>>
>>>>>>> A full (current) dmesg can be found at
>>>>>>> http://www.marcuscom.com/downloads/dmesg.shumai .
>>>>>>>           
>>>>>>>               
>>>>>> I am seeing about the same thing here. My system is running:
>>>>>> FreeBSD slan.es.net 7.0-STABLE FreeBSD 7.0-STABLE #2: Mon Mar 17 21:39:01 PDT 2008     root at slan.es.net:/usr/obj/usr/src/sys/IBM-T43  i386
>>>>>>
>>>>>> What is possibly notable is that I only started seeing this problem
>>>>>> yesterday, right after upgrading to Gnome 2.22. It looks like the Gnome
>>>>>> upgrade triggered something, possibly an interaction with the moused,
>>>>>> sysmouse, or xf86-input-mouse.
>>>>>>
>>>>>> The system is a T43 using the internal keyboard and TrackPoint(tm).
>>>>>>
>>>>>> The Gnome upgrade was pretty smooth with everything building, but
>>>>>> portupgrade complaining about some dependency loops. (I'll report about
>>>>>> this to the Gnome list.)
>>>>>>         
>>>>>>             
>>>>> If you follow /usr/ports/UPDATING these loops will go away.  There are
>>>>> no real loops.  It may require you to run pkgdb -fF a few times, though.
>>>>>
>>>>>       
>>>>>           
>>>>>> This is more than a bit annoying. It also impacts menus and scroll
>>>>>> bars. I plan to drop back to my backup from before the Gnome upgrade.
>>>>>>
>>>>>> I can make config, xorg.conf, and dmesg available, but I can't see
>>>>>> anything odd there.
>>>>>>         
>>>>>>             
>>>>> I have a GNOME 2.22 machine with a USB mouse running -CURRENT from March
>>>>> 6 which is not seeing this problem.  I've also seen the issue running a
>>>>> failsafe xterm with no window manager, and no gnome-session.  If the
>>>>> GNOME update introduced this problem, I'm not sure how.
>>>>>       
>>>>>           
>>>> The problem is ConsoleKit.  If console-kit-daemon is running, then
>>>> moused an X get all screwy.  I think this only affects GDM users, and
>>>> may be fixed with my recent GDM commit.  I am now running X with CK and
>>>> moused with no pausing.  Can people seeing this problem confirm if
>>>> you're using GDM?  If not, try starting X AFTER console-kit-daemon, and
>>>> see if that helps.  Note: bland has most likely fixed this bug in very
>>>> recent -CURRENT.
>>>>     
>>>>         
>>> Afraid not. I don't use GDM and I did not have console-kit-daemon
>>> running but still saw the problem. (That was my first guess as to the
>>> cause.) 
>>>
>>> I'm not sure what starts console-kit-daemon, but it is running just fine
>>> right now. The only change I made to get things working was to remove
>>> the hald_enable from rc.conf.
>>>   
>>>       
>> I am not using GDM either, and I have the problem. As I said earlier, 
>> when I stop using moused and tell Xorg to use /dev/psm0 for me, it all 
>> works fine.
>>     
>
> >From what date's sources was your system built? Is it CURRENT or
> 7-Stable?
>
> I have a sneaking hunch that it's some interaction between Gnome (but
> not GDM) and the recent mouse changes to fix the "jerkiness" reported by
> some. I have not had a chance to see when that was MFCed to 7-stable,
> but I know it's in CURRENT. I am running 7-Stable from last Friday. Joe
> was probably doing the same or had installed the patch.
>
> Of course, I'm probably wrong, but the timing is oddly coincidental.
>   
I am attaching my dmesg. This is on an 8-CURRENT build from CVS as of 
about 10-12 days ago.

--
Coleman Kane

-------------- next part --------------
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #4: Tue Mar 18 15:39:46 EDT 2008
    root at erwin:/usr/obj/usr/src/sys/ERWIN
link_elf_obj: Weak symbols not supported
link_elf_obj: symbol uart_quicc_class undefined
KLD file uart.ko - could not finalize loading
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-64 (2194.55-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x60f81  Stepping = 1
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
  Cores per package: 2
usable memory = 1999962112 (1907 MB)
avail memory  = 1933553664 (1843 MB)
ACPI APIC Table: <HP     0944    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ACPI Error (tbfadt-0516): 32/64X address mismatch in "Pm2ControlBlock": [    8800] [       0    8100], using 64X [20070320]
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, 8000000 (3) failed
acpi0: reservation of 100000, fff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
unknown: Applying PCI membase fixup for HDA Audio on an HP 6715b notebook to: d0614000
unknown: Applying PCI membase fixup for HDA Audio on an HP 6715b notebook to: d0614000
unknown: Applying PCI membase fixup for HDA Audio on an HP 6715b notebook to: d0614000
unknown: Applying PCI membase fixup for HDA Audio on an HP 6715b notebook to: d0614000
unknown: Applying PCI membase fixup for HDA Audio on an HP 6715b notebook to: d0614000
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xd0400000-0xd040ffff,0xd0500000-0xd05fffff irq 19 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci16: <ACPI PCI bus> on pcib2
pci0:16:0:0: failed to read VPD data.
bge0: <Broadcom BCM5754/5787 A2, ASIC rev. 0xb002> mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci16
miibus0: <MII bus> on bge0
brgphy0: <BCM5787 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:1a:4b:74:39:96
bge0: [ITHREAD]
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci32: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci48: <ACPI PCI bus> on pcib4
ndis0: <Dell Wireless 1500 Draft 802.11n WLAN Mini-Card> mem 0xc8100000-0xc8103fff,0xc8000000-0xc80fffff irq 18 at device 0.0 on pci48
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
fpudna in kernel mode!
ndis0: WARNING: using obsoleted if_watchdog interface
ndis0: Ethernet address: 00:1a:73:86:02:df
atapci0: <ATI IXP600 SATA300 controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0609000-0xd06093ff irq 16 at device 18.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI Version 01.10 controller with 4 ports detected
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: port not implemented
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: port not implemented
ata5: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xd0601000-0xd0601fff irq 23 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xd0602000-0xd0602fff irq 17 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ohci2: <OHCI (generic) USB controller> mem 0xd0603000-0xd0603fff irq 17 at device 19.2 on pci0
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb2: OHCI version 1.0, legacy support
usb2: <OHCI (generic) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ohci3: <OHCI (generic) USB controller> mem 0xd0604000-0xd0604fff irq 17 at device 19.3 on pci0
ohci3: [GIANT-LOCKED]
ohci3: [ITHREAD]
usb3: OHCI version 1.0, legacy support
usb3: <OHCI (generic) USB controller> on ohci3
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ohci4: <OHCI (generic) USB controller> mem 0xd0605000-0xd0605fff irq 17 at device 19.4 on pci0
ohci4: [GIANT-LOCKED]
ohci4: [ITHREAD]
usb4: OHCI version 1.0, legacy support
usb4: <OHCI (generic) USB controller> on ohci4
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0606000-0xd06060ff irq 23 at device 19.5 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb5: EHCI version 1.0
usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci0
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
uhub5: 10 ports with 10 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
pcm0: <ATI SB600 High Definition Audio Controller> mem 0xd0614000-0xd0617fff irq 16 at device 20.2 on pci0
pcm0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib5: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci2: <ACPI PCI bus> on pcib5
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xd0100000-0xd0100fff irq 20 at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
fwohci0: <1394 Open Host Controller Interface> mem 0xd0101000-0xd01017ff irq 21 at device 4.1 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3f:99:29:6d:4c:0e
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x74a1c000
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
orm0: <ISA Option ROM> at iomem 0xd0000-0xd0fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
ubt0: <Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 2> on uhub0
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320
ugen0: <vendor 0x08ff Fingerprint Sensor, class 255/255, rev 1.10/6.23, addr 2> on uhub2
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: DVDR <MATSHITADVD-RAM UJ-861H/1.50> at ata0-master PIO4
ad0: 152627MB <FUJITSU MHW2160BH PL 891F> at ata2-master SATA150
pcm0: <HDA Codec: Analog Devices AD1981HD>
pcm0: <HDA Driver Revision: 20071129_0050>
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
GEOM_LABEL: Label for provider acd0 is iso9660/DVD_VIDEO.
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: cd present [3941376 x 2048 byte records]
hwpmc: TSC/1/0x20<REA> K8/4/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
GEOM_JOURNAL: Journal 3284468597: ad0s1e contains data.
GEOM_JOURNAL: Journal 3284468597: ad0s1e contains journal.
GEOM_JOURNAL: Journal ad0s1e clean.
Trying to mount root from ufs:/dev/ad0s1a


More information about the freebsd-x11 mailing list