Hello, I have never used a forum before so I apologize in advance for any issues with my post.
I am very new to linux and manjaro and I installed manjaro in dual boot with Windows 10. I am having performance issues that manifest as lag, but the mouse has no lag. I have run htop and the system is barely using resources. I am not having this issue in windows. I am running this on a second monitor from a laptop with the laptop screen turned off.
Once again I am very new to this and I would like to have help to help you to help me. Please let me know what I could do to help with finding the issue.
Thanks
better describe âperformance issuesâ - the initial âcomplaintâ
Welcome to the forum. Youâre doing just fine, and can do even better if you take a quick read through the first three pinned posts in the Tutorials section of the forum.
They will explain how to describe your problem and how to find the relevant information about your system.
There is like max 2 FPS in all programs despite the mouse being in 60 FPS and very little resource usage.
Some reading and some information about your system can help others help you:
I havenât seen that kind of (bad) performance even in a VM (virtual machine)
⌠and I donât know how you determined the mouse 60 fps vs the overall ~2 fps
info on hardware needed to help you
Obviously its an estimate, I didnât actually calculate its 2 vs 60.
The point is the mouse has zero lag however the rest of the system is extremely slow even though its not using much of the resources.
it wasnât âobviousâ - it was stated with ⌠confidence
actual hardware info could be a start:
inxi -Fazy
System:
Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=17fea321-25dc-4f22-9c50-b1df660db968 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: G3 3590 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 05P49N v: A00 serial: <superuser required> UEFI: Dell
v: 1.11.1 date: 08/19/2020
Battery:
ID-1: BAT0 charge: 41.3 Wh (100.0%) condition: 41.3/51.0 Wh (80.9%)
volts: 12.7 min: 11.4 model: BYD DELL M4GWP98 type: Li-poly serial: <filter>
status: full
CPU:
Info: model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 3801 high: 4099 min/max: 800/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 4099 2: 4002 3: 4001
4: 4001 5: 4099 6: 3999 7: 4000 8: 2207 bogomips: 38408
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
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: Dell driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: none off: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Dell
driver: nvidia v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
status: current (as of 2023-02) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2191
class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-5:5 chip-ID: 0c45:671f class-ID: 0e02
Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa dri: iris
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: HDMI-1-0 pos: primary res: 1920x1080 hz: 60 dpi: 96
size: 509x286mm (20.04x11.26") diag: 584mm (22.99") modes: N/A
Monitor-2: eDP-1 size-res: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) direct-render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Dell
driver: sof-audio-pci-intel-cnl bus-ID: 1-3:4
alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 1b1c:0a51 class-ID: 0300 chip-ID: 8086:a348 class-ID: 0401
Device-2: NVIDIA TU116 High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb
class-ID: 0403
Device-3: Corsair VOID ELITE Wireless Gaming Dongle type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound API: ALSA v: k6.1.11-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Dell driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 04:00.0 chip-ID: 168c:0042 class-ID: 0280
IF: wlp4s0 state: down mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-14:6
chip-ID: 0cf3:e009 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
Local Storage: total: 476.94 GiB used: 10.66 GiB (2.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN520 NVMe WDC 512GB size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter>
rev: 20200012 temp: 44.9 C scheme: GPT
Partition:
ID-1: / raw-size: 269.33 GiB size: 264.04 GiB (98.04%) used: 10.59 GiB (4.0%)
fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
ID-2: /boot/efi raw-size: 650 MiB size: 646 MiB (99.38%)
used: 75 MiB (11.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 53.0 C pch: 51.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 217 Uptime: 11m wakeups: 1 Memory: 15.44 GiB
used: 2.05 GiB (13.3%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1111 libs: 317 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.25
In doing my last reply I unplugged my monitor to see if that would help, and now that I am using the laptop screen the performance issues are gone completely. I use my laptop with the lid closed and connected to a monitor usually with the laptop screen disabled. I still do not know what could be causing this issue.
On a fresh install the database is indexing (Baloo or Maria Iâm not sure) all your files. If the hard drive light is blinking then this is what is happening and it drags your system down. You can turn it off but I donât know know how. A search should answer how, but I just let it run itâs course which is a few hours.
This isnât whatâs happening because itâs only slow when my laptop is plugged into the second screen. If I open htop the system is using the system resources basically as if it was idle.
I donât know if this question is still open, but your problems are most likely caused by a bug in the NVIDIA drivers that is around since at least November.
The bug causes these incredible performance issues if you try and use your laptop with the internal screen turned off. There are no problems if you use only the internal screen or both screens at once. As far as I know, there is no solution yet. My workaround for now is to use envycontrol to disable the hybrid mode of the GPU and instead always use the dedicated GPU. Then you can only use the external screen. However, obviously this results in an increased power consumption.
Okay this makes a lot of sense. Iâll try this as soon as I can. Thank you so much.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.