Tim Lincecum posted his first win of the season despite another uneven performance, Nate Schierholtz and Buster Posey homered and the San Francisco Giants beat the New York Mets 6-1 Monday in the first game of a doubleheader.

Slightly over 1,000 fans were in the stands when the opener began on a windy, raw afternoon better suited for the Bay Area and perhaps 10,000 were bundled up at the end. A rainout Sunday forced the twinbill.

Madison Bumgarner was set to pitch the second game for the Giants against Dillon Gee. San Francisco had won seven of 10 overall.

Battered in his first three starts, Lincecum (1-2) allowed one run in five innings and struck out eight, often throwing his fastball past the Mets. The two-time Cy Young winner also walked five and gave up four hits in lowering his ERA from 10.54 to 8.20.

(Copyright 2012 by The Associated Press.  All Rights Reserved.)