Andy Murray was given an emotional tribute after his final Wimbledon tournament started with a men's doubles defeat as long-time rival Novak Djokovic came through a testing workout on Thursday.

British two-time Wimbledon champion Murray, playing alongside brother Jamie, went down 7-6 (8/6) 6-4 to John Peers and Rinky Hijikata to the bitter disappointment of a partisan Centre Court crowd.

Murray, the Wimbledon champion in 2013 and 2016, was entered in the men's doubles and mixed doubles at the All England Club after running out of time to be fit for the singles following recent back surgery.

Murray's parents Judy and Willie were on Centre Court alongside wife Kim and two of their daughters.

But the former world number one could not give his loyal fans the win they craved as the light faded on a cool summer evening, with the pairing failing to convert a set point in the opening set and being broken twice in the second.

After the defeat, the packed crowd watched a video of Murray's career highlights, with warm tributes paid by a galaxy of stars including Roger Federer, Rafael Nadal and former mixed doubles partner Serena Williams.

Djokovic was courtside to witness his career-long rival's emotional evening in the spotlight alongside past greats including John McEnroe and Martina Navratilova.

"Look, it is hard because I would love to keep playing but I can't, a tearful Murray said during an on-court interview. "Physically it is too tough now, all of the injuries, they have added up and they haven't been insignificant.

"I want to play forever, I love the sport and it's given me so much. It's taught me loads of lessons over the years I can use for the rest of my life. I don't want to stop so it is hard."

Defeat does not yet spell the end for Murray's Wimbledon journey as he is also scheduled to play mixed doubles with British compatriot and former US Open champion Emma Raducanu.

The 37-year-old Scot, who has been ravaged by injuries in recent years is targeting the Olympics in Paris, starting later this month, as the final tournament of a glittering career.

Djokovic tested

Earlier, seven-time champion Djokovic came through a testing battle against British wild card Jacob Fearnley 6-3, 6-4, 5-7, 7-5.

It appeared to be business as usual for the Serbian as he coasted into a two-set lead on Centre Court but the 277th-ranked Fearnley broke his illustrious opponent twice in the third set to reduce the deficit.

Fearnley, playing in his first Grand Slam, carved out two break points in the sixth game of the fourth set but missed his chance and Djokovic broke in the 11th game before serving out for the win.

Djokovic, who is playing with protection after a recent knee operation, is seeking to equal Federer's record of eight Wimbledon men's titles and is aiming for a record 25th Grand Slam title.

"I hope as the tournament progresses I'll feel better," he said.

"I don't know if I was comfortable in my own skin in the third and fourth. You have rough days when you're not feeling your best."

Jessica Pegula, seeded five, became the highest-ranked player to exit the tournament so far, going down 6-4, 6-7 (7/9), 6-1 to China's Wang Xinyu, who celebrated her first win against a top-10 player.

Wang will face Harriet Dart, who defeated Nottingham champion Katie Boulter in an all-British clash for a spot in the last 16.

World number one Iga Swiatek progressed smoothly at the expense of Croatia's Petra Martic – her 21st straight win.

A single break in each set was enough to give the 23-year-old, who has never been past the quarter-finals at Wimbledon, a 6-4, 6-3 victory.

"It's not the first time I've come into this tournament with a 'streak'," she said. "It's not that easy to have this baggage on your shoulders.

"This year feels different. I don't feel like everyone is focusing on it. Two years ago was a lot harder when it was 30-something matches (37)."

Elsewhere on day four of Wimbledon, two-time finalist Ons Jabeur beat US qualifier Robin Montgomery while Elena Rybakina, the 2022 women's champion, finished strongly to beat Germany's Laura Siegemund 6-3, 3-6, 6-3.

On the men's side, French Open finalist Alexander Zverev saw off Marcos Giron in straight sets but Greece's Stefanos Tsitsipas crashed out in four sets to Finland's Emil Ruusuvuori.

Poland's Hubert Hurkacz, seen as an outside tip for the title, was forced to quit his second-round match against Arthur Fils with a knee injury.

Wimbledon results - Thursday

Men’s second round

Denis Shapovalov (CAN) bt Daniel Altmaier (GER) 7-6 (7/3), 6-3, 1-6, 6-7 (3/7), 6-4

Ben Shelton (USA x14) bt Lloyd Harris (RSA) 4-6, 7-6 (7/5), 6-7 (5/7), 6-3, 7-6 (10/7)

Grigor Dimitrov (BUL x10) bt Shang Juncheng (CHN) 5-7, 6-7 (4/7), 6-4, 6-2, 6-4

Gael Monfils (FRA) bt Stan Wawrinka (SUI) 7-6 (7/5), 6-4, 7-6 (7/3)

Francisco Comesana (ARG) bt Adam Walton (AUS) 7-5, 1-6, 6-7 (12/14), 6-1, 7-6 (10/8)

Lorenzo Musetti (ITA x25) bt Luciano Darderi (ITA) 6-4, 4-6, 6-7 (5/7), 6-4, 6-4

Giovanni Mpetshi Perricard (FRA) bt Yoshihito Nishioka (JPN) 6-4, 6-1, 6-2

Emil Ruusuvuori (FIN) bt Stefanos Tsitsipas (GRE x11) 7-6 (8/6), 7-6 (12/10), 3-6, 6-3

Taylor Fritz (USA x13) bt Arthur Rinderknech (FRA) 6-3, 6-4, 3-6, 6-4

Alejandro Tabilo (CHI x24) bt Flavio Cobolli (ITA) 7-6 (7/4), 7-6 (7/4), 4-6, 4-6, 6-4

Cameron Norrie (GBR) bt Jack Draper (GBR x28) 7-6 (7/3), 6-4, 7-6 (8/6)

Alexander Zverev (GER x4) bt Marcos Giron (USA) 6-2, 6-1, 6-4

Arthur Fils (FRA) bt Hubert Hurkacz (POL x7) 7-6 (7/2), 6-4, 2-6, 6-6 - retired

Roman Safiullin (RUS) bt Tomas Machac (CZE) 6-2, 6-4, 5-7, 6-3

Lucas Pouille (FRA) bt Thanasi Kokkinakis (AUS) 2-6, 7-5, 5-2 - retired

Alex De Minaur (AUS x9) bt Jaume Munar (ESP) 6-2, 6-2, 7-5

Holger Rune (DEN x15) bt Thiago Seyboth Wild (BRA) 3-6, 6-3, 6-2, 6-2

Quentin Halys (FRA) bt Karen Khachanov (RUS x21) 4-6, 6-3, 3-6, 6-3, 6-4

Alexei Popyrin (AUS) bt Tomás Etcheverry (ARG x30) 3-6, 6-4, 4-6, 6-4, 6-3

Novak Djokovic (SRB x2) bt Jacob Fearnley (GBR) 6-3, 6-4, 5-7, 7-5

Women’s second round

Iga Swiatek (POL x1) bt Petra Martic (CRO) 6-4, 6-3

Yulia Putintseva (KAZ) bt Katerina Siniakova (CZE x27) 6-0, 4-6, 6-2

Bernarda Pera (USA) bt Caroline Garcia (FRA x23) 3-6, 6-3, 6-4

Jelena Ostapenko (LAT x13) bt Daria Snigur (UKR) 6-3, 6-0

Danielle Collins (USA x11) bt Dalma Gálfi (HUN) 6-3, 6-4

Beatriz Haddad Maia (BRA x20) bt María Camila Osorio (COL) 3-0 - retired

Barbora Krejcíkova (CZE x31) bt Katie Volynets (USA) 7-6 (8/6), 7-6 (7/5)

Jessica Bouzas Maneiro (ESP) bt Cristina Bucsa (ESP) 7-6 (7/1), 6-3

Elena Rybakina (KAZ x4) bt Laura Siegemund (GER) 6-3, 3-6, 6-3

Caroline Wozniacki (DEN) bt Leylah Fernandez (CAN x30) 6-3, 2-6, 7-5

Anna Kalinskaya (RUS x17) bt Marie Bouzkova (CZE) 6-4, 6-1

Liudmila Samsonova (RUS x15) bt Elina Avanesyan (RUS) 6-3, 6-3

Ons Jabeur (TUN x10) bt Robin Montgomery (USA) 6-1, 7-5

Elina Svitolina (UKR x21) bt Jule Niemeier (GER) 6-3, 6-4

Harriet Dart (GBR) bt Katie Boulter (GBR x32) 4-6, 6-1, 7-6 (10/8)

Wang Xinyu (CHN) bt Jessica Pegula (USA x5) 6-4, 6-7 (7/9), 6-1

Daria Kasatkina (RUS x14) bt Yuriko Lily Miyazaki (GBR) 6-0, 6-0

Paula Badosa (ESP) bt Brenda Fruhvirtova (CZE) 6-4, 6-2

Marta Kostyuk (UKR x18) bt Daria Saville (AUS) 4-6, 7-6 (7/2), 6-4

Madison Keys (USA x12) bt Wang Yafan (CHN) 6-2, 6-2