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

Bug 292757

Summary: xorg-server-1.7.1 cannot load xorg modules
Product: Gentoo Linux Reporter: thanosz <athanasios.zorbas>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thanosz 2009-11-11 08:08:11 UTC
I recently upgraded to xorg-server-1.7.1 and it seems that it cannot load the xorg modules because of incorrect path; from Xorg.0.log:

(...)
II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules//extensionslibdbe.so
dlopen: /usr/lib64/xorg/modules//extensionslibdbe.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib64/xorg/modules//extensionslibdbe.so
(II) UnloadModule: "dbe"
(EE) Failed to load module "dbe" (loader failed, 7)
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules//extensionslibextmod.so
dlopen: /usr/lib64/xorg/modules//extensionslibextmod.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib64/xorg/modules//extensionslibextmod.so
(II) UnloadModule: "extmod"
(EE) Failed to load module "extmod" (loader failed, 7)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules//extensionslibglx.so
dlopen: /usr/lib64/xorg/modules//extensionslibglx.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib64/xorg/modules//extensionslibglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
(II) LoadModule: "v4l"
(II) Loading /usr/lib64/xorg/modules/drivers/v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 0.1.1
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules//extensionslibrecord.so
dlopen: /usr/lib64/xorg/modules//extensionslibrecord.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib64/xorg/modules//extensionslibrecord.so
(II) UnloadModule: "record"
(EE) Failed to load module "record" (loader failed, 7)
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.5.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "kbd"
(...)


Reproducible: Always

Steps to Reproduce:
1.startx
2.
3.




emerge --info

Portage 2.1.7.4 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r0, 2.6.29-gentoo-r2-amd64 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r2-amd64-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.0.1
Timestamp of tree: Tue, 10 Nov 2009 11:30:23 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://files.gentoo.gr/ ftp://files.gentoo.gr/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en el"
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 a52 aac acl acpi alsa amd64 apm berkdb bitmap-fonts bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt dbus divx divx4linux dri dts dvd dvdr dvdread eds emboss emerald encode evo fam firefox flac fortran fuse gdbm gif glib* glitz gpm gstreamer gtk2 hal iconv ieee1394 ipod ipv6 java javascript jpeg kde lame libnotify lirc lm_sensors mad mikmod mmx mmxext modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre pdf perl png posix ppds pppd qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd threads thunar tiff truetype truetype-fonts type1-fonts unicode usb v4l2 vcd verbose x264 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zeroconf 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


xorg.conf:
Section "Module"

    Load        "dbe"  	# Double buffer extension
    Load        "extmod"
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection
# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

    Load 	"v4l"
EndSection

Section "Files"
   FontPath    "/usr/share/fonts/misc:unscaled"
   FontPath    "/usr/share/fonts/Type1"
   FontPath    "/usr/share/fonts/TTF"
   FontPath    "/usr/share/fonts/corefonts"
   FontPath    "/usr/share/fonts/freefonts"
   FontPath    "/usr/share/fonts/sharefonts"
   #FontPath    "/usr/share/fonts/terminus"
   FontPath    "/usr/share/fonts/ttf-bitstream-vera"
   #FontPath    "/usr/share/fonts/unifont"
   FontPath    "/usr/share/fonts/75dpi:unscaled"
   FontPath    "/usr/share/fonts/100dpi:unscaled"
   FontPath    "/usr/share/fonts/artwiz"

#    FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
#    FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/share/fonts/100dpi/"
#    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

EndSection


Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" 
    #InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "LIRC-Mouse"  "CorePointer" "SendCoreEvents"
    Option "OffTime" "8" 
EndSection

Section "ServerFlags"
    Option "AutoAddDevices" "off"
EndSection


Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option   "AutoRepeat"   "500 30"
    Option   "XkbRules"	    "xorg"
    Option   "XkbModel"    "pc105"
    Option   "XkbLayout"   "us,el"
    Option   "XkbOptions"  "grp:alt_shift_toggle" 
EndSection



Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    Option "ButtonMapping" "1 2 3 4 5"
    Option "Buttons" "5"
    Option "Emulate3Buttons" "false"
EndSection

Section "InputDevice"
        Identifier  "LIRC-Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/lircm"
        Option      "Protocol" "IMPS/2"
        Option      "SendCoreEvents" 
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection 

Section "Monitor"
    Identifier  "Siemens P19-2"
    #Option      "DPMS" "true"
    #HorizSync   30 - 82
    #VertRefresh 56-76
EndSection

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
    Driver	"vesa"
EndSection


Section "Device"
    #http://forum.compiz-fusion.org/showthread.php?t=2363
    Identifier  "NVIDIA 6200"
    Driver      "nvidia"
    #Driver       "nv" 
    #VideoRam    131072
    
    Option 	"AllowGLXWithComposite" "true"
    Option      "AddARGBGLXVisuals" "True"
    Option 	"RenderAccel" "true"
 #   Option 	"BackingStore" "true"
    Option 	"DamageEvents" "True" 
    Option 	"NvAGP" "3"
    #Option	"Coolbits" "1"
    Option "UseEvents" "on"

##
#	Option "UseEdidFreqs" "true"
#	Option "UseEDID" "true"
#	Option "TripleBuffer" "false"
#	Option "RandRRotation" "true"
#	Option "PixmapCacheSize" "1000000"
#	Option "OnDemandVBlankInterrupts" "True"
	Option "DPMS" "TRUE"
#	Option "AllowIndirectPixmaps" "false"
#	Option "AllowSHMPixmaps" "0"
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "NVIDIA 6200"
    Monitor     "Siemens P19-2"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


# Section "DRI"
#    Mode 0666
# EndSection

Section "Extensions"
   Option "Composite" "true"
   Option "RENDER" "true"
   Option "DAMAGE" "Enable"
EndSection
Comment 1 thanosz 2009-11-11 16:49:53 UTC
Seems that rebooting solved the problem