Fra96
17 August 2022 08:28
1
Hello Garuda users.
I installed the new version of the video card driver hoping that this would fix the problem with the video card but the performance keep on being low. I tested on minecraft and the game doesn't overcome 20 FPS, the video card is recognized because the game says that the card used is RTX 2060. I saw in the System monitor that the GPU frequency is 75 MHz most of the time even if the GPU usage is 100%.
This is my garuda-inxi:
System:
Kernel: 5.15.60-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=a715693c-beb0-4b88-870f-4885fc8edc10 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=2
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: PC Specialist product: Recoil v: Standard
serial: <superuser required>
Mobo: Tong Fang model: GK5CP0Z v: Standard serial: <superuser required>
UEFI-[Legacy]: American Megatrends v: N.1.51 date: 04/04/2019
Battery:
ID-1: BAT0 charge: 29.1 Wh (75.0%) condition: 38.8/46.7 Wh (82.9%)
volts: 12.5 min: 11.4 model: standard type: Li-ion serial: <filter>
status: charging
CPU:
Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158)
stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 9 MiB desc: 1x9 MiB
Speed (MHz): avg: 4010 high: 4069 min/max: 800/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 3998 2: 3984 3: 4006
4: 4017 5: 4069 6: 4033 7: 3992 8: 3988 9: 4016 10: 4047 11: 3993
12: 3982 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Tongfang Hongkong driver: i915 v: kernel arch: Gen-9.5
process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b
class-ID: 0300
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile]
vendor: Tongfang Hongkong driver: nvidia v: 515.65.01
alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of
2022-07) arch: Turing code: TUxxx process: TSMC 12nm built: 2018-22 pcie:
gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
active: none empty: DP-2,DP-3,HDMI-A-3 bus-ID: 01:00.0 chip-ID: 10de:1f11
class-ID: 0300
Device-3: Chicony HD Webcam type: USB driver: uvcvideo bus-ID: 1-13:3
chip-ID: 04f2:b65a class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP-1-1 model: BOE Display 0x07af built: 2018
res: 1920x1080 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA
515.65.01 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:10f9 class-ID: 0403
Sound Server-1: ALSA v: k5.15.60-1-lts running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Tongfang Hongkong driver: r8168 v: 8.050.03-NAPI modules: r8169
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: down mac: <filter>
Device-2: Intel Wireless-AC 9260 vendor: Rivet Networks driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0
chip-ID: 8086:2526 class-ID: 0280
IF: wlp5s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 1-14:4 chip-ID: 8087:0025 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 232.89 GiB used: 96.29 GiB (41.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: WDS250G2X0C-00L350 size: 232.89 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 101140WD temp: 51.9 C scheme: GPT
Partition:
ID-1: / raw-size: 75 GiB size: 75 GiB (100.00%) used: 23.25 GiB (31.0%)
fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-2: /home raw-size: 157.87 GiB size: 157.87 GiB (100.00%) used: 73.04
GiB (46.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /var/log raw-size: 75 GiB size: 75 GiB (100.00%) used: 23.25 GiB
(31.0%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-4: /var/tmp raw-size: 75 GiB size: 75 GiB (100.00%) used: 23.25 GiB
(31.0%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.48 GiB used: 2.8 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 63.0 C pch: 59.0 C mobo: N/A gpu: nvidia
temp: 63 C
Fan Speeds (RPM): N/A
Info:
Processes: 331 Uptime: 19m wakeups: 1 Memory: 15.48 GiB used: 2.43 GiB
(15.7%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.1.1 clang: 14.0.6 Packages: pacman: 1651 lib: 396
Shell: Bash v: 5.1.16 running-in: konsole inxi: 3.3.20
Garuda (2.6.6-1):
System install date: 2022-04-03
Last full system update: 2022-08-17
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: <superuser required>
Snapshots: Snapper
Failed units:
Thank you to whom wants to help.
On Garuda Assistant enable all performance options, also on enable performance mode in the battery icon on system tray. Your CPU is in powersave mode,
3 Likes
Fra96
17 August 2022 10:18
3
Thank you, solved
There should be some problem with change between powersave and performance because each other component was in performance mode so I had to switch manually the CPU with the command
cpupower frequency-set --governor performance
I think I'll make an automatic script, if needed I can share it.
2 Likes
Fra96
17 August 2022 18:21
4
Ok, I have rebooted and the problem is the same as before, but now the CPU is in performance mode and the other devices too. The video card is fixed to 75 MHz clock for the majority of the time.
It worked only one time
New garuda-inxi:
System:
Kernel: 5.15.60-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=a715693c-beb0-4b88-870f-4885fc8edc10 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=2
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: PC Specialist product: Recoil v: Standard
serial: <superuser required>
Mobo: Tong Fang model: GK5CP0Z v: Standard serial: <superuser required>
UEFI-[Legacy]: American Megatrends v: N.1.51 date: 04/04/2019
Battery:
ID-1: BAT0 charge: 36.8 Wh (94.8%) condition: 38.8/46.7 Wh (82.9%)
volts: 11.7 min: 11.4 model: standard type: Li-ion serial: <filter>
status: charging
CPU:
Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158)
stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 9 MiB desc: 1x9 MiB
Speed (MHz): avg: 3946 high: 3998 min/max: 800/4100 scaling:
driver: intel_pstate governor: performance cores: 1: 3916 2: 3985 3: 3902
4: 3901 5: 3998 6: 3962 7: 3973 8: 3986 9: 3952 10: 3806 11: 3997
12: 3975 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Tongfang Hongkong driver: i915 v: kernel arch: Gen-9.5
process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b
class-ID: 0300
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile]
vendor: Tongfang Hongkong driver: nvidia v: 515.65.01
alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of
2022-07) arch: Turing code: TUxxx process: TSMC 12nm built: 2018-22 pcie:
gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
active: none empty: DP-2,DP-3,HDMI-A-3 bus-ID: 01:00.0 chip-ID: 10de:1f11
class-ID: 0300
Device-3: Chicony HD Webcam type: USB driver: uvcvideo bus-ID: 1-13:3
chip-ID: 04f2:b65a class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP-1-1 model: BOE Display 0x07af built: 2018
res: 1920x1080 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA
515.65.01 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:10f9 class-ID: 0403
Sound Server-1: ALSA v: k5.15.60-1-lts running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Tongfang Hongkong driver: r8168 v: 8.050.03-NAPI modules: r8169
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: down mac: <filter>
Device-2: Intel Wireless-AC 9260 vendor: Rivet Networks driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0
chip-ID: 8086:2526 class-ID: 0280
IF: wlp5s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 1-14:4 chip-ID: 8087:0025 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 232.89 GiB used: 88.12 GiB (37.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: WDS250G2X0C-00L350 size: 232.89 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 101140WD temp: 45.9 C scheme: GPT
Partition:
ID-1: / raw-size: 75 GiB size: 75 GiB (100.00%) used: 14.94 GiB (19.9%)
fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-2: /home raw-size: 157.87 GiB size: 157.87 GiB (100.00%) used: 73.18
GiB (46.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /var/log raw-size: 75 GiB size: 75 GiB (100.00%) used: 14.94 GiB
(19.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
ID-4: /var/tmp raw-size: 75 GiB size: 75 GiB (100.00%) used: 14.94 GiB
(19.9%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.48 GiB used: 1.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 78.0 C pch: 51.0 C mobo: N/A gpu: nvidia
temp: 65 C
Fan Speeds (RPM): N/A
Info:
Processes: 326 Uptime: 6h 26m wakeups: 1 Memory: 15.48 GiB used: 2.54 GiB
(16.4%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.1.1 clang: 14.0.6 Packages: pacman: 1652 lib: 396
Shell: Bash v: 5.1.16 running-in: konsole inxi: 3.3.20
Garuda (2.6.6-1):
System install date: 2022-04-03
Last full system update: 2022-08-17
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: <superuser required>
Snapshots: Snapper
Failed units:
You have an Optimus laptop.
Are you running Minecraft on the iGPU or the dGPU?
Verify by running nvidia-smi
in a terminal.
4 Likes
TNE
17 August 2022 19:34
6
prime-run minecraft-launcher
4 Likes
Fra96
18 August 2022 08:18
7
The game says Nvidia RTX 2060, usually the integrated one performs better.
nvidia-smi
output:
Wed Aug 17 20:46:12 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 58C P3 26W / N/A | 943MiB / 6144MiB | 87% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 7701 G /usr/lib/Xorg 212MiB |
| 0 N/A N/A 9104 G /usr/bin/kwin_x11 78MiB |
| 0 N/A N/A 11032 G /usr/bin/plasmashell 53MiB |
| 0 N/A N/A 11154 G /usr/bin/latte-dock 22MiB |
| 0 N/A N/A 44241 G /usr/bin/firefox-esr 173MiB |
| 0 N/A N/A 2435575 G ...uncher/minecraft-launcher 8MiB |
| 0 N/A N/A 2437795 G ...va-runtime-gamma/bin/java 385MiB |
+-----------------------------------------------------------------------------+
Fra96
18 August 2022 08:20
8
Doesn't work because I already use the nvidia video card (prime has nvidia video card as default).
sudo nvidia-smi -lgc 1000,1000
This command should pin GPU frequency to 1000 MHz.
Fra96
18 August 2022 16:19
10
This is quite strange because when I stay on the desktop without game open it stay on 1 GHz while when I start the game or the game is opened the frequency is stable on 75 MHz.
I used this command to unlock the frequency and it works in the same way so change the frequency on idle, but is quite fixed to 75 MHz when the game is opened.
sudo nvidia-smi -lgc unlimited,unlimited
Could you have enabled a low performance or battery conservation mode in Minecraft?
TNE
18 August 2022 16:41
12
Ah right, I should've checked that in the inxi first, I see it now, sorry.
Fra96
18 August 2022 16:45
13
I thinked that and I tried to do a benchmark to be sure, the benchamark locks on one of the phases, but I could see an inconstant framerate, the partial results are
meanFPS: 20.7
Time: 124.5s
Frames: 2572
MinFPS: 3.9
MaxFPS: 103.7
Scene: 12/18
The framerate went like a wave. Also frequencies have same behaviour.
I used Unigine valley benchmark
So we know it is not Minecraft specific. Disable KDE compositor (AFAIK Shift+Alt+F12 does it, check settings if it fails) quit Latte Dock by right clicking on a dock and choosing "quit latte" then run benchmark again. Use MangoHUD while benching so you can monitor temperatures.
EDIT: Temps are a bit high. What were you doing when running inxi?
Sensors:
System Temperatures: cpu: 78.0 C pch: 51.0 C mobo: N/A gpu: nvidia
temp: 65 C
Fra96
18 August 2022 17:49
15
This time the benchmark ended so I have the results. They are slightly better, but the behaviour is as similar as before.
The temperature was never above 75°C.
I was starting and stopping minecraft so I think it is normal.
Results:
|FPS:|**22.1**|
| --- | --- |
|Score:|**924**|
|Min FPS:|**4.9**|
|Max FPS:|**122.7**|
## System
|Platform:|Linux 5.15.60-1-lts x86_64|
| --- | --- |
|CPU model:|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (2207MHz) x12|
|GPU model:|NVIDIA GeForce RTX 2060 PCI Express 515.65.01 (6144MB) x1|
## Settings
|Render:|OpenGL|
| --- | --- |
|Mode:|1920x1080 fullscreen|
|Preset|Custom|
|Quality|High|
Powered by [UNIGINE Engine](http://unigine.com/products/unigine/)
[Unigine Corp.](http://unigine.com/) © 2005-2013
That level of performance doesn't make any sense.
Is your PSU able to provide enough power for the GPU? Is it connected correctly with all relevant molex connectors? Is it in the correct PCIe slot?
Fra96
18 August 2022 18:11
17
The computer is a notebook, so the slot is correct because I used Kubuntu in the past and it worked well. For the PSU I can try to change it.
Have you cleaned out its vents and fans recently?
Fra96
18 August 2022 18:14
20
Yes, more or less two month ago, and the temperature is not too high (the benchmark reached 75°C, but most of the time was 70°C or less)
That could just be the system performing thermal throttling, which would also explain
Have you made any other changes to your system other configuration since installing?
1 Like