Manjaro is slower than Windows on laptop.

So I've been daily-driving Manjaro KDE for around a week now and I have not felt the "Snappier feel of linux" in any shape or form, in fact it's the opposite. I mostly use my computer for browsing and the occasional video game, almost everyone says that Linux is faster in general and I actually really like the customisability of Plasma 5, so if my issues are fixable, I'd greatly appreciate it.

Browsing:
I mostly use my computer for browsing and youtube, and both, chromium and firefox are way worse than Chrome on Windows. Especially for youtube, I've done some tests and firefox on linux is sometimes takes 15s to load a video! Whereas Chrome takes 3-5s every time. I thought initially I just have to build up the cache or something on Linux, but after a week of use, obviously that's not the case. As well as that, if I watch a 1080p 60fps video, Manjaro absolutely chugs, everything on the OS becomes choppy, delayed and unresponsive. To be fair, my windows also slows down under that load, but only marginally. And in general Chromium is slower than both Windows Chrome and Firefox, but Firefox is really choppy not as smooth.

Nvidia Drivers:
This has been driving me nuts. I have an integrated graphics card and an Nvidia card. After dozens of OS, driver and optimus-manager reinstalls and reconfigurations, I'm basically left with two options:

  1. Don't install optimus-manager: Nvidia drivers work, but it doesn't detect my iGPU on nvidia-settings so the main GPU is on all the time, making my battery life <3h, even when idle.
  2. Install optimus-manager: Only runs on the integrated GPU, giving me ~5h battery life, but Nvidia completely ■■■■■ it's pants. nvidia-settings doesn't work, and the only way to get my Nvidia GPU to run is to reinstall the OS all together, because even uninstalling optimus and Nvidia drivers, then reinstallng them, doesn't work. optimus-manager --switch nvidia doesn't work, it says "will load on next login" but doesn't. If I run optimus-manager --set-startup nvidia, my computer literally can't boot to Manjaro anymore, not even the backup and I have to basically format the partition and completely reinstall my OS. This also means I have to throw gaming completely out the window.
    The Nvidia drivers worked seamlessly on Kubuntu, so I don't know why they're such a headache on Manjaro.

To me it seems like Manjaro is less resource heavy, but that's because it refuses to uses resources when I actually need it to. My memory usage is almost never above 40% and my CPU is never above 80%, whereas on Windows the CPU is almost always at 100% (This is why I originally switched to Manjaro, I thought it would solve this bottleneck) and RAM is almost always above 50%.

Here are my specs:

[kris@kris-lnx ~]$ inxi -Fx
System:    Host: kris-lnx Kernel: 5.6.3-2-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: KDE Plasma 5.18.4 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Aspire E5-576G v: V1.49 serial: <root required> 
           Mobo: KBL model: Ironman_SK v: V1.49 serial: <root required> UEFI: Insyde v: 1.49 date: 12/11/2018 
Battery:   ID-1: BAT1 charge: 28.8 Wh condition: 50.1/62.2 Wh (81%) model: PANASONIC AS16B5J status: Discharging 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere 2 charge: 10% (should be ignored) 
           status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28808 
           Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI driver: nvidia v: 440.82 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.0.4 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.6.3-2-MANJARO 
Network:   Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: 4000 bus ID: 03:00.0 
           IF: wlp3s0 state: up mac: 94:b8:6d:a3:44:27 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 
           v: kernel port: 3000 bus ID: 04:00.1 
           IF: enp4s0f1 state: down mac: d8:c4:97:5f:8e:e9 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 1.65 TiB used: 479.68 GiB (28.3%) 
           ID-1: /dev/sda vendor: SanDisk model: SDSSDH3 500G size: 465.76 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000LM048-2E7172 size: 931.51 GiB 
           ID-3: /dev/sdc vendor: SK Hynix model: HFS256G39TND-N210A size: 238.47 GiB 
           ID-4: /dev/sdd type: USB vendor: SanDisk model: Ultra USB 3.0 size: 57.28 GiB 
Partition: ID-1: / size: 159.90 GiB used: 14.33 GiB (9.0%) fs: ext4 dev: /dev/sda4 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 43.5 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 237 Uptime: 25m Memory: 7.66 GiB used: 1.99 GiB (26.0%) Init: systemd Compilers: gcc: 9.3.0 Shell: bash 
           v: 5.0.16 inxi: 3.0.37

I really like KDE and even if Manjaro was simply as fast as Windows, I'd switch to it.

1 Like

Oh hey! We have the same laptop model! :grinning:

For reference, here's my laptop specs!

System:    Kernel: 5.5.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.5-x86_64 root=UUID=bb20b6c4-1fa1-4c1f-bf10-9e0780863b7b rw quiet apparmor=1 
           security=apparmor resume=UUID=f5e88830-ac68-4323-93c7-f96422c0de22 udev.log_priority=3 
           Desktop: KDE Plasma 5.18.4 tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Aspire E5-576G v: V1.29 serial: <filter> 
           Mobo: KBL model: Ironman_SK v: V1.29 serial: <filter> UEFI: Insyde v: 1.29 date: 07/21/2017 
Battery:   ID-1: BAT1 charge: 23.0 Wh condition: 37.7/40.9 Wh (92%) volts: 14.4/14.6 model: LGC AS16A8K type: Li-ion 
           serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 8E (142) 
           stepping: A (10) microcode: CA L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28808 
           Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 801 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           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: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:5917 
           Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI driver: nvidia v: 440.82 bus ID: 01:00.0 
           chip ID: 10de:1d10 
           Display: x11 server: X.Org 1.20.8 driver: modesetting compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.0.4 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:9d71 
           Sound Server: ALSA v: k5.5.16-1-MANJARO 
Network:   Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: 4000 bus ID: 03:00.0 
           chip ID: 8086:24fb 
           IF: wlp3s0 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 
           v: kernel port: 3000 bus ID: 04:00.1 chip ID: 10ec:8168 
           IF: enp4s0f1 state: down mac: <filter> 
           IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 1.82 TiB used: 426.58 GiB (22.9%) 
           ID-1: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB block size: physical: 4096 B logical: 512 B 
           speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: ACM1 scheme: GPT 
Partition: ID-1: / raw size: 63.96 GiB size: 62.71 GiB (98.04%) used: 58.89 GiB (93.9%) fs: ext4 dev: /dev/sda7 
           ID-2: /home raw size: 955.67 GiB size: 939.67 GiB (98.33%) used: 367.47 GiB (39.1%) fs: ext4 dev: /dev/sda8 
           ID-3: swap-1 size: 3.91 GiB used: 9.3 MiB (0.2%) fs: swap swappiness: 60 (default) cache pressure: 100 (default) 
           dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 47.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 265 Uptime: 39m Memory: 3.72 GiB used: 2.01 GiB (53.9%) Init: systemd v: 244 Compilers: gcc: 9.3.0 
           Shell: bash v: 5.0.16 running in: yakuake inxi: 3.0.37 

I'm not really sure what's going on here, as when I installed Manjaro, it felt like a breath of fresh air, compared to Windows or Pop OS. I even have optimus manager installed, and it still works like a charm, even when I'm browsing the web with firefox, or watching youtube on said browser.

However, I can help you with some things.

Did you install Manjaro with swap? I believe it can make your system faster, as I installed mine with a swap partition.

Did you follow this guide when you set up optimus manager (kind of a no brainer question but I just want to make sure)

I'm pretty noob when it comes to these types of things, as I've been on Manjaro for just a month or two now, but every help counts I guess.

And just in case this helps, here's my RAM usage as of editing this post:Screenshot_20200416_222202

2 Likes

there's also a package in AUR which may help called kwin-lowlatency, it can take some time to compile though. you have been warned :wink:

https://aur.archlinux.org/packages/kwin-lowlatency/

1 Like

I did follow a few other guides, they all ended up in me reinstalling the OS. The only novel thing in your guide was editing the ssdm.conf file, but that seemed to have worked? Thanks!

I'll give it a go, took less time to compile than Mullvad anyway.

I've posted above and edit that message in order to be more up-to-date. In brief, you need to:
sudo mhwd -f -i pci video-hybrid-intel-nvidia-440xx-prime
Then install optimus-manager:
trizen -S optimus-manager-qt (from AUR, easy GUI for manipulating Optimus settings)
Now install bbswitch (dynamic module to load/unload Nvidia driver):
sudo pacman -S $(pacman -Qo /lib/modules/$(uname -r)/vmlinuz |cut -c54-60)-bbswitch.
Screenshots are available in the linked thread.

If I use bbswitch I can't use nvidia-settings or nvidia-smi while on intel mode, whereas I can use them when I use pci-power_control. I don't know whether that's good or bad, but nvidia-smi is the only way I know how to check if the nvidia card is doing anything. Is there any other way to see if the nvidia card is powered on?

Why would you need to use nvidia tools while in Intel mode?
With bbswitch loaded (intel mode), your Nvidia should be off, believe me. This is the best mode for the battery life.
What I suggest, however, is using Hybrid mode by default, with prime-run for launching apps requiring more powerful GPU, and switch manually to Intel mode when you're going to work on batteries.

I wouldn't but if I have the choice between being/not being able to use it, I'll go with more control, unless bbswitch is somehow better. prime-run seems to work identically on both configurations.

This is not a matter of control, if prime-run works for you in Intel mode then you're doing it wrong. Bbswitch is the only method that shuts down Nvidia MX150 completely as far as I can tell.

1 Like

Update time:

Did the issue remain? Is optimus-manager still not working? Try Optimus Switch and see if the gpu issue persists.

Yeah, optimus-manager seems to behave now, I still think Manjaro is a bit slower than Windows on my computer, but the difference is marginal and KDE looks nicer, so I can live with it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by