2024-04-19 23:53 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006321Spring engineBuildbotpublic2019-10-24 15:14
Reporterlhog 
Assigned Tohokomoko 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0006321: missing tiff support in devil with mingwlibs64
DescriptionI noticed that there is a difference of how map and some selected features look when compared the same spring build on win64 and win32.

My theory is that in some cases textures are loaded incorrectly:
1. In case of failed trees this is a teamcolor that makes them red
2. In case of map, the specular map has probably got overbright.

I'm almost certain it started to happen after something was recently done to DevIL.

Tried different mods: ZK & BAR. Also tried to disable luarules, luagaia & luaui disable
Additional InformationTested on

https://springrts.com/dl/buildbot/default/maintenance/104.0.1-1412-g9391542/win32/
https://springrts.com/dl/buildbot/default/maintenance/104.0.1-1412-g9391542/win64/
TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files

-Relationships
related to 0006299resolvedhokomoko win64 builds still broken 
+Relationships

-Notes

~0020182

lhog (reporter)

win32 map

~0020183

lhog (reporter)

trees on win64

~0020184

lhog (reporter)

trees on win32

~0020185

lhog (reporter)

I've checked the map package and it looks like the presumably failing textures are all in .TIFF format. Looks like Win64 can't open some or all TIFFs correctly.

~0020186

lhog (reporter)

Looks like win64 libIL.dll is built without TIFF support
http://clip2net.com/clip/m330814/thumb800/b1db5-clip-34kb.png

Win32 has ilLoadTiff references inside the dll, but win64 does not.

~0020189

abma (administrator)

is there something related in infolog.txt?

i would expect some error message that .tiff can't be loaded.

~0020190

lhog (reporter)

No there was nothing interesting in the infolog.

I think by now the issue has been identified
>> Win32 has ilLoadTiff references inside the dll, but win64 does not.
So by now it's more about fixing the issue rather than identifying it.

~0020191

abma (administrator)

so this error message is not shown?
https://github.com/spring/spring/blob/develop/rts/Rendering/Textures/Bitmap.cpp#L530

are you sure?

if so, this is a bad bug, too.

~0020192

abma (administrator)

also how to reproduce? which exact map / game?

~0020194

lhog (reporter)

Ravaged v2. ZK and BAR had it both.
The screenshots above were made on Tabula v4

~0020195

abma (administrator)

please attach infolog.txt when it fails. your description is inaccurate, "Ravaged v2" doesn't exist: https://api.springfiles.com/?springname=Ravaged%20v2

~0020196

abma (administrator)

also when trying to reproduce, i'm getting this error in infolog.txt:

[f=-000001] Error: [BMP::Load] invalid bitmap "unittextures/ad0_bushes_1.tif" (loaded=0)

so, you did not check infolog.txt or ...?

next time, please just add infolog.txt, this would have answered all my questions.

~0020197

lhog (reporter)

Sorry, not sure how I missed that.

~0020200

hokomoko (developer)

I didn't compile tiff because I never thought anyone uses it.
Also: Why the hell are people using tiff????

~0020201

hokomoko (developer)

I've updated mingwlibs64, should work now, I think.

~0020205

abma (administrator)

-> https://springrts.com/phpbb/viewtopic.php?f=12&t=40285
+Notes

-Issue History
Date Modified Username Field Change
2019-10-14 01:28 lhog New Issue
2019-10-14 01:28 lhog File Added: win64map.jpg
2019-10-14 01:29 lhog File Added: win32map.jpg
2019-10-14 01:29 lhog Note Added: 0020182
2019-10-14 01:29 lhog File Added: win64trees.jpg
2019-10-14 01:29 lhog Note Added: 0020183
2019-10-14 01:29 lhog File Added: win32trees.jpg
2019-10-14 01:29 lhog Note Added: 0020184
2019-10-14 02:32 lhog Note Added: 0020185
2019-10-14 02:46 lhog Note Added: 0020186
2019-10-16 20:28 abma Severity minor => major
2019-10-16 20:28 abma Category General => Buildbot
2019-10-16 20:28 abma Summary Apparently some textures fail to load on Win64 builds => missing tiff support in devil with mingwlibs64
2019-10-16 20:28 abma Checked infolog.txt for lua Errors Yes => |Yes|
2019-10-16 20:29 abma Assigned To => abma
2019-10-16 20:29 abma Status new => feedback
2019-10-16 20:29 abma Note Added: 0020189
2019-10-16 20:30 abma Relationship added related to 0006299
2019-10-16 21:51 lhog Note Added: 0020190
2019-10-16 21:51 lhog Status feedback => assigned
2019-10-16 22:29 abma Note Added: 0020191
2019-10-16 22:29 abma Assigned To abma =>
2019-10-16 22:29 abma Status assigned => feedback
2019-10-16 22:33 abma Note Added: 0020192
2019-10-16 23:05 lhog Note Added: 0020194
2019-10-16 23:05 lhog Status feedback => new
2019-10-16 23:30 abma Note Added: 0020195
2019-10-16 23:30 abma Status new => feedback
2019-10-16 23:37 abma Note Added: 0020196
2019-10-17 00:03 lhog Note Added: 0020197
2019-10-17 00:03 lhog Status feedback => new
2019-10-19 14:18 hokomoko Note Added: 0020200
2019-10-19 14:53 hokomoko Assigned To => hokomoko
2019-10-19 14:53 hokomoko Status new => feedback
2019-10-19 14:53 hokomoko Note Added: 0020201
2019-10-20 16:36 hokomoko Status feedback => resolved
2019-10-20 16:36 hokomoko Resolution open => fixed
2019-10-24 15:14 abma Note Added: 0020205
+Issue History