[Pkg-fglrx-devel] Bug#660571: fglrx-driver: additional comments on failed DRI/DRM init

Andreas Beckmann debian at abeckmann.de
Mon Mar 12 17:19:08 UTC 2012


On 2012-03-11 01:43, Cyril Chaboisseau wrote:
> and this is exactly where I found the culprit:
> 
> /usr/lib/xorg/modules/drivers/fglrx_drv.so
> 
> this file was dated back in January, when it was modified by the script
> fixwatermark.sh (cf. https://gist.github.com/1601436 ) to remove an
> "unsupported hardware" watermark
> 
> the problem with this script is that it changes the aforementioned file
> which was originally a symlink, and then the file is not updated which
> then leads to the bug of wrong version of DRI/DRM compared to the fglrx
> driver

At least there should have been an error message from
update-alternatives during the fglrx upgrade. Something like that it's
not going to replace a real file with a symlink.

In some sense this is expected behavior and I don't know how I could fix
this ... except for this postinst snipped:

test -e /usr/lib/xorg/modules/drivers/fglrx_drv.so \
 && test ! -L /usr/lib/xorg/modules/drivers/fglrx_drv.so \
 && present_debconf_error "You have messed up your system."


Andreas





More information about the Pkg-fglrx-devel mailing list