No video kodi 17.01

I am running kodi 17.01 on ubuntu 16.04 and macbook. I have audio but no video on both computers. I have searched and found out that I can fix it by choosing the software option on render method but Software option doesn’t appear.