Display lagging-Hybrid display with nouveau

Hi all,

since the update that deprecated nvidia drivers my display lags ie. I click or scroll in an application, nothing happens on screen and the item is clicked/screen is scrolled only after one to several seconds (the screen is like refreshed but several seconds late).

I’m on kde, kernel 5.4.105

inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
       Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
       Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
       Display: x11 server: X.Org 1.20.10 driver: loaded: intel resolution: 1920x1080~60Hz
       OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.4

My graphics drivers after the update :

My drivers before the update

mhwd -li
    mhwd -li
> Installed PCI configs:

                  NAME               VERSION          FREEDRIVER           TYPE

video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI

It happens only in some apps (I suspect those that make use of the gpu), like dolphin, firefox, spotify.

What are my options here to prevent this from happening ?

Also I have this in system logs :

systemd[1]: Started Bumblebee C Daemon.
bumblebeed[7928]: Module 'nvidia' is not found.
systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: bumblebeed.service: Failed with result 'exit-code'.

It happens nearly every minute so I guess I should uninstall bumblebee, but I’m afraid I could delete something that shouldn’t be uninstalled in the process through dependencies so I prefer ask here first.

pactree -r bumblebee
bumblebee
├─lib32-primus
└─primus
  └─bumblebee

can you provide

sudo mhwd-kernel -li
sudo ls /etc/mkinitcpio.d/*.preset

Here it is :

sudo mhwd-kernel -li

Currently running: 5.4.105-1-MANJARO (linux54)
The following kernels are installed in your system:
   * linux54

and :

sudo ls /etc/mkinitcpio.d/*.preset

/etc/mkinitcpio.d/linux54.preset

Actually I haven’t tried another kernel yet.

I tend to stay on LTS kernels and I think that 5.4 is the most recent one according to the settings page.

try in first step
open in TTY [CTRL +ALT + F2 to F7 ) or Terminal

sudo mhwd -a pci free 0300
sudo mhwd -a pci nonfree 0300
sudo mhwd-kernel -i linux510
sudo mwd -li 
2 Likes

Ok, thanks !
Just to understand what we’re doing at the same time :

First command installs open source drivers,
Second one installs proprietary drivers,
And third one installs kernel 5.10,
Right ?

First and second command are not conflicting ?
I always thought we shouldn’t have both drivers installed at the same time.

1 Like

driver nvidia & driver nouveau have to be blacklisted from choice nonfree or free

Ok, So first command :

sudo mhwd -a pci free 0300

skipping already installed config 'video-linux' for device 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation UHD graphics 630 (Mobile)

Second command installed a bunch of packages :

nvidia-utils, nvidia-prime, lib32-nvidia-utils,linux54-nvidia

Third command went fine.

And last one :

sudo mwd -li 


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

Actually display is back to normal and usable now, so thank you !

I don’t know how hybrid display works, I guess Intel card is mostly used ?

Is there a way to tell an app to use Nvidia card, or is it automatic ?

Should I be careful during future manjaro upgrades (for example can the hybrid drivers be uninstalled again etc…) ?

I can see I have 3 files in /etc/modprobe :

ll /etc/modprobe.d
total 12K
-rw-r--r-- 1 root root 105  5 févr.  2019 mhwd-bbswitch.conf
-rw-r--r-- 1 root root 180 27 mars  17:01 mhwd-gpu.conf
-rw-r--r-- 1 root root 194  5 févr.  2019 mhwd-nvidia.conf

You said drivers had to blacklisted to avoid conflicts, is it in those files that it happens ?

Thank you again !

for use nvidia hybrid video see
https://wiki.archlinux.org/index.php/PRIME

1 Like

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