Announcement

Collapse
No announcement yet.

RX 580 8GB significantly slower perfomance

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

  • RX 580 8GB significantly slower perfomance

    My system:
    CPU: AMD FX 8320
    RAM: 16GB DDR3 @2400Mhz
    MoBo:Asrock 970 Pro 3
    GPU: Sapphire RX 580 Pulse edition 8GB
    OS: Ubuntu 17.10/ kernel 4.13.0-18 generic / gnome 3.26.2 / LLVM 5.0.0
    Drivers Mesa 17.3.0-rc4 - padoka PPA. (I also have olaf PPA I dont know if thats the reason... but I hade same low performance prior of adding the olaf PPA on top of padoka and after adding it either nothing has changed or I have a slight increase in performance )

    My screen resolution is 1920*1080

    I know that my CPU is a potential bottleneck but compared to the benchmarks I saw in this site mine are significantly lower so my gutt tells me that although there might be a bottleneck its not significan enough to be the sole reason of such big differences..

    For example I see the RX 580 setup on phoronix https://www.phoronix.com/scan.php?pa...80-linux&num=1

    tests tomb raider for 200++++ FPS... my benchmarks yields 60 FPS and ingame it can get as low as 10!!!

    My performance in DotA 2 is like 40-60 FPS in Vulkan

    7 days to die on medium settings I get 20-40 FPS

    Heaven benchmark is about 40 FPS

    Any ideas on what to check/ tweak?

  • #2
    Thanks for your help debianxfce can you help me a little more about how to use a 1000Hz timer kernel? (and why is it called 1000hz timer? ) in the links you provided in the other topic there are a bunch of kernels and non of them is characterized as a 1000hz timer but ive seen one called "amd-staging-drm-next" in some benches here... is this the one you are talking about? (I am kind of a noob but I want to learn so the more context you can provide the better )

    these kernels are linked (in the other topic) as "latest AMDGPUPRO kernels" amdgpupro is the proprietary driver right? but it shares its core with MESA drivers too so the kernels linked there will work with my current mesa drivers as well right?

    also why obilaf and not padoka ppas?

    Oh and one lst thing there are also polaris firmware links... what is this? custom bios for the cards? should I try it? why?

    Thanks again for your time and efforts.

    Comment


    • #3
      Originally posted by papajo View Post
      Thanks for your help debianxfce can you help me a little more about how to use a 1000Hz timer kernel? (and why is it called 1000hz timer? ) in the links you provided in the other topic there are a bunch of kernels and non of them is characterized as a 1000hz timer but ive seen one called "amd-staging-drm-next" in some benches here... is this the one you are talking about? (I am kind of a noob but I want to learn so the more context you can provide the better )

      these kernels are linked (in the other topic) as "latest AMDGPUPRO kernels" amdgpupro is the proprietary driver right? but it shares its core with MESA drivers too so the kernels linked there will work with my current mesa drivers as well right?

      also why obilaf and not padoka ppas?

      Oh and one lst thing there are also polaris firmware links... what is this? custom bios for the cards? should I try it? why?

      Thanks again for your time and efforts.
      I meant to say "how to download"

      Comment


      • #4
        Originally posted by debianxfce View Post
        Firmware is closed source driver between the open source driver and hardware. Nothing is flashed to the gpu card.
        Mind if I nitpick on terminology ? Normally "driver" refers to something that runs on the CPU, while the "firmware" being discussed here is microcode running on HW state machines in the GPU and uploaded to the GPU each time the hardware is power-cycled.
        Test signature

        Comment


        • #5
          I'm not disagreeing with the "nothing is flashed" part of your comment, just the "driver" part.
          Test signature

          Comment


          • #6
            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 ?
            Last edited by bridgman; 28 November 2017, 04:14 AM.
            Test signature

            Comment


            • #7
              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; 01 December 2017, 04:52 PM. Reason: currecting a typo

              Comment


              • #8
                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; 01 December 2017, 05:43 PM.

                Comment


                • #9
                  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

                  Working...
                  X