dxvk-remix icon indicating copy to clipboard operation
dxvk-remix copied to clipboard

Models not rendering during Remix runtime

Open Speedwagen opened this issue 2 years ago • 7 comments

This happens because DXVK does not know how to interperate a specific format. "warn: ConvertFormat: Unknown format encountered: D3D9Format::AL16 warn: ConvertFormat: Unknown format encountered: D3D9Format::R16" According to this change in the main DXVK Build - https://github.com/doitsujin/dxvk/commit/c13395db970d16a5631a7c0926e2c4529d2710c3 [util] Enable strict float emulation for a bunch of games https://github.com/doitsujin/dxvk/issues/2107

Changing the d3d9.floatemulation to strict will cause the grass to render.

I was experiencing this issue in Arx Fatalis. Key objects where not being rendering during the the RTX Runtime.

Speedwagen avatar May 31 '23 12:05 Speedwagen

I miss read this and the issues displayed are actually related to the D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT and not specifically the the texture formats.

Speedwagen avatar May 31 '23 22:05 Speedwagen

found a potential solution. https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormat.html https://github.com/doitsujin/dxvk/pull/1661 https://github.com/Joshua-Ashton/d9vk/pull/155#issuecomment-500135920

which involved adding the format to d3d9_format.cpp. Ran a build and now I am being presented with memory allocation failures. arx_d3d9.log

Not sure if the implementation is accuate or not. Attached the Log for now.

Speedwagen avatar May 31 '23 23:05 Speedwagen

This fix did not work. The error messages disappeared but the models were still not showing up. I found that this issue was reported back in 2005 - **(2) "all interactive objects-- NPCs, the PC, stones, inventory items, creatures, etc -- are completely invisible. This also seems to effect the game in other ways; for example I cannot select an object, such as a door, that's invisible, although I do collide with it."

This has been reported with a GeForce 5200 FX video card and DirectX 9.0c, and was fixed by using the Forceware 61.77 drivers.**

Speedwagen avatar Jun 05 '23 11:06 Speedwagen

There should be bars where the circle is. arx_rPjQBbwKSh If need be I can supply a trace file.

Speedwagen avatar Jun 19 '23 14:06 Speedwagen

I should also clarify that I am using Arx Libertatis 1.1.3 and running the 64bit executable. If the game is running in windowed then the raytracing will not work.

Speedwagen avatar Jun 29 '23 16:06 Speedwagen

after troubleshooting I have found that the objects not being rendered are due to the objects being in another render target.

info: [RTX-Compatibility-Info] Trying to raytrace but not detecting a valid camera.

The following warning is showing even though path tracing is working. arx_d3d9.log

Speedwagen avatar Oct 31 '23 17:10 Speedwagen

This issue is already tracked by REMIX-1205.

NV-DM avatar Nov 01 '23 22:11 NV-DM