Bernard Tomic is set to play one of his biggest matches in years, but footage of him on court is going viral for all the wrong reasons.

The Aussie will on Thursday face Matteo Arnaldi in the first round of the Shanghai Masters after winning through qualifying to reach the main draw of a Masters 1000 level event for the first time in 2621 days.

Tomic secured a spot in the main draw after defeating Timofey Skatov 7-5 6-4 in the final round of qualifying.

The 33-year-old won his opening qualifying match against Terence Atmane where sparks flew.

Footage from the Monday battle is going viral with the tennis world left stunned by the magnitude of Atmane’s meltdown.

The French player completely blew a gasket when he committed an unforced error in the third set.

You can watch the meltdown in the video player above

Freshly uncovered footage shared by spectators has seen the incident return to headlines.

Among many acts of petulance, Atmane was seen smashing his racquet on the net cord three times and also struck a ball that sailed over the small grand stand that surrounded the court.

The clip that has shocked many is the sight of Atmane hurling his racquet at spectators. The racquet clanged into the railing at the top of the court walls, missing the front row of spectators by inches.

Inexplicably, Atmane was not defaulted.

He was, however, issued a code violation for unsportsmanlike conduct and received a point penalty.

In bizarre circumstances, Atmane eventually retired from the match with Tomic moments away from serving for the match at 6-3 4-6 5-3.

Tomic took his winning form into his next match against Skatov.

The back-to-back wins have given Tomic a chance to win in the opening round of a Masters 1000 level for the first time since his last Masters 1000 level match in Canada seven years ago, which ended in a straight sets loss to Spain’s Roberto Bautista Agut.

He faces a tough challenge first up against Italy’s world No.38 Arnaldi and it won’t get any easier if he makes it through that clash, with American Taylor Fritz waiting for the winner in the second round.

Tomic, who said earlier this season that 2026 would likely be his last year on tour, has played mainly low-level events over the past few years, clawing his way back into the top 200 on the rankings, while appearing at the occasional grand slam qualifying event.

Currently ranked 185, Tomic will move up to at least No.176 after making the Shanghai Masters, where he will join Rinky Hijikata, James Duckworth and Alex de Minaur in the event.

— with News Sport Network