http://bugs.winehq.org/show_bug.cgi?id=23807
Summary: Natural Selection 2 black screen on launch: format unrecognized(909198916) Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d AssignedTo: [email protected] ReportedBy: [email protected]
The game is currently alpha software, however this part breaks specifically on Wine and not Windows. On launching the game I hear sound but get a black screen. These two messages repeat a lot,
fixme:d3d:debug_d3dformat Unrecognized 909198916 (as fourcc: DF16) WINED3DFORMAT! fixme:d3d:getFormatDescEntry Can't find format unrecognized(909198916) in the format lookup table
afterwards, this repeats a lot:
err:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCompressedTexSubImage2DARB @ device.c / 5332
Attached is a +d3d trace of a clean wineprefix running the game
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #1 from Scott Ritchie [email protected] 2010-07-27 08:10:31 --- Created an attachment (id=29862) --> (http://bugs.winehq.org/attachment.cgi?id=29862) Trace of ns2 reaching black screen and then being force quit
http://bugs.winehq.org/show_bug.cgi?id=23807
Scott Ritchie [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #2 from Scott Ritchie [email protected] 2010-07-27 08:15:24 --- I'll note that winetricks d3d9 does not help.
http://bugs.winehq.org/show_bug.cgi?id=23807
Matt Finnicum [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #3 from Matt Finnicum [email protected] 2010-07-27 11:56:41 --- Ditto. Same errors, same black screen. Tried winetricks d3dx9.
http://bugs.winehq.org/show_bug.cgi?id=23807
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #4 from [email protected] 2010-07-27 15:35:53 --- Having the same issue. Wine 1.2 here. I can hear the sound but the window isn't refreshed once and the input isn't received. Is there a possible fix with this device.c ?
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #5 from Scott Ritchie [email protected] 2010-07-27 19:57:26 --- One possibility that I have not investigated is that this bug may be as simple as a missing entry in the format table in wined3d/utils.c
Relatedly, a google search for 909198916 wine shows that this bug probably affects multiple apps although it's previously been unreported. Among them Trackmania and Left4Dead 2.
http://bugs.winehq.org/show_bug.cgi?id=23807
Luke Benstead [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #6 from Luke Benstead [email protected] 2010-07-28 05:02:40 --- DF16 is apparently an ATI specific floating point depth format. More information can be found in this PDF: http://developer.amd.com/gpu_assets/Advanced%20DX9%20Capabilities%20for%20AT...
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #7 from Scott Ritchie [email protected] 2010-10-23 05:55:31 CDT --- I saw a similar error experimenting with Grand Theft Auto 4 today:
fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
DF24 is in the same document that Luke linked. RAWZ I'm less sure of.
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #8 from Scott Ritchie [email protected] 2010-11-16 06:49:52 CST --- Retested today with the latest NS2 update and Wine 1.3.7, and it behaves differently. Rather than blank, there is some copyright text visible on the screen at the bottom. A new trace is attached.
The game helpfully prints a "Natural Selection 2 Started" to the console so you can pass the steam parts of the trace.
In addition to the PDF above, this link gives some more detail on the DF16/DF24 formats: http://aras-p.info/texts/D3D9GPUHacks.html -- it also mentions how this might affect other cards. I'll attach another trace run as well.
http://bugs.winehq.org/show_bug.cgi?id=23807
Scott Ritchie [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29862|0 |1 is obsolete| |
--- Comment #9 from Scott Ritchie [email protected] 2010-11-16 06:56:39 CST --- Created an attachment (id=31976) --> (http://bugs.winehq.org/attachment.cgi?id=31976) +d3d trace run on Wine 1.3.7
http://bugs.winehq.org/show_bug.cgi?id=23807
Alex [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #10 from Alex [email protected] 2011-06-05 10:08:54 CDT --- The Sims 3 is also complaining about DF16 and DF24 format lack.
You should change the title of the bug into something like "Wine lacks DF16 and DF24 formats" which is more comprehensive and more attractive. Maybe it will then bring Messrs Verbeet, Dösinger or Bruni attention.
I've created a patch based on f0b0c1b1dddf606177651deb45c0afd6259076aa commit but it didn't solve the problem. Please note that the patch is a simple copy&paste : I'm not wined3d-literate so I barely understand it.
The interesting part is further (from my +d3d,+d3d_surface log) : trace:d3d_surface:surface_allocate_surface (0x3bee6e0) : Creating surface (targe t 0xde1) level 0, d3d format WINED3DFMT_DXT3, internal format 0, width 512, hei ght 512, gl format 0, gl type=0 err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ ../../../git-wine/dlls/wined3d/surface.c / 2312
DXT .. do we need libdxt to make our games working ? Is it problem with our drivers ?
So glTextImage2D failed with GL_INVALID_VALUE .. maybe because internal format = 0 ?
Henri ? Matteo ? Stefan ? Any advices ?
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #11 from Alex [email protected] 2011-06-05 10:11:35 CDT --- Created an attachment (id=35038) --> (http://bugs.winehq.org/attachment.cgi?id=35038) A very hacky patch that adds DF16 and DF24 formats to wined3d
http://bugs.winehq.org/show_bug.cgi?id=23807
Scott Ritchie [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Natural Selection 2 black |Unsupported texture |screen on launch: format |formats: DF16, DF24, RAWZ: |unrecognized(909198916) |format | |unrecognized(909198916)
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #12 from Scott Ritchie [email protected] 2011-06-05 16:00:19 CDT --- I'll note that the black screen on launch for NS2 may be unrelated to the unsupported texture format errors. But those seem to be the focus of this bug anyway, so I'll retitle.
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #13 from Henri Verbeet [email protected] 2011-06-05 16:05:40 CDT --- Unsupported formats aren't bugs on their own.
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #14 from Scott Ritchie [email protected] 2011-12-28 16:30:03 CST --- According to http://appdb.winehq.org/objectManager.php?sClass=version&iId=22032&i... NS2 is now showing something on the screen.
http://bugs.winehq.org/show_bug.cgi?id=23807
Michal Suchanek [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #15 from Michal Suchanek [email protected] 2012-05-10 11:49:28 CDT --- The message about unrecognized format is possibly unrelated to the later errors.
Wine silently replaces application d3d requests with invalid requests when the requested texture format is not supported by your card/driver and then complains that it gets back an invalid value.
On the other hand, the DF24/DF16/RAWZ are possibly formats that your card does support but wine does not know how to use.
http://bugs.winehq.org/show_bug.cgi?id=23807
sacrediou [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
http://bugs.winehq.org/show_bug.cgi?id=23807
Jerome Leclanche [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
http://bugs.winehq.org/show_bug.cgi?id=23807
Roland Haeder [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #16 from Roland Haeder [email protected] 2013-06-02 11:45:18 CDT --- Duke Nukem Forever is also complaining about missing DF24. However, I have rewritten the patch to fit with latest GIT changes.
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #17 from Roland Haeder [email protected] 2013-06-02 11:46:55 CDT --- Created attachment 44626 --> http://bugs.winehq.org/attachment.cgi?id=44626 updated patch to fit latest GIT changes
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #18 from Roland Haeder [email protected] 2013-06-02 11:48:46 CDT --- Please ignore changes in arb_program_shader.c as it was required for DNF.
http://bugs.winehq.org/show_bug.cgi?id=23807
Roland Haeder [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44626|0 |1 is obsolete| |
--- Comment #19 from Roland Haeder [email protected] 2013-07-17 17:56:07 CDT --- Created attachment 45317 --> http://bugs.winehq.org/attachment.cgi?id=45317 updated patch to fit latest GIT changes
Re-updated again. Can this patch be included?
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #20 from Roland Haeder [email protected] 2013-07-17 18:33:35 CDT --- (In reply to comment #18)
Please ignore changes in arb_program_shader.c as it was required for DNF.
You can do this by running:
$ git checkout -- dlls/wined3d/arb_program_shader.c
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #21 from Henri Verbeet [email protected] 2013-07-18 02:41:30 CDT --- (In reply to comment #19)
Re-updated again. Can this patch be included?
Does it actually fix anything?
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #22 from Roland Haeder [email protected] 2013-07-18 04:04:18 CDT --- (In reply to comment #21)
(In reply to comment #19)
Re-updated again. Can this patch be included?
Does it actually fix anything?
Yes, it does. It adds missing pixel formats which were requested by some games (I can remember SoF:PB).
@Scott Ritchie: Here is something from your logfile: ------------------- trace:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x149a10) : simulating 256MB, returning 0MB left err:d3d:resource_init Out of adapter memory -------------------
That maybe could cause WINE to crash as it maybe detects wrongly your RAM size. You can try out to set the adapter's correct RAM size manually: http://wiki.winehq.org/UsefulRegistryKeys
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #23 from Henri Verbeet [email protected] 2013-07-18 05:19:30 CDT --- (In reply to comment #22)
(In reply to comment #21)
Does it actually fix anything?
Yes, it does. It adds missing pixel formats which were requested by some games (I can remember SoF:PB).
That doesn't really answer the question. Applications typically probe what formats and capabilities are available at startup, and then pick their preferred rendering path based on that information. I'd expect most applications to work just fine with INTZ, and at least some of them to actually prefer INTZ over DF24/DF16. I.e., the more explicit version of that question is if it fixes any rendering issues, or significantly improves performance in any applications.
http://bugs.winehq.org/show_bug.cgi?id=23807
Vijay Kamuju [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Version|1.2 |1.7.16
--- Comment #24 from Vijay Kamuju [email protected] --- This also happens when I run Hearthstone with latest wine 1.7.16 I will try to test this patch with latest wine git
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #25 from Vijay Kamuju [email protected] --- Modified patch has been sent to [email protected] http://source.winehq.org/patches/data/104029 Please help me for RAWZ format
https://bugs.winehq.org/show_bug.cgi?id=23807
Jerome Leclanche [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #26 from Jerome Leclanche [email protected] --- (In reply to Vijay Kamuju from comment #25) Patch seems to have been rejected.
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #27 from Roland Haeder [email protected] --- Thank you for resubmitting it. But I didn't made the original patch, I only "upgraded" it to the latest changes in master.
http://bugs.winehq.org/show_bug.cgi?id=23807
David Heidelberger (okias) [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #28 from David Heidelberger (okias) [email protected] --- http://bugs.winehq.org/show_bug.cgi?id=12816#c17 here you can find some note on these formats.
I'd like to rather than this:
"fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table"
see something like that:
"fixme:d3d: Unimplemented format fourcc: ATOC"
I tested this patch on Unigine Sanctuary which giving these warnings, so:
Tested-by: David Heidelberger [email protected]
For Unigine Sanctuary still remains ATOC and ATI1 as "Unrecognized".
http://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #29 from David Heidelberger (okias) [email protected] --- also here is more informations: http://aras-p.info/texts/D3D9GPUHacks.html
https://bugs.winehq.org/show_bug.cgi?id=23807
Michael Bond [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #30 from Michael Bond [email protected] --- The Secret World also has texture issues due to missing DF16, DF24, RAWZ support. It also appears to have an additional texture format, ATI1, the error is:
fixme:d3d:debug_d3dformat Unrecognized 0x31495441 (as fourcc: ATI1) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x31495441) in the format lookup table
https://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #31 from David Heidelberg (okias) [email protected] --- (In reply to Michael Bond from comment #30)
The Secret World also has texture issues due to missing DF16, DF24, RAWZ support. It also appears to have an additional texture format, ATI1, the error is:
ATI1 support is already in git and will be probably available in 1.7.31.
https://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #32 from Michael Bond [email protected] --- Created attachment 49933 --> https://bugs.winehq.org/attachment.cgi?id=49933 Patch updated to latest git
I did change the wined3d_format_channels values to use bpp/depth instead of rgb which seems more correct and removes the need for the hack. I won't swear that the format flags are correct in format_texture_info, someone with a better understanding of the wined3d texture flags should take a look at this.
https://bugs.winehq.org/show_bug.cgi?id=23807
Sebastian Lackner [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #33 from [email protected] --- I just checked another bug report
https://bugs.winehq.org/show_bug.cgi?id=35706
The debug log contains
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
https://bugs.winehq.org/show_bug.cgi?id=23807
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
Emanuel Machado da Silva [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
Sergey Isakov [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #34 from Sergey Isakov [email protected] --- Wine-1.7.41 Still not corrected.
https://bugs.winehq.org/show_bug.cgi?id=23807
Vlad Blanton [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #35 from Vlad Blanton [email protected] --- Wine 1.9.5
Borderlands shows similar message:
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the
Whether or not this causes problems or slowdowns is unknown. game seems to run o.k. ( related bug: https://bugs.winehq.org/show_bug.cgi?id=34896 )
https://bugs.winehq.org/show_bug.cgi?id=23807
tokktokk [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
--- Comment #36 from Andrey Gusev [email protected] --- While launching Yesterday Origins
0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT! 0480:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table.
wine-5.12-197-gfdb3d9ae32
https://bugs.winehq.org/show_bug.cgi?id=23807
Andrew Udvare [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #37 from Andrew Udvare [email protected] --- (In reply to Andrey Gusev from comment #36)
While launching Yesterday Origins
0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff. 0480:fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT! 0480:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table.
wine-5.12-197-gfdb3d9ae32
Also getting this problem in the newest patched version. The game then crashes:
00b8:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT! 00b8:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table. ... wine: Unhandled exception 0x80000003 in thread b8 at address 00000001412F715D (thread 00b8), starting debugger...
wine-staging 5.12
https://bugs.winehq.org/show_bug.cgi?id=23807
Anya [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=23807
soredake [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |