I just updated to RELENG_7 from 6.2 and I'm running into some really annoying issues with jerky mouse movement and skipping sound. This seems to be similar to: Re: SCHED_4BSD in RELENG_7 disturbs workflow This happens both with 4BSD and ULE. I seems to happen when I'm compiling ports and a new cc/bzip2/sh process fires off (I'm just watching top), I'll get the skip/freezeup. This behavior is pretty pronounced, as I'm installing gutenprint right now. bigguy# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S3 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 bigguy# sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU1 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% This didn't happen with 6.2. I'm running UP with Xorg 7.2. http://am-productions.biz/debug/releng_7/BIGGUY http://am-productions.biz/debug/releng_7/vmstat-i.txt http://am-productions.biz/debug/releng_7/dmesg.boot http://am-productions.biz/debug/releng_7/pkg_into.txt Let me know what other information I need to provide. -- Anish Mistry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071017/93b681d4/attachment.pgp
Anish Mistry wrote:> I just updated to RELENG_7 from 6.2 and I'm running into some really > annoying issues with jerky mouse movement and skipping sound. This > seems to be similar to: > Re: SCHED_4BSD in RELENG_7 disturbs workflow > This happens both with 4BSD and ULE. > > I seems to happen when I'm compiling ports and a new cc/bzip2/sh > process fires off (I'm just watching top), I'll get the > skip/freezeup. > > This behavior is pretty pronounced, as I'm installing gutenprint right > now. > > bigguy# sysctl hw.acpi > hw.acpi.supported_sleep_state: S1 S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S1 > hw.acpi.lid_switch_state: S3 > hw.acpi.standby_state: S1 > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 5 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 1 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > hw.acpi.reset_video: 0 > hw.acpi.cpu.cx_lowest: C1 > bigguy# sysctl dev.cpu > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU1 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.cx_supported: C1/0 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% > > This didn't happen with 6.2. I'm running UP with Xorg 7.2. > http://am-productions.biz/debug/releng_7/BIGGUY > http://am-productions.biz/debug/releng_7/vmstat-i.txt > http://am-productions.biz/debug/releng_7/dmesg.boot > http://am-productions.biz/debug/releng_7/pkg_into.txt > > Let me know what other information I need to provide.2 things fixed it for me: Using SCHED_ULE and rebuilding x11-drivers/xf86-input-mouse.
I have rebuilt all xorg stuff over night and it didn't help. The only way to avoid the jerkiness is having those lines in /etc/rc.conf: moused_nondefault_enable="NO" moused_enable="NO" I have configured my /usr/local/etc/X11/xorg.conf to contain the following lines in the Mouse section: Option "Protocol" "auto" Option "Device" "/dev/ums0" I'm using a USB mouse. What I think is the most likely cause, is that there's something wrong with moused, so that /dev/sysmouse feeds xorg broken signals that somehow are not handled appropriately.
On Wed, Oct 17, 2007 at 12:28:30PM -0400, Anish Mistry wrote:> I just updated to RELENG_7 from 6.2 and I'm running into some really > annoying issues with jerky mouse movement and skipping sound. This > seems to be similar to: > Re: SCHED_4BSD in RELENG_7 disturbs workflow > This happens both with 4BSD and ULE. > > I seems to happen when I'm compiling ports and a new cc/bzip2/sh > process fires off (I'm just watching top), I'll get the > skip/freezeup.[...] Using ULE and UP kernel (i.e. without SMP etc.) helped a bit the things but it's still very annoying to use firefox during ports build. I see this lag/freeze on all boxes I use with 7.0, but it's true that with a fast machine people can ignore the problem, it's less obvious than with a 1GHz box for example. -- Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071018/848ca0a1/attachment.pgp
Kris Kennaway
2007-Dec-30 14:12 UTC
RELENG_7 jerky mouse and skipping sound (still a problem -BETA3)
David E. Thiel wrote:> On Sun, Dec 30, 2007 at 01:50:30PM +0100, Kris Kennaway wrote: >>> There is an ithread priority inversion bug that might be causing this. >>> The fix for that should be going in shortly. >> Anish, >> >> Can you confirm that this fix helped for you? i.e. do you still see the >> problem? > > FWIW, the problem remains for me. Still terrible performance > during compiles. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >OK. Instead of going over all of the usual questions again, can you point me to a previous mail in which you explain your observations and test results in detail? Kris