Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor performance with AMD GPU/Driver on Linux #21

Open
GotGuffz opened this issue Aug 5, 2022 · 10 comments
Open

Poor performance with AMD GPU/Driver on Linux #21

GotGuffz opened this issue Aug 5, 2022 · 10 comments

Comments

@GotGuffz
Copy link

GotGuffz commented Aug 5, 2022

Describe the bug
Using the 117HD plugin with an AMD RX6800, I'm only able to max out FPS around 60 on low settings with big dips into the 20's in areas like fossil island during birdhouse runs. I recently upgraded from a GTX2060 which had no issues hitting 144 FPS stable on higher settings with occasional dips into the 110-120 fps range doing the same activities. My best guess is that there is a driver issue causing this drop in performance.

Expected behavior
With a big gpu upgrade, i should be able to easily meet or exceed the stable 144fps mark that my old graphics card was able to handle with equivalent or better settings.

Environment (please complete the following information):

  • OS: Nobara Linux 36 (Fedora) KDE Plasma
  • Kernel 5.18.13-201.fsync.fc36.x86_64
  • DE: Plasma 5.25.3
  • CPU: Intel i7-9700k @ 4.900GHz
  • GPU: AMD ATI Radeon RX 6800
  • Driver: Mesa 22.2.0-devel
  • Memory: 32GB DDR4 @ 3200
  • RuneLite version: x64 AppImage downloaded from runelite.net

Additional context
When moving from the nvidia gpu to the amd gpu, I did a fresh install of my distro. No other hardware changes have been made.
When using the gpu plugin on runelite, my fps is stable at 144fps using the AMD gpu.

@ipkpjersi
Copy link
Contributor

ipkpjersi commented Aug 7, 2022

What resolution is this at, 1080p? You seem to be getting much worse performance than I got on my old PC with a GTX 1070 and i7 5960x (I got like, 70 FPS max on highest settings). My current PC has a RTX 3070 Ti with a R9 5900X and I'm only getting about 90-110 FPS at 1080p highest settings in high population world GE. All of this on Ubuntu 22.04, of course.

Even more interestingly, my FPS is not stable at 144 FPS using the GPU plugin, it's all over the place from 130 to 156 lol - at least with VSync off, with it on, it's all over the place from 130 to 144.

@aHooder
Copy link
Member

aHooder commented Aug 7, 2022

Supposedly everything was the same, except for the GPU upgrade, which is really weird.

@xxEzri
Copy link
Contributor

xxEzri commented Aug 7, 2022

Supposedly everything was the same, except for the GPU upgrade, which is really weird.

Different driver, that's one of the most important factors in performance. Some of them give severalfold better or worse performance either on the CPU or (rarely, but seems to be the case with linux) the GPU.

@SirFancyBacon
Copy link
Contributor

@GotGuffz
Are you still having issues with the latest release?

@aHooder
Copy link
Member

aHooder commented Oct 12, 2022

@GotGuffz one guy in RuneLite's Discord supposedly found that AMD proprietary drivers performed a lot better with RuneLite's GPU plugin. Could you check if it helps for you as well? All he supposedly did was install those drivers and launch RuneLite with progl.

@SirFancyBacon
Copy link
Contributor

SirFancyBacon commented Oct 25, 2022

OpenAMD drivers with a Vega 56 on Ubuntu 22.04 gave me 60fps with everything maxed except draw distance (42), Shadows (4096) and MSAA (4x)

Will do a full comparison later and include mesa driver version

@SirFancyBacon
Copy link
Contributor

SirFancyBacon commented Oct 25, 2022

OS: Ubuntu 22.04
Driver: Mesa-22.0.5
GPU: AMD Vega 56
Running with settings:

Setting     High
Draw Distance     60
AA     4x
UI Scaling     TRUE
AF     16
Dynamic Lights     50
Projectile Lights     TRUE
NPC Lights     TRUE
Atmos Lights     TRUE
Shadows     TRUE
Shadow Quality     4096
Shadow Distance     70
Expand Shadow Draw     TRUE
Texture Resolution     256

Unfortunately i cannot test the AMD Pro drivers as they appear to be broken
https://community.amd.com/t5/drivers-software/ubuntu-22-04-amp-driver-amdgpu-install-22-10-2-50102-1-all-deb/m-p/534262

@SirFancyBacon
Copy link
Contributor

SirFancyBacon commented Nov 2, 2022

I did end up testing the broken AMD drivers; currently unstable on Ubuntu 22.04 until AMD fixes their script (or i fix it i guess..)
In my testing there was nearly a 30% - 50% performance jump depending on the area. (Some areas are even a straight double)

Can confirm we perform poorly only open Mesa and better on AMD proprietary drivers; How much of that is us versus driver optimization is beyond my knowledge. But i'd consider this issue closed.

@aHooder
Copy link
Member

aHooder commented Apr 17, 2023

Can you check whether this is still an issue with Mesa 23? It reportedly may have fixed the issue: runelite/runelite#16354 (comment)

@deadmeu
Copy link

deadmeu commented Nov 16, 2023

I've had ongoing issues with the GPU plugin so I suspect this is more of an issue with RuneLite rather than this HD plugin.
I've just posted an update to that issue runelite/runelite#16354 (comment) noting that it is still an issue on Mesa 23.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants