CyberEngineTweaks: Cyber engine tweaks fails to load on Linux when calling ImGui_ImplDX12_CreateDeviceObjects

With latest update to patch 1.5 and CET for 1.5 (v2), it stopped working for me on Linux (wine-staging, vkd3d-proton).

version.dll override exists as before (native, builtin) and it all worked fine with 1.31.

I see this in cyber_engine_tweaks.log:

[error] [Initialize] D3D12::Initialize() - failed to initialize ImGui!
[error] [InitializeImGui] D3D12::InitializeImGui() - ImGui_ImplDX12_CreateDeviceObjects call failed!

Where is this function ImGui_ImplDX12_CreateDeviceObjects from? It doesn’t seem to be a standard Windows one.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 37 (3 by maintainers)

Most upvoted comments

If you want to add something to the wiki, feel free 😃 We are not locking people from edits, invite is pinned in publically accessible relevant Discord channel.

Here is a copy: https://app.gitbook.com/invite/-MP5ijqI11FeeX7c8-N8/H70HZBOeUulIpkQnBLK7

Just dont merge changes ideally without someone looking at it first. Would be good if you went to our Discord and pinged someone when you do changes in #wiki channel (direct invite to the channel: https://discord.gg/DHGB4PgY )

@shmerl @SebiTimeWaster

Turns out I had gamemoderun in the Steam launch options, this apparently caused the library to not load properly for some reason. Removing it did the trick! Thanks @shmerl for the help and @yamashi & co for this wonderful mod!

I just tested Cyberpunk 2077 with CyberEngine Tweaks using built in d3dcompiler_47.dll (Wine 8.19) and it works fine! So there is clearly some progress to it and it doesn’t need the native override anymore.

Not everyone is using Steam setup either btw, for example with GOG version of the game.

there is an extra section for the GoG version…

I installed it with winetricks.

Assuming your wine binary is located in $PATH1, and your Wine prefix is $PATH2

WINEPREFIX="$PATH2" WINE="$PATH1/wine" winetricks d3dcompiler_47

Proton users would need to adjust it to use protontricks.

Most Wine / Proton users know how to install native library overrides, or at least can figure it out relatively easily.