dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Just a question: how to deal with class linkage

Open salacryl opened this issue 1 year ago • 8 comments

Hi guys,

I noticed huge FPS drops on DCS with DXVK. The same map on windows gives me 60 FPS, whereas under Linux / dxvk 9 FPS. With 100% GPU usage. The log is flooded with class linkage isn't supported, so my guess is that those shaders cause the FPS. Is there any way to get around that? Since dxvk doesn't support class linkage?

Software information

DCS World (latest release)

System information

  • GPU: NVIDIA AD104 [GeForce RTX 4070 SUPER]
  • Driver: nvidia v: 565.57.01
  • Wine version: Proton-Experimental
  • DXVK version: 2.4.1

Apitrace file(s)

Apitrace didn'work. No trace file was produced

Log files

DCS_dxgi.log DCS_d3d11.log steam-14891446377488842752.log

salacryl avatar Nov 07 '24 10:11 salacryl

What is DCS?

I'm not aware of any game requiring this feature, and if this one did then it would most likely not work at all. Some games pass an empty class linkage thing around which explains the error messages, but probably unrelated to your issue.

doitsujin avatar Nov 07 '24 11:11 doitsujin

Digital Combat Simulator.

salacryl avatar Nov 07 '24 11:11 salacryl

Which map do you have issues with

Edit: also share the settings you use

Blisto91 avatar Nov 08 '24 11:11 Blisto91

Though the inferno (Caucasus , Marianas, Sinai to be specific). Settings: ["graphics"] = { ["AA"] = "OFF", ["BlurFlatShadows"] = 0, ["ColorGradingLUT"] = 0, ["DLSS_PerfQuality"] = 3, ["DOF"] = 0, ["LODmult"] = 1, ["LensEffects"] = 0, ["MSAA"] = 1, ["SSAO"] = 0, ["SSLR"] = 0, ["SSS"] = 0, ["Scaling"] = 0.66, ["ScreenshotExt"] = "jpg", ["Sharpening"] = 0.6, ["Upscaling"] = "OFF", ["anisotropy"] = 1, ["aspect"] = 2.3888888888889, ["box_mouse_cursor"] = false, ["canopyReflections"] = 1, ["chimneySmokeDensity"] = 0, ["civTraffic"] = "low", ["clouds"] = 0, ["clutterMaxDistance"] = 750, ["cockpitGI"] = 0, ["defaultFOV"] = 78, ["effects"] = 3, ["flatTerrainShadows"] = 1, ["forestDetailsFactor"] = 1, ["forestDistanceFactor"] = 0.5, ["fullScreen"] = false, ["heatBlr"] = 0, ["height"] = 1440, ["lights"] = 2, ["maxFPS"] = 180, ["messagesFontScale"] = 1, ["motionBlur"] = 0, ["motionBlurAmount"] = 1, ["multiMonitorSetup"] = "1camera", ["outputGamma"] = 2.2, ["preloadRadius"] = 100000, ["rainDroplets"] = 0, ["scaleGui"] = 1, ["sceneryDetailsFactor"] = 1, ["secondaryShadows"] = 0, ["shadowTree"] = false, ["shadows"] = 3, ["sync"] = false, ["terrainTextures"] = "min", ["textures"] = 1, ["useDeferredShading"] = 1, ["visibRange"] = "Medium", ["water"] = 1, ["width"] = 3440,

salacryl avatar Nov 08 '24 11:11 salacryl

Is there a way to get data to see why it takes so much GPU (100% on linux and 66% on windows)? Can I somehow debug things?

salacryl avatar Nov 18 '24 09:11 salacryl

Unless you're using an FPS limiter or VSync, 100% GPU - utilization is the best case scenario.

K0bin avatar Nov 18 '24 10:11 K0bin

Unless your frame generation takes up to 170ms

salacryl avatar Nov 18 '24 10:11 salacryl

@salacryl Are you still having this issue with latest proton and driver?

Blisto91 avatar Jun 01 '25 10:06 Blisto91

@salacryl Friendly ping

Blisto91 avatar Jun 24 '25 09:06 Blisto91

I don't know. I gave up on that game under Linux. It's just pain

salacryl avatar Jun 24 '25 09:06 salacryl