So I have a lenovo legion y740, with an i7-9750h and a 2070 max-q. I am running KDE -plasma on X11. My laptop has a MUX switch that lets me switch between:
-
Dedicated GPU mode (laptop runs only on the nvidia card for better performance, Intel igpu is turned off, allows me to use gsync)
-
Hybrid mode (igpu + dgpu is turned on, helps in saving battery life)
Now With proprietary drivers installed. I have no problem running on hybrid mode, everything works fine But when I go to my bios and turn on dgpu mode, arch boots but the screen starts flickering, the second there is any gpu load - more the load, the greater is the flicker.
I had a look at https://wiki.archlinux.org/title/Hybrid_graphics And only the first part of the page offers any info about laptop that HAVE a MUX switch.
So far, here are the things that i have tried with both nvidia and nvidia-dkms drivers. I am currently using dkms.
-
Forcing full composition pipeline in nvidia server settings and running a script that enables it on start. Screen flickering persists.
-
Changing modeset to 1.
Both of these i followed from here:
- Blacklisting nouveau drivers. And that too, does nothing.
Note: Windows had a similar problem back in Sept. 2020 with the release of 456.38 but that was promptly fixed through a driver update.