Skip to content

Control (RT) Nvidia GPU utilization  #2155

@shelterx

Description

@shelterx

I thought I'd create a separate, more detalied issue about this, even tho' I mentioned it.
When ReBar is on and RT is enabled in Control, the game doesn't utilize the full GPU.
Disabling ReBar in vkd3d-proton does not fix it, see below.

This is with vkd3d-proton defaults:

> nvidia-smi dmon -s m
# gpu     fb   bar1   ccpm 
# Idx     MB     MB     MB 
    0   7475   1907      0 
    0   7473   1907      0 
    0   7472   1907      0 
    0   7472   1907      0 
    0   7472   1907      0 

Enabling no_upload_hvv does not fix it, seems like it still using BAR memory anyway?

> nvidia-smi dmon -s m
# gpu     fb   bar1   ccpm 
# Idx     MB     MB     MB 
    0   7708   1908      0 
    0   7693   1908      0 
    0   7689   1908      0 
    0   7689   1908      0 

What does fix it is VKD3D_CONFIG=force_host_cached.

> nvidia-smi dmon -s m
# gpu     fb   bar1   ccpm 
# Idx     MB     MB     MB 
    0   5900     37      0 
    0   5903     37      0 
    0   5901     37      0 
    0   5899     37      0 
    0   5930     37      0 

With force_host_cached GPU usage is 100% and FPS increases in some areas of the game where it was low before but that seems like an odd workaround. What also serves as a workaround is to disable ReBar in BIOS but that's a bit of a hassle.

I know ReBar can cause issues sometimes but why does the game totally ignore no_upload_hvv? Isn't that a hard vkd3d-proton setting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions