Announcement

Collapse
No announcement yet.

openSUSE Tumbleweed RX Vega 56 hardware acceleration

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

  • openSUSE Tumbleweed RX Vega 56 hardware acceleration

    Just switched back to my favourite distro, Tumbleweed, as it now features the 4.15 kernel and therefore the DC. However, I'm not able to get hardware acceleration working. Mesa is 18. Any idea?

  • #2
    Check your dmesg output and xorg log if using X and make sure all the relevant components of the driver stack are loaded properly.

    Comment


    • #3
      dmesg: https://pastebin.com/y49N8tnM
      xorg log: https://pastebin.com/NZC9Xmw4
      And to your last remark: how?

      Comment


      • #4
        Vega needs llvm 6.0. Does suse have have glvnd and libegl-mesa packages? If they do not match with the xserver-xorg-core (in Debian) package then amdgpu direct rendering does not work. This is the situation in Debian testing and unstable (with Mesa 17.3.3) , updating the libegl-mesa0 from the experimental repository fixes the problem.https://packages.debian.org/experimental/libegl-mesa0

        The distribution for easy Vega support is uhbuntu with 4.15 kernel and Oipaf or Padoka ppa. Arch Linux does have one Mesa git repository too, but GLVND causes problems in Arch Linux too.
        Last edited by debianxfce; 02-09-2018, 10:52 AM.

        Comment


        • #5
          As a note, LLVM 5.0.1 works fine with Vega.

          Comment


          • #6
            Originally posted by Particle View Post
            As a note, LLVM 5.0.1 works fine with Vega.
            But you wrote: 02-05-2018, 02:35 AM
            "Mystery solved.

            I had to build Mesa against a newer version of LLVM. I tried LLVM 5.0 from Buster's repos manually installed which worked before someone pointed out that the LLVM project provides their own official repos for Debian. I then switched to that and rebuilt Mesa against LLVM 7.0.

            In both cases, the newer LLVM allowed for my Vega 64 to finally light up and provide hardware 3D through Mesa.ยจ

            Comment


            • #7
              Here's my glxinfo: http://susepaste.org/70281553
              Also lsmod shows amdgpu being loaded (not radeon). What else is there to check?

              Comment


              • #8
                Originally posted by SebastianP View Post
                Here's my glxinfo: http://susepaste.org/70281553
                Also lsmod shows amdgpu being loaded (not radeon). What else is there to check?
                OpenGL versions 3.0 and 3.3 proves that you are using software render. Check that if you have nvidias GLVND, in Debian it is hide to the libegl1 package. All mesa, libdrm and xorg packages should be compatible versions. In Debian this means to update all graphics related packages from experimental repository, where mesa is in version 18-rc2.

                A working system will show the following:
                Xorg.0.log:
                Code:
                     3.477] (II) AMDGPU(0): [DRI2] Setup complete
                [     3.477] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
                [     3.477] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
                [     3.477] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
                [     3.479] (II) AMDGPU(0): SYNC extension fences enabled
                [     3.479] (II) AMDGPU(0): Present extension enabled
                [     3.479] (==) AMDGPU(0): DRI3 enabled
                [     3.479] (==) AMDGPU(0): Backing store enabled
                [     3.479] (II) AMDGPU(0): Direct rendering enabled
                [     3.495] (II) AMDGPU(0): Use GLAMOR acceleration.
                [     3.495] (II) AMDGPU(0): Acceleration enabled
                [     3.495] (==) AMDGPU(0): DPMS enabled
                [     3.495] (==) AMDGPU(0): Silken mouse enabled
                [     3.495] (II) AMDGPU(0): Set up textured video (glamor)
                Code:
                [email protected]:~$ glxinfo | grep OpenGL
                OpenGL vendor string: X.Org
                OpenGL renderer string: Radeon RX 560 Series (POLARIS11 / DRM 3.25.0 / 4.15.0-rc8+, LLVM 5.0.1)
                OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc2
                OpenGL core profile shading language version string: 4.50
                OpenGL core profile context flags: (none)
                OpenGL core profile profile mask: core profile
                OpenGL core profile extensions:
                OpenGL version string: 3.0 Mesa 18.0.0-rc2
                OpenGL shading language version string: 1.30
                OpenGL context flags: (none)
                OpenGL extensions:
                OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.0-rc2
                OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
                OpenGL ES profile extensions:
                You can boot your computer from a usb memory stick with my distribution after you have installed it to a usb memory stick. Vega should work out of the box.https://www.youtube.com/watch?v=fKJ-IatUfis
                Last edited by debianxfce; 02-10-2018, 07:52 AM.

                Comment


                • #9
                  No need for your distro, I want it to run on Tumbleweed. Also I was able to run the Vega previously with Ubuntu 17.10 on mainline kernel and Git Mesa (just to pass the time for the official 4.15 release).

                  Here's the xorg.log: http://susepaste.org/19320134

                  Comment


                  • #10
                    Originally posted by SebastianP View Post
                    No need for your distro, I want it to run on Tumbleweed. Also I was able to run the Vega previously with Ubuntu 17.10 on mainline kernel and Git Mesa (just to pass the time for the official 4.15 release).

                    Here's the xorg.log: http://susepaste.org/19320134
                    There you have the reason:

                    [ 17.491] EGL_MESA_drm_image required.
                    [ 17.492] (EE) AMDGPU(0): glamor detected, failed to initialize EGL

                    Google EGL_MESA_drm_image required and tumbleweed EGL_MESA_drm_image required.

                    Comment

                    Working...
                    X