Gaia 4.1.0 — Back after 20 years

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

j_romang
Posts: 89
Joined: Mon May 16, 2011 2:52 am

Re: Gaia 4.1.0 — Back after 20 years

Post by j_romang »

Hi everyone,

A quick bugfix release — sorry for the fast turnaround after 4.1.0, I know it's annoying for testers who just added it to their lists.

Thanks for spotting the KQ vs K draw issue — it was a Graph History Interaction bug where the engine would accept a draw by repetition in a won KQ vs K position due to the interaction between mate scores and the 50-move rule. Fixed now.

Other changes since 4.1.0:

-Insufficient material draw detection
-New architecture-specific executables: nnue-znver3, nnue-znver4, nnue-znver5 for AMD Ryzen 5000/7000/9000, nnue-avx512 for recent Intel, and a pesto build with simple piece-square table evaluation (no NNUE) for older CPUs without AVX2 support

See the README for which file to pick for your CPU
Download: https://github.com/jromang/gaiachess/releases/tag/4.1.1

Apologies again for the quick re-release, and thanks to everyone testing Gaia!

— Jean-François
User avatar
Werner
Posts: 3027
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Gaia 4.1.0 — Back after 20 years

Post by Werner »

Problem solved ?? - I don´t think so :-(
[pgn][Event "Div4 5s+600ms"]
[Site "isle of Rügen"]
[Date "2026.02.24"]
[Round "3"]
[White "Leorik 3.2"]
[Black "Gaia 4.1.1"]
[Result "1/2-1/2"]
[ECO "C60"]
[Opening "Spanische Partie"]
[Time "13:42:30"]
[Variation "Fianchetto (Smyslov) Verteidigung"]
[TimeControl "5+0"]
[Termination "normal"]
[PlyCount "265"]
[WhiteType "program"]
[BlackType "program"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 g6 4. Nc3 Bg7 5. O-O {+0.04/13 0} Nge7 {+0.24/15
0} 6. a4 {+0.09/18 0} O-O {+0.34/15 0} 7. Bc4 {+0.04/18 0} d6 {+0.13/16 1}
8. Nd5 {0.00/19 1} Kh8 {+0.21/15 1} 9. d3 {-0.08/15 0} h6 {+0.29/16 1} 10.
c3 {+0.08/16 0} Nxd5 {+0.27/14 0} 11. Bxd5 {-0.16/17 0} f5 {+0.27/16 1} 12.
a5 {-0.15/16 0} Ne7 {+0.41/14 0} 13. Bc4 {-0.14/17 0} Qe8 {+0.61/15 1} 14.
Re1 {-0.10/16 0} f4 {+0.98/16 0} 15. h3 {-0.21/18 0} g5 {+1.05/16 0} 16.
Nh2 {-0.20/18 0} Qg6 {+0.78/15 0} 17. d4 {-0.25/18 1} Ng8 {+0.93/14 0} 18.
Be2 {-0.16/15 0} Nf6 {+1.17/14 0} 19. Ra4 {-0.18/16 1} h5 {+1.32/14 0} 20.
Rc4 {+0.18/17 1} g4 {+0.41/15 1} 21. hxg4 {+0.04/17 0} hxg4 {-0.09/14 0}
22. Rxc7 {-0.03/16 1} a6 {-0.75/14 1} 23. dxe5 {+0.42/15 0} dxe5 {-0.30/16
0} 24. Bc4 {+0.86/17 0} Nh5 {-0.70/12 0} 25. Qd5 {+0.62/16 0} g3 {+0.59/16
0} 26. fxg3 {+0.43/16 0} Qxg3 {0.00/14 0} 27. Qd2 {+0.91/17 0} Bf6
{-0.14/14 0} 28. Qf2 {+0.10/16 0} Bd8 {-0.13/14 0} 29. Rc5 {+0.13/17 0} Qg7
{-0.05/14 0} 30. Nf3 {-0.37/16 0} Re8 {+0.48/14 0} 31. Rd1 {+0.11/15 0} Bg4
{0.00/15 0} 32. Rd3 {-0.33/17 0} b5 {0.00/18 0} 33. Bd5 {+0.29/15 0} Rc8
{0.00/19 0} 34. Rxc8 {0.00/17 0} Bxc8 {0.00/20 0} 35. Bc6 {0.00/18 0} Rg8
{0.00/22 0} 36. Bd5 {0.00/20 0} Re8 {0.00/24 0} 37. Qc5 {+0.29/19 2} Ng3
{0.00/14 0} 38. Qc6 {+0.81/18 0} Bd7 {-0.64/17 1} 39. Qxa6 {+0.75/17 0}
Ne2+ {-0.90/15 0} 40. Kf2 {+0.61/19 0} Nxc1 {+2.23/15 0} 41. Rd2 {-0.05/18
0} Bg4 {+1.39/15 0} 42. Kf1 {-0.05/16 0} Qh7 {+1.35/14 0} 43. Kg1 {-0.13/16
0} Be7 {+0.42/14 0} 44. Qxb5 {-0.50/16 0} Rc8 {+1.62/13 0} 45. b4 {-0.53/17
0} Qg7 {+2.41/14 0} 46. a6 {-0.19/17 0} Bxf3 {+1.79/16 0} 47. a7 {-0.19/18
0} Bh5 {+0.40/16 0} 48. Qb8 {+0.02/16 0} Rf8 {+1.97/17 1} 49. Kf1 {0.00/17
0} f3 {+3.47/11 0} 50. Qxf8+ {0.00/19 0} Bxf8 {+2.84/15 0} 51. a8=Q
{-0.88/20 0} Qf6 {+1.84/17 0} 52. g4 {-1.04/21 0} Bxg4 {+2.38/14 0} 53.
Rh2+ {-1.18/21 0} Kg7 {+3.07/17 0} 54. Qb7+ {-0.99/20 0} Be7 {+3.84/16 0}
55. Qa8 {-1.03/20 0} Bd8 {+4.11/15 0} 56. Bc4 {-1.12/19 0} Qd6 {+4.14/17 0}
57. Qa7+ {-0.90/19 0} Be7 {+2.83/17 0} 58. Rd2 {-0.61/19 0} Qf6 {+5.86/15
0} 59. Qa8 {-1.03/19 1} Kh6 {+4.84/16 0} 60. Qg8 {-1.53/18 0} Bh3+
{+4.15/18 0} 61. Ke1 {-1.65/19 0} Ne2 {+4.98/18 0} 62. Rxe2 {-1.93/19 0}
fxe2 {+8.64/17 0} 63. Kxe2 {-2.00/20 0} Qf1+ {+7.78/16 0} 64. Kd2 {-2.34/22
0} Qf4+ {+7.95/17 0} 65. Kc2 {-2.04/20 0} Qxe4+ {+7.94/16 0} 66. Bd3
{-2.05/22 0} Qg2+ {+7.51/16 0} 67. Qxg2 {-2.03/23 0} Bxg2 {+7.84/15 0} 68.
Kb3 {-2.37/23 0} Kg5 {+7.78/16 0} 69. Kc4 {-2.34/23 0} Kf4 {+9.10/15 0} 70.
b5 {-2.40/22 0} e4 {+9.56/17 0} 71. Bxe4 {-2.63/21 0} Kxe4 {+M464/25 0} 72.
b6 {-3.29/22 0} Ke5 {+M459/23 1} 73. b7 {-2.54/18 0} Bd5+ {+M456/24 0} 74.
Kb5 {-2.85/20 0} Bxb7 {+242.58/14 0} 75. Kb6 {-3.09/20 0} Bf3 {+M455/21 0}
76. Kb5 {-3.09/19 0} Bd5 {+M453/22 0} 77. c4 {-3.04/20 0} Bg8 {+242.58/20
0} 78. c5 {-3.00/20 0} Be6 {+M453/24 0} 79. Kb6 {-3.03/20 0} Kd4 {+M451/16
0} 80. c6 {-2.94/21 0} Ke5 {+M454/25 0} 81. Kc7 {-2.50/20 0} Bd5 {+M455/21
0} 82. Kd7 {-2.93/21 0} Kf6 83. c7 {-2.67/22 0} Be6+ {+M457/23 0} 84. Kc6
{-2.92/22 0} Bc8 {+M453/26 0} 85. Kd5 {-2.94/21 0} Ba3 {+M456/20 0} 86. Kc6
{-3.03/22 0} Ke7 {+M457/25 1} 87. Kb5 {-3.34/23 0} Kd6 88. Kc4 {-3.34/20 0}
Kxc7 {+M455/17 0} 89. Kd4 {-3.57/20 0} Kd6 {+M455/8 0} 90. Ke4 {-3.55/20 0}
Bb7+ {+M455/18 0} 91. Kf5 {-3.48/20 0} Bc8+ {+M455/19 1} 92. Ke4 {0.00/99
1} Kc5 93. Kf4 {-3.48/20 0} Kd5 {+M455/18 0} 94. Kg5 {-3.93/21 0} Bc1+
{+M455/12 0} 95. Kf6 {-3.93/22 0} Be3 {+M454/19 0} 96. Ke7 {-3.93/22 0} Bb7
{+M454/19 0} 97. Kf7 {-3.93/21 0} Ke5 {+M467/15 0} 98. Ke7 {-3.95/21 0} Bd2
{+M455/18 0} 99. Kf7 {-3.97/20 0} Kd4 100. Ke6 {-3.95/20 0} Bg5 {+M460/18
1} 101. Kf5 {-3.95/22 0} Be7 {+M454/18 0} 102. Ke6 {-3.97/23 0} Bc5
{+M469/16 0} 103. Kf5 {-3.97/23 0} Bd6 {+M454/16 0} 104. Ke6 {-3.97/23 0}
Kc5 105. Kf6 {-3.97/22 0} Kd5 {+M454/19 0} 106. Kf5 {-3.97/22 0} Be5
{+M454/19 0} 107. Kg4 {-3.97/22 0} Kc4 108. Kf5 {-3.97/24 0} Kd4 {+M454/20
0} 109. Ke6 {-3.97/24 0} Bd5+ {+242.17/17 0} 110. Ke7 {-4.00/23 0} Bc4
{+M453/19 0} 111. Kd7 {-4.00/22 0} Bd5 {+M454/18 1} 112. Ke7 {0.00/79 1}
Kc3 113. Kd7 {-4.00/22 0} Bf4 {+317.42/17 0} 114. Ke8 {-4.00/22 0} Bd6
{+M453/16 0} 115. Kd7 {-4.00/24 0} Bb4 {+M453/18 0} 116. Kc8 {-4.00/23 0}
Bd6 {+317.42/15 0} 117. Kd7 {0.00/79 1} Bh2 {+317.42/11 0} 118. Ke7
{-4.00/22 0} Bc7 {+87.33/17 0} 119. Kf6 {-4.00/23 0} Kb2 120. Ke7 {-4.00/22
0} Bb3 {+28.78/16 0} 121. Kd7 {-3.66/22 0} Be5 {+28.78/15 0} 122. Kc6
{-4.00/22 0} Be6 {+28.78/17 0} 123. Kb6 {-4.00/21 0} Bc4 {+28.78/16 0} 124.
Kc6 {-4.00/23 0} Kc3 {+28.78/13 0} 125. Kc5 {-4.00/23 0} Be6 {+13.56/18 0}
126. Kb5 {-4.00/24 1} Bc4+ {+8.35/18 0} 127. Kc5 {0.00/79 1} Kb3 128. Kc6
{-4.00/24 0} Kb4 {+6.71/17 0} 129. Kd7 {-4.00/24 0} Ka3 130. Ke8 {-4.00/23
0} Kb4 {+3.10/17 0} 131. Kd7 {0.00/79 1} Kc5 {+3.20/15 1} 132. Ke8
{-4.00/23 0} Kb4 133. Kd7 {0.00/79 1 Stellungswiederholung} 1/2-1/2[/pgn]

[pgn][Event "26b"]
[Site "I56600K"]
[Date "2026.02.24"]
[Round "1"]
[White "Gaia 4.1.1 x64 1CPU AVX2"]
[Black "Sirius 9.0 x64 1CPU"]
[Result "1/2-1/2"]
[BlackElo "2200"]
[Time "16:51:54"]
[WhiteElo "2200"]
[TimeControl "60+2"]
[SetUp "1"]
[FEN "4k3/4p3/8/8/3p4/8/4N3/4KB2 w - - 0 1"]
[Termination "normal"]
[PlyCount "133"]
[WhiteType "program"]
[BlackType "program"]

1. Kd2 {+M464/26 9} Kd7 2. Bh3+ {+M456/28 6} Kc6 3. Kd3 {+M456/27 6} e5 4.
Ke4 {+M454/30 13} Kc5 5. Kxe5 {+M454/28 5} d3 6. Nf4 {+M453/32 12} d2 7.
Bg4 {+M457/24 4} Kb5 8. Be2+ {+M455/25 9} Kc6 9. Bd1 {+M456/23 2} Kb5 10.
Ke4 {+M483/24 6} Kc4 11. Nd5 {+M456/25 2} Kc5 12. Ba4 {+M483/24 1} Kd6 13.
Kd4 {+M457/23 1} Ke6 14. Nc3 {+M453/24 2} Kf5 15. Kd3 {+M453/23 1} Kg6 16.
Ke3 {+M452/23 2} d1=Q 17. Nxd1 {+M453/22 1} Kh7 18. Bb3 {+M453/20 2} Kg7
19. Ke2 {+M452/19 1} Kg6 20. Bc2+ {+M452/20 2} Kf6 21. Ke3 {+M452/21 2} Ke5
22. Kd3 {+M452/21 1} Kd5 23. Nc3+ {+M452/21 1} Ke5 24. Kc4 {+M452/21 2} Kd6
25. Bd1 {+M452/21 2} Ke6 26. Kd4 {+M452/22 1} Kf6 27. Nd5+ {+M452/20 1} Ke6
28. Bb3 {+M452/20 2} Kf7 29. Nc7+ {+M452/19 2} Kf6 30. Be6 {+M452/20 1} Kg7
31. Ke3 {+M452/20 2} Kg6 32. Bd5 {+M452/21 1} Kf5 33. Kd3 {+M452/21 2} Ke5
34. Kc4 {+M452/20 2} Kd6 35. Ne6 {+M452/21 1} Ke5 36. Ng5 {+M452/18 1} Kf5
37. Nf3 {+M452/20 1} Kf6 38. Kb5 {+M452/18 1} Kf5 39. Nd4+ {+M452/17 2} Kf4
40. Nf3 {+317.42/17 1} Kf5 41. Nd4+ {+317.42/16 1} Kf6 42. Kc4 {+317.42/17
1} Ke5 43. Be6 {+317.42/18 1} Kd6 44. Bh3 {+93.58/18 2} Ke5 45. Nf5
{+83.52/18 1} Ke6 46. Kb3 {+44.67/19 1} Kd5 47. Kb4 {+25.09/19 1} Ke4 48.
Kc4 {+22.82/18 1} Ke5 49. Kd3 {+21.86/19 2} Kd5 50. Nh4 {+21.86/21 1} Ke5
51. Nf5 {+10.59/21 1} Kd5 52. Nd4 {+10.52/20 2} Ke5 53. Be6 {+8.59/22 1}
Kf4 54. Bf5 {+8.59/20 1} Ke5 55. Be6 {+5.40/20 2} Kf4 56. Nc6 {+4.53/21 1}
Kg5 57. Ke4 {+3.69/21 1} Kg6 58. Ke5 {+2.25/19 1} Kg7 59. Ne7 {+0.99/18 2}
Kf8 60. Nf5 {+0.50/15 2} Ke8 61. Kd6 {0.00/18 1} Kf8 62. Bd5 {0.00/19 2}
Ke8 63. Kc7 {0.00/30 1} Kf8 64. Ba2 {0.00/45 0} Ke8 65. Nh4 {0.00/117 1}
Ke7 66. Bc4 {0.00/118 1} Kf6 67. Bb3 {0.00/127 2 50-Züge-Regel} 1/2-1/2[/pgn]
Werner
j_romang
Posts: 89
Joined: Mon May 16, 2011 2:52 am

Re: Gaia 4.1.0 — Back after 20 years

Post by j_romang »

Ouch, thanks ! Did you use tablebases ?
User avatar
Werner
Posts: 3027
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Gaia 4.1.0 — Back after 20 years

Post by Werner »

Yes - 5men for both games. Just tested with only KBN-K start-position.
Werner
User avatar
Sylwy
Posts: 5091
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: Gaia 4.1.0 — Back after 20 years

Post by Sylwy »

j_romang
Posts: 89
Joined: Mon May 16, 2011 2:52 am

Re: Gaia 4.1.0 — Back after 20 years

Post by j_romang »

Werner wrote: Tue Feb 24, 2026 6:22 pm Yes - 5men for both games. Just tested with only KBN-K start-position.
Thanks !
It was a tablebase probing problem at root...it should be solved now : https://github.com/jromang/gaiachess/re ... tag/4.1.2
j_romang
Posts: 89
Joined: Mon May 16, 2011 2:52 am

Re: Gaia 4.1.0 — Back after 20 years

Post by j_romang »

Sylwy wrote: Tue Feb 24, 2026 8:58 pm viewtopic.php?p=989839#p989839
I didn't expect that :D
User avatar
Werner
Posts: 3027
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Gaia 4.1.0 — Back after 20 years

Post by Werner »

j_romang wrote: Tue Feb 24, 2026 10:22 pm
Werner wrote: Tue Feb 24, 2026 6:22 pm Yes - 5men for both games. Just tested with only KBN-K start-position.
Thanks !
It was a tablebase probing problem at root...it should be solved now : https://github.com/jromang/gaiachess/re ... tag/4.1.2
Did you test it with my 5men Endgame?
Werner