Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124554

Summary: xscreensaver-4.24, 4.23-r1 and 4.22-r4 'molecule' error
Product: Gentoo Linux Reporter: Matt Manjos <mattdev121>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Manjos 2006-03-01 12:24:09 UTC
Running xscreensaver-4.24 (unmasked from ~x86), compiled with gcc 3.4.5 on a pentium 4, xorg-7.0 system.

Whenever the molecule screensaver is loaded, it quickly fails and does not display any data. Here is the output from running "/usr/lib/misc/xscreensaver/molecule -root -timeout 17 -shells":

Warning: Color name "black" is not defined
molecule: can't parse color black: using black.
molecule: can't parse color black: using white.
molecule: can't parse color black: using black.
molecule: unparsable color in bond: Grey70

I also get this error running xscreensaver-4.23-r1, same runline, same error. 

I am using xorg-x11 opengl drivers, on a Radeon 7500 card. glxinfo|grep der returns a direct rendering: yes
Comment 1 Matt Manjos 2006-03-01 12:31:41 UTC
Just finished compiling 4.22-r4, same error. (Updated title)
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-03-03 02:43:22 UTC
It can't find rgb.txt file, for new (modular) X it's /usr/share/X11/rgb.txt. Also: emerge --info, xorg-x11 version.
Comment 3 Matt Manjos 2006-03-03 05:29:19 UTC
i'm running xorg-x11 7.0-r1. here's my emerge --info.


Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgloverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm arts avi berkdb bitmap-fonts bzip2 cairo cdr crypt cups dga dri dvd eds emboss encode exif foomaticdb fortran ftp gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 imagemagick imlib ipod ipv6 java javascript jpeg kde libg++ libwww mad mikmod mime motif mozilla mp3 mpeg ncurses nls nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline samba sdl spell ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis wifi win32codecs xine xml2 xmms xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_fglrx video_cards_vga video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

also, /usr/share/X11/rgb.txt exists, and it is full of data. How do I get molecule to recognize it?

Thanks
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-03-16 11:34:32 UTC
It works for me ok, you have to have RgbPath in /etc/X11/xorg.conf:

Section "Files"
        RgbPath         "/usr/share/X11/rgb"
        ModulePath      "/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/corefonts"
        FontPath        "/usr/share/fonts/Type1"
        FontPath        "/usr/share/fonts/75dpi"
        FontPath        "/usr/share/fonts/100dpi"
EndSection