It looks like the freezes could be a separate problem to the CPU spikes. Because these look like input freezes:
[ 6939.689860] shallan gnome-shell[15054]: _clutter_stage_queue_event: assertion 'CLUTTER_IS_STAGE (stage)' failed [ 6939.689984] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding. [ 6939.699761] shallan gnome-shell[15054]: _clutter_stage_queue_event: assertion 'CLUTTER_IS_STAGE (stage)' failed [ 6939.699930] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding. [ 6939.729329] shallan gnome-shell[15054]: _clutter_stage_queue_event: assertion 'CLUTTER_IS_STAGE (stage)' failed [ 6939.729490] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding.
but I don't know how that could cause high CPU.
It looks like the freezes could be a separate problem to the CPU spikes. Because these look like input freezes:
[ 6939.689860] shallan gnome-shell[15054]: _clutter_ stage_queue_ event: assertion 'CLUTTER_IS_STAGE (stage)' failed stage_queue_ event: assertion 'CLUTTER_IS_STAGE (stage)' failed stage_queue_ event: assertion 'CLUTTER_IS_STAGE (stage)' failed
[ 6939.689984] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding.
[ 6939.699761] shallan gnome-shell[15054]: _clutter_
[ 6939.699930] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding.
[ 6939.729329] shallan gnome-shell[15054]: _clutter_
[ 6939.729490] shallan gnome-shell[15054]: clutter_do_event: Event does not have a stage: discarding.
but I don't know how that could cause high CPU.