GPU MHz drops to 200mhz for 3 seconds when gaming

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

Hi, I have a laptop hp e15s with Ryzen 5 5625U and 16gb ram. I have noticed that in games, once a minute, my gpu mhz drops down to 200mhz, as well as vram drops to 6mhz and my framerates drops to 2-5 fps.No matter what game I run and with which Wine prefix, I get the same results. I tried with Steam proton,Lutris and PortProton, they all give the same result.My temps are fine, around 55-60c in load. Any information you need, I will be happy to provide.

Code: Select all

System:
  Kernel: 5.19.0-28-generic x86_64 bits: 64 compiler: N/A
    Desktop: LXDE 0.10.1 info: lxpanel wm: Openbox 3.6.1 vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP product: HP Laptop 15s-eq3xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 89FC v: 12.13 serial: <superuser required> UEFI: AMI
    v: F.10 date: 07/04/2022
Battery:
  ID-1: BAT0 charge: 39.6 Wh (99.5%) condition: 39.8/39.8 Wh (100.0%)
    volts: 12.9 min: 11.3 model: HP Primary type: Li-ion serial: <filter>
    status: Not charging
CPU:
  Info: 6-core model: AMD Ryzen 5 5625U with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB
    L3: 16 MiB
  Speed (MHz): avg: 2290 high: 2301 min/max: 400/2301 boost: disabled
    cores: 1: 2301 2: 2301 3: 2301 4: 2301 5: 2301 6: 2301 7: 2270 8: 2270
    9: 2301 10: 2270 11: 2270 12: 2301 bogomips: 55094
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Barcelo vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1,eDP-1 empty: none
    bus-ID: 03:00.0 chip-ID: 1002:15e7 class-ID: 0300
  Device-2: USB C Video Adaptor type: USB driver: N/A bus-ID: 1-1.3:7
    chip-ID: 25a4:9311 class-ID: 1100 serial: <filter>
  Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB
    driver: uvcvideo bus-ID: 1-3:5 chip-ID: 30c9:0064 class-ID: fe01
    serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
    s-diag: 1055mm (41.5")
  Monitor-1: HDMI-A-0 mapped: HDMI-A-1 pos: primary,left model: Acer KA222Q
    serial: <filter> res: 1920x1080 dpi: 102 size: 476x268mm (18.7x10.6")
    diag: 546mm (21.5") modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP pos: primary,right res: 1920x1080 hz: 60 dpi: 142
    size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.47 5.19.0-28-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: C-Media TONOR TC30 Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.2.2:8
    chip-ID: 0d8c:0134 class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.19.0-28-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:c822 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
    bus-ID: 2-1.1:3 chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
  IF: enx34298f1068c2 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:9 chip-ID: 0bda:b00c class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 512.33 GiB (55.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 5B2QGXA7 temp: 24.9 C scheme: GPT
Partition:
  ID-1: / size: 640.92 GiB used: 387.44 GiB (60.4%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 49 MiB (51.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Repos:
  Packages: 3233 apt: 3187 flatpak: 37 snap: 9
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
    2: deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https://repo.radeon.com/amdgpu/5.4.1/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/damentz-liquorix-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/damentz-liquorix-jammy.gpg] https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/damentz-liquorix-jammy.gpg] https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/ernstp-mesarc-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/ernstp-mesarc-jammy.gpg] https://ppa.launchpadcontent.net/ernstp/mesarc/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/ernstp-mesarc-jammy.gpg] https://ppa.launchpadcontent.net/ernstp/mesarc/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/flatpak-stable-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/flatpak-stable-jammy.gpg] https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/flatpak-stable-jammy.gpg] https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/gerardpuig-ppa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/gerardpuig-ppa-jammy.gpg] https://ppa.launchpadcontent.net/gerardpuig/ppa/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/gerardpuig-ppa-jammy.gpg] https://ppa.launchpadcontent.net/gerardpuig/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/graphics-drivers-ppa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/graphics-drivers-ppa-jammy.gpg] https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/graphics-drivers-ppa-jammy.gpg] https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/kisak-kisak-mesa-jammy.gpg] https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/kisak-kisak-mesa-jammy.gpg] https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/linrunner-tlp-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/linrunner-tlp-jammy.gpg] https://ppa.launchpadcontent.net/linrunner/tlp/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/linrunner-tlp-jammy.gpg] https://ppa.launchpadcontent.net/linrunner/tlp/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/lutris-team-lutris-jammy.gpg] https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/lutris-team-lutris-jammy.gpg] https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/xUbuntu_22.04/ ./
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mintlinux.mirror.wearetriple.com/packages vera main upstream import backport
    2: deb http://mirror.mythic-beasts.com/ubuntu jammy main restricted universe multiverse
    3: deb http://mirror.mythic-beasts.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://mirror.mythic-beasts.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/official-source-repositories.list
    1: deb-src https://mintlinux.mirror.wearetriple.com/packages vera main upstream import backport
    2: deb-src http://mirror.mythic-beasts.com/ubuntu jammy main restricted universe multiverse
    3: deb-src http://mirror.mythic-beasts.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb-src http://mirror.mythic-beasts.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/oibaf-graphics-drivers-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/oibaf-graphics-drivers-jammy.gpg] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/oibaf-graphics-drivers-jammy.gpg] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.4.1 focal main
  Active apt repos in: /etc/apt/sources.list.d/slimbook-slimbook-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/slimbook-slimbook-jammy.gpg] https://ppa.launchpadcontent.net/slimbook/slimbook/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/slimbook-slimbook-jammy.gpg] https://ppa.launchpadcontent.net/slimbook/slimbook/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/teams.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
  Active apt repos in: /etc/apt/sources.list.d/trebelnik-stefina-grub-customizer-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/trebelnik-stefina-grub-customizer-jammy.gpg] https://ppa.launchpadcontent.net/trebelnik-stefina/grub-customizer/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/trebelnik-stefina-grub-customizer-jammy.gpg] https://ppa.launchpadcontent.net/trebelnik-stefina/grub-customizer/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/unityhub.list
    1: deb https://hub.unity3d.com/linux/repos/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/utappia-stable-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/utappia-stable-jammy.gpg] https://ppa.launchpadcontent.net/utappia/stable/ubuntu jammy main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/utappia-stable-jammy.gpg] https://ppa.launchpadcontent.net/utappia/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/whatsie.list
    1: deb http://dl.bintray.com/aluxian/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/xanmod-kernel.list
    1: deb http://deb.xanmod.org releases main
  Active apt repos in: /etc/apt/sources.list.d/winehq-bionic.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/winehq-kinetic.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu kinetic main
Info:
  Processes: 334 Uptime: 8m wakeups: 2 Memory: 14.98 GiB
  used: 2.98 GiB (19.9%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: fish v: 3.3.1 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13
Last edited by mksh21 on Fri Jan 27, 2023 4:33 am, edited 4 times in total.
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

Just taking a quick look there I see you are using what appears to be a non-standard Mint kernel (6.1.7-x64v1-xanmod1 x86_64) and a bunch of other stuff below with 'focal' and 'jammy' mixed with Wine etc. you also seem to have a boatload of repos active and I even see some 'bionic' stuff which is even older. 'jammy' is basically what Mint 21 is based on.

honestly, I would just wipe your drive and start clean just to see if that issue is still there on more standard use stuff. just stick with the standard 5.15 kernel unless you actually need to shift to something newer. even if you do need a newer kernel, Mint's 'Update Manager > View > Linux Kernels' section offers 5.19 kernel (supported until Aug 2023) which looks like it's from July/Aug 2022 (if you need something even newer you can do 'sudo apt install linux-oem-22.04c' which gives you the 6.1.0 kernel as I think this is the newest available on Mint using more official stuff). then try Lutris etc. on Mint 21 I just use https://github.com/lutris/lutris/releases to install Lutris from the .deb file as that's even what the main Lutris site suggests for Ubuntu based OS's, which Mint is based on.

the only repos I got on my system are...

Code: Select all

Repos:
  Packages: apt: 2476
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
so as you can see when it comes to Wine (on Mint 21.x series) there is only 'jammy' there.

if anyone else has any tips feel free to chime in.

p.s. all of the games I play I do so offline through Lutris and GloriousEggroll runner for Lutris ( https://github.com/GloriousEggroll/wine ... m/releases ) combo paired with the 'development' version of Wine from winehq website which is currently v8.0-rc5 (you can probably stick to the 'stable' version if you prefer that which I think is v7.0.1 the last I checked). then just load up the games main exe file through Lutris and play. I got a i5-3550 with a 1050 Ti 4GB GPU using the 'recommended' NVIDIA driver v525.xx. I am using the standard Mint kernel, which is 5.15.
Last edited by ThaCrip on Mon Jan 23, 2023 3:31 pm, edited 1 time in total.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

Thank you for the reply. I will try out other kernels. The reason why I have so much stuff is that I play games specifically through PortProton, mainly since it generally gives me higher fps (even with the sudden 200mhz drop) and I have watched certain Linux mint gaming optimizations which are no older than 3 months and literally all of them, recommended install almost everything xD as a last resort, I will just wipe the system clean. Thank you for tuning in.
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

Quick update : Having the oem 6.10 kernel helped me get rid of the sudden gpu mhz drop but now I noticed that the whole system stutters when in game, even though the frametimes are ok and my cpu and gpu usage dont go higher than 80-85%
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

mksh21 wrote:
Mon Jan 23, 2023 3:29 pm
The reason why I have so much stuff is that I play games specifically through PortProton, mainly since it generally gives me higher fps
What kind of fps differences are we talking roughly?

because if it's negligible real world differences, say a few fps or so, then it's not worth risking screwing up your system because of it, especially if your frame rates are already rather high (anything around 60fps is quite smooth) to begin with.

p.s. because in general '30fps is playable, 60fps+ is optimal' as this has been standard for decades now. I would say mid-to-high 20's is a realistic bare minimum for a playable game as going into the low 20's a games playability will take a solid hit quickly, especially if it's not brief and is steadily in the low 20's or lower.
mksh21 wrote:
Mon Jan 23, 2023 3:40 pm
Quick update : Having the oem 6.10 kernel helped me get rid of the sudden gpu mhz drop but now I noticed that the whole system stutters when in game, even though the frametimes are ok and my cpu and gpu usage dont go higher than 80-85%
Recently I was playing a game with some what I think is called 'micro stutter' but I fixed it by 'V-SYNC = off'. not sure if that will help your situation though.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

In Lutris I would generally get 25-35 fps with gpu and cpu usage going to 95% but if I launch the games through PortProton, I would get around 40-50 fps on a constant basis and the framtimes would stay around 20-25ms.
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

mksh21 wrote:
Mon Jan 23, 2023 3:59 pm
In Lutris I would generally get 25-35 fps with gpu and cpu usage going to 95% but if I launch the games through PortProton, I would get around 40-50 fps on a constant basis and the framtimes would stay around 20-25ms.
Ahh, I see. that's a worthwhile difference.

did you ever try that GloriousEggroll runner in Lutris? because that got at least three games working that don't work on standard Wine for me and things work well (about how I would expect them to). it's using Proton to which I imagine helps.

as a bonus with that GE runner (if you want more frame rate without sacrificing graphics much)... you can force FSR 1.0 in games that don't normally have FSR support. for example on my 1080p monitor I am forcing 1477x831 res in a couple of games I play (normally that resolution is not selectable in the game) and then is automatically upscaled to my monitors native 1080p. I used a 1.3x formula (i.e. 1920/1.3 = 1476.923076923 ; 1080/1.3 = 830.769230769. hence, when you round it, it's 1477x831). but you got to tweak things to get this working as it won't do this by default. I heard this was mostly beneficial for people with high res monitors like 1440p(2k) or 2160p(4k) though but it does give me a decent performance boost without much hit to visuals. but to use that I think one has to use 'fullscreen = on' (in the game itself) otherwise it won't work. but if you have a 1440p monitor (or higher) I would be curious to see what you think of this feature as using that same 1.3x formula for 1440p (2560x1440) would be 1969x1108. so it's like your GPU would be similar to 1080p performance but at 1440p visuals is the general idea (assuming you got a 1440p monitor). but this is done in Lutris (and assuming you are using that GloriousEggroll runner as it's a feature of this)... right click game shortcut, select 'Configure > System options' then on 'environment variables' for 'Key' you put in "WINE_FULLSCREEN_FSR_CUSTOM_MODE" (without the ") and for 'Value' you put in for example "1477x831 %command%" (without the ") and add it then save. then when you start up your game, go to it's graphics settings and that 1477x831 resolution will be selectable now. you can use other formula's to like 1.5x or 2.0x, but that basically won't work on 1080p since it seems many games (at least semi-recent ones) will only allow the resolution to go so low before it will be rejected (like 1080p using 2.0 formula would be 960x540 which it seems many fairly modern games won't allow any lower than about 1280x720 in general. so when you try to use that, you can tell if the game rejects it given you won't be able to select it or the general resolutions to choose from will be out of whack etc. but if that happens, just exit the game and remove the custom tweaks in Lutris and it will go back to normal) . but if you got 1440p or 2160p you can use the 1.5x or 2.0x if you want to squeeze more performance out of it if you don't mind sacrificing graphics further. but generally speaking I would stick to the 1.3x since it's probably a good balance of performance gains and visuals (although if someone was using 2160p monitor, at 2x formula, you would use precisely 1920x1080(1080p) (setting the 'key' and 'value' things like mentioned) and it would upscale to 2160p). on a 2160p(4k. 3840x2160) monitor at 1.5x formula it would be precisely 2560x1440(i.e. 1440p).
Last edited by ThaCrip on Mon Jan 23, 2023 5:01 pm, edited 1 time in total.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

I unfortunately dont see GloriousEggroll or GE runner in Lutris. I only see :
System 8.0-rc5
WineHQDevel 8.0-rc5
WineHQStaging 8.0-rc5
Lutris-7.2-2-x86_64

Maybe Im not understanding something?
I would manually search the custom wine executable but I have 0 idea where its located
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

It's available through the Lutris menus (i.e. on main menu where it says 'Runners' then on the 'Wine' section, highlight it (the Wine section) with mouse and select that 'folder' icon (to the left of the 'gear' looking one) as you can download it through here if you want to with the 'install' icon there next to whatever version you want to install) but I just download it from here in general https://github.com/GloriousEggroll/wine ... m/releases

basically download "wine-lutris-GE-Proton7-35-x86_64.tar.xz" and then extract it to "~/.local/share/lutris/runners/wine" and then when you start up Lutris the game will probably automatically select it. if not, you can force it... right click game shortcut, select 'Configure > Runner options' then on 'Wine version' select it through here as it will show up like "lutris-GE-Proton7-XX-x86_64", then save it and it will use that.

that is specifically made for Lutris in that link, but it's basically the same exact thing if you install it through Lutris itself. it's just sometimes they are a bit behind updating it in Lutris if you need a newer version which is where that website I linked to comes in handy.

but if you go through the Lutris program, as I mentioned above, you can see it shows 7-35, 7-33, 7-28, 7-27, 7-14 etc. but if you had to get older versions, not that you would need to, you could get it from that website I posted. but currently Lutris offers the newest one, which is 7-35 (or you can get it from the link I posted as either way it's basically the same thing).

p.s. I am currently using the '7-28' which is a little older than the current '7-35'. either way, it will probably work the same though.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

Thank you for the guidance, got GE-35 on lutris. Generally now games work more stable. Thank you :)
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

mksh21 wrote:
Tue Jan 24, 2023 12:45 am
Thank you for the guidance, got GE-35 on lutris. Generally now games work more stable. Thank you :)
Glad you got it going as that's (Lutris/GloriousEggroll/Wine) my 'go to' combo for replaying the small amount of games on my hard drive with no online connectivity needed. that's why I prefer this Lutris setup over Steam.

there is about 5 games I replay (Mafia series (2002-2020)/RDR2 etc) and nearly all of them are quite stable (no crashes back to desktop at all, or rarely) besides one which is from 2002 and even that one did not crash often enough to stop me from completing the game.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

The issue came back! I barely made any updates. I tried a clean install and the issue is still there!
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

mksh21 wrote:
Fri Jan 27, 2023 4:33 am
The issue came back! I barely made any updates. I tried a clean install and the issue is still there!
You did not reinstall a bunch of junk with it did you?

I would just stick with the default stuff (5.15 kernel unless you have to upgrade. like try this first, if you have issues, then try moving to a newer kernel), then use the Wine/Lutris/GloriousEggroll combo and see what happens.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

After reinstalling Mint I saw that my fps was even lower without the "Junk". Sticking to the default kernel and trying Lutris/Wine with GE, results in lower fps overall and less consistent frametimes, thats why I HAD to install them...But the issue still persists that clocks on my gpu just drop all of a sudden.
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

Right, I reinstalled Mint with XFCE, and with your recommedations of using Lutris with GE, Im still having the issue. I made no additional changes to kernel, didnt download something "exotic" and no "Junk". In fact, it made the problem even worse! Now instead of the clocks dropping for 3 seconds, it now drops up-to 7-8 seconds....

Code: Select all

System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.1 Vera
    base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP product: HP Laptop 15s-eq3xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 89FC v: 12.13 serial: <superuser required> UEFI: AMI
    v: F.10 date: 07/04/2022
Battery:
  ID-1: BAT0 charge: 39.6 Wh (99.5%) condition: 39.8/39.8 Wh (100.0%)
    volts: 12.9 min: 11.3 model: HP Primary type: Li-ion serial: <filter>
    status: N/A
CPU:
  Info: 6-core model: AMD Ryzen 5 5625U with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB
    L3: 16 MiB
  Speed (MHz): avg: 3289 high: 4049 min/max: 400/4388 boost: enabled cores:
    1: 2729 2: 3346 3: 3514 4: 3167 5: 3270 6: 3461 7: 3696 8: 3572 9: 3744
    10: 4049 11: 2395 12: 2529 bogomips: 55099
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Barcelo vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1,eDP-1 empty: none
    bus-ID: 03:00.0 chip-ID: 1002:15e7 class-ID: 0300
  Device-2: USB C Video Adaptor type: USB driver: N/A bus-ID: 1-1.3:8
    chip-ID: 25a4:9311 class-ID: 1100 serial: <filter>
  Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB
    driver: uvcvideo bus-ID: 1-3:6 chip-ID: 30c9:0064 class-ID: fe01
    serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
    s-diag: 1055mm (41.5")
  Monitor-1: HDMI-A-0 mapped: HDMI-A-1 pos: primary,left model: Acer KA222Q
    serial: <filter> res: 1920x1080 dpi: 102 size: 476x268mm (18.7x10.6")
    diag: 546mm (21.5") modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP pos: primary,right res: 1920x1080 hz: 60 dpi: 142
    size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.42 5.15.0-58-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: C-Media TONOR TC30 Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.2.2:5
    chip-ID: 0d8c:0134 class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:c822 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
    bus-ID: 2-1.1:4 chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
  IF: enx34298f1068c2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:9 chip-ID: 0bda:b00c class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 169.98 GiB (18.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 5B2QGXA7 temp: 23.9 C scheme: GPT
Partition:
  ID-1: / size: 670.05 GiB used: 169.93 GiB (25.4%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 49 MiB (51.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1.5 MiB (0.1%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2387 apt: 2363 flatpak: 24
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/fish-shell-release-3-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/fish-shell-release-3-jammy.gpg] https://ppa.launchpadcontent.net/fish-shell/release-3/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mirror.cov.ukservers.com/linuxmint vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 319 Uptime: 20m wakeups: 2 Memory: 14.98 GiB
  used: 3.01 GiB (20.1%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: fish v: 3.6.0 default: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.13
ThaCrip
Level 5
Level 5
Posts: 726
Joined: Sat Dec 07, 2019 12:13 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by ThaCrip »

If the default stuff don't work, just try the simple kernel upgrade. try 5.19 first through 'Update Manager > View > Linux Kernels'. if that don't work you can use the newest one for Mint (i.e. sudo apt install linux-oem-22.04c ; which will give you 6.1.0 kernel ).

anyways, I looked up "HP Laptop 15s-eq3xxx" online and, at least according to https://www.userbenchmark.com/System/HP ... xxx/272029 it's not looking good for general gaming performance, especially on newer games as comments there say stuff like...

"This GPU can handle older games but it will struggle to render recent games at resolutions greater than 1080p." and... "This GPU can only handle very basic 3D games but it's fine for general computing tasks."

so I would not expect much from the GPU straight up. did you ever try lowering resolution of games to say 1280x720 (or so), with low graphics, just to see if that fairs any better?

because at least using their example there with the NVIDIA 2060S being the baseline of 100%, yours in comparison, according to tests there, show 12-16% on the four people who apparently have what you got (or so). even comparing that 2060S to my 1050 Ti 4GB GPU based on youtube[.]com/watch?v=Nj96iUFfNZY I would not be surprised if your GPU is just too weak for modern games.

still, it does seem odd that the frame rates are half way decent and then drop off a cliff for seconds etc.

but I would be curious to see your setup on Windows 10 temporarily as if performance is still fairly bad here, then it's not realistic to expect Linux to be any better. but if it does work well here, then at least you know what the GPU's potential roughly is and that it might just not like Linux etc. so unless you are trying to avoid Windows outright, Windows 10 might work well on it potentially as I would be curious just to see how it does here.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

I have tried lowering the settings to the absolute minimum...it really makes no difference no matter what game I run though. Its still really odd that even under simple load the gpu clocks still drop. Im not running Cyberpunk obviously. Im trying games like Minecraft, Terraria, Wow. Also another observation, even with all the different kernels that you suggested. The whole system is freezing as well....This aint gpu issue as monitoring shows that the gpu and cpu (and ram for that matter) are barely stressed at all...So saying that 5625U is not capable of something, is not really correct.
mksh21
Level 1
Level 1
Posts: 15
Joined: Sun Jan 22, 2023 3:21 pm

Re: GPU MHz drops to 200mhz for 3 seconds when gaming

Post by mksh21 »

I tried setting my cpu clocks to a certain limit and not go lower than 1600mhz(which helped with fps but gpu clock still plummets down to 200mhz), now need to find a way to do the same thing to the gpu.
Post Reply

Return to “Gaming”