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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to