[Pkg-fglrx-devel] Bug#677667: fglrx crashes with X server 1.12 on 64bit architecture (was: fglrx-driver: xf86OpenConsole: Cannot find a free VT)

Paul Menzel pm.debian at googlemail.com
Mon Jun 18 22:05:02 UTC 2012


retitle 677667 fglrx crashes with X server 1.12 on 64bit architecture
quit


Am Samstag, den 16.06.2012, 20:54 +0200 schrieb Paul Menzel:

[…]

> Also it seems that there is a workaround for that issues in the
> upstream report [1] involving patching libpciaccess [2]. But I have
> not tried it yet.

I got it finally working by correctly applying the patch from [2] and
rebuilding `libpciaccess0` as described in comment 12 [3]. I post the
updated comments here.

Find out the PCI address(?) of your graphics device.

        $ lspci # ASRock E350M1
        00:01.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:9802]
        […]

Then build the package `libpciaccess0`.

        $ sudo aptitude install devscripts
        $ sudo aptitude build-dep libpciaccess0
        $ debcheckout libpciaccess0
        $ cd libpciaccess0
        $ # copy <http://pastebin.com/swpDj4FD> to file `fglrx.patch`
        $ editor fglrx.patch # change `pci_device_find_by_slot(0, 1, 0, 0)` to `pci_device_find_by_slot(0, 0, 1, 0)` in `src/common_interface.c` and `src/common_io.c`
        $ patch -p1 < fglrx.patch
        $ dch # add entry to Debian changelog
        $ git commit -a
        $ dpkg-buildpackage -us -uc -B
        $ sudo dpkg -i ../libpciaccess0*.deb


Thanks,

Paul


> [1] http://ati.cchtml.com/show_bug.cgi?id=522
> [2] http://ati.cchtml.com/show_bug.cgi?id=522#c3
[3] http://ati.cchtml.com/show_bug.cgi?id=522#c12
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120619/df5887bd/attachment.pgp>


More information about the Pkg-fglrx-devel mailing list