freeze in fedora 28 while playing videos
So I'm using fedora28 as a bare metal host for a short time now. Besides fedora in qubes OS, I don't use it outside of VMs so I never experienced that.
I'm experiencing complete graphical freeze (ON THE HOST, FEDORA IS NOT IN THE VM) but not sound with videos playing with totem or vlc. The sound continues to play. The only way I can regain control is through a hard reboot. The usb input seems to freeze too because my RGB keyboard is not playing the variation colors during the freezes. Those videos I only have played them from NFS share for the moment. Not tested locally. I can play netflix from firefox without any freezes. the freezes seem to happen randomly during the video. Don't know what triggers it but I can use fedora continuously for days if I don't play videos.
I'm using gnome. So I read that gnome is using wayland, I don't know much about it since I was more used to xorg, but I did the troobleshooting. vlc is using the xorg compatibility of wayland and totem is a native wayland app. So I guess the problem is not in the toolkit nor the app coding, am I right?
So how do I debug this? could it be a problem with mutter? is it a problem with the graphic cards?
I'm using the intel chipset for the moment, I have also a nvidia card installed. I did the installation with the nvidia card linked to the screen and made the change after the installation ... is it the problem ? I know it's stupid mistake. I want to use the nvidia card with gpu passthrough in qemu that's why I went to use the intel chipset.
Gnome or wayland seems to have understood that after 2 reboots after I change cables' places. Should I do something to change a configuration files? is there a way like with xorg to remove the nvidia mention in the system? Before we had to purge the nouveau drivers and look at the xorg configuration, is it a thing alike here?
I really need a help here. Tell me what to show ? or tell me if I need to do a fresh installation with like now the intel chipset as primary in the bios? Or should I do a fresh installation with the nvidia card removed?
Edit 18/07: I've tested with videos locally stored by transfering one from the nfs share to the document folder and still got the freeze around 5 minutes or so after the start of the video.
Edit: config: i7-7700k, 2 screens attached to the igpu intel (on display port and the other one in hdmi). 970 EVGA GTX FTW3 chipset nvidia with one attached screen (gpu passthrough not yet activated) 16G of ram asrock fatality z270 professional gaming ssd intel 730 250G
Edit after test:
It's clearly not a temperature problem. I have ...
Can you check the system temperature? Does your GPU heat up very much during video playback? The syslog should help getting details (see @suspiciousmilk's answer).
I'm going to reinstall the whole thing to check if it's not a wayland bug due to the change of gpu