Pico caps and appropriate impedance miss-match can be used to round-off square waves.
But yes, if you look at high-speed Pi GPIO with a Rigol it looks more like an EKG readout than the thing you might see on a logic analyser. Smoothing it enough to feed a line-amp is very lossy.