[Pkg-fglrx-devel] Bug#729765: (no subject)

Jean-Marc Liotier jm at liotier.org
Mon Jan 6 22:59:24 UTC 2014

Problem fixed - here is the patch, tested on the aforementioned
system... Just a missing #ifdef that caused the failure on systems with
no hardware IOMMU:

--- kcl_iommu.c.orig    2014-01-06 23:40:00.090444433 +0100
+++ kcl_iommu.c    2014-01-06 23:40:52.013271589 +0100
@@ -187,11 +187,13 @@
 int ATI_API_CALL KCL_IOMMU_CheckInfo( KCL_PCI_DevHandle pcidev)
+    #ifdef IOMMUV2_SUPPORT
     struct pci_dev* pdev = (struct pci_dev*)pcidev;
     if ( pdev->dev.archdata.iommu )
         return 1;
+    #endif
     return 0;

A 'dpkg-reconfigure fglrx-modules-dkms' and a reboot later, I am
enjoying the soothing movement of glxgears.

Most glory goes to Gindek who had fixed this on his own Debian system
last October and posted the patch which I stumbled upon:

Most glory but not all since he apparently did not bring it to the
attention of the Debian maintainer...

More information about the Pkg-fglrx-devel mailing list