Git Product home page Git Product logo

Comments (6)

koplo199 avatar koplo199 commented on August 16, 2024 1

Unfortunately it seems so, I'm closing the issue then: thanks a lot for your guidance @Saancreed!

from dxvk-nvapi.

Saancreed avatar Saancreed commented on August 16, 2024

Can you get us the list of NvAPI functions it calls? Run the game with DXVK_NVAPI_LOG_LEVEL=info and DXVK_NVAPI_LOG_PATH=Z:/tmp environment variables then upload /tmp/dxvk-nvapi.log file, that should give us an idea about the data it accesses to decide if it's low power or not.

(That's assuming your Wine prefix has root filesystem visible as Z: drive.)

from dxvk-nvapi.

koplo199 avatar koplo199 commented on August 16, 2024

@Saancreed I wish but it seems there is absolutely no logs created, I tried using Steam at first, then Bottles, no luck. Even omitting DXVK_NVAPI_LOG_PATH and monitoring the command line does not output anything related to DXVK_NVAPI. When using Bottles, I tried various DXVK_NVAPI versions with the same result.

Could it be because there is absolutely no calls to the nvapi libraries? Using Bottles instead of Steam I tried setting DXVK_ENABLE_NVAPI but without installing the dll's and surprisingly I observe the same behavior. Considering that, should this be considered a DKVK bug instead? Or considering that DXVK_ENABLE_NVAPI doesn't do anything fancy except not hiding that an NVIDIA GPU is used, would it be just a WoW bug that cannot be fixed from this side? If this is the case, then I'm sorry for the false report.

from dxvk-nvapi.

Saancreed avatar Saancreed commented on August 16, 2024

I'm not sure about Bottles because I don't how does this thing work but you could start by making sure you are using dxvk-nvapi that has b0ff960 commit, without it some logs might be missing from Wine's stderr if you have access to that. It also might be that Bottles is suppressing logs from Wine's stderr, in which case try to find your Wineprefix, set DXVK_NVAPI_LOG_LEVEL=info and DXVK_NVAPI_LOG_PATH=C:/ and hopefully you will find a log file in ${WINEPREFIX}/drive_c.

If you're using Proton Experimental, with PROTON_LOG=1, PROTON_ENABLE_NVAPI=1 and DXVK_NVAPI_LOG_LEVEL=info all the interesting stuff will be in ~/steam-${appid}.log, where ${appid} will be a large random number for non-Steam games.

Could it be because there is absolutely no calls to the nvapi libraries? Using Bottles instead of Steam I tried setting DXVK_ENABLE_NVAPI but without installing the dll's and surprisingly I observe the same behavior. Considering that, should this be considered a DKVK bug instead? Or considering that DXVK_ENABLE_NVAPI doesn't do anything fancy except not hiding that an NVIDIA GPU is used, would it be just a WoW bug that cannot be fixed from this side? If this is the case, then I'm sorry for the false report.

Not necessarily. You could try WINEDEBUG=+loaddll (this is included in Proton's PROTON_LOG=1) which would make Wine print the libraries it loads but with Bottles it again relies on being able to find where Wine's stderr is redirected.

Of course it's possible that the game is doing something weird, other than calling NvAPI when it detects Nvidia GPU but let's try to get log files first.

from dxvk-nvapi.

koplo199 avatar koplo199 commented on August 16, 2024

I apologize for the delay, here are the logs using Proton Experimental with PROTON_ENABLE_NVAPI=1 PROTON_LOG=1 DXVK_NVAPI_LOG_LEVEL=info %command% set in the launch options:
steam-logs.tar.gz

from dxvk-nvapi.

Saancreed avatar Saancreed commented on August 16, 2024

No worries, and thanks for the log file. It confirms your theory that the application doesn't attempt to load and use NVAPI even if present, it just adds a Low Power label to Nvidia GPU when DXVK actually reports adapter's vendor to be Nvidia. I cannot say what exactly causes it (might be some other Nvidia-specific library missing?) but it seems unrelated to NVAPI and therefore outside of our control.

from dxvk-nvapi.

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.