/usr/lib/xorg/module/font directory missed and xserver complain 'Failed to load module "freetype" (module does not exsit, 0)' Reproducible: Always Steps to Reproduce: 1. emerge -1 =xorg-server-1.5.3-r3 2. startx 3. grep "EE" /var/log/Xorg.0.log Actual Results: grep "EE" /var/log/Xorg.0.log: (EE) Failed to load module "freetype" (module does not exist, 0) Expected Results: get rid of this error
xorg-server-1.5.3-r2 have /usr/lib/module/fonts/libfreetype.so
...and xorg-server-1.6.0 (not yes in the tree, but in overlays) doesn't even have source files to built it - your point being ? Does it not being the actually break anything ?
(In reply to comment #2) > ...and xorg-server-1.6.0 (not yes in the tree, but in overlays) > doesn't even have source files to built it - your point being ? > > Does it not being the actually break anything ? > I have no idea, even I remove the "freetype" from xorg.conf, X still trying to load it. I don't notice anything strange, but I have downgraded to 1.5.3-r2
I cannot reproduce this on my ~amd64 machine: zeromancer:~ # grep free /var/log/Xorg.0.log (II) "freetype" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "freetype" (II) Loading /usr/lib64/xorg/modules/fonts//libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" zeromancer:~ # qlist -CIve xorg-server x11-base/xorg-server-1.5.3-r3 zeromancer:~ # Please post your "emerge --info" as well as the output of emerge -qpv xorg-server Reopen this bug when you provide the requested information.
(In reply to comment #4) There no /usr/lib64/xorg/modules/fonts/libfreetype.so x11-base/xorg-server-1.5.3-r3 USE="hal ipv6 nptl sdl xorg" INPUT_DEVICES="evdev keyboard mouse" VIDEO_CARDS="nvidia" Hm, last Cardona's patchset (for 1.5.3-r3) consist code which removes loadable font renderer. So, I guess, now xorg-server loads fonts via libXfont. Maybe I wrong, better ask remi.
emerge --info : Portage 2.2_rc24 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r3-i686-Intel-R-_Pentium-R-_M_processor_1.20GHz-with-glibc2.0 Timestamp of tree: Tue, 10 Mar 2009 12:00:14 +0000 app-shells/bash: 4.0_p10 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="" LC_ALL="" LDFLAGS="-Wl,--as-needed" LINGUAS="zh_CN en_US" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/sunrise /usr/local/acevery-portage" SYNC="rsync://140.211.166.165/gentoo-portage" USE="16Bit X a52 aac acl acpi aiglx alsa asf avahi bash-completion beagle berkdb branding browserplugin bzip2 bzr cairo caps cdr chm cjk cli cracklib crypt cups custom-cflags custom-cpuopts custom-optimization dbus djvu dmx dri dvd dvdnav dvdr dvdread emacs emboss evo fam fbcon fbcondecor fbsplash ffmpeg flac fontforge fortran fuse gdbm gif git glib gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtk2 gucharmap guile hal i8x0 iconv icu id3 ieee1394 imap ipv6 isdnlog jack java jpeg jpeg2k kerberos kpathsea latex lcms ldap libnotify libsamplerate lunar lzo mad midi mikmod mmap mmx mp3 mpeg msn mudflap nautilus ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcre pdf perl pic png ppds pppd python qq qt3support quicktime readline reflection samba scanner sdl session sound spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcl tcltk tcpd tetex theora threads thunderbird tiff tk truetype unicode usb vcd vim vim-syntax vim-with-x vorbis wav wifi win32codecs wma wmf wmp x264 x86 xcb xcomposite xine xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" CAMERAS="ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash service_cache" INPUT_DEVICES="synaptics evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -qpv xorg-server: [ebuild R ] x11-base/xorg-server-1.5.3-r3 USE="dmx hal ipv6 nptl sdl xorg -3dfx -debug -kdrive -minimal -tslib" INPUT_DEVICES="evdev keyboard synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -vmmouse -void -wacom" VIDEO_CARDS="intel -apm -ark -ast -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa -vga -via -vmware -voodoo -xgi" grep free /var/log/Xorg.0.log: (II) "freetype" will be loaded by default. (II) LoadModule: "freetype" (WW) Warning, couldn't open module freetype (II) UnloadModule: "freetype" (EE) Failed to load module "freetype" (module does not exist, 0)
(In reply to comment #1) > xorg-server-1.5.3-r2 have /usr/lib/module/fonts/libfreetype.so > I've got the same problem, and can't find any "freetype.so" or the like under /usr/lib/xorg/modules, can't remember the version though, may check it at home later. BTW, "dri" fails either, but I've installed the correct driver for my nvidia card.
I've backported a patch from master which removes the freetype module from the autoload list. I won't release a new tarball for such a small fix but it's in my queue. It'll be included in the next xorg-server revbump. In the mean time, just ignore it :) Thanks
Closing.
Hard to ignore when xorg won't start and this is the only error. I pulled my hair out all night while bugs.gentoo.org is unresponsive, reading everywhere that freetype is gone in 1.6, and not find _anywhere_ that's it's gone in 1.5_. My response was to downgrade to r2, save libfreetype, reinstall r4 and startx. I still have many problems so this may be a coincidence, but after that single change, xorg does start now. The documents I found state that freetype is removed from 1.6, not 1.5.3, so this is Gentoo being different? I expect that when I go to freedesktop.org I can count on what I'm reading to be accurate wrt to what version I have installed. If this just slipped in, or it's upstreams fault please say so.
(In reply to comment #10) > Hard to ignore when xorg won't start and this is the only error. _Everyone_ has that error, only because I forgot to backport the one patch that removes the autoloading of the freetype module. > I pulled my > hair out all night while bugs.gentoo.org is unresponsive, reading everywhere > that freetype is gone in 1.6, and not find _anywhere_ that's it's gone in 1.5_. That's because I backported from master the patches that clean up the old font handling from the system. > My response was to downgrade to r2, save libfreetype, reinstall r4 and startx. Useless, the module will indeed be loaded correctly but nothing will ever use it. > I still have many problems so this may be a coincidence, but after that single > change, xorg does start now. You're probably looking at another bug. Here's what I have in my Xorg.0.log and yet it works just fine : (II) "freetype" will be loaded. This was enabled by default and also specified in the config file. [...] (WW) Warning, couldn't open module freetype (II) UnloadModule: "freetype" (EE) Failed to load module "freetype" (module does not exist, 0) So it's nothing to worry about, even if you still have the module configured in your xorg.conf. > The documents I found state that freetype is removed from 1.6, not 1.5.3, so > this is Gentoo being different? Yes, just take a look at the 67 patches in the patchball... > I expect that when I go to freedesktop.org I > can count on what I'm reading to be accurate wrt to what version I have > installed. If this just slipped in, or it's upstreams fault please say so. Don't bug upstream about freetype, it's gone. And as I said in a previous comment, the error message will be gone in the next revbump of xorg-server. You do seem to have a legitimate bug though. Please do open a bug for that. Thanks
(In reply to comment #8) > I've backported a patch from master which removes the freetype module from the > autoload list. > > I won't release a new tarball for such a small fix but it's in my queue. It'll > be included in the next xorg-server revbump. > > In the mean time, just ignore it :) > > Thanks > Thanks Remi, clear about it now :)
reopening
xorg-server-1.5.3-r5 contains the missing patch. Closing with the proper resolution. Thanks
Hello, I have xorg-server-1.5.3-r5 but I still get the following error: (EE) Failed to load module "freetype" (module does not exist, 0) (EE) No drivers available. My card is an ATI ES1000. Flavio
just remove it from your xorg.conf. Thanks