Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182894 - x11-misc/electricsheep shows just blank screen within xscreensaver
Summary: x11-misc/electricsheep shows just blank screen within xscreensaver
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 175219
  Show dependency tree
 
Reported: 2007-06-22 14:36 UTC by Petr Baudis
Modified: 2009-12-31 18:56 UTC (History)
3 users (show)

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 Petr Baudis 2007-06-22 14:36:52 UTC
I can't get the electricsheep screensaver working with xscreensaver; when I install it, the preview and the test mode in xscreensaver-demo works, but when xscreensaver itself is supposed to show it (after inactivity), only blank screen comes up; happens with both "normal" and mplayer mode. When I run mplayer in parallel with -vo xv, the screensaver works - it appears that somehow using xv is broken inside xscreensaver, maybe?

(Curiously, screensaver in mplayer mode seems to never work except when previewing; even if it uses different vo or another mplayer is already running. However, the stock mpeg player works when xv is in use.)

Either the xv usage in xscreensaver should be fixed (xscreensaver bug?) or electricsheep should make sure xv is not used (less optimal, the animation gets choppy at points on my machine when xv is not used). I tried to workaround it by the classic XLIB_SKIP_ARGB_VISUALS=1 trick but that doesn't work either.

See also https://launchpad.net/ubuntu/+source/electricsheep/+bug/5823, but the solution there seems to be relevant only for gnome-screensaver.

Reproducible: Always




Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 20 Jun 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer -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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/share/portage/distfiles"
FEATURES="candy ccache confcache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/share/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/share/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/share/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib alsa apache2 audiofile bash-completion bitmap-fonts bzip2 cairo calendar cdparanoia cdr cli cracklib crypt ctype cups curl dbus doc dri dts dvb dvd dvdr dvdread eds emboss encode expat fam fb fbcon ffmpeg firefox flac fortran gd gdbm ggi gif glut gpm graphviz gstreamer gtk guile hal iconv idn imagemagick imlib ipv6 isdnlog jpeg latex libcaca libg++ lirc live lm_sensors lua mad matroska mbox midi mikmod mime mmap mmx mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp opie oss pam pcre pda perl perlsuid png posix ppds pppd procmail profile python qt3 qt4 quicktime readline real recode reflection rtc sdl session shared sharedmem slang sockets speex spell spl sqlite srvdir sse ssl tcltk tcpd tetex theora tidy tiff tk truetype truetype-fonts type1-fonts v4l v4l2 vcd vorbis webdav win32codecs wmf x86 xinetd xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm using ATI Radeon 7000 (open-source accelerated driver).
Comment 1 Daniel Black (RETIRED) gentoo-dev 2007-07-17 12:06:34 UTC
any errors in ~/.xsession-errors?
Comment 2 Simon Cooper 2007-07-17 15:06:05 UTC
I have the same problem - running electricsheep from the command line produces:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  159
  Current serial number in output stream:  159
Terminated

electricsheep --mplayer 1 runs fine

running electricsheep within xscreensaver, whether using mplayer or not, just produces a blank screen
Comment 3 Simon Cooper 2007-07-17 15:07:39 UTC
whoops:

Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Jul 2007 11:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.virginmedia.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acpi alsa amd64 audiofile berkdb bitmap-fonts branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib cups curl dbus dri dts dvb dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg firefox foomaticdb gdbm gif glitz gs gtk guile hal iconv icu imagemagick imlib isdnlog ithreads java javascript jpeg libg++ libwww lirc logrotate mad midi mmap mmx mmxext mp3 msn mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session sndfile spl sse sse2 ssl svg symlink tcl tcpd test threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis x264 xcb xml xorg xosd xpm xscreensaver xv zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Daniel Black (RETIRED) gentoo-dev 2007-07-18 07:45:14 UTC
$  electricsheep
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  142 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  1112
  Current serial number in output stream:  1112
Terminated
Comment 5 Simon Cooper 2007-07-18 16:35:51 UTC
hmm, its started working within xscreensaver for me, although it still crashes when run from the command line without --mplayer. The updates ive made inbetween are the gtk+ stabilisations (bug 185614) and beryl-plugins
Comment 6 Philipp Riegger 2009-06-05 12:45:23 UTC
Since this bug is 2 years old, is it still valid?
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-12-31 18:56:57 UTC
If it's still a problem with ... 

=x11-misc/electricsheep-2.7_beta11
=x11-misc/xscreensaver-5.10

... reopen, closing as test-req for now