https://bugs.winehq.org/show_bug.cgi?id=42364
Bug ID: 42364 Summary: Very low texture resolution in Trackmania Nations Forever / United (Regression) Product: Wine Version: 2.0 Hardware: x86 URL: http://files.trackmaniaforever.com/tmnationsforever_se tup.exe OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: michael@fds-team.de CC: joseph.kucia@gmail.com Regression SHA1: 90909951154e1d663bebc134263b4025eacbdabd Distribution: Debian
Created attachment 57141 --> https://bugs.winehq.org/attachment.cgi?id=57141 ddraw log
I tested Trackmania Nations Forever and noticed that many of the textures have a very low resolution. Even the small time display (top bar in main menu / in-game) seems blurred. Since I could not remember having such problems the last time I tested the application, I did a bisect and found the guilty commit:
commit 90909951154e1d663bebc134263b4025eacbdabd Author: Józef Kucia jkucia@codeweavers.com Date: Mon Jan 2 10:44:38 2017 +0100
ddraw: Subtract framebuffer size from reported available video memory.
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
The game uses ddraw only to detect the available memory while the actual drawing is done using d3d9. See attachment for a +ddraw log. The test was done on a Geforce GTX 660 with 2GB VRAM and 1280x1024 as desktop resolution.
https://bugs.winehq.org/show_bug.cgi?id=42364
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=42364
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=42364
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- This seems to be caused by broken logic in the app. FWIW, this problem seems to occur on Windows on some configurations as well, see e.g. http://gaming.stackexchange.com/questions/188287/low-resolution-textures#189... or http://www.tm-forum.com/viewtopic.php?f=10&t=6794. There is a simple workaround: go to configuration -> advanced > compatibility and set AGP usage to 100%.
That said, there is still a room for improvement in our implementation of GetAvailableVidMem() in order to match the Windows behavior more closely (e.g. the current implementation completely ignores memory types). However, even improved implementation of GetAvailableVidMem() won't guarantee that all broken apps will work correctly across all video memory configurations.
https://bugs.winehq.org/show_bug.cgi?id=42364
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=32710
https://bugs.winehq.org/show_bug.cgi?id=42364
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Henri Verbeet hverbeet@gmail.com --- Resolving INVALID, occurs on Windows as well.
https://bugs.winehq.org/show_bug.cgi?id=42364
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #3 from André H. nerv@dawncrow.de --- closing invalid