GithubHelp home page GithubHelp logo

Comments (11)

mbriar avatar mbriar commented on July 3, 2024

Maybe post a screenshot with DXVK_HUD=full when a game is running slow.

Unigine Superposition Benchmark, Fallout 4, Borderlands 1 and 3, Elden Ring

Elden Ring is d3d12 and doesn't use DXVK, this issue sounds not something DXVK has any control over anyways.

from dxvk.

definitelyuncertain avatar definitelyuncertain commented on July 3, 2024

This is what the HUD shows when Fallout 4 is running slow:

Screenshot_20240513_001356

This is full speed:

Screenshot_20240513_001126

Apparently Elden Ring does have a DX11 launcher which runs DXVK, but you're right that the main game is DX12 which shouldn't be affected. And I think I misremember for Borderlands 3 as well which is DX12.

Not sure what's going on here, but DXVK seems to be the only affected library. I'll try out some more apps and check back.

from dxvk.

mbriar avatar mbriar commented on July 3, 2024

Do you see any difference in GPU and VRAM clocks between slow and fast? Some strange amdgpu power management issue would be the best guess i have.

from dxvk.

definitelyuncertain avatar definitelyuncertain commented on July 3, 2024

I ran it with MangoHud to get the clock info:

Fast:
Screenshot_20240513_114042

Slow:
Screenshot_20240513_114318

It does look like the GPU clock is running slower, and the power consumption is also lower. However, changing the power settings using CoreCtrl has no effect (I didn't run CoreCtrl for the previous tests).

I ran GravityMark and Doom (2016) demo (OpenGL) on Proton, and both are unaffected. Also did a full system upgrade with similar results.

PS: Disabling FreeSync altogether in Xorg config doesn't help either.

from dxvk.

mbriar avatar mbriar commented on July 3, 2024

However, changing the power settings using CoreCtrl has no effect

Even if you do something like echo profile_peak > /sys/class/drm/card0/device/power_dpm_force_performance_level?

from dxvk.

ranplayer avatar ranplayer commented on July 3, 2024

@definitelyuncertain what's your kernel version ? I'm not sure that is your case, but I've seen performance and freesync issues with kernels higher than 6.1. There is an open issue on the amdgpu gitlab -> https://gitlab.freedesktop.org/drm/amd/-/issues/2966

from dxvk.

definitelyuncertain avatar definitelyuncertain commented on July 3, 2024

@mbriar That doesn't help (both with and without CoreCtrl), though it does add a few Hz, so thanks for the tip! :-)

@ranplayer it's 6.8.9-arch1-2.1 (the latest Arch update). I'll try booting Ubuntu 22.04 with an older kernel to see if that helps.

from dxvk.

doitsujin avatar doitsujin commented on July 3, 2024

FWIW I'm on a similar setup (on paper anyway, Plasma 6 Wayland, arch, same mesa, 144hz display with VRR enabled, 6.8 kernel) and haven't had any issues with this ever. Not sure what could be going wrong at this point but nothing here is weird or expected to be broken.

Maybe try this branch, it just disables synchronizing with presentation to meet the frame latency goals provided by the app and is like the only thing that may be a bit janky in some environments, if it's not that then I'm out of ideas.

from dxvk.

definitelyuncertain avatar definitelyuncertain commented on July 3, 2024

I booted Ubuntu 22.04 with an older kernel (5.19.something), and while it didn't fix this issue, it fixed the DX12 issues with Elden Ring which is now running quite well with no other changes. Thanks @ranplayer for the suggestion!

Given all this, it seems like there is a regression in the Kernel, Mesa, and/or Wine affecting DX12, but there's also a separate DXVK issue.

@doitsujin I'm setting up the build for your branch. Will check back once I've tried it.

from dxvk.

definitelyuncertain avatar definitelyuncertain commented on July 3, 2024

@doitsujin FYI I'm getting a page fault with that branch (it works as expected when I build the master)

from dxvk.

doitsujin avatar doitsujin commented on July 3, 2024

yeah i didn't test that build at all, but normally disabling extensions should really just work so not sure what's going on.

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.