You may have to show PROOF of your DTV Visa to airline staff on check-in for your flight ✈️ to Thailand...even to the connecting airline staff. Or to the land border crossing entry Thai Immigration Officer.
Upon arrival into Thailand, show the DTV visa to the Thai Immigration Officer and look at the STAMP placed in your passport to be sure you are STAMPED in for 180 days.
Also suggest you look at the New DTV Visa... it's a 5 year multiple entry visa. Either workcation or Soft Power activity to get it. Muay Thai training is popular.
reality is that you need to get the Non O Visa as Married to Thai and the One year extension of stay as Married to Thai. Need to have 400,000 Thai baht in your personal Thai bank account. And meet the requirements for the visa and extension as set by your local Thai Immigration office.