protonscr

Stutters in Black Desert Online

dxvkclosed d3d11can't reproduceprobably not our bug
doitsujin/dxvk#5151 · opened 2025-08-16 by WhitePeace36 · updated 2025-10-04 · 13 comments · github
1 matching comments, n / p to jump
WWhitePeace36 2025-08-16 github

When playing the game the it repeatedly stutters or laggs.

It seem to be some issue with "unknown module" like you see in the logs and furthermore also exceptions at the time.
And they happen repeatedly all the time.

The exceptions are EXCEPTION_ACCESS_VIOLATION

The relevant part of the log file is in the lower half. In the top half it says stuff like that the dynamic linking is not supported and so on.

Api tracing does not work. Game instantly crashing when trying todo so.

Software information

Black Desert Online

System information

Operating System: CachyOS Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.0-273-tkg-eevdf-llvm (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 32 GiB of RAM (31,3 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
System Version: -CF

Apitrace file(s)

does not work

###Log File: (is too big)
https://drive.google.com/file/d/1Uv6peH-WY4axGTSoLUrF6LQqcH7gGyHT/view?usp=drive_link

Ddoitsujin maintainer 2025-08-16 github

Doesn't BDO stutter literally everywhere?

Either way, exceptions come from the game and missing DLLs aren't really a dxvk problem (mscoree is some .NET nonsense), I don't really see anything actionable here.

WWhitePeace36 2025-08-16 github

it stutters regulary.
But about 0300:warn:seh:virtual_unwind backtrace: 000000005C54003D: unknown module.
and 0300:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.

which happen repeatedly ?

I think this might have something todo with the stuttering. But can it also have something todo with the unsupported dynamic linking because it fails at the beginning quite often.

Ddoitsujin maintainer 2025-08-16 github

which happen repeatedly ?

Yes, and? What does DXVK have to do with any of these errors?

Exceptions exist in programming languages and in windows APIs, more news at 11.

WWhitePeace36 2025-08-16 github

idk i just thought it had something todo with it because there is also

err: D3D11: CreateGeometryShaderWithStreamOutput: Rasterized stream not supported
warn: D3D11Device::CreateShaderModule: Class linkage not supported

at the beginning and then it repeatedly says 0300:warn:seh:virtual_unwind backtrace: 000000005C54003D: unknown module.

so it thought it had something todo with it.

BBlisto91 2025-08-23 github

Can you record what you mean? I haven't been able to reproduce any significant stutter issue with Proton on Linux or dxvk on Windows.
This is with a 7900 xtx and x7950

WWhitePeace36 2025-08-23 github

https://drive.google.com/file/d/1N-fTFUXPioWlb2oTI5PUbKune7Unfz5F/view?usp=sharing

here you can see a big lag at 0:49.

another one at 0:14 but this one didn't get captured good. It was a tad better stutter than at 0:49

sadly it didn't get captured quite that well.

here i used: 6.16.2-1-cachyos-bore-lto as the kernel

BBlisto91 2025-08-23 github

It is a bit hard to see with so much going on, but looking at the sliding text down left at the chatbox do you mean when the text movement kinda slows down shortly at around 0:49?

WWhitePeace36 2025-08-23 github

yes, that's exactly it. But now that you mention it. As far as i am aware i have the same thing in other games too. That like the text in the bottom left slows down and then speeds up again and then it is normal again.

But now that you said it, i am not sure if this is an dxvk issue or something else. I believe i had it with every kernel i tried yet.

BBlisto91 2025-08-23 github

Since i see you are using Proton GE and i noticed ntsync have quite a big performance drop versus fsync on my setup in this game. Does running with PROTON_NO_NTSYNC=1 change anything in regards to the issue?

WWhitePeace36 2025-08-23 github

i am running the game with PROTON_NO_NTSYNC=1 PROTON_ENABLE_WAYLAND=1 WINE_CPU_TOPOLOGY=7:2,4,6,8,10,12,14 %command% atm.

the game also has a strange behavior that it has a lot more fps when bound to real cpu cores and not smt threads.

BBlisto91 2025-08-31 github

It doesn't look like a regular stutter issue to me at least. Dunno if it could be something network related. Are the other games also online?

WWhitePeace36 2025-08-31 github

yes, as far as i can remember the games which have this issue are online games.

WWhitePeace36 2025-10-04 github

@Blisto91 i found the issue !

it where the transparent hugepages. I had them set to always.
After setting them to never in the kernel cmdline parameter as such: transparent_hugepage=never it no longer happend. It seems like the overall fps went down a little bit, if at all, depending on the game but it is A LOT smoother and the lag is gone.

I randomly found this on some reddit comment.

and because thp are disabled you can also set the thp defrag to never and 0. But i don't think that makes any difference because it is already disabled.