protonscr

Battlefield Bad Company 2 DX11: Works now without MSAA

dxvkclosed bug
doitsujin/dxvk#16 · opened 2018-01-20 by pingubot · updated 2018-04-16 · 4 comments · github
Ppingubot 2018-01-20 github

Hi,

the game starts, but dosesn't display anything. I used wine in virtual desktop mode with 1024x768, same resolution in game. Disabling wine virtual desktop also leeds to the same issue:

System: OpenSuse Tumbleweed, i3570k, 16GB RAm, NVidia Gtx 970, 390.12 driver
d3d11.log
dxgi.log

Debug Log:

ParameterValidation(ERROR): object: 0x0 type: 0 location: 1890 msgCode: 352323990: vkCmdSetViewport 0: width (0.000000) exceeds permitted bounds (0,16384). The spec valid usage text states 'width must be greater than 0.0 and less than or equal to VkPhysicalDeviceLimits::maxViewportDimensions[0]' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkViewport-width-01227)

Cu,
Christian
d3d11.log
dxgi.log

Ppingubot 2018-03-14 github

Since DxgiOutput::FindClosestMatchingMode was implemented the game now starts but freezes/crashes during loading a savegame/map. This happens in both branches. It does not happen in wined3d.

Logs with debug layer attched:

console.log
BFBC2Game_dxgi.log
BFBC2Game_d3d11.log

Ppingubot 2018-03-16 github

@doitsujin : i tried to get an apitrace and i got one done (with wine 3.3 without dxvk). The problem is that trying to replay the trace with dxvk does not work here. I only get a grey screen and the replay crashes with a lot of vulkan errors displayed.In the real game i come to the menu and only fail when loading a level. Any hint what could causing this ? Should i upload the trace nonetheless ?

Ppingubot 2018-03-23 github

@doitsujin : Thanks to your recent work the game works now as long as msaa is set to 1x. In addition the framerate drops down a lot when new things appear on the map which leads to noticable stuttering. Usually the fps are > 100 with the gpu being loaded ~50% . When the game stutters the load can drop down <10% and fps down to 30 or lower.

Ddoitsujin maintainer 2018-04-16 github

Closing this since the MSAA issue apparently has been resolved.

Nothing extracted yet.