Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263393 - sys-apps/lcdtest fails on a minimal xorg-server only install
Summary: sys-apps/lcdtest fails on a minimal xorg-server only install
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 17:34 UTC by Olliver Schinagl
Modified: 2009-03-22 17:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olliver Schinagl 2009-03-22 17:34:15 UTC
lcdtest seems to fail on a minimally build box. I've emerged only freevo, pulling in only xorg-server. I used the -minimal useflag for the entire system, except xorg-server. (video drivers that support 3D rendering want mesa in xorg-server. when compiling the server with minimal, there's no mesa and thus the drivers won't do much).

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  137 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x83
  Serial number of failed request:  101
  Current serial number in output stream:  103
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7fc9056e1a7c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7fc9056e1b15]
#2 /usr/lib/libX11.so.6 [0x7fc90592ed43]
#3 /usr/lib/libX11.so.6(XFreeCursor+0x1a) [0x7fc90590b79a]
#4 /usr/lib/libSDL-1.2.so.0 [0x7fc906ca643b]
#5 /usr/lib/libSDL-1.2.so.0(SDL_FreeCursor+0x73) [0x7fc906c93c93]
#6 /usr/lib/libSDL-1.2.so.0 [0x7fc906c93fd4]
#7 /usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x37) [0x7fc906c98067]
#8 /usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x4d) [0x7fc906c7175d]
#9 /usr/lib/libSDL-1.2.so.0(SDL_Quit+0xe) [0x7fc906c717de]
#10 /lib/libc.so.6(exit+0x9d) [0x7fc90672bd8d]
#11 /usr/lib/libX11.so.6 [0x7fc9059284e8]
#12 /usr/lib/libX11.so.6(_XError+0xc5) [0x7fc9059285b5]
#13 /usr/lib/libX11.so.6 [0x7fc90592f5d2]
#14 /usr/lib/libX11.so.6(_XReply+0x168) [0x7fc90592f988]
#15 /usr/lib/libSDL-1.2.so.0 [0x7fc906cab5a1]
#16 /usr/lib/libSDL-1.2.so.0 [0x7fc906cac30a]
#17 /usr/lib/libSDL-1.2.so.0 [0x7fc906ca461f]
#18 /usr/lib/libSDL-1.2.so.0 [0x7fc906ca48a8]
#19 /usr/lib/libSDL-1.2.so.0 [0x7fc906ca501e]
lcdtest: xcb_xlib.c:73: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted

I simply un-emerged lcdtest as I don't care enough to figure it out, but from my guess is that the XFree86-VidModeExtension seems to be missing in a minimal build like this. For a quick fix i'd say let this one depend on a full xorg-x11 unless someone wants to actually figure out what useflags/other things it needs.

emerge --info
Portage 2.1.6.9 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-glibc2.2.5
Timestamp of tree: Sun, 22 Mar 2009 01:45:01 +0000
app-shells/bash:     4.0_p10-r1
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib acl acpi alsa amd64 ao avahi berkdb bluetooth bzip2 cddb cdparanoia cli cracklib crypt css dbus disk-partition dri dvd encode eu_epg fam flac fontconfig fontforge fortran gdbm gif gphoto2 gpm gstreamer hal iconv ipv6 isdnlog jbig jpeg jpeg2k lame lapack lirc lzo midi mikmod minimal mmap mmx mmxext mng mp3 mudflap multilib musepack net nl nl_wolf nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd pulseaudio python radio readline realmedia reflection rle sdl session sndfile snes speech speex spl sqlite sse sse2 ssl sysfs tcpd tiff timidity tls truetype tv tvtime unicode vorbis xanim xattr xcb xmame xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="imon imonlcd" LIRC_DEVICES="imon_pad2keys" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Reproducible: Always

Steps to Reproduce:
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-03-22 17:51:33 UTC
(In reply to comment #0)
> I simply un-emerged lcdtest as I don't care enough to figure it out

If anyhow has time to troubleshoot this with me, please reopen the bug (or at least reply so a wrangler can do so for you). Thank you.