Announcement

Collapse
No announcement yet.

RadeonSI NIR Mesa 19.3 Testing Didn't Turn Up Any Bugs, Similar Performance To TGSI

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

  • RadeonSI NIR Mesa 19.3 Testing Didn't Turn Up Any Bugs, Similar Performance To TGSI

    Phoronix: RadeonSI NIR Mesa 19.3 Testing Didn't Turn Up Any Bugs, Similar Performance To TGSI

    Besides RADV ACO compiler testing and AMDGPU bulk moves restored another common test request recently on the Radeon Linux graphics side has been looking at the NIR support...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    There is no such thing as AMD_DEBUG=nir in mesa 19.3 so probably both your test cases in fact used TGSI. To see the available AMD_DEBUG options, use AMD_DEBUG=help or look at the start of si_pipe.c where you can find the debug_options ― you will find that nir is not there. You can enable or disable NIR using a drirc config setting instead.

    To enable NIR on radeonsi, make a ~/.drirc file like this:

    Code:
    <driconf>  
         <device driver="radeonsi">
            <application name="all">
                <option name="radeonsi_enable_nir" value="true"/>
            </application>
        </device>
    </driconf>
    Last edited by Venemo; 09 October 2019, 03:53 AM. Reason: Edited to add more information and clarify.

    Comment


    • #3
      i dont know about 19.3 but 19.2 sure has bugs with NIR:
      it doesn't crash if NIR is disabled, or if NIR is enabled but kernel &lt;=5.1 is used here is the forum where i first reported the issue

      Comment


      • #4
        Originally posted by Venemo View Post
        There is no such thing as AMD_DEBUG=nir in mesa 19.3 so probably both your test cases in fact used TGSI. To see the available AMD_DEBUG options, use AMD_DEBUG=help or look at the start of si_pipe.c where you can find the debug_options ― you will find that nir is not there. You can enable or disable NIR using a drirc config setting instead.
        Since Mesa 19.0.4 according to the release notes...damn, I'm slippin...

        Now I'm wondering if those HM2 crashes I was dealing with was due to AMD_DEBUG=sisched since I was running AMD_DEBUG=nir,sisched at the time and, apparently, nir had no effect...at least my game works now and that's what matters

        Comment


        • #5
          NIR crashes mpv+vaapi for me but works for everything else.

          edit: actually doesn't crash anymore, just tested
          Last edited by clapbr; 09 October 2019, 08:28 AM.

          Comment


          • #6
            I can't help feeling that perhaps it would be wise to just focus more manpower on getting this move completely done, to then be able to focus on other stuff. marek, am I wrong?

            Comment


            • #7
              If a lack of bugs provides equivalent performance to TGSI, what's the point of NIR?

              Comment


              • #8
                Michael please hold off on testing NIR at the moment. Even though AMD_DEBUG=nir doesn't exist and radeonsi_enable_nir=true should be used instead, the shader cache is inefficient with NIR and we need to fix that first.

                Comment

                Working...
                X