Git Product home page Git Product logo

Comments (8)

doitsujin avatar doitsujin commented on July 21, 2024

The HUD used SRGB-formatted vertex input, which Nvidia apparently does not support. 05f0008 should fix this, please report back whether this works for you.

from dxvk.

zekesonxx avatar zekesonxx commented on July 21, 2024

Tested on 05f0008, HUD works fine now.

Fun screenshot:

Although, it's rendering very dark and with scanlines. Same map, but on Unity's OpenGL renderer (-force-glcore):

from dxvk.

doitsujin avatar doitsujin commented on July 21, 2024

Good to hear that the HUD works. Also, this looks like it is only one bug fix away from rendering correctly.

Sadly your apitrace file is broken. If it had worked correctly, it would have resulted in a file of several hundred Megabytes. When recording the trace, do not use DXVK.

from dxvk.

zekesonxx avatar zekesonxx commented on July 21, 2024

so I cannot get apitrace to give me a dxgi trace at all.

WINEDEBUG=-all,fixme-all,+debugstr wine ./apitrace-mingw/x86/bin/apitrace.exe trace --api dxgi -v Offworld.exe just outputs useless trace files.

It looks like it should be working, too:

info: did not find C:\Program Files (x86)\Steam\steamapps\common\Offworld Trading Company\apitrace-msvc\x86\bin\..\wrappers\RelWithDebInfo\dxgitrace.dll
info: found C:\Program Files (x86)\Steam\steamapps\common\Offworld Trading Company\apitrace-msvc\x86\bin\..\lib\wrappers\dxgitrace.dll
inject -D "C:\Program Files (x86)\Steam\steamapps\common\Offworld Trading Company\apitrace-msvc\x86\bin\..\lib\wrappers\dxgitrace.dll" -- Offworld.exe
warn:debugstr:OutputDebugStringA "apitrace: loaded into C:\\Program Files (x86)\\Steam\\steamapps\\common\\Offworld Trading Company\\Offworld.exe\n"
apitrace: loaded into C:\Program Files (x86)\Steam\steamapps\common\Offworld Trading Company\Offworld.exe
warn:debugstr:OutputDebugStringA "apitrace: tracing to C:\\Program Files (x86)\\Steam\\steamapps\\common\\Offworld Trading Company\\Offworld.1.trace\n"
warn:debugstr:OutputDebugStringA "[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.\n"
warn:debugstr:OutputDebugStringA "[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.\n"
warn:debugstr:OutputDebugStringA "apitrace: loaded into C:\\Program Files (x86)\\Steam\\steamapps\\common\\Offworld Trading Company\\Offworld_Data\\Plugins\\tachyon.exe\n"
warn:debugstr:OutputDebugStringA "apitrace: unloaded from C:\\Program Files (x86)\\Steam\\steamapps\\common\\Offworld Trading Company\\Offworld_Data\\Plugins\\tachyon.exe\n"
warn:debugstr:OutputDebugStringA "apitrace: unloaded from C:\\Program Files (x86)\\Steam\\steamapps\\common\\Offworld Trading Company\\Offworld.exe\n"
apitrace: unloaded from C:\Program Files (x86)\Steam\steamapps\common\Offworld Trading Company\Offworld.exe

Any thoughts?

from dxvk.

doitsujin avatar doitsujin commented on July 21, 2024

Um, that's tricky. Buf I've encountered the same problem with some of Microsoft's D3D11 samples, apparently apitrace detaches itself after the very first DXGIFactory gets destroyed. Not sure what to do about that.

In any case I did fix a rather severe bug in DXVK today which might have been the reason why it doesn't render correctly - although to be honest, it doesn't look like the same issue.

from dxvk.

zekesonxx avatar zekesonxx commented on July 21, 2024

Retested on e4d49ae, rendering issue remains.

from dxvk.

zekesonxx avatar zekesonxx commented on July 21, 2024

Rendering issue gone, appears to renders correctly as of 8f134ba.

ss-11-02-2018-153642

from dxvk.

doitsujin avatar doitsujin commented on July 21, 2024

Good to hear.

Could you bisect the exact commit that fixed it? Knowing what exactly fixed the issue might help fixing similar issues in the future.

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.