Created attachment 112788 [details]
Various badly scaled textures in Jagged Alliance: Flashback
I've noticed, that several Unity3D based games seem to have issues with scaling textures for high resolutions in menus. Dreamfall Chapters exhibits this in the load savegame menu, where the preview images of the scene are just a few large blurry pixels. Jagged Alliance: Flashback has this in the inventory, the command overlay (see the mini map or the merc data in the attached screenshot; ignore the blueish rendering, that's bug 88780).
As soon as I reduce the resolution to, say, 1920×1080 from my native 2560×1440, everything looks fine.
My current stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
LLVM: SVN:trunk/r226934 (3.7 devel)
> 9e05820da42549ce9c89d147cf1f8e19 hawaii_ce.bin
> c8bab593090fc54f239c8d7596c8d846 hawaii_mc.bin
> 3618dbb955d8a84970e262bb2e6d2a16 hawaii_me.bin
> c000b0fc9ff6582145f66504b0ec9597 hawaii_mec.bin
> 0643ad24b3beff2214cce533e094c1b7 hawaii_pfp.bin
> ba6054b7d78184a74602fd81607e1386 hawaii_rlc.bin
> 11288f635737331b69de9ee82fe04898 hawaii_sdma.bin
> 284429675a5560e0fad42aa982965fc2 hawaii_smc.bin
This is a Unity3D bug. Unity is not detecting the right amount of VRAM for my card and was falling back to very low default values which caused it to downsize textures.
This is fixed for Mesa-based drivers in Unity 5 and 4.5.5p5 (4981db1e7f9f), ie. all versions, that use GLX_MESA_query_renderer.
Thanks to Levi from Unity Technologies, "Hand of Fate" developers from Defiant Development and Josh who helped resolving this issue.