Announcement

Collapse
No announcement yet.

RX 580 8GB significantly slower perfomance

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by bridgman View Post
    The hardware RTL offers an API to the open source driver, so hardware RTL is closed source driver too ?

    If we had FPGA logic on the GPU would you consider the logic image for that to be a "closed source driver" as well ?
    Closed source driver is much understood for pajaro than tech terms you are using. When Amd pays my salary for customer support work...use your time to put the second message to Amd site: https://www.phoronix.com/forums/foru...in-living-room

    Comment


    • #12
      ok I tried to download the latest supported 4.15 kernel for ubuntu (4.15.0-041500rc1-lowlatency) after dpkg the deb files during the process I noticed this in the terminal

      Selecting previously unselected package linux-headers-4.15.0-041500rc1.
      (Reading database ... 303719 files and directories currently installed.)
      Preparing to unpack linux-headers-4.15.0-041500rc1_4.15.0-041500rc1.201711262030_all.deb ...
      Unpacking linux-headers-4.15.0-041500rc1 (4.15.0-041500rc1.201711262030) ...
      Selecting previously unselected package linux-headers-4.15.0-041500rc1-lowlatency.
      Preparing to unpack linux-headers-4.15.0-041500rc1-lowlatency_4.15.0-041500rc1.201711262030_amd64.deb ...
      Unpacking linux-headers-4.15.0-041500rc1-lowlatency (4.15.0-041500rc1.201711262030) ...
      Selecting previously unselected package linux-image-4.15.0-041500rc1-lowlatency.
      Preparing to unpack linux-image-4.15.0-041500rc1-lowlatency_4.15.0-041500rc1.201711262030_amd64.deb ...
      Done.
      Unpacking linux-image-4.15.0-041500rc1-lowlatency (4.15.0-041500rc1.201711262030) ...
      Setting up linux-headers-4.15.0-041500rc1 (4.15.0-041500rc1.201711262030) ...
      Setting up linux-headers-4.15.0-041500rc1-lowlatency (4.15.0-041500rc1.201711262030) ...
      Examining /etc/kernel/header_postinst.d.
      run-parts: executing /etc/kernel/header_postinst.d/dkms 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      ERROR (dkms apport): kernel package linux-headers-4.15.0-041500rc1-lowlatency is not supported
      Error! Bad return status for module build on kernel: 4.15.0-041500rc1-lowlatency (x86_64)
      Consult /var/lib/dkms/virtualbox/5.1.30/build/make.log for more information.
      Setting up linux-image-4.15.0-041500rc1-lowlatency (4.15.0-041500rc1.201711262030) ...
      Running depmod.
      update-initramfs: deferring update (hook will be called later)
      Examining /etc/kernel/postinst.d.
      run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      run-parts: executing /etc/kernel/postinst.d/dkms 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency

      ERROR (dkms apport): kernel package linux-headers-4.15.0-041500rc1-lowlatency is not supported
      Error! Bad return status for module build on kernel: 4.15.0-041500rc1-lowlatency (x86_64)
      Consult /var/lib/dkms/virtualbox/5.1.30/build/make.log for more information.
      run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      update-initramfs: Generating /boot/initrd.img-4.15.0-041500rc1-lowlatency
      W: Possible missing firmware /lib/firmware/amdgpu/raven_gpu_info.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_asd.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris12_mec2_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris12_mec_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris12_me_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris12_pfp_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris12_ce_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris10_mec2_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris10_mec_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris10_me_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris10_pfp_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris10_ce_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris11_mec2_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris11_mec_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris11_me_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris11_pfp_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/polaris11_ce_2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_rlc.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_mec2.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_mec.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_me.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_pfp.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_ce.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_sdma.bin for module amdgpu
      W: Possible missing firmware /lib/firmware/amdgpu/raven_vcn.bin for module amdgpu

      run-parts: executing /etc/kernel/postinst.d/pm-utils 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      run-parts: executing /etc/kernel/postinst.d/update-notifier 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.15.0-041500rc1-lowlatency /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      Generating grub configuration file ...
      Found linux image: /boot/vmlinuz-4.15.0-041500rc1-lowlatency
      Found initrd image: /boot/initrd.img-4.15.0-041500rc1-lowlatency
      Found linux image: /boot/vmlinuz-4.13.0-18-lowlatency
      Found initrd image: /boot/initrd.img-4.13.0-18-lowlatency
      Found linux image: /boot/vmlinuz-4.13.0-18-generic
      Found initrd image: /boot/initrd.img-4.13.0-18-generic
      Found linux image: /boot/vmlinuz-4.13.0-17-generic
      Found initrd image: /boot/initrd.img-4.13.0-17-generic
      Found Ubuntu 16.10 (16.10) on /dev/sda2
      Adding boot menu entry for EFI firmware configuration
      done
      Should I be afraid and not reboot my system? am I ok? did it dieded? :P
      Last edited by papajo; 12-01-2017, 04:52 PM. Reason: currecting a typo

      Comment


      • #13
        ok after more carefully noticing the errors I see that they are about polaris 11 and 12 files (vega right? ) and raven files (apus I think) and also some errors related to virtualbox so nothing died right? I can restart my computer right? :')


        EDIT: ok it did not die :P I get some pixelgarbage after grub but everything else seems to work fine.
        Last edited by papajo; 12-01-2017, 05:43 PM.

        Comment


        • #14
          Originally posted by debianxfce View Post

          Install Amd firmware:
          https://packages.debian.org/stretch/...e-amd-graphics
          If your can not boot to the desktop, commands for the Linux rescue mode (select it from the Grub) or the installer media Rescue mode chroot:
          apt-get install wget
          wget ftp.de.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-amd-graphics_20161130-3_all.deb
          dpkg -i firmware-amd-graphics_20161130-3_all.deb
          I get this error after dkpg:

          (Reading database ... 349760 files and directories currently installed.)
          Preparing to unpack firmware-amd-graphics_20161130-3_all.deb ...
          Unpacking firmware-amd-graphics (20161130-3) ...
          dpkg: error processing archive firmware-amd-graphics_20161130-3_all.deb (--install):
          trying to overwrite '/lib/firmware/amdgpu/carrizo_ce.bin', which is also in package linux-firmware 1.169.1
          dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
          Errors were encountered while processing:
          firmware-amd-graphics_20161130-3_all.deb


          Originally posted by debianxfce View Post
          Latest Amdgpu kernels
          https://cgit.freedesktop.org/~agd5f/linux/

          Use the command: git clone -b drm-next-4.15-wip git://people.freedesktop.org/~agd5f/linux
          For the hdmi audio and freesync, use the amd-staging-4.12 branch. You can also use 4.15+ kernels from kernel.org, download and extract the tarball.

          The kernel configuration file of Debian Official kernel are available in /boot, named after the kernel release. Copy the .config file to the linux directory. Connect all your devices and run the command: make localmodconfig. You can use the command make defconfig too for creating initial .config file.

          Use the command: make xconfig and check that you have enabled: Reroute Broken IRQ, Virtualization KVM and 1000Hz CPU timer, I also disabled Swap, Kernel Debug, CPU Freq scaling , Cpu handling in Acpi, Used Bios to control CPU and devices. In the drivers->graphics->amdgpu enable cik support for a gcn 1.1 gpu and si support for a gcn 1.0 gpu.



          Can you explain the bold letters in more detail?

          for example what do you mean by "linux folder" ? is "/" what you mean?

          make localmodconfig does nothing because it has no target

          Also do I really need virtualization KVM ? I currently have it disabled in the bios (although I dont know how to make that xconfig file I am stuck at the make localmodconfig file)

          Also can you desrcibe a little why those config files are needed?

          Last but not least the git for the amdgpu kernels was 1GB total why is it so big? (that's what she said lol :P )

          Comment


          • #15
            Originally posted by papajo View Post
            I get this error after dkpg:
            Errors were encountered while processing:
            firmware-amd-graphics_20161130-3_all.deb
            Debian Stretch has old firmware package, use the latest firmware package that you can find from the sid/unstable Debian repository. Update firmware files from: https://git.kernel.org/pub/scm/linux...it/tree/amdgpu


            Originally posted by papajo View Post
            Can you explain the bold letters in more detail?

            for example what do you mean by "linux folder" ? is "/" what you mean?
            make localmodconfig does nothing because it has no target
            When you run the git clone command, it clones to the./linux folder. If you extract the tar package from kernel org you can see the folder structure with Xarchiver.


            Originally posted by papajo View Post
            Also do I really need virtualization KVM ? I currently have it disabled in the bios (although I dont know how to make that xconfig file I am stuck at the make localmodconfig file)
            I did need it when I bought my Rx460 year ago and drivers were new, my system was so unstable that I thought that my gpu is broken and I tested with win10 to make sure that there were severe kernel and Mesa bugs that Amd did fix in two weeks. At the time Amd was developing virtualisation code, so they have not tested the kernel code without virtualisation. I enabled it from the bios to prevent ugly dmesg message.

            Also can you desrcibe a little why those config files are needed?
            Linux kernel configurations are stored to the .config file. You can create one with the command: make localmodconfig. Edit the .config file with the command: make xconfig.


            Originally posted by papajo View Post
            Last but not least the git for the amdgpu kernels was 1GB total why is it so big? (that's what she said lol :P )
            Linux kernel source code is big because the Linux kernel supports huge amount of cpu architectures and devices. It is so called monolithic kernel, opposite is micro kernel. After stripping unneeded drivers with the make xconfig command my custom kernel Debian binary package is 6.4 MB.
            Last edited by debianxfce; 12-01-2017, 08:29 PM.

            Comment

            Working...
            X