Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models not rendering during Remix runtime #24

Open
Speedwagen opened this issue May 31, 2023 · 7 comments
Open

Models not rendering during Remix runtime #24

Speedwagen opened this issue May 31, 2023 · 7 comments
Labels

Comments

@Speedwagen
Copy link

Speedwagen commented May 31, 2023

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 - doitsujin/dxvk@c13395d
[util] Enable strict float emulation for a bunch of games
doitsujin/dxvk#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
Copy link
Author

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
Copy link
Author

found a potential solution.
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormat.html
doitsujin/dxvk#1661
Joshua-Ashton/d9vk#155 (comment)

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
Copy link
Author

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
Copy link
Author

Speedwagen commented Jun 19, 2023

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

@Speedwagen
Copy link
Author

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
Copy link
Author

Speedwagen commented Oct 31, 2023

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

@NV-DM
Copy link
Collaborator

NV-DM commented Nov 1, 2023

This issue is already tracked by REMIX-1205.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants