Dell XPS 17 9700 feels slow / laggy [because of bad graphics acceleration?]

may you post the output of ‘inxi -Fxz’ first that everybody get’s an overview of hardware and drivers.

Hi,

sure. Here’s the output:

$ inxi -Fxz
System:    Kernel: 5.12.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Xfce 4.16.0 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: Dell product: XPS 17 9700 v: N/A serial: <filter> 
           Mobo: Dell model: 0H7HN7 v: A00 serial: <filter> UEFI: Dell v: 1.6.3 date: 12/30/2020 
Battery:   ID-1: BAT0 charge: 74.9 Wh (81.8%) condition: 91.6/95.1 Wh (96.3%) volts: 13.2 min: 11.4 model: SMP DELL 01RR3YM 
           status: Charging 
CPU:       Info: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake rev: 2 cache: L2: 12 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 2500 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 2500 2: 2500 3: 2500 4: 1490 5: 2500 6: 2500 7: 2500 
           8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Dell driver: nvidia v: 465.31 bus-ID: 01:00.0 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:3 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting,nvidia resolution: 5760x3600~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 
           Sound Server-1: ALSA v: k5.12.8-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks driver: iwlwifi v: kernel port: 4000 
           bus-ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:4 
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:    Local Storage: total: 1014.24 GiB used: 274.11 GiB (27.0%) 
           ID-1: /dev/mmcblk0 model: SDU1 size: 60.37 GiB 
           ID-2: /dev/nvme0n1 vendor: SK Hynix model: PC611 NVMe 1TB size: 953.87 GiB 
Partition: ID-1: / size: 48.97 GiB used: 14.64 GiB (29.9%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-2: /boot/efi size: 146 MiB used: 95.8 MiB (65.6%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 24.48 GiB used: 9.53 GiB (38.9%) fs: ext4 dev: /dev/nvme0n1p8 
           ID-4: /opt size: 65.45 GiB used: 21.6 GiB (33.0%) fs: ext4 dev: /dev/nvme0n1p10 
Swap:      ID-1: swap-1 type: file size: 16.5 GiB used: 1.2 MiB (0.0%) file: /opt/swapfile 
Sensors:   System Temperatures: cpu: 73.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2504 fan-2: 2515 
Info:      Processes: 373 Uptime: 9h 02m Memory: 15.39 GiB used: 11.19 GiB (72.7%) Init: systemd Compilers: gcc: 11.1.0 
           Packages: 1373 Shell: Bash v: 5.1.8 inxi: 3.3.04

post the output
‘systemctl status optimus-manager.service’

Hi,

here’s the outuput:

● optimus-manager.service - Optimus Manager Commands Daemon
     Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2021-06-21 15:42:15 CEST; 3h 16min ago
    Process: 528 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_daemon_start (code=exited, status=0/SUCCESS)
    Process: 607 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_xorg_start (code=exited, status=0/SUCCESS)
   Main PID: 1082 (python3)
      Tasks: 1 (limit: 18884)
     Memory: 42.1M
        CPU: 1.939s
     CGroup: /system.slice/optimus-manager.service
             └─1082 /usr/bin/python3 -u -m optimus_manager.daemon

Jun 21 15:42:12 xps19-9700 python3[607]: [486] INFO: Writing "auto" to /sys/bus/pci/devices/0000:01:00.0/power/control
Jun 21 15:42:12 xps19-9700 python3[607]: [493] INFO: Loading module nvidia
Jun 21 15:42:14 xps19-9700 python3[607]: [2197] INFO: Loading module nvidia_drm
Jun 21 15:42:15 xps19-9700 python3[607]: [3268] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Jun 21 15:42:15 xps19-9700 python3[607]: [3268] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210621T154212', 'requested_mode': 'hybrid'}
Jun 21 15:42:15 xps19-9700 python3[607]: [3268] INFO: Xorg pre-start hook completed successfully.
Jun 21 15:42:15 xps19-9700 systemd[1]: Started Optimus Manager Commands Daemon.
Jun 21 15:42:15 xps19-9700 python3[1082]: [2] INFO: # Commands daemon
Jun 21 15:42:15 xps19-9700 python3[1082]: [2] INFO: Opening UNIX socket
Jun 21 15:42:15 xps19-9700 python3[1082]: [2] INFO: Awaiting commands

Strangely the service is running after a restart (I didn’t install it just recently but a while back). optimus-manager --switch nvidia works also.

If I switch to nvidia everything runs almost smoothly (although I think input are a little bit delayed. e.g. typing start half a second delayed, the mouse cursors starts moving a bit delaxed, etc. ).

optimus-manager starts in hybrid mode. If I switch from nvidia back to integrated/hybrid the systems becomes as laggy as before. So, I’m guessing the main problem is the integrated intel graphic chip which doesn’t deliver its full performance(?) Is that possible?

In a best case scenario I’d like to boot to hybrid and save battery because nvidia just renders the performance heavy things. Is that achievable?

Regards

Hi,

I posted a while ago but I didn’t get much help. Probably because the thread was two-sided (graphics problem and optimus installation). Therefore, I’d like to start a fresh tread focusing on the problem with the graphics acceleration. My problem:

I installed manjaro on a Dell XPS 17 9700. The system feels slow in general. This gets especially perceivable when there are animations in play. Some examples:

  • If I open gpick (a color picker app), the system immediately gets a very noticeable amount slower and more unresponsive — until I close it again.
  • If I scroll fast through a web page while browsing, the part of the page that becomes visible doesn’t become visible smoothly. Imagine watching an interlaced jpeg getting loaded via a slow internet connection. It’s like one block after another gets rendered and becomes visible on the blank portion of the page. Usually, six to twelve of these blocks need to get loaded/rendered when I’m scrolling with PgUp/Down.
  • Websites like tradingview or sketchup with are really laggy. It’s particularly noticeable when a popup appears or the mouse hovers over something, etc.
  • Same goes for freecad.
  • Typing text on webpages is laggy, too. Characters appear with a noticeable delay after hitting the keyboard keys.

The problem annoyed so much that I installed xubuntu 21.04 along manjaro. OOTB the graphic acceleration was smooth and no problems occured. So, I wondered what xubuntu did which manjaro didn’t. Here’s the diff between the output of lspci, loaded x modules and lsmod

Maybe the problem is that a wrong driver was installed (by me or during system installation), because the xubuntu output states the correct video card models. The manjaro output displays just some generic names.

inxi -Fxz
System:    Kernel: 5.13.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Xfce 4.16.0 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: Dell product: XPS 17 9700 v: N/A serial: <filter> 
           Mobo: Dell model: 0H7HN7 v: A00 serial: <filter> UEFI: Dell v: 1.6.3 date: 12/30/2020 
Battery:   ID-1: BAT0 charge: 40.2 Wh (52.5%) condition: 76.5/95.1 Wh (80.4%) volts: 11.3 min: 11.4 model: SMP DELL 01RR3YM 
           status: Discharging 
CPU:       Info: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake rev: 2 cache: L2: 12 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 800 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
Graphics:  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Dell driver: nvidia v: 470.57.02 bus-ID: 01:00.0 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:3 
           Display: server: X.Org 1.20.13 driver: loaded: modesetting,nvidia resolution: 5760x3600~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.1.6 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 
           Sound Server-1: ALSA v: k5.13.8-1-MANJARO running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: no 
Network:   Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks driver: iwlwifi v: kernel port: 4000 
           bus-ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: <filter> 
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:4 
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:    Local Storage: total: 953.87 GiB used: 283.61 GiB (29.7%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC611 NVMe 1TB size: 953.87 GiB temp: 31.9 C 
Partition: ID-1: / size: 48.97 GiB used: 21.14 GiB (43.2%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-2: /boot/efi size: 146 MiB used: 100.8 MiB (69.1%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 24.48 GiB used: 12.01 GiB (49.0%) fs: ext4 dev: /dev/nvme0n1p8 
           ID-4: /opt size: 65.45 GiB used: 21.6 GiB (33.0%) fs: ext4 dev: /dev/nvme0n1p10 
Swap:      ID-1: swap-1 type: file size: 16.5 GiB used: 16.5 MiB (0.1%) file: /opt/swapfile 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 1691 fan-2: 1703 
Info:      Processes: 377 Uptime: 1h 3m Memory: 15.38 GiB used: 12.6 GiB (81.9%) Init: systemd Compilers: gcc: 11.1.0 
           Packages: 1392 Shell: Bash v: 5.1.8 inxi: 3.3.06 

I installed optimus manager which seems to run fine:

$ systemctl status optimus-manager.service
● optimus-manager.service - Optimus Manager Commands Daemon
     Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-08-25 16:52:00 CEST; 3h 4min ago
   Main PID: 1013 (python3)
      Tasks: 1 (limit: 18876)
     Memory: 13.8M
        CPU: 2.305s
     CGroup: /system.slice/optimus-manager.service
             └─1013 /usr/bin/python3 -u -m optimus_manager.daemon

Aug 25 16:51:58 xps19-9700 python3[566]: [865] INFO: Writing "auto" to /sys/bus/pci/devices/0000:01:00.0/power/control
Aug 25 16:51:58 xps19-9700 python3[566]: [871] INFO: Loading module nvidia
Aug 25 16:51:59 xps19-9700 python3[566]: [2609] INFO: Loading module nvidia_drm
Aug 25 16:52:00 xps19-9700 python3[566]: [3498] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Aug 25 16:52:00 xps19-9700 python3[566]: [3498] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210825T165157',>
Aug 25 16:52:00 xps19-9700 python3[566]: [3499] INFO: Xorg pre-start hook completed successfully.
Aug 25 16:52:00 xps19-9700 systemd[1]: Started Optimus Manager Commands Daemon.
Aug 25 16:52:00 xps19-9700 python3[1013]: [5] INFO: # Commands daemon
Aug 25 16:52:00 xps19-9700 python3[1013]: [6] INFO: Opening UNIX socket
Aug 25 16:52:00 xps19-9700 python3[1013]: [6] INFO: Awaiting commands


$ optimus-manager --status
Optimus Manager (Client) version 1.4

Current GPU mode : hybrid
GPU mode requested for next login : no change
GPU at startup : hybrid
Temporary config path: no

mhwd:

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-intel-nvidia-prime            2021.07.28               false            PCI
     video-modesetting            2020.01.13                true            PCI

I’d be really thankful if you’d help me figure this out.

Please read this:

Especially the section about kernels, install 2 LTS kernels and see if the problem goes away automagically :grin: because you seem to keep on dabbling with stable Development kernels.

:crossed_fingers:

You shouldn’t have that driver,uninstall that driver and reboot.

Also,are you using a external display or only the laptop monitor?

1 Like

Hi,

thanks for the respones. I use only the laptop monitor.

I uninstalled video-linux and installed and booted using the 5.10 kernel:

$ inxi -S
System:    Host: xps19-9700 Kernel: 5.10.60-1-MANJARO x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Manjaro Linux 

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.07.28               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

$ mhwd -l
> 0000:01:00.0 (0302:10de:1f95) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.07.28               false            PCI
          video-nvidia            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:9bc4) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.07.28               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Unfortunately, this didn’t help. Any other suggestions what I could do?

Open a terminal and execute:

prime-run glxgears

Wait for a minute or so, close the application and post its output.

:thinking:

Hi,

was without an internet connection for the weekend. Here’s the output:

$ prime-run glxgears

Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.200 FPS
300 frames in 5.0 seconds = 59.977 FPS
300 frames in 5.0 seconds = 59.980 FPS
300 frames in 5.0 seconds = 59.982 FPS
300 frames in 5.0 seconds = 59.985 FPS
252 frames in 5.0 seconds = 50.241 FPS
267 frames in 5.0 seconds = 53.359 FPS
295 frames in 5.0 seconds = 58.990 FPS
# opened a tradingview tab and used it
235 frames in 5.0 seconds = 46.973 FPS
162 frames in 5.0 seconds = 32.367 FPS
137 frames in 5.0 seconds = 27.374 FPS
117 frames in 5.0 seconds = 23.365 FPS
191 frames in 5.0 seconds = 38.106 FPS
142 frames in 5.0 seconds = 28.365 FPS
194 frames in 5.1 seconds = 38.281 FPS
# opened gpick
69 frames in 5.1 seconds = 13.545 FPS
75 frames in 5.1 seconds = 14.804 FPS
# gpick lost focus
194 frames in 5.0 seconds = 38.791 FPS
161 frames in 5.0 seconds = 32.041 FPS
123 frames in 5.0 seconds = 24.583 FPS

I added what I did while it was running as a comment. I opened tradingview and gpick as I mentioned in the opening post.

Edit
Don’t know whether it’s relevant, but I found the video acceleration wiki page. I ran the commands listed on the verification section. Here’s the output:

$ vdpauinfo 
display: :0.0   screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

$ vainfo 
libva error: /usr/lib/dri/i965_drv_video.so init failed
vaInitialize failed with error code -1 (unknown libva error),exit

$ grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log
[     6.089] (II) modeset(0): [DRI2]   DRI driver: iris
[     6.089] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[     6.179] (II) NVIDIA(G0): [DRI2]   VDPAU driver: nvidia

Regards

the output of:

prime-run nvidia-smi

twice, please:

  • Idle system
  • gpick running

:thinking:

Hi,

gpick

#sleep 3 IOT be able to give the gpick window the focus.
$ sleep 3; prime-run nvidia-smi
Mon Aug 30 19:48:36 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.63.01    Driver Version: 470.63.01    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| 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   45C    P3     6W /  N/A |      4MiB /  3914MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1001      G   /usr/lib/Xorg                       4MiB |
+-----------------------------------------------------------------------------+

Idle

$ prime-run nvidia-smi
Mon Aug 30 19:48:55 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.63.01    Driver Version: 470.63.01    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| 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   45C    P8     2W /  N/A |      4MiB /  3914MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1001      G   /usr/lib/Xorg                       4MiB |
+-----------------------------------------------------------------------------+

gpick is not using the nvidia at all!

Are you using:

prime-run gpick 

:question:

(I don’t have a clue what gpick is, but I’m assuming a graphics-intensive application)

No, I just opened gpick via the application launcher. Should I run it via prime-run gpick?

That’s the »funny« thing. It is not. It’s just a color picker (like GIMPs pipette tool):

Edit

$ prime-run gpick &
[1] 10371

$ sleep 3; prime-run nvidia-smi
Mon Aug 30 20:02:08 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.63.01    Driver Version: 470.63.01    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| 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   41C    P3     6W /  N/A |      4MiB /  3914MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1001      G   /usr/lib/Xorg                       4MiB |
+-----------------------------------------------------------------------------+

Weird…

prime-rum gpick &
prime-run glx-gears

wait 5 seconds, provide GLXGears output.

:thinking:

$ prime-run gpick & prime-run glxgears
[1] 11642

Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
255 frames in 5.0 seconds = 50.585 FPS
184 frames in 5.1 seconds = 36.288 FPS
157 frames in 5.0 seconds = 31.349 FPS
150 frames in 5.0 seconds = 29.966 FPS
#exited gpick
243 frames in 5.0 seconds = 48.476 FPS
300 frames in 5.0 seconds = 59.995 FPS
300 frames in 5.0 seconds = 59.996 FPS

Thank you for your help. I really appreciate it!

Regards

1 Like

Well, I’m still no closer to finding out what the hell is going on with your system.

Can you:

  • reboot

  • Don’t log in

  • Go to TTY2

  • Log in there

  • Execute:

    mhwd --remove pci video-hybrid-intel-nvidia-prime 
    mhwd --remove pci video-modesetting
    mhwd --install pci video-hybrid-intel-nvidia-prime 
    sudo reboot
    

After logging into the GUI, in one terminal run this:

watch --interval=2 "lscpu --extended=MINMHZ,MHZ,MAXMHZ"

and look if it varies a lot while you try the last test again in another terminal.

I’m now thinking the Intel Is bottlenecked somehow by badly installed graphics drivers or CPU p-state.

:upside_down_face:

Just trying to figure out what the problem is, helps a lot.

Before running glxgears

Every 2,0s: lscpu --extended=MINMHZ,MHZ,...  xps19-9700: Mon Aug 30 22:31:04 2021

  MINMHZ      MHZ    MAXMHZ
800,0000 2338.995 5000,0000
800,0000 2293.022 5000,0000
800,0000 2281.732 5000,0000
800,0000 2295.457 5000,0000
800,0000 2290.466 5000,0000
800,0000 2300.206 5000,0000
800,0000 2292.700 5000,0000
800,0000 2278.321 5000,0000
800,0000 2253.333 5000,0000
800,0000 2300.962 5000,0000
800,0000 2271.218 5000,0000
800,0000 2308.192 5000,0000

While running glxgears and gpick


  MINMHZ      MHZ    MAXMHZ
800,0000 3503.345 5000,0000
800,0000 3499.902 5000,0000
800,0000 3500.192 5000,0000
800,0000 3498.682 5000,0000
800,0000 3499.671 5000,0000
800,0000 3499.498 5000,0000
800,0000 3500.596 5000,0000
800,0000 3505.452 5000,0000
800,0000 3500.181 5000,0000
800,0000 3499.998 5000,0000
800,0000 3507.160 5000,0000
800,0000 3510.556 5000,0000

The values stay pretty constantly at ~3500 MHZ.

Before re-installing the drivers, opening gpick would cause mouse movements to be slow and sluggish. After re-installing the drivers, opening gpick mouse movements are a bit better.

It seems/feels to be a bit more reactive/quicker now. The pointer doesn’t move smoothly, yet, but rather “jumps”/moves in a stop and go manner.

I’d say it’s a first win, nevertheless.

1 Like

So I can only conclude that gpick is not using the GPU (you did run it with prime-run, right?) and is a bad test for graphics performance as it’s just using a lot of CPU and no GPU whatsoever…

Try running glxgears without prime-run and it should max out the CPU…

Last ditch effort: Did you optimize the machine for battery life instead of performance???

:thinking:

Yes, I ran it with prime-run. Omitting prime-run won’t max out the CPU, though.

Without gpick running CPU usage ranges from 1,800-2,500 Mhz, with gpick running it’s at ~3,500 Mhz (both without prime-run).

I installed tlp a while ago, but never configured anything (or can’t remember). In case it’s relevant:

$ sudo tlp-stat 
--- TLP 1.3.1 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
defaults.conf L0032: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"

+++ System Info
System         = Dell Inc.  XPS 17 9700
BIOS           = 1.6.3
Release        = "Manjaro Linux"
Kernel         = 5.10.60-1-MANJARO #1 SMP PREEMPT Wed Aug 18 08:02:07 UTC 2021 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=57518ac6-4cc4-4081-b9d0-b8811de94c44 ro quiet udev.log_priority=3
Init system    = systemd 
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = not installed
Last run       = 15:03:52,   8716 sec(s) ago
Mode           = AC
Power source   = AC

Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!
Notice: systemd-rfkill.socket is not masked -- invoke "systemctl mask systemd-rfkill.socket" to correct this!

+++ Processor
CPU model      = Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu10/cpufreq/scaling_driver   = intel_pstate
/sys/devices/system/cpu/cpu10/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu10/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu10/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/scaling_max_freq =  5000000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu10/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu11/cpufreq/scaling_driver   = intel_pstate
/sys/devices/system/cpu/cpu11/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu11/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu11/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/scaling_max_freq =  5000000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu11/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu8/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu8/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu8/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu8/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu9/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu9/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu9/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu9/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/scaling_max_freq  =  5000000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu9/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  16 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  56 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  43

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Temperatures
CPU temp               =    45 [°C]
Fan speed (fan1)       =  1679 [/min]
Fan speed (fan2)       =  1684 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     0
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type      = NVMe
  Model     = PC611 NVMe SK hynix 1TB                 
  Firmware  = 11001111
  Scheduler = [none] mq-deadline kyber bfq (multi queue)

  Runtime PM: control = auto, autosuspend_delay_ms = (not available)

/dev/sda: not present.

+++ AHCI Link Power Management (ALPM)
No AHCI-enabled host controller detected.

+++ Intel Graphics
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       = -1 (use per-chip default)
/sys/module/i915/parameters/enable_psr       = -1 (use per-chip default)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)

/sys/class/drm/card0/gt_min_freq_mhz         =   350 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz         =  1150 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz       =  1150 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 1050 1100 1150 [MHz] 

+++ Wireless
bluetooth = on
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlp0s20f3(iwlwifi)            : wifi, connected, power management = off

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = on   (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:08.0/power/control = on   (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:12.0/power/control = on   (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:13.0/power/control = on   (0x070000, Serial controller, intel_ish_ipc)
/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = on   (0x050000, RAM memory, no driver)
/sys/bus/pci/devices/0000:00:14.3/power/control = on   (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:00:15.0/power/control = on   (0x0c8000, Serial bus controller [0c80], intel-lpss)
/sys/bus/pci/devices/0000:00:15.1/power/control = on   (0x0c8000, Serial bus controller [0c80], intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040100, Multimedia audio controller, sof-audio-pci)
/sys/bus/pci/devices/0000:00:1f.4/power/control = on   (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.5/power/control = on   (0x0c8000, Serial bus controller [0c80], intel-spi)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030200, 3D controller, nvidia)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:02.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:04.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:06:00.0/power/control = on   (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:3a:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:6e:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:6f:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:6f:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:6f:02.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:6f:04.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:70:00.0/power/control = on   (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:a4:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)

+++ USB
Autosuspend         = enabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = disabled

Bus 006 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 005 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 003 ID 0c45:6a0c control = auto, autosuspend_delay_ms = 2000 -- Microdia Integrated_Webcam_HD (uvcvideo)
Bus 001 Device 004 ID 8087:0026 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. AX201 Bluetooth (btusb)
Bus 001 Device 002 ID 27c6:533c control = auto, autosuspend_delay_ms = 2000 -- Shenzhen Goodix Technology Co.,Ltd. FingerPrint (no driver)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi   = inactive (laptop not supported)

+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = DELL 01RR3YM
/sys/class/power_supply/BAT0/cycle_count                    = (not supported)
/sys/class/power_supply/BAT0/charge_full_design             =   8339 [mAh]
/sys/class/power_supply/BAT0/charge_full                    =   6707 [mAh]
/sys/class/power_supply/BAT0/charge_now                     =   6707 [mAh]
/sys/class/power_supply/BAT0/current_now                    =      1 [mA]
/sys/class/power_supply/BAT0/status                         = Full

Charge                                                      =  100.0 [%]
Capacity                                                    =   80.4 [%]

+++ Recommendations
* Install ethtool to disable Wake On LAN (WOL)
* Install smartmontools for disk drive health info

It’s the same when I switched to using nvidia via optimus-manager --switch nvidia

Besides gpick:
I tested some web apps, like tradingview or sketchup and both work way better since your help yesterday. So, it’s not just a first win, but a significant improvement. Thank you very much for that.
I mean, I’m not there yet. There’s still room for improvement, but I’m glad it got better.

Another example of an application would be metamask in firefox. It’s slow and unresponsive as well. It improved, too, but it is still annoyingly laggy.
Metamask in firefox works well when I switch to nvidia mode.

This makes me wonder if optimus-manager or prime was properly configured.

Regards