ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #52752
[Bug 507618] Re: xserver-xorg-video-radeon has insufficient (even missing) dependency on libdrm-radeon1
** Description changed:
Binary package hint: xserver-xorg-video-ati
During a partial upgrade from karmic to lucid, I wanted to restart X after updating the X packages but it didn't come back.
Looking at the gdm log the error could be found pretty fast:
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: radeon_cs_create
At this point xserver-xorg-video-radeon was already updated to
1:6.12.99+git20091125.0061c4db-0ubuntu2 (lucid) while libdrm-radeon1 was
still at 2.4.14-1ubuntu1 (karmic). Updating libdrm-radeon1 to
2.4.17-0ubuntu1 (lucid) fixed it and my X started again.
I looked then at the dependencies of xserver-xorg-video-radeon I saw that it's missing a dependency on libdrm-radeon1 at all:
Depends: libc6 (>= 2.2.5), libpciaccess0, xserver-xorg-core (>= 2:1.6.99.900)
Looking further at the needed libraries of /usr/lib/xorg/modules/drivers/radeon_drv.so:
$ objdump -x /usr/lib/xorg/modules/drivers/radeon_drv.so | grep NEEDED
NEEDED libpixman-1.so.0
NEEDED libdrm_radeon.so.1
NEEDED libdrm.so.2
NEEDED libpciaccess.so.0
NEEDED libc.so.6
other needed libraries are missing in Depends too. While at least libpixman-1-0 and libdrm2 are pulled in through xserver-xorg-core depending on them (still are direct dependency would be better than a indirect one), libdrm-radeon1 is only pulled in through a recommendation:
$ aptitude why xserver-xorg-video-radeon libdrm-radeon1
i xserver-xorg-video-radeon Depends xserver-xorg-core (>= 2:1.6.99.900)
i A xserver-xorg-core Recommends libgl1-mesa-dri (>= 7.1~rc1)
i libgl1-mesa-dri Depends libdrm-radeon1 (>= 2.4.12)
But this doesn't assure that libdrm-radeon1 is installed at all and even in the correct version needed by xserver-xorg-video-radeon.
+
+ [lspci]
+ 00:00.0 RAM memory [0500]: nVidia Corporation MCP65 Memory Controller [10de:0444] (rev a3)
+ Subsystem: Giga-byte Technology Device [1458:5001]
+ 02:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV670PRO [Radeon HD 3850] [1002:9505]
+ Subsystem: ASUSTeK Computer Inc. Device [1043:0234]
--
xserver-xorg-video-radeon has insufficient (even missing) dependency on libdrm-radeon1
https://bugs.launchpad.net/bugs/507618
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.
References