with an i5 cpu would it work better?
Better would be a dedicated graphics card from Nvidia or AMD. They are just very expensive nowadays.