SANTA CLARA — In the end, everyone seemed to survive.

The 49ers beat the Las Vegas Raiders 34-10 Sunday at Levi’s Stadium and fears of fan violence in the stands and pregame tailgates never materialized into free-for-alls which caused suspension of the exhibition series for 10 years.

It was the first time the 49ers and Raiders had played in the preseason since 2011, when there were two shootings as well as a bathroom beating in a night game at Candlestick Park.

Paid attendance was 60,873, but the number of those who actually attended was far less, with empty seats visible in every section.

The former crossbay rivals played again in a game that does not count in the standings. With a heavy police presence, private security and an unspecified number of undercover officers, the sparse crowd appeared relatively under control. They even appeared to get along during pregame tailgating and early arrival in the stadium for warmups.

Forty-Niners second-year defensive tackle Javon Kinlaw didn’t think it was different than any other exhibition game and didn’t appear to notice the number of black jerseys.

“Not to me,” Kinlaw said. “I saw more red than I saw black.”

A couple in the stands wearing Ronnie Lott jerseys — both with No. 42, one in silver and black and one in 49ers red — chanted “Raiders” as players made their way to the field to the sound of a foghorn.

There were fans in Jerry Rice No. 80 49ers jerseys and No. 80 Raiders jerseys. Two fans made their way to their seats with a beverage, one in a Raiders Bo Jackson No. 34 and another in a Joe Montana No. 16.

Lt. Cuong Phan, who was working the security detail at the stadium, said no figures regarding arrests would be available until Monday and the 49ers didn’t respond to a request make stadium security personnel available for comment.

In the 2011 game, problems arose from fans who were not season ticket holders and had purchased tickets in the secondary market. And although that may have been the case again Sunday, this time a 1 p.m. kickoff provided reduced time for drinking and tailgating.

As for the game itself, there wasn’t much to get worked up about. The Raiders left 31 players at home and it’s reasonable to assume not a single player who will start in Week 1 against Baltimore was on the trip.

The 49ers, on the other hand, used quarterbacks Trey Lance, Jimmy Garoppolo and many first-team players and seized control of a game early that had a steady 49ers ground presence but little in the way of offensive fireworks.

Temperatures climbed near 90 degrees, leaving, with fans fanning themselves, looking for shade and not returning to their seats after halftime.