Bug 88781 - Unity3D based games exhibit problems with texture scaling in menus on high resolutions
Summary: Unity3D based games exhibit problems with texture scaling in menus on high re...
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 77449
  Show dependency treegraph
 
Reported: 2015-01-25 09:39 UTC by Kai
Modified: 2015-03-16 15:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Various badly scaled textures in Jagged Alliance: Flashback (792.28 KB, image/jpeg)
2015-01-25 09:39 UTC, Kai
Details

Description Kai 2015-01-25 09:39:07 UTC
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)
Mesa: Git:master/d2811c29da
libdrm: Git:master/libdrm-2.4.59
LLVM: SVN:trunk/r226934 (3.7 devel)
X.Org: Git:master/6672606420
Linux: Git:<git://people.freedesktop.org/~airlied/linux>:drm-fixes/67cf2d3912
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
> 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
libclc: Git:master/d73f33b736
DDX: Git:master/c9f8f642fd
Comment 1 Kai 2015-03-16 15:39:42 UTC
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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.