Foam underlayment is enough for installing a laminate floor. If the subfloor has imperfections, you can use rigid plywood underlayment.