Gnome 3.28, short-time freezes on wayland, optimus
Hello, I have two cards (GeForce GTX 860M and Intel HD Graphics 4600) on my laptop and I'm trying to test a new feature for this. My laptop is MSI GE70 2PE Apache Pro and I have a great led indicator with two colors: iGPU (blue color), dGPU (orange color). So, my problems are short-time freezes when dGPU is starting its job. How to reproduce:
- Don't touch a keyboard or mouse.
- Indicator switches from orange to blue (iGPU is active now)
- Drag your mouse a little bit (or any action)
Indicator always switches to orange color after the 3rd action and I got a short-time freezes for my desktop. It works great and without any freezes if indicator switches color from orange to blue.
Arch Linux, kernel 4.15.10 Let me know if you need additional info