All effects Stopped everything not smooth [External Monitor]

Everything is good but when i transfer to nvidia mode in optimus-manager and put the second monitor in my laptop, it’s working but everything is laggy and not smooth and all effects like “Wobbly Windows” , “Magic Lamp” after adding the external monitor stop working.

So how can i fix this?

xrandr -q output:

Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.79*+
   1920x1080     59.94  
   1280x1024     60.02  
   1280x960      60.00  
   1280x720      60.00    59.94  
   1152x864      75.00  
   1024x768      75.03    70.07    66.00    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x480       59.94    59.94  
   640x480       75.00    72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
  1280x1024 (0x1f2) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x1f5) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x203) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x212) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x213) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x21f) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

Laptop config :

System:    Host: Devloper Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.19.5 Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 80YY v: Lenovo Y520-15IKBM serial: <superuser/root required> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <superuser/root required> UEFI: LENOVO v: 5XCN26WW 
           date: 12/20/2018 
Battery:   ID-1: BAT0 charge: 36.1 Wh condition: 38.0/45.0 Wh (84%) 
CPU:       Topology: Quad Core model: Intel Core i5-7300HQ bits: 64 type: MCP L2 cache: 6144 KiB 
           Speed: 1100 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 1083 2: 1080 3: 1089 4: 1030 
Graphics:  Device-1: Intel HD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] driver: nvidia v: 440.100 
           Device-3: Syntek EasyCamera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1: 1366x768~60Hz 2: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 
Audio:     Device-1: Intel CM238 HD Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.4.64-1-MANJARO 
Network:   Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter driver: ath10k_pci 
           IF: wlp2s0 state: up mac: 64:6e:69:d6:e3:31 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp3s0 state: down mac: 54:e1:ad:89:fa:19 
           Device-3: Qualcomm Atheros type: USB driver: btusb 
Drives:    Local Storage: total: 1.03 TiB used: 578.18 GiB (55.0%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW128HEGR-000L2 size: 119.24 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
Partition: ID-1: / size: 47.67 GiB used: 42.44 GiB (89.0%) fs: ext4 dev: /dev/nvme0n1p6 
Swap:      ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p7 
Sensors:   System Temperatures: cpu: 46.0 C mobo: N/A gpu: nvidia temp: 36 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 192 Uptime: 9m Memory: 7.67 GiB used: 2.53 GiB (33.0%) Shell: Bash inxi: 3.1.05 
  1. As an editor on this site, I’ve improved the readability of your post somewhat. Please have a look at my edits by pressing the orange pencil at the top of your post and use the same system next time when you post.
  2. Have you checked that the compositor is still running? Running a game on monitor 2 while continuing to run other applications is a sure way of doing that and there are no good solutions: or the game will be slow, or the compositing effects will be stopped)
  3. If all the above fails, have you tried another kernel with the Manjaro kernel GUI yet?

:innocent:

1-Thanks for your reply , yes when i run a game the same things happened… all effects stopped but the game work fine
2- about kernel not yet i ll try to install another kernel and i gonna tell you

That’s by design: The game (or video editor, or GIMP, or …) will get exclusive rights to the dGPU and the Wobbly Windows and Magic Lamp get out of the way.

You can change this but the game’s performance will suffer as it doesn’t have exclusive rights to the dGPU any more and your FPS will drop!

If that’s still what you want:

No need if the above solves your issue… :wink: