Announcement

Collapse
No announcement yet.

Radeon VRAM Optimizations Coming, But Help Is Needed

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

  • #46
    Absolutely, I'll ping Michael with the finished PDF when it's done. But it's all public anyway, you can watch everything happen live:
    https://github.com/clbr/hotbos (code)
    https://github.com/clbr/jamkthesis (writing)
    https://github.com/clbr/mesa

    Possibly some other repos later (for the kernel and libdrm parts).

    Comment


    • #47
      Alright, first batch of traces from stuff that I could get to run:
      Xonotic - Ultimate (as run by PTS on a 6850):
      https://anonfiles.com/file/af2249b35...034ae09c6a1bab

      And a 7z archive of the rest:
      https://anonfiles.com/file/45193bed0...9e03145fe3c865

      Contains: Bastion, TF2, Trine 2, Lugaru HD, Awesomenauts, Smoking Guns, Nexuiz, OpenArena, World of Padman, Tremulous, Urban Terror.

      Where possible, I've captured at the monitor's native resolution (1680x1050).

      I tried to get HL2, Serious Sam 3, and Dota2 working, but none of those would start on r600g on that machine (2.5GB RAM on a single-core Athlon64). If desired I can probably capture a bit of gameplay in EVE Online via Wine. I haven't tried to get Skyrim/Oblivion/Dragon Age working yet, but I can try if needed.

      The capture card was a Radeon HD 6850 1GB and the OS was Ubuntu 13.10 w/ xorg-edgers and then your mesa layered on top... You probably don't need to know this much detail, but I remember how picky my thesis adviser was a few years ago about data sources

      I attempted to get XPlane and some workstation apps from PTS going, but some of those seem like the test profiles could use some attention.

      Comment


      • #48
        Thanks a lot! Yes, EVE would be interesting to have.

        Comment


        • #49
          Does playing one particular game over and over and providing stats for that add value?

          Comment


          • #50
            Originally posted by matyas View Post
            Does playing one particular game over and over and providing stats for that add value?
            Yes, if the plays differ (different level, different enemies, etc).

            Comment


            • #51
              I think I need a bit of help here. I'm on Ubuntu 13.10, have a Radeon 6550M. I've added Oibaf's PPA, did an update and upgrade. Kernel is vanilla 3.12. The command used for executing the game:
              R600_DEBUG=bostats steam steam://rungameid/570
              There's no file /tmp/bostats*. What shall I do to investigate/fix this please?

              Comment


              • #52
                Please try a simple native test first: does "R600_DEBUG=bostats glxgears" produce a file?

                If it does, then you need to launch the Steam game differently. I wouldn't know how, perhaps others do?

                Comment


                • #53
                  R600_DEBUG=bostats glxgears does not produce a file for me.

                  Comment


                  • #54
                    Originally posted by matyas View Post
                    R600_DEBUG=bostats glxgears does not produce a file for me.
                    Are you using a RadeonSI? If so, try RADEON_DEBUG=bostats instead. That environment variable got renamed for the radeonsi driver

                    Also, feel free to give the output of:
                    LIBGL_DEBUG=verbose R600_DEBUG=bostats RADEON_DEBUG=bostats glxgears

                    That might give us something to work with.

                    When running steam games, I just did the following on my HD 6850:
                    R600_DEBUG=bostats steam

                    And then launched the game from within steam.


                    Edit: N/M. I missed that you have a 6550M. But I'll leave the advice here for anyone else with an SI.

                    Comment


                    • #55
                      I tried
                      LIBGL_DEBUG=verbose R600_DEBUG=bostats RADEON_DEBUG=bostats glxgears
                      and again no output in /tmp. I even tried with setting TMPDIR to my home directory. Is there any way I can check that I'm running the proper drivers?

                      Comment


                      • #56
                        Originally posted by matyas View Post
                        I tried
                        LIBGL_DEBUG=verbose R600_DEBUG=bostats RADEON_DEBUG=bostats glxgears
                        and again no output in /tmp. I even tried with setting TMPDIR to my home directory. Is there any way I can check that I'm running the proper drivers?
                        Maybe these 2 will help

                        Code:
                        cat /var/log/Xorg.0.log| grep "DRI driver"
                        glxinfo|grep Open

                        Comment


                        • #57
                          cat /var/log/Xorg.0.log| grep "DRI driver"
                          [ 10.223] (II) RADEON(0): [DRI2] DRI driver: r600


                          glxinfo|grep Open
                          OpenGL vendor string: X.Org
                          OpenGL renderer string: Gallium 0.4 on AMD REDWOOD
                          OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.1
                          OpenGL core profile shading language version string: 1.40
                          OpenGL core profile context flags: (none)
                          OpenGL core profile extensions:
                          OpenGL version string: 3.0 Mesa 9.2.1
                          OpenGL shading language version string: 1.30
                          OpenGL context flags: (none)
                          OpenGL extensions:


                          Should I be seeing something different if I'm on Oibaf please?

                          Comment


                          • #58
                            Should I be seeing something different if I'm on Oibaf please?
                            If "Oibaf" means this repo:

                            https://launchpad.net/~oibaf/+archive/graphics-drivers

                            Then you should have mesa 10.1 probably.

                            What you get by running
                            Code:
                            apt-cache policy mesa
                            ?

                            Comment


                            • #59
                              apt-cache policy mesa
                              N: Unable to locate package mesa

                              Comment


                              • #60
                                sudo apt-get install libgl1-mesa-dri
                                solved the issue, the capturing works now.

                                Comment

                                Working...
                                X