
Code: Select all
# emerge --info
# cat /etc/X11/xorg.conf
# rc-update show
Yes.d2_racing wrote:Hi, can you post this :
Code: Select all
# emerge --info # cat /etc/X11/xorg.conf # rc-update show
Code: Select all
blake-gentoo ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_XP_2000+-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 19 Sep 2009 12:30:04 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt crypto cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde libnotify mad mga mikmod mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs wxgtk1 wxwindows x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa fbdev mga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Code: Select all
blake-gentoo ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "record"
Load "dbe"
Load "xtrap"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 470 300 # mm
Identifier "Monitor0"
VendorName "ACR"
ModelName "Acer AL2216W"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "PciRetry" # [<bool>]
#Option "SyncOnGreen" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "Overlay" # [<str>]
#Option "MGASDRAM" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "ColorKey" # <i>
#Option "SetMclk" # <freq>
#Option "OverclockMem" # [<bool>]
#Option "VideoKey" # <i>
#Option "Rotate" # [<str>]
#Option "TexturedVideo" # [<bool>]
#Option "Crtc2Half" # [<bool>]
#Option "Crtc2Ram" # <i>
#Option "Int10" # [<bool>]
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "DigitalScreen1" # [<bool>]
#Option "DigitalScreen2" # [<bool>]
#Option "TV" # [<bool>]
#Option "TVStandard" # [<str>]
#Option "CableType" # [<str>]
#Option "NoHal" # [<bool>]
#Option "SwappedHead" # [<bool>]
#Option "DRI" # [<bool>]
#Option "MergedFB" # [<bool>]
#Option "Monitor2HSync" # [<str>]
#Option "Monitor2VRefresh" # [<str>]
#Option "Monitor2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "OldDmaInit" # [<bool>]
#Option "ForcePciDma" # [<bool>]
#Option "AccelMethod" # [<str>]
#Option "KVM" # [<bool>]
Identifier "Card0"
Driver "mga"
VendorName "Matrox Graphics, Inc."
BoardName "MGA G400/G450"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "dri"
Mode 0666
EndSection
Code: Select all
blake-gentoo ~ # rc-update show
alsasound | default
apache2 | default
apmd | default
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop | default
cupsd | default
cvsd | default
denyhosts | default
hald | default
hdparm | boot
hostname | boot
hotplug | default
keymaps | boot
lisa | default
local | default nonetwork
localmount | boot
metalog | default
modules | boot
mysql | default
net.eth0 | default
net.lo | boot
netmount | default
nfs | default
noip | default
proftpd | default
rmnologin | boot
rsyncd | default
samba | default
serial | boot
sshd | default
stunnel | default
urandom | boot
vixie-cron | default
vmware | default
xdm | default
I agree with dmpogo. The two mouse configurations might be conflicting with each other.dmpogo wrote:You use 'mouse' driver for the mouse in xorg.conf, while recent X servers try use evdev by default. I think to retain the old behaviour without conflicts you have to give an option to X server 'AutoAddDevices off' in the ServerFlags section
http://www.gentoo.org/proj/en/desktop/x ... -guide.xml
when mouse stutters, is there something in the log (check dmesq), for example that USB is reconnecting all the time ?rlittle wrote:I've upgraded to latest unstable xorg-server, xorg-x11 and evdev driver. Still no change in the stutter.
One more observation, when it starts stuttering, X can grab up to 100% of a CPU.
The USB ports that I'm plugged into are using the OHCI driver (is driver the right term?). The ports that seem to be linked the the EHCI driver are busted (got hit with something heavy a while ago. I've got USB interface I can use the replace them with tomorrow and we'll see if using a different USB port helps.
Code: Select all
01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) (prog-if 10 [OHCI])
Subsystem: Sun Microsystems Computer Corp. Device 534d
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at e0100000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) (prog-if 10 [OHCI])
Subsystem: Sun Microsystems Computer Corp. Device 534d
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at e0110000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
01:03.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Sun Microsystems Computer Corp. Device 534d
Flags: bus master, medium devsel, latency 64, IRQ 18
Memory at e0120000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: ohci_hcd
01:03.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Sun Microsystems Computer Corp. Device 534d
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at e0130000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: ohci_hcd
01:03.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
Subsystem: Sun Microsystems Computer Corp. Device 534d
Flags: bus master, medium devsel, latency 132, IRQ 16
Memory at e0140000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
Kernel driver in use: ehci_hcdI was looking at dmesg and hal logs and made some bad conclusions. I'm over-eager to fix this... thing.(on mordern hardware all ports are usb2.0 capable, so EHCI/OHCI is not determined by port, but by the device plugged in.
Code: Select all
Sep 30 20:10:57 zaphod kernel: usb 5-1: USB disconnect, address 2
Sep 30 20:11:04 zaphod kernel: usb 4-1: USB disconnect, address 2
Sep 30 20:11:04 zaphod put: Listening on /dev/input/event2 /dev/input/event1 /dev/input/event0: [5856]: 20:11:04.510 [D] addon-input.c:312: Input device '/org/freedesktop/Hal/devices/usb_device_430_5_noserial_if0_logicaldev_input' destroyed, free data.
Sep 30 20:11:04 zaphod put: Listening on /dev/input/event2 /dev/input/event1 /dev/input/event0: [5856]: 20:11:04.513 [D] addon-input.c:402: Removing channel for '/org/freedesktop/Hal/devices/usb_device_430_5_noserial_if0_logicaldev_input'
Sep 30 20:11:04 zaphod pi: listening on acpid socket /var/run/acpid.socket: [5876]: 20:11:04.523 [D] addon-acpi.c:304: Cannot connect to acpid event socket - retry connect
Sep 30 20:11:10 zaphod kernel: usb 5-1: new low speed USB device using ohci_hcd and address 3
Sep 30 20:11:10 zaphod kernel: usb 5-1: New USB device found, idVendor=0430, idProduct=0100
Sep 30 20:11:10 zaphod kernel: usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 30 20:11:10 zaphod kernel: usb 5-1: configuration #1 chosen from 1 choice
Sep 30 20:11:10 zaphod kernel: input: HID 0430:0100 as /devices/pci0000:00/0000:00:06.0/0000:01:03.1/usb5/5-1/5-1:1.0/input/input4
Sep 30 20:11:10 zaphod kernel: generic-usb 0003:0430:0100.0003: input: USB HID v1.10 Mouse [HID 0430:0100] on usb-0000:01:03.1-1/input0
Sep 30 20:11:15 zaphod kernel: usb 4-1: new low speed USB device using ohci_hcd and address 3
Sep 30 20:11:15 zaphod kernel: usb 4-1: New USB device found, idVendor=0430, idProduct=0005
Sep 30 20:11:15 zaphod kernel: usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 30 20:11:15 zaphod kernel: usb 4-1: configuration #1 chosen from 1 choice
Sep 30 20:11:15 zaphod kernel: input: HID 0430:0005 as /devices/pci0000:00/0000:00:06.0/0000:01:03.0/usb4/4-1/4-1:1.0/input/input5
Sep 30 20:11:15 zaphod kernel: generic-usb 0003:0430:0005.0004: input: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:01:03.0-1/input0
Sep 30 20:11:15 zaphod put: Listening on /dev/input/event1 /dev/input/event0: [5856]: 20:11:15.460 [D] addon-input.c:376: /org/freedesktop/Hal/devices/usb_device_430_5_noserial_if0_logicaldev_input: Listening on /dev/input/event3