1 Reply Latest reply on Apr 19, 2017 9:57 AM by adamrak

    Furyx Amdpro-gpu debian stretch, how to install?

    hrgiger

      Latest generic linux driver (http://support.amd.com/en-us/download/desktop?os=Linux+x86_64) with opencl support doesnt install on Debian stretch with the error xserver version is not supported,

      but on jessie it works fine. Since I need opencl support on stretch I have tried amdgpu-pro latest one and after some try-fail I have installed all required dependencies and install script completed ok. After I restart I can not see my gpu in clinfo but cpu is there. I can return to Jessie but the driver I provide in the link seems very old, Ubuntu version is 17.10 already. Thank you for help!

       

      My post-install script:

       

       

      apt update apt upgrade apt install dkms cmake build-essential gcc gdb libcunit1 gcc g++ make dkms fakeroot -y 
      dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
      dpkg --add-architecture i386 apt update
      dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_i386.deb
      apt install libc6:i386 libelf1:i386 libtinfo5:i386 zlib1g:i386 libvdpau1:i386 firmware-realtek terminator htop -y
      ./amdgpu-pro-install -y
      echo "Done! Restarting"
      shutdown -r 0

       

       

      Some details:

       

      # lsmod | grep amd

       

      edac_mce_amd           28672  0

      kvm_amd              2179072  0

      kvm                   589824  1 kvm_amd

       

      # dmesg | grep amd

      [    0.000000] Linux version 4.9.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170321 (Debian 6.3.0-11) ) #1 SMP Debian 4.9.18-1 (2017-03-30)

      [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=3e50db34-a2bc-4caf-a5b8-be7bee275c49 ro quiet

      [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=3e50db34-a2bc-4caf-a5b8-be7bee275c49 ro quiet

      [    1.873707] usb usb1: Manufacturer: Linux 4.9.0-2-amd64 ehci_hcd

      [    1.880547] usb usb2: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.880791] usb usb3: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.893906] usb usb4: Manufacturer: Linux 4.9.0-2-amd64 ehci_hcd

      [    1.900709] usb usb5: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.901048] usb usb6: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.913909] usb usb7: Manufacturer: Linux 4.9.0-2-amd64 ehci_hcd

      [    1.920730] usb usb8: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.921030] usb usb10: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd

      [    1.978561] usb usb9: Manufacturer: Linux 4.9.0-2-amd64 ohci_hcd

      [    2.041699] usb usb11: Manufacturer: Linux 4.9.0-2-amd64 ohci_hcd

      [    2.105697] usb usb12: Manufacturer: Linux 4.9.0-2-amd64 ohci_hcd

      [    2.169696] usb usb13: Manufacturer: Linux 4.9.0-2-amd64 ohci_hcd

      [    4.608851] amdkcl: loading out-of-tree module taints kernel.

      [    4.608888] amdkcl: module verification failed: signature and/or required key missing - tainting kernel

      [    4.609401] amdkcl: Unknown symbol amdkcl_io_init (err 0)

      [    4.692110] EDAC amd64: DRAM ECC disabled.

      [    4.692117] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.

      [    4.818765] EDAC amd64: DRAM ECC disabled.

      [    4.818773] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.

      [    4.869996] EDAC amd64: DRAM ECC disabled.

      [    4.870003] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.

      [    4.926054] EDAC amd64: DRAM ECC disabled.

      [    4.926061] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.

       

       

      # lshw -c video

        *-display UNCLAIMED     

             description: VGA compatible controller

             product: Fiji [Radeon R9 FURY / NANO Series]

             vendor: Advanced Micro Devices, Inc. [AMD/ATI]

             physical id: 0

             bus info: pci@0000:01:00.0

             version: c8

             width: 64 bits

             clock: 33MHz

             capabilities: pm pciexpress msi vga_controller bus_master cap_list

             configuration: latency=0

             resources: memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:fea00000-fea3ffff memory:c0000-dffff

       

       

       

      # /opt/amdgpu-pro/bin/clinfo

      Number of platforms:                 1

        Platform Profile:                 FULL_PROFILE

        Platform Version:                 OpenCL 2.0 AMD-APP (2348.3)

        Platform Name:                 AMD Accelerated Parallel Processing

        Platform Vendor:                 Advanced Micro Devices, Inc.

        Platform Extensions:                 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

       

       

      lspci -v

       

      01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] (rev c8) (prog-if 00 [VGA controller])

          Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Radeon R9 FURY X / NANO

          Flags: bus master, fast devsel, latency 0, IRQ 10, NUMA node 0

          Memory at c0000000 (64-bit, prefetchable) [size=256M]

          Memory at d0000000 (64-bit, prefetchable) [size=2M]

          I/O ports at e000 [size=256]

          Memory at fea00000 (32-bit, non-prefetchable) [size=256K]

          Expansion ROM at 000c0000 [disabled] [size=128K]

          Capabilities: [48] Vendor Specific Information: Len=08 <?>

          Capabilities: [50] Power Management version 3

          Capabilities: [58] Express Legacy Endpoint, MSI 00

          Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+

          Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>

          Capabilities: [150] Advanced Error Reporting

          Capabilities: [200] #15

          Capabilities: [270] #19

          Capabilities: [2b0] Address Translation Service (ATS)

          Capabilities: [2c0] Page Request Interface (PRI)

          Capabilities: [2d0] Process Address Space ID (PASID)

          Capabilities: [328] Alternative Routing-ID Interpretation (ARI)

          Kernel modules: amdgpu

        • Re: Furyx Amdpro-gpu debian stretch, how to install?
          adamrak

          The error is triggered by the kernel version 4.9 or greater.

          I am not 100% sure, but it seems that amdkcl_io_init is not necessary on linux kernel 4.9 or greater.

           

          It seem that they missed the preprocessor directive in amdkcl/main.c

          The simplest fix is to comment out the two lines mentioning the amdkcl_io_init in amdkcl/main.c, like so:

           

          ...

          extern void amdkcl_kthread_init(void);

          extern void amdkcl_drm_init(void);

          extern void amdkcl_fence_init(void);

          //extern void amdkcl_io_init(void);

           

          int __init amdkcl_init(void)

          {

                  amdkcl_kthread_init();

                  amdkcl_drm_init();

                  amdkcl_fence_init();

          //      amdkcl_io_init();

                  kcl_drm_global_init();

                  return 0;

          }

          ...