question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Everything is laggy under nvidia/hybrid mode

See original GitHub issue

Describe the bug Whenever I switch to nvidia or to hybrid mode everything starts being laggy, both simple things (terminal, browser) and obviously games.

I tried fiddling with the configuration a bit but nothing changed, what I’ve tried:

[optimus]
pci_power_control=yes

[nvidia]
modeset=yes
DPI=

System info Please include :

  • Your distribution Arch Linux 5.8.5-arch1-1 x86_64
  • Your desktop manager: KDE
  • You display manager: SDDM
  • Your laptop model: Dell XPS 15 7590 (GTX 1650, Intel i9-9980HK).
  • The version of optimus-manager you are using : latest stable release (Optimus Manager (Client) version 1.3)
  • Your custom optimus-manager configuration file at /etc/optimus-manager/optimus-manager.conf, if you made one

Logs switch:

[5] INFO: # Xorg pre-start hook
[5] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'hybrid', 'current_mode': 'intel'}
[5] INFO: Requested mode is: hybrid
[5] INFO: Checking for GDM display servers
[668] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[668] INFO: Unloading modules ['nouveau'] (if loaded)
[680] INFO: Setting Nvidia PCI power state to on
[722] INFO: Loading module nvidia
[724] INFO: Loading module nvidia_drm
[1177] INFO: Loaded extra Intel Xorg options (0 lines)
[1177] INFO: Loaded extra Intel Xorg options (0 lines)
[1177] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1177] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20200829T175758', 'requested_mode': 'hybrid'}
[1177] INFO: Xorg pre-start hook completed successfully.
[2] INFO: # Xorg post-start hook
[2] INFO: Running /etc/optimus-manager/xsetup-hybrid.sh
[6] INFO: Writing state {'type': 'done', 'switch_id': '20200829T175758', 'current_mode': 'hybrid'}
[6] INFO: Xorg post-start hook completed successfully.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dgauscommented, Sep 29, 2020

I am having a similar issue, hybrid mode works fine using the internal display, but as soon as I plug in an external monitor everything becomes extremely choppy. For example playing a 4k video uses 50% of all cores. Thank for the nvidia link, guess we will have to wait a bit.

1reaction
xerufcommented, Oct 24, 2020

Similar problem here on a HP Pavilion laptop running Arch, no display manager, KDE Plasma:

  • in intel mode, the external monitor is ignored
  • in nvidia and hybrid mode, both monitors work, but the external one lags, while the internal one is just fine

And I just realized that removing optimus-manager completely produces that same behavior…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Reduce Lag - A Guide To Better System Latency
Turn on Ultra Low Latency Mode - If NVIDIA Reflex is not available, your next best option is to turn on the Ultra...
Read more >
Nvidia/Intel Hybrid GPU - fix for slow animations? : r/pop_os
I like when everything works smooth and animations on either Ubuntu or PopOS (or most likely any other distro out there) are noticebly...
Read more >
Hybrid mode cause a slow down compared to GPU only?
So far I understand if the CPU is working in GPU mode emulation than it is not very effective and much slower than...
Read more >
How do you fix a lag on a hybrid laptop? - Quora
SOLUTION 1) Check that you plug in your PC when you play those games. The discrete graphics cards give their best performance only...
Read more >
Graphical lags on hybrid graphics laptop - Unix Stack Exchange
But if I start video on youtube or run glxgears everything starts to work normal. ... Kernel: 5.18.9 with nvidia-drm.modeset=1 mode setting
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found