Package: xserver-xorg-core
Version: 2:1.7.7-2
Severity: normal
It's 2010, and we still can't open more than about 194 clients (My
ulimit is for 1024 open fds). Meanwhile, it is clear that the
tradeoff that was made to only allow 256 connections is heavily
lopsided towards allowing those clients to open far more resources
than any actually use in practice.
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/260138
Large clients have been shown to use 3500 resources each, but we allow
them to use 2^29/256, or 2 million. Can't we steal quite a few more
bits for increasing the number of X clients?
People have done this before:
https://bugs.freedesktop.org/show_bug.cgi?id=9209
http://readlist.com/lists/lists.freedesktop.org/xorg/3/17055.html
http://old.nabble.com/Maximum-Number-of-Clients-td7307396.html
If it's a bit too much work to add a configuration or cmdline option,
can't we change the default anyway, since it's already so heavily
lopsided?
-- Package-specific info:
/var/lib/x11/X.roster does not exist.
/var/lib/x11/X.md5sum does not exist.
X server symlink status:
lrwxrwxrwx 1 root root 13 Sep 16 2007 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1877472 Jun 9 20:58 /usr/bin/Xorg
/var/lib/x11/xorg.conf.roster does not exist.
VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600M GT]
(rev a1)
/var/lib/x11/xorg.conf.md5sum does not exist.
Xorg X server configuration file status:
lrwxrwxrwx 1 root root 25 Apr 10 16:18 /etc/X11/xorg.conf -
/etc/X11/xorg.conf.nvidia
Contents of /etc/X11/xorg.conf:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section Files
EndSection
Section Module
Loadsynaptics
EndSection
Section InputDevice
Identifier Generic Keyboard
Driver kbd
# Driverevdev
# Option Dev Phys isa0060/serio0/input0
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel pc104
Option XkbLayout us
#altwin:meta_win
# Option XkbOptionsctrl:nocaps
# Option XkbOptionsterminate:ctrl_alt_bksp
Option XkbOptionsctrl:nocaps terminate:ctrl_alt_bksp
EndSection
Section InputDevice
Identifier Configured Mouse
Driver mouse
Option CorePointer
Option ButtonNumber 5
Option Device/dev/input/mice
# Option Protocol ImPS/2
# Option Protocol ExplorerPS/2
Option Protocol auto
# Option Emulate3Buttons true
# Option Buttons 10
Option Buttons 11
Option ButtonMapping 1 2 3 9 8 6 7 13 14
Option ZAxisMapping 4 5 6 7
EndSection
#ALSO try btnx btnx-config
#Section InputDevice
#Identifier VXNano
#Driver evdev
#Option Name Logitech USB Receiver
#Option Protocol evdev
#Option Buttons 9
#Option SendCoreEvents
#Option HWHEELRelativeAxisButtons 7 6
#EndSection
#Section InputDevice
#Identifier Logitech MX1000
#Driver evdev
#Option Name Logitech USB Receiver
## I tried the HWHEELRelativeAxisButtons-line already
# Option ZAxisMapping 11 12 10 9
#EndSection
Section InputDevice
# These values can be obtained from synclient -l, and can be
# set on the fly with synclient var=val
Identifier Synaptics Touchpad
Driver synaptics
Option SendCoreEventstrue
Option Device/dev/psaux
## Option Device/dev/input/mice
Option Protocol auto-dev
Option LeftEdge 1700
Option RightEdge 5300
Option TopEdge 1700
Option BottomEdge4200
Option FingerLow 25
Option FingerHigh30
Option MaxTapTime180
Option