The software driver compatible with libgl1-mesa-glx is in libgl1-mesa-dri (swrast_dri.so), libgl1-mesa-swx11 is an alternate implementation that can't be used at the same time.