[Bug 45373] New: map does not display in Battle Realms
https://bugs.winehq.org/show_bug.cgi?id=45373 Bug ID: 45373 Summary: map does not display in Battle Realms Product: Wine Version: 3.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: fernando(a)cmartins.nl Distribution: --- The game map, at the bottom-right corner of the screen, does not display in the game Battle Realms. I see some messages in the terminal, not sure if related: 0009:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f294,0x00000000), stub! 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32bad4,0x00000000), stub! 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32bad4,0x00000000), stub! 0009:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f5e4,0x00000000), stub! 0009:fixme:ddraw:ddraw7_FlipToGDISurface iface 0x15ce80 stub! 0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |592a03afe791c604b1416ef96cf | |ca1c43f96334e Keywords| |download, regression CC| |gyebro69(a)gmail.com, | |matteo.mystral(a)gmail.com Component|-unknown |directx-d3d URL| |https://www.fileplanet.com/ | |82509/80000/fileinfo/Battle | |-Realms-Demo --- Comment #1 from Béla Gyebrószki <gyebro69(a)gmail.com> --- This can be reproduced in the demo version (choose any of the available skirmish maps after clicking <New game>). https://www.fileplanet.com/82509/80000/fileinfo/Battle-Realms-Demo Reverting commit 592a03afe791c604b1416ef96cfca1c43f96334e on top of Wine 3.11 fixes the problem for me. wine-3.11-74-g86864486be OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 396.24 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #2 from joaopa <jeremielapuree(a)yahoo.fr> --- You can check by yourself with the demo that the bug is fixed in current wine (wine-3.19) Can an administrator close this bug as FIXED? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #3 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to joaopa from comment #2)
You can check by yourself with the demo that the bug is fixed in current wine (wine-3.19)
Can an administrator close this bug as FIXED?
The problem is still present for me in Wine 3.19. OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 396.54.09 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #4 from joaopa <jeremielapuree(a)yahoo.fr> --- Can you test with the nouveau driver? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #5 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to joaopa from comment #4)
Can you test with the nouveau driver?
It's the same with nouveau. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #6 from joaopa <jeremielapuree(a)yahoo.fr> --- Can you attach a screenshot showing the problem? I would like to compare to what I obtain. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #7 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 62661 --> https://bugs.winehq.org/attachment.cgi?id=62661 screenshot (comparison) (In reply to joaopa from comment #6)
Can you attach a screenshot showing the problem? I would like to compare to what I obtain.
The image on the left shows what the minimap looks like in Wine 3.19 (it is blank/empty). The image on the right shows the minimap with commit 592a03afe reverted. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #8 from Aexander <kq3thih(a)mailnesia.com> --- Minimap works correctly for me in Wine 3.19. OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 8800 GTX/PCIe/SSE2 OpenGL core profile version string: 3.3.0 NVIDIA 340.107 SHA256 (BattleRealmsDemo.zip) = c80c44718a9b173a8b1b19d3bd9be68a15c8dd64d99978bad2ec94e9d7870399 (In reply to Béla Gyebrószki from comment #3)
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 396.54.09
Béla does that card support 16 bit depth textures? Full glxinfo might be useful. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #9 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 62668 --> https://bugs.winehq.org/attachment.cgi?id=62668 glxinfo (In reply to Aexander from comment #8)
Béla does that card support 16 bit depth textures? Full glxinfo might be useful.
What should I look for in the output? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|map does not display in |Minimap does not display in |Battle Realms |Battle Realms Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #10 from Matteo Bruni <matteo.mystral(a)gmail.com> --- Thanks for the bug report. I think I see what's going on. The game draws the minimap with z == 0.00009 and then draws the interface with z == 0.0001. On (only some, apparently) Nvidia GPUs / drivers, both get mapped to the value 0x6 in the GL_DEPTH_COMPONENT16 (16-bit fixed point) format thus the minimap is overdrawn. For comparison, on AMD I get the latter mapped to 0x7, which means the interface isn't drawn over the minimap. The GL spec says that [the conversion must pick] "one of the two unsigned binary integer values with exactly b bits which are closest to the floating-point value r (where rounding to nearest is preferred)." It looks like the two representable values closest to 0.0001 are 0.0000915541 (0x6) and 0.000106813 (0x7), so Nvidia's behavior is valid, although not helpful in this case. Not sure where to go from here. We could - report the bug to Nvidia anyway: I don't think the chances of getting a "fix" are too high - revert the change: I don't think that's a good idea, there might as well be bugs fixed by the same commit for similar reasons - add some kind of registry setting to override the 16-bit depth formats back to 24-bit: needs to be manually set, I'm not sure if it's worth the pain -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #11 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-5.10 and latest nvidia drivers? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 --- Comment #12 from Fernando Martins <fernando(a)cmartins.nl> --- yes, with wine 5.10 and nvidia 384.130 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 8Kuji <azuchi98(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |azuchi98(a)gmail.com --- Comment #13 from 8Kuji <azuchi98(a)gmail.com> --- https://drive.google.com/file/d/1KAXmRKcWD2DQePx6CskJ7mFUSPZf4ayH/view?usp=s... https://drive.google.com/file/d/1PPDUPaXQbDmZ-Rqogri7N_oPEVkZZc3a/view?usp=s... https://drive.google.com/file/d/1be_mabuq_0aj8iWmAiwXx7KOAubOb2Yv/view?usp=s... Additional Detail: When you start Kenji's Journey after you chose a path and the UI shows up, the mini map would show properly but after the next levels the mini map stops showing and remains blank. I tried Alt+Tab but after doing so the screen became black but you can hear the game sounds as you left it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45373 Giacomo Orlandi <gia_(a)inwind.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gia_(a)inwind.it --- Comment #14 from Giacomo Orlandi <gia_(a)inwind.it> --- If I understand comment 10 correctly this is caused by a bug in some NVidia cards, so it should be closed as NOTOURBUG. I also wonder if the same issue happens in Windows, when using one of the affected NVidia cards. And if that doesn't happen in Windows, how does Windows deal with it? Does it apply some kind of workaround to the bug? Or maybe the bug is in the NVidia drivers for Linux, not the card itself? Sorry, I don't understand the technical details of this issue, I'm just trying to help from my understanding. IMO even though the chances of NVidia fixing the bug are slim it should be reported to them anyway. At least it would be "officially" documented. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla