RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.38k stars 247 forks source link

Unreasonably low performance and high GPU utilization at any settings #789

Closed jelazual closed 7 months ago

jelazual commented 11 months ago

image

Not sure how this is happening, but GPU usage always reports 99% at any resolution, framerates remain unchanged, settings barely do anything. No antialiasing on or anything. Just runs inexplicably bad with inexplicably high GPU utilization.

Running archlinux 6.2, RADV, Mesa 23.1 GPU is 6700XT. Should not be seeing 76fps looking at this hallway with 99% utilization across all resolutions.

Also of note, the GPU power is only about 40w the whole time, meaning it's not really being taxed, but is somehow being limited by utilization. Some kind of weird nvidia jank maybe? It seems to be worse the further away the furthest surface is.

RobertBeckebans commented 11 months ago

Can you open the console and set com_showFPS 3 and take a screenshot? Do you have multiple GPUs in your system?

Am So., 18. Juni 2023 um 10:48 Uhr schrieb jelazual < @.***>:

[image: image] https://user-images.githubusercontent.com/127602282/246652603-ef9e1b4a-26d3-475d-9264-992f92c6d660.png

Not sure how this is happening, but GPU usage always reports 99% at any resolution, framerates remain unchanged, settings barely do anything. No antialiasing on or anything. Just runs inexplicably bad with inexplicably high GPU utilization.

Running archlinux 6.2, RADV, Mesa 23.1 GPU is 6700XT. Should not be seeing 76fps looking at this hallway with 99% utilization across all resolutions.

— Reply to this email directly, view it on GitHub https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/789, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJYFFXWE65M2L3F4EYYEPTXL26HBANCNFSM6AAAAAAZKYD434 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jelazual commented 11 months ago

image Looks like the majority of it is in shadowatlas and interactions.

I have a 1030 with no loaded driver that's sitting idle because I'm too lazy to remove it.

Calinou commented 11 months ago

Can you try forcing the highest power state on the GPU manually? This is often required to get the best possible performance on AMD graphics cards, especially on Linux. See https://gitlab.freedesktop.org/drm/amd/-/issues/1500.

Feral GameMode can do this for you automatically when running certain processes.

Also, what framerate do you get in 1920×1080? Are you using a X11 or Wayland session? Are you playing in windowed or fullscreen? If playing in a window, remember that window manager compositing will impact performance unless you disable it (e.g. Alt + Shift + F12 on KDE).

jelazual commented 11 months ago

X11. I have not tested wayland with this software at this time, and in general do not use wayland as vertical sync is not a viable option for my work. It happens fullscreen or windowed, at any resolution. The GPU in the screenshot is in the higher power state of 2500mhz. The compositor is disabled fully in my XFCE desktop, as it always is.

I have now tested in Wayland as well. Performance is slightly worse overall, but much the same, with the same hangups, and all the added terror of asynchronous vertical sync.

I'm also using the -git version from the aur, reported as version r1989.39ae1202-1, because the aur package for 1.4.0 doesn't compile.

RobertBeckebans commented 7 months ago

We can't really do anything about that.