Disable "dri" required for x20 (Rage Mobility P/M AGP 2x). Missing symbol drmSetServerInfo in libdri.so

Bug #146487 reported by insyzygy
6
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I upgraded to gutsy on a thinkpad x20. On reboot X windows won't start

the contents of /var/log/gdm/:0.log are

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu6)
Current Operating System: Linux jkantor-laptop 2.6.22-12-386 #1 Sun Sep 23 17:37:35 GMT 2007 i686
Build Date: 21 September 2007
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
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: Fri Sep 28 14:27:48 2007
(==) Using config file: "/etc/X11/xorg.conf"
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/extensions//libdri.so: undefined symbol: drmSetServerInfo

This is the error I get before X dumps me to shell. I will attach xorg.conf in a comment.

Revision history for this message
insyzygy (setthiry) wrote :

Also first think I did was run
dpkg-reconfigure xserver-xorg and it still did not work. Attached is the xorg.conf generated by dpkg-reconfigure.

Revision history for this message
insyzygy (setthiry) wrote :

I should also add, I get the same error trying to use vesa.

Revision history for this message
insyzygy (setthiry) wrote :

I figured out a fix. I had to add

Section "Module"
   Disable "dri"
EndSection

to xorg.conf.

Then everything works fine.

Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: Disable "dri" required for x20. Upgraded to gutsy x windows won't start with missing symbol drmSetServerInfo in libdri.so

Could you please attach /var/log/Xorg.0.log?

Have you previously been using some proprietary drivers, like nvidia or fglrx?

Changed in xorg:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
insyzygy (setthiry) wrote :

I have not used any proprietary drivers. It is a quite old laptop
and the graphics card is not really capable of any real 3d acceleration.
I have attached the Xorg.0.log produced with dri disabled.

Revision history for this message
insyzygy (setthiry) wrote :

Also I will attach the Xorg.0.log.old produced without disabling dri, (where X doesn't start).

Changed in xorg:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Can you try to run a live CD, in order to verify that this is not an upgrade issue?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Try also:
 ldd /usr/lib/xorg/modules/extensions/libdri.so|grep drm

Revision history for this message
Tormod Volden (tormodvolden) wrote :

And:
 locate libdrm.so

Revision history for this message
insyzygy (setthiry) wrote :

ldd /usr/lib/xorg/modules/extensions/libdri.so | grep drm

gives

libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0xb7f90000)

locate libdrm.so

gives

/usr/X11R6/lib/modules/linux/libdrm.so
/usr/X11R6/lib/modules/linux/dri-old.libdrm.so
/usr/lib/libdrm.so.2
/usr/lib/libdrm.so.2.3.0
/usr/lib/libdrm.so
/usr/local/lib/libdrm.so.2.0.0
/usr/local/lib/libdrm.so.2
/usr/local/lib/libdrm.so

I decided to also check that

readelf -s /usr/lib/xorg/modules/extensions/libdri.so | grep drmSetServerInfo
gives

30: 00000000 25 FUNC GLOBAL DEFAULT UND drmSetServerInfo
122: 00000000 25 FUNC GLOBAL DEFAULT UND drmSetServerInfo

readelf -s /usr/local/lib/libdrm.so.2 | grep drmSetServerInfo
 finds nothing.

However

readelf -s /usr/lib/libdrm.so.2 gives
100: 000027c0 25 FUNC GLOBAL DEFAULT 11 drmSetServerInfo

So I'm guessing its linked against an older libdrm that was on my system perhaps?

I'll try to do the livecd tomorrow.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Yes, that stuff in /usr/local is something you have installed yourself. Just remove it.

Changed in xorg:
status: Confirmed → Invalid
Revision history for this message
insyzygy (setthiry) wrote :

Upon removing that stuff things work fine without disabling dri. Sorry about that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.