Announcement

Collapse
No announcement yet.

Need help with hardware 3D using Vega GPU

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

  • Need help with hardware 3D using Vega GPU

    Has anyone had any experience getting hardware 3D working with a Vega graphics card? I'm running Debian 9. I've built a 4.15.0-rc2 kernel which seems to have made my monitors detect correctly. I've put the firmware binaries from the kernel git into /lib/firmware which includes blobs for Vega10 in the amdgpu directory. I've updated libdrm to 2.4.88 for Mesa and have built Mesa 17.3.0-rc5. I manually specify the new Mesa's use when starting specific applications like I always have in the past with my custom Mesa builds. Unfortunately, I seem to only have software 3D via llvmpipe though when using games or glxinfo.

    Is there another piece of the puzzle that I'm missing? Perhaps an update to x11 or something? I looked at the guide published here at Phoronix from August, but I wasn't able to discern anything that I had missed from reading it.

  • #2
    I appreciate your contribution, but I'm interested in getting Debian 9 working rather than switching to something else. I additionally wish to avoid third party repositories.

    Side note: With regards to building a Debian kernel, please note that make-kpkg as referred to in your linked post isn't published in Debian 9.0 release or beyond. They've switched to supporting make more directly. "make deb-pkg" now produces the debs a Debian user needs. Fakeroot is also not needed anymore. Something like "time make deb-pkg -j16" does the trick after configuring.
    Last edited by Particle; 12-06-2017, 10:42 AM.

    Comment


    • #3
      Originally posted by Particle View Post
      Has anyone had any experience getting hardware 3D working with a Vega graphics card? I'm running Debian 9. I've built a 4.15.0-rc2 kernel which seems to have made my monitors detect correctly. I've put the firmware binaries from the kernel git into /lib/firmware which includes blobs for Vega10 in the amdgpu directory. I've updated libdrm to 2.4.88 for Mesa and have built Mesa 17.3.0-rc5. I manually specify the new Mesa's use when starting specific applications like I always have in the past with my custom Mesa builds. Unfortunately, I seem to only have software 3D via llvmpipe though when using games or glxinfo.

      Is there another piece of the puzzle that I'm missing? Perhaps an update to x11 or something? I looked at the guide published here at Phoronix from August, but I wasn't able to discern anything that I had missed from reading it.
      Can you pastebin X log and dmesg output then post links here ?

      At first glance the most likely issues are (a) firmware not being picked up via initrd, (b) I didn't see you mention updating the amdgpu X driver.

      Actually before you do that, what do you get if you run a GL app (glxgears or something) with "LIBGL_DEBUG=verbose <app>" ?

      Comment


      • #4
        Regarding a 3D application with debug set to verbose, I get something like this:
        Code:
        GL_VENDOR: VMware, Inc.
        GL_RENDERER: llvmpipe (LLVM 3.9, 128 bits)
        GL_VERSION: 3.0 Mesa 17.4.0-devel (git-12a96aaf90)
        (I tried again yesterday after building Mesa 17.4.0-git.)

        In order to update libdrm2, I had to do all of these:
        Code:
        libdrm2_2.4.88-1_amd64.deb
        libdrm2_2.4.88-1_i386.deb
        libdrm-common_2.4.88-1_all.deb
        libdrm-amdgpu1_2.4.88-1_amd64.deb
        libdrm-amdgpu1_2.4.88-1_i386.deb
        libdrm-intel1_2.4.88-1_amd64.deb
        libdrm-intel1_2.4.88-1_i386.deb
        libdrm-nouveau2_2.4.88-1_amd64.deb
        libdrm-nouveau2_2.4.88-1_i386.deb
        libdrm-radeon1_2.4.88-1_amd64.deb
        libdrm-radeon1_2.4.88-1_i386.deb
        libdrm-dev_2.4.88-1_amd64.deb
        libdrm-dev_2.4.88-1_i386.deb
        I'm multi-arch because of Steam.

        I installed xserver-xorg-video-amdgpu_1.4.0-1_amd64.deb after reading your post. No change after a reboot.

        I think the firmware is getting loaded correctly as the GPU shows up and is running with the amdgpu driver.

        Code:
        44:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 687f (rev c1) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 6b76
        Flags: bus master, fast devsel, latency 0, IRQ 149
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at e0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at ec400000 (32-bit, non-prefetchable) [size=512K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
        Last edited by Particle; 12-07-2017, 01:15 AM.

        Comment


        • #5
          Can you pastebin X log and dmesg output then post links here ?

          Comment


          • #6
            X log:
            https://pastebin.com/qf8dBNRY

            dmesg:
            https://pastebin.com/A6BeVXzK

            Comment

            Working...
            X