Bug#763706: kfreebsd-10: kern.ipc.shmall default too low for Qt apps
Source: kfreebsd-10
Version: 10.1~svn271306-2
Severity: important
Hi,
kfreebsd-10's default setting kern.ipc.shmall is 4096
Qt applications exhaust this very quickly; after that, widgets fail to
render and errors like these are spewed to stdout:
| X Error: BadDrawable (invalid Pixmap or Window parameter) 9
| Major opcode: 62 (X_CopyArea)
| Resource id: 0x0
I think this is also the reason for VLC to segfault in xcb_xv vout:
| [0000000848001268] xcb_xv vout display error: shared memory allocation error: Cannot allocate memory
| Segmentation fault
This shared memory quota can be exhausted by lmms alone, or qjackctl +
vlc, or qjackctl + psi-plus + other Qt applications running together.
As suggested here:
http://lists.freebsd.org/pipermail/freebsd-stable/2013-July/074203.html
raising kern.ipc.shmall: 4096 -> 32768 seems sufficient so far.
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: