Announcement

Collapse
No announcement yet.

AMDGPU Kernel Driver Is Working Out Well On Linux 5.0

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

  • AMDGPU Kernel Driver Is Working Out Well On Linux 5.0

    Phoronix: AMDGPU Kernel Driver Is Working Out Well On Linux 5.0

    While no measurable performance changes for either Polaris or Vega, the AMDGPU kernel driver in Linux 5.0 appears to be in largely good shape now mid-way through the cycle...

    http://www.phoronix.com/scan.php?pag...-AMDGPU-Stable

  • #2
    Michael have you tried plugging in your dual 4K monitors to a Polaris card? When I do that I experience some severe flickering (I tested on 4.19 - 5.0-rc2). Opened a bug report but didn't get a response yet. https://bugs.freedesktop.org/show_bug.cgi?id=109359 - it can be worked around by manually setting the GPU clocks, but it's still a hassle to do that at every boot.

    Comment


    • #3
      I've also been trying to get Freesync up and running (on Debian Sid) and after some initial issues I finally managed to compile Linux 5.0-rc3 yesterday, and I've also built Mesa 19.0-git, although I'm still working on the cross compile, but it should still work as long as I stick to x64_86 applications, right? Doesn't seem to work. Looks like I might need xf86-video-amdgpu from git as well but I've yet to manage to get it to compile.

      Comment


      • #4
        Originally posted by Brisse View Post
        I've also been trying to get Freesync up and running (on Debian Sid) and after some initial issues I finally managed to compile Linux 5.0-rc3 yesterday, and I've also built Mesa 19.0-git, although I'm still working on the cross compile, but it should still work as long as I stick to x64_86 applications, right? Doesn't seem to work. Looks like I might need xf86-video-amdgpu from git as well but I've yet to manage to get it to compile.
        Use Oibaf ppa cosmic version, it has latest everything and use method B:http://www.webupd8.org/2014/10/how-t...ebian-via.html

        https://launchpad.net/~oibaf/+archiv...aphics-drivers



        Code:
        System:
          Host: ryzenpc Kernel: 5.0.0-rc3 x86_64 bits: 64 Desktop: Xfce 4.12.4
          Distro: Debian GNU/Linux buster/sid
        Machine:
          Type: Desktop Mobo: ASUSTeK model: PRIME B350M-K v: Rev X.0x
          serial: <root required> UEFI [Legacy]: American Megatrends v: 4207
          date: 12/07/2018
        CPU:
          6-Core: AMD Ryzen 5 1600 type: MT MCP speed: 2842 MHz
        Graphics:
          Device-1: AMD Ellesmere [Radeon RX 470/480] driver: amdgpu v: kernel
          Display: x11 server: X.Org 1.20.3 driver: amdgpu
          resolution: 3840x2160~60Hz
          OpenGL:
          renderer: Radeon RX 570 Series (POLARIS10 DRM 3.27.0 5.0.0-rc3 LLVM 7.0.1)
          v: 4.5 Mesa 19.0.0-devel (git-6ca652f 2019-01-19 cosmic-oibaf-ppa)
        Enable freesync by adding in: /usr/share/X11/xorg.conf.d/10-amdgpu.conf :
        Code:
        Section "Device"
                 Identifier "AMDgpu"
                 Driver "amdgpu"
                 Option "VariableRefresh" "on"
        EndSection
        Last edited by debianxfce; 01-22-2019, 07:53 AM.

        Comment


        • #5
          Originally posted by Venemo View Post
          Michael have you tried plugging in your dual 4K monitors to a Polaris card? When I do that I experience some severe flickering (I tested on 4.19 - 5.0-rc2). Opened a bug report but didn't get a response yet. https://bugs.freedesktop.org/show_bug.cgi?id=109359 - it can be worked around by manually setting the GPU clocks, but it's still a hassle to do that at every boot.
          Not sure if you have any use of this report, but I have one LG 4K monitor and two 1280x1024 monitors connected to my Fury X which works fine on Linux 4.19. Not two 4K screens but still a higher resolution than most people.

          Comment


          • #6
            Status update.

            Managed to cross compile mesa, fetched xf86-video-amdgpu from oibaf and set Option "VariableRefresh" "on" in /usr/share/X11/xorg.conf.d/10-amdgpu.conf.

            Rebooted. Getting vrr_capable in xrandr, but I though there should be an vrr_enabled entry as well but there's not. Glxinfo is reporting Mesa 19.0-git as expected.

            Fired up Rocket League. Ensured v-sync was on and set the framerate limiter to 60fps so I would easily see if my monitor went down to 60hz, but it doesn't so it's not working for some reason

            Comment


            • #7
              Originally posted by Brisse View Post
              Status update.
              Rebooted. Getting vrr_capable in xrandr, but I though there should be an vrr_enabled entry as well but there's not.
              See, no sense to compile Mesa by yourself. I have been using freesync over a month: https://www.youtube.com/watch?v=lGesNjhUo-w

              You should use Debian packages with Debian. Debian packages are easy to update and remove. They are designed to work together.
              Last edited by debianxfce; 01-22-2019, 09:56 AM.

              Comment


              • #8
                Originally posted by Venemo View Post
                Michael have you tried plugging in your dual 4K monitors to a Polaris card? When I do that I experience some severe flickering (I tested on 4.19 - 5.0-rc2). Opened a bug report but didn't get a response yet. https://bugs.freedesktop.org/show_bug.cgi?id=109359 - it can be worked around by manually setting the GPU clocks, but it's still a hassle to do that at every boot.
                Don't expect a fix for this for Polaris GPUs, I suspect it's a hardware flaw. Get yourself a script that watches if maximum VRAM pstate is enforced and start it automatically as root via your init solution (systemd ).
                There are lots of reports for flickering with Polaris with high refresh rate or dual monitor setups. I also have this issue on Windows, though to a much lesser extent.

                Comment


                • #9
                  Running 5.0-rc3 but i didnt see any boost in FPS in games actually. I will run phoronix benchmark tool and see if its better.
                  I have Acer nitro 5 with RX560X

                  Comment


                  • #10
                    Also weirdly enough my xrandr --props reports vrr_capable in HDMI section and not my eDP.
                    https://pastebin.com/CWHx5kzE

                    Comment

                    Working...
                    X