We study the existence of positive solutions for a nonlinear periodic problem driven by the scalar p-Laplacian and having a nonsmooth potential. We impose a nonuniform nonresonance condition at +infinity and a uniform nonresonance condition at 0(+). Using degree theoretic argument based on a fixed point index for multifunctions, we prove the existence of a strict positive solution.