The maximum DSD sample-rate that your RPI will support is 5.8MHz (DSD128)… The PCM carrier sample-rate is 35.28kHz… DSD256 needs a PCM carrier sample-rate of 705.6kHz, etc, etc…
My question is why does the macOS Audio MIDI Settings not see your DAC? This is at the Core Audio level and has nothing to do with Audirvana, as the player looks for the available audio output device found in Audio MIDI Settings …
You are wasting your time with the advices of a person whose competency is poor, and who never streamed.
Your RPi won’t appear in Audio Midi, because it is located on your LAN. Only devices that are attached to the USB port of your Mac appear in Audio Midi.
386 kHz is the equivalent of DSD256 indeed.
I advise you to flash Ropieee XL on a micro SD card to check if Audirvana streams DSD to it.
This way, you’ll know if the issue is in the settings of DietPi.
I defer to @Cloclo because he, (in my opinion) is the contributor on this forum that will be able to provide the most expert advice on implementing these networking systems and device… I’m glad he has jumped in here for you
It’s quite simple to configure RopieeeXL as a UPNP renderer to make it work with Audirvana. The instructions on Ropieee’s site are very clear.
If you need help to configure it, just ask.