I'm afraid this is going to be fairly vague. There's something in KDE5 that causes the nouveau driver to do a hard lockup when switching back from playing video. I run MythTV in full-screen mode on one of my two monitors. In KDE4, this wasn't a problem, but in KDE5, when using OpenGL or VDPAU rendering in MythTV, it always hangs the nouveau driver. The screen locks up, the keyboard is unresponsive. I can log in remotely and reboot the box. I have another computer whose filesystem is the same (it's copied over via rsync for all but bits of /etc). It runs KDE4, and it does not demonstrate this problem. I've tried all three rendering settings in KDE5, they all behave the same. The dmesg output shows: localhost kernel: nouveau 0000:01:00.0: mythfrontend[3151]: failed to idle channel 19 [mythfrontend[3151]] localhost kernel: nouveau 0000:01:00.0: mythfrontend[3151]: failed to idle channel 19 [mythfrontend[3151]] localhost kernel: nouveau 0000:01:00.0: fifo: runlist update timeout localhost kernel: nouveau 0000:01:00.0: fifo: INTR 00000001: 0000000b My video card on the non-functioning machine is NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1) The "xine" program also causes the same lockup in KDE5, but not in KDE4. It also uses vdpau for rendering. Again, sorry that this is vague. I can compile test patches and do more investigation if somebody can direct me to interesting lines of enquiry.
Please report the freeze to nouveau developers. They need to fix it. Workaround doesn't help anybody.