I used to switch graphics card from integrated (Intel GMA4500) to discrete (Radeon 4500 HD) using the command:
echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
followed by a logout.
This kept the login manager visible on the laptop, allowing to log back in etc etc.
Now, when I logout the LVDS-1 output becomes black and the only way to have the screen visible is to plug an external monitor to the HDMI port of the discrete radeon4500HD card which is HDMI-0 port.
if I login, then the responsiveness of the interface on the laptop screen is extremely slow, whereas it is fast on the external monitor.
I can make it quick also on the laptop display by selecting “Same output on all monitors” from the display settings (Mate desktop).
However, as I unplug the HDMI cable, the interface and responsiveness on the laptop screen goes back to extremely slow.
I would like to have the discrete graphics card to output properly to the laptop screen as it used to before.
I think I solved it, even if I cannot understand the basis for it. I will explain how I did:
I installed linux49 and booted normally and it did not work
I installed linux44 and rebooted
At grub, I remembered that when 4.4 was the most recent kernel I had to use the fallback initramfs boot option otherwise booting would hang
I selected kernel 4.4.241-1 fallback initramfs
After booting I tried to switch graphics card and logged out and it worked including fast and responsive UI
launching glxsperes64 confirmed the gpu used was radeon
I tried to reboot with 5.4.64-1 fallback initramfs and it worked as well
Are you aware of what difference there is between booting using the default kernel option and the fallback initramfs? It seems to be the gamechanger for me.