-
Notifications
You must be signed in to change notification settings - Fork 855
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
[d3d11] Baldur's Gate 3 Modding Toolkit Blank Sub-Windows #4374
Comments
Does this work on current master? We implement sequential swap effects there which might be part of the problem. Could also be that the thing needs partial presentation implemented, which we do not support currently. Could also be an entirely different problem. |
For what is worth dude from BG3 tool thread said "I used the wine-tkg version that has the child window rendering fix (or whatever its called), then used winetricks and set the renderer as vulkan". I tried tkg but the app wont even launch for me. |
I had issues with getting it to work, if you get to the loading screen and it crashes after "flushing dispatcher" it's an issue related to installed fonts because of some Microsoft runtime that looks for some specific default fonts. I've found running |
Apologies for the fairly grotesque capture, but I think it illustrates my point well enough. Moving the window (seems more erratically the better) somehow manages to clear some of the screen and makes it interactable. |
|
I am not 100% certain that this is a dxvk issue, especially since it behaves the same with wined3d. An extra note about dxvk on Windows is that if you minimize and open the toolkit Window again then the game view will for some reason switch to D3D9Ex instead of D3D11 and showing black before crashing. |
Maybe this Wine MR (merged in 9.18) fixes this: https://gitlab.winehq.org/wine/wine/-/merge_requests/6467 |
Vulkan child Window rendering is already implemented in Proton so i doubt it |
Maybe the upstream implementation is more robust? |
For what it's worth, keeping hardware acceleration on (which means the UI is rendered with dxvk) does cause other issues seemingly unrelated to the game not showing. But it's still hard to confirm what exactly is causing this I have found some other weird rendering bugs related to the 3D windows, that could probably be related to the wine issue (at the end of the clip, moving the windows to the left of the screen causes them to move away). This video also better showcases the workaround. I'll see what I can do about building wine from source, though it's probably good to note that I have tried proton--tkg which does (afaik) use more up to date Wine versions. |
They merged this about a month ago: Frogging-Family/wine-tkg-git#1257 You could also try the Wayland driver, Wine 9.19 has this MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/6323 |
Tried a proton-tkg version built 2 hours ago, still has the bug. Had no luck getting the wayland driver working on it either so I'm now going to try running the toolkit through pure Wine and dxvk. |
Although 3D rendering works correctly for some sub-windows in the toolkit, the main game window remains blank, using the previous frames' buffer information to fill it in, resulting in a blank sub-window. The game also does not take mouse input when attempting to interact with it.
On my hardware, a black window appears in the top left of the screen which has the same size as the main game viewport. This box strangely seems to capture input and focus of the main game window, or be completely ignored depending on which application I place underneath it.
Software information
Baldur's Gate 3 Modding Toolkit, running by instructions found here as the program does not launch otherwise: https://discord.com/channels/98922182746329088/1282031634954326066/1282031634954326066
System information
Note: Multiple versions of Proton, including various proton-tkg and proton-GE builds, and Proton Experimental have the same issue.
Apitrace
I couldn't get an Apitrace as it entirely broke the application, not even making it to the loading screen, I can try to get them again if needed.
Log files
steam-2934770.log
Please ignore the crash at the end, it happens every time I quit the application.
Screenshots
The black box does seem to actually be there to render something, as this showed up once while I was doing some experimentation:
The text was updated successfully, but these errors were encountered: