Request: Smart Access Memory information

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Berniyh
    Senior Member
    • Oct 2007
    • 479

    #61
    Originally posted by agd5f View Post
    Legacy sbios modes put all MMIO apertures under 4GB for 32 bit compatibility. You need an extended MMIO aperture above 4GB in order to resize the BARs.
    Meh, this sucks

    Comment

    • fafreeman
      Phoronix Member
      • Feb 2021
      • 113

      #62
      Code:
      [orlfman@linux64: ~]$  AMD_DEBUG=info glxinfo | grep vram
          vram_size = 16384 MB
          vram_vis_size = 16368 MB
          vram_type = 9
          vram_bit_width = 256
          has_dedicated_vram = 1
      [orlfman@linux64: ~]$
      10850k + msi z490 unify + amd 6900 xt

      Comment

      • Doomsdayrs
        Junior Member
        • Mar 2021
        • 23

        #63
        r1600x + rx6700xt + B350 PC Mate
        ```
        AMD_DEBUG=info glxinfo | grep vram
        vram_size = 12288 MB
        vram_vis_size = 12272 MB
        vram_type = 9
        vram_bit_width = 192
        has_dedicated_vram = 1
        all_vram_visible = 1
        ```
        OH BOI THE POWER

        Comment

        • White Wolf
          Phoronix Member
          • Apr 2020
          • 73

          #64
          After executing AMD_DEBUG=info glxinfo command I found that:
          vram_size = 8192 MB
          vram_vis_size = 8176 MB
          vram_type = 9
          vram_bit_width = 256
          has_dedicated_vram = 1
          all_vram_visible = 1

          but there is also info:
          smart_access_memory = 0

          anyone knows what does it means? I have SAM enabled in bios.

          Comment

          • Melcar
            Senior Member
            • Dec 2007
            • 1515

            #65
            Originally posted by White Wolf View Post
            After executing AMD_DEBUG=info glxinfo command I found that:
            vram_size = 8192 MB
            vram_vis_size = 8176 MB
            vram_type = 9
            vram_bit_width = 256
            has_dedicated_vram = 1
            all_vram_visible = 1

            but there is also info:
            smart_access_memory = 0

            anyone knows what does it means? I have SAM enabled in bios.

            I get the same on my RX 480 and X370 board.

            Comment

            • Entzilla
              Junior Member
              • Mar 2020
              • 12

              #66
              Originally posted by marek View Post
              Hi,

              Can you run this command and post the output if vram_vis_size is greater than 256 MB? It means that Smart Access Memory is enabled. I'd like to see what numbers you get.

              AMD_DEBUG=info glxinfo | grep vram
              Thanks.
              $ AMD_DEBUG=info glxinfo | grep vram
              vram_size = 16384 MB
              vram_vis_size = 16368 MB
              vram_type = 9
              vram_bit_width = 256
              has_dedicated_vram = 1
              all_vram_visible = 1

              (6800xt, 5950x, x570)

              Comment

              • White Wolf
                Phoronix Member
                • Apr 2020
                • 73

                #67
                Originally posted by Entzilla View Post

                $ AMD_DEBUG=info glxinfo | grep vram
                vram_size = 16384 MB
                vram_vis_size = 16368 MB
                vram_type = 9
                vram_bit_width = 256
                has_dedicated_vram = 1
                all_vram_visible = 1

                (6800xt, 5950x, x570)
                could you run
                Code:
                AMD_DEBUG=info glxinfo | grep smart
                and paste the result please?

                Comment

                • Entzilla
                  Junior Member
                  • Mar 2020
                  • 12

                  #68
                  Originally posted by White Wolf View Post

                  could you run
                  Code:
                  AMD_DEBUG=info glxinfo | grep smart
                  and paste the result please?
                  SAM turns out with a 0
                  Code:
                   smart_access_memory = 0
                  , but checking dmesg I get:
                  Code:
                  [    1.051160] [drm] Detected VRAM RAM=16368M, BAR=16384M
                  So it seems to register?

                  Edit: This using Manjaro and 5.14.2.1 kernel, and open source drivers

                  Comment

                  • agd5f
                    AMD Graphics Driver Developer
                    • Dec 2007
                    • 3939

                    #69
                    The kernel driver will always resize the BAR if possible. Mesa has additional optimizations.

                    Comment

                    • White Wolf
                      Phoronix Member
                      • Apr 2020
                      • 73

                      #70
                      Thanks all for help! So it looks like my SAM works properly.

                      Comment

                      Working...
                      X