You are not logged in.

#1 2009-11-10 05:19:02

wiredfiend
Member
Registered: 2009-11-10
Posts: 4

[Solved, more or less] libdri.so and libdri2.so not found

Hi, I recently installed with 2009.08 and I'm having the same problem as seen in this thread http://bbs.archlinux.org/viewtopic.php?id=77147 but I'm not trying to start Gnome.

Packages I installed: some fonts, xorg (group), xorg-input-drivers, nvidia, nvidia-utils, lxde.

What I did:
(1) # nvidia-xconfig and generated /etc/X11/xorg.conf and it looks all right;
(2) # /etc/rc.d/hal start hal and dbus started successfully and then it's time for
(3) $ startx then I get the errors as seen in the linked post plus something about dbus that looked irrelevant but it could be important (I'll post it shortly—I'm on my Windows partition at the moment, so I'll have to go back and get my X log, xorg.conf and lspci)

My X log says that X started up using /etc/X11/xorg.conf (the one nvidia-xconfig generated) but then it goes off about loading all these modules "by default, as specified in xorg.conf" none of which are specified in xorg.conf.  The errors are the same as in the linked post; /usr/lib/xorg/modules/extensions/libdri.so and libdri2.so both exist but (1) they are not specified in my xorg.conf so I don't know why X is trying to load them, and (2) I tried putting in Section "Module" and loading the basic modules including dri and then without dri and I got the same result.  I also tried the recommendations: reinstalling xorg, nvidia, nvidia-utils then regenerating the configuration file while commenting the dri modules out (but they weren't there to comment out so no difference).

I've looked around and I'm clueless as to what the problem could be SO I ASK YOU ARCH COMMUNITY! Any help would be appreciated thankyou ^^

Last edited by wiredfiend (2009-11-15 15:42:05)

Offline

#2 2009-11-10 06:37:42

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [Solved, more or less] libdri.so and libdri2.so not found

libdri.so and libdri2.so are both loaded by default by xorg.  You might be able to get around that by putting Option "DRI" "false" in Section "Driver", but you really shouldn't need to.  But putting them in Section "Module" or not won't change that I don't think.

Two recommendations: run "file /usr/lib/xorg/modules/extensions/libdri.so" and see if it says something like ELF shared object.  If not, your xorg-server package is corrupt and you need to pacman -Syf xorg-server.

Also, try starting X without an xorg.conf, to see if it's an issue with your configuration file.

Last edited by tavianator (2009-11-10 06:38:30)

Offline

#3 2009-11-11 04:37:52

wiredfiend
Member
Registered: 2009-11-10
Posts: 4

Re: [Solved, more or less] libdri.so and libdri2.so not found

X log

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.7.1.901 (1.7.2 RC 1)
Release Date: 2009-11-6
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-ARCH i686
Current Operating System: Linux sasha 2.6.31-ARCH #1 SMP PREEMPT Fri Oct 23 11:12:58 CEST 2009 i686
Kernel command line: root=/dev/disk/by-uuid/07185611-f063-466b-87c2-b5db9be10324 ro vga=773
Build Date: 08 November 2009  04:12:47PM

Current version of pixman: 0.16.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 11 00:22:49 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/Type1" does not exist.
    Entry deleted from font path.
(==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81e5d40
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 6.0
    X.Org XInput driver : 7.0
    X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI: (0:0:1:3) 10de:0543:103c:30cf nVidia Corporation MCP67 Co-processor rev 162, Mem @ 0xf6200000/524288
(--) PCI:*(0:0:18:0) 10de:0531:103c:30cf nVidia Corporation C67 [GeForce 7150M / nForce 630M] rev 162, Mem @ 0xf5000000/16777216, 0xd0000000/268435456, 0xf4000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.7.1.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.7.1.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.42  Tue Oct 20 20:55:08 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.7.1.901, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
dlopen: libdrm.so.2: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions/libdri.so
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (loader failed, 7)
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
dlopen: libdrm.so.2: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions/libdri2.so
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (loader failed, 7)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/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) NVIDIA dlloader X Driver  190.42  Tue Oct 20 20:26:00 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00@00:12:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.7.1.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
    compiled for 1.7.1.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Nov 11 00:22:50 NVIDIA(0): Enabling RENDER acceleration
(II) Nov 11 00:22:50 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Nov 11 00:22:50 NVIDIA(0):     enabled.
(II) Nov 11 00:22:51 NVIDIA(0): NVIDIA GPU GeForce 7150M / nForce 630M (C67) at PCI:0:18:0
(II) Nov 11 00:22:51 NVIDIA(0):     (GPU-0)
(--) Nov 11 00:22:51 NVIDIA(0): Memory: 524288 kBytes
(--) Nov 11 00:22:51 NVIDIA(0): VideoBIOS: 05.67.32.16.17
(--) Nov 11 00:22:51 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Nov 11 00:22:51 NVIDIA(0): Connected display device(s) on GeForce 7150M / nForce 630M at
(--) Nov 11 00:22:51 NVIDIA(0):     PCI:0:18:0:
(--) Nov 11 00:22:51 NVIDIA(0):     AUO (DFP-0)
(--) Nov 11 00:22:51 NVIDIA(0): AUO (DFP-0): 310.0 MHz maximum pixel clock
(--) Nov 11 00:22:51 NVIDIA(0): AUO (DFP-0): Internal Dual Link LVDS
(II) Nov 11 00:22:51 NVIDIA(0): Assigned Display Device: DFP-0
(==) Nov 11 00:22:51 NVIDIA(0):
(==) Nov 11 00:22:51 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Nov 11 00:22:51 NVIDIA(0):     will be used as the requested mode.
(==) Nov 11 00:22:51 NVIDIA(0):
(II) Nov 11 00:22:51 NVIDIA(0): Validated modes:
(II) Nov 11 00:22:51 NVIDIA(0):     "nvidia-auto-select"
(II) Nov 11 00:22:51 NVIDIA(0): Virtual screen size determined to be 1280 x 800
(--) Nov 11 00:22:51 NVIDIA(0): DPI set to (98, 96); computed from "UseEdidDpi" X config
(--) Nov 11 00:22:51 NVIDIA(0):     option
(==) Nov 11 00:22:51 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Nov 11 00:22:51 NVIDIA(0): Initialized GPU GART.
(II) Nov 11 00:22:51 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Nov 11 00:22:51 NVIDIA(0):     may not be running or the "AcpidSocketPath" X
(II) Nov 11 00:22:51 NVIDIA(0):     configuration option may not be set correctly.  When the
(II) Nov 11 00:22:51 NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
(II) Nov 11 00:22:51 NVIDIA(0):     try to use it to receive ACPI event notifications.  For
(II) Nov 11 00:22:51 NVIDIA(0):     details, please see the "ConnectToAcpid" and
(II) Nov 11 00:22:51 NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
(II) Nov 11 00:22:51 NVIDIA(0):     Config Options in the README.
(II) Nov 11 00:22:51 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Nov 11 00:22:51 NVIDIA(0):     enough to receive ACPI display change hotkey events.
(II) Nov 11 00:22:51 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Nov 11 00:22:53 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Nov 11 00:22:53 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
    compiled for 1.7.0.901, module version = 2.3.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 7.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device Dynex 5-Button Wired Optical Mouse
(**) Dynex 5-Button Wired Optical Mouse: always reports core events
(**) Dynex 5-Button Wired Optical Mouse: Device: "/dev/input/event9"
(II) Dynex 5-Button Wired Optical Mouse: Found 9 mouse buttons
(II) Dynex 5-Button Wired Optical Mouse: Found scroll wheel(s)
(II) Dynex 5-Button Wired Optical Mouse: Found relative axes
(II) Dynex 5-Button Wired Optical Mouse: Found x and y relative axes
(II) Dynex 5-Button Wired Optical Mouse: Configuring as mouse
(**) Dynex 5-Button Wired Optical Mouse: YAxisMapping: buttons 4 and 5
(**) Dynex 5-Button Wired Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Dynex 5-Button Wired Optical Mouse" (type: MOUSE)
(**) Dynex 5-Button Wired Optical Mouse: (accel) keeping acceleration scheme 1
(**) Dynex 5-Button Wired Optical Mouse: (accel) acceleration profile 0
(II) Dynex 5-Button Wired Optical Mouse: initialized for relative axes.
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
    compiled for 1.7.0.901, module version = 1.2.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.0
(**) Option "Device" "/dev/input/event8"
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle
(**) Option "TapButton1" "1"
(**) Option "TapButton2" "2"
(**) Option "TapButton3" "3"
(--) SynPS/2 Synaptics TouchPad: touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
(--) SynPS/2 Synaptics TouchPad: touchpad found
(II) config/hal: Adding input device HP Webcam
(**) HP Webcam: always reports core events
(**) HP Webcam: Device: "/dev/input/event10"
(II) HP Webcam: Found keys
(II) HP Webcam: Configuring as keyboard
(II) XINPUT: Adding extended input device "HP Webcam" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event4"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event6"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Video Bus
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event7"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) Dynex 5-Button Wired Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) UnloadModule: "synaptics"
(II) HP Webcam: Close
(II) UnloadModule: "evdev"
(II) Sleep Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"

Last edited by wiredfiend (2009-11-15 15:43:47)

Offline

#4 2009-11-14 22:22:51

wiredfiend
Member
Registered: 2009-11-10
Posts: 4

Re: [Solved, more or less] libdri.so and libdri2.so not found

tavianator: I tried what you suggested, but the problem persists (the files were fine, by the way).  I'm just going to try a clean install and see what happens.

I hope I'm not missing something painfully obvious sad

Last edited by wiredfiend (2009-11-14 22:23:17)

Offline

#5 2009-11-15 15:40:35

wiredfiend
Member
Registered: 2009-11-10
Posts: 4

Re: [Solved, more or less] libdri.so and libdri2.so not found

Solved.

Duh, X was running, it just wasn't showing a display because the command I was using to launch LXDE was wrong ("exec ck-launch-session startlxde" not "... lxde".

The way I understand it, X reports the files aren't found because the nvidia driver has its own binaries that are loaded.

Thanks anyway~

Last edited by wiredfiend (2009-11-15 15:43:07)

Offline

Board footer

Powered by FluxBB