Random desktop freezes with i915

Basically desktop freezes with no reason at all. Only power button reboot. video-linux is installed via mhwd. The gpu acceleration seems to be the issue. I will attach some logs. Please help

journalctl (last 100 lines)
-- Journal begins at Sat 2021-02-06 13:04:57 EET, ends at Tue 2021-02-23 21:41:14 EET. --
2021-02-23T19:51:00+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.23' (uid=1000 pid=885 comm="xfdesktop ")
2021-02-23T19:51:00+0200 stratuml tumblerd[913]: Failed to load plugin "tumbler-gepub-thumbnailer.so": libgepub-0.6.so.0: cannot open shared object file: No such file or directory
2021-02-23T19:51:00+0200 stratuml dbus-daemon[486]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.27' (uid=1000 pid=924 comm="xiccd ")
2021-02-23T19:51:00+0200 stratuml systemd[1]: Starting Manage, Install and Generate Color Profiles...
2021-02-23T19:51:00+0200 stratuml dbus-daemon[486]: [system] Successfully activated service 'org.freedesktop.ColorManager'
2021-02-23T19:51:00+0200 stratuml systemd[1]: Started Manage, Install and Generate Color Profiles.
2021-02-23T19:51:00+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:00+0200 stratuml org.freedesktop.thumbnails.Thumbnailer1[913]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
2021-02-23T19:51:00+0200 stratuml org.freedesktop.thumbnails.Thumbnailer1[913]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
2021-02-23T19:51:00+0200 stratuml org.freedesktop.thumbnails.Thumbnailer1[913]: Registered thumbnailer ffmpegthumbnailer -i %i -o %o -s %s -f
2021-02-23T19:51:00+0200 stratuml org.freedesktop.thumbnails.Thumbnailer1[913]: Registered thumbnailer heif-thumbnailer -s %s %i %o
2021-02-23T19:51:00+0200 stratuml org.freedesktop.thumbnails.Thumbnailer1[913]: Registered thumbnailer gsf-office-thumbnailer -i %i -o %o -s %s
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.25' (uid=1000 pid=913 comm="/usr/lib/tumbler-1/tumblerd ")
2021-02-23T19:51:01+0200 stratuml systemd[758]: Starting Virtual filesystem service - disk device monitor...
2021-02-23T19:51:01+0200 stratuml dbus-daemon[486]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.30' (uid=1000 pid=955 comm="/usr/lib/gvfs-udisks2-volume-monitor ")
2021-02-23T19:51:01+0200 stratuml systemd[1]: Starting Disk Manager...
2021-02-23T19:51:01+0200 stratuml udisksd[960]: udisks daemon version 2.9.2 starting
2021-02-23T19:51:01+0200 stratuml polkitd[489]: Registered Authentication Agent for unix-session:1 (system bus name :1.31 [/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating service name='ca.desrt.dconf' requested by ':1.30' (uid=1000 pid=952 comm="light-locker ")
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'ca.desrt.dconf'
2021-02-23T19:51:01+0200 stratuml dbus-daemon[486]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.35' (uid=1000 pid=923 comm="xfce4-power-manager ")
2021-02-23T19:51:01+0200 stratuml audit: BPF prog-id=12 op=LOAD
2021-02-23T19:51:01+0200 stratuml audit: BPF prog-id=13 op=LOAD
2021-02-23T19:51:01+0200 stratuml systemd[1]: Starting Daemon for power management...
2021-02-23T19:51:01+0200 stratuml NetworkManager[487]: <info>  [1614102661.5036] agent-manager: agent[fdb1dee9218e7db9,:1.34/org.freedesktop.nm-applet/1000]: agent registered
2021-02-23T19:51:01+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:01+0200 stratuml dbus-daemon[486]: [system] Successfully activated service 'org.freedesktop.UDisks2'
2021-02-23T19:51:01+0200 stratuml systemd[1]: Started Disk Manager.
2021-02-23T19:51:01+0200 stratuml udisksd[960]: Acquired the name org.freedesktop.UDisks2 on the system message bus
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
2021-02-23T19:51:01+0200 stratuml systemd[758]: Started Virtual filesystem service - disk device monitor.
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.25' (uid=1000 pid=913 comm="/usr/lib/tumbler-1/tumblerd ")
2021-02-23T19:51:01+0200 stratuml systemd[758]: Starting Virtual filesystem service - Apple File Conduit monitor...
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
2021-02-23T19:51:01+0200 stratuml systemd[758]: Started Virtual filesystem service - Apple File Conduit monitor.
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.25' (uid=1000 pid=913 comm="/usr/lib/tumbler-1/tumblerd ")
2021-02-23T19:51:01+0200 stratuml systemd[758]: Starting Virtual filesystem service - digital camera monitor...
2021-02-23T19:51:01+0200 stratuml dbus-daemon[486]: [system] Successfully activated service 'org.freedesktop.UPower'
2021-02-23T19:51:01+0200 stratuml systemd[1]: Started Daemon for power management.
2021-02-23T19:51:01+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
2021-02-23T19:51:01+0200 stratuml systemd[758]: Started Virtual filesystem service - digital camera monitor.
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.25' (uid=1000 pid=913 comm="/usr/lib/tumbler-1/tumblerd ")
2021-02-23T19:51:01+0200 stratuml systemd[758]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
2021-02-23T19:51:01+0200 stratuml systemd[758]: Started Virtual filesystem service - Media Transfer Protocol monitor.
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.23' (uid=1000 pid=885 comm="xfdesktop ")
2021-02-23T19:51:01+0200 stratuml systemd[758]: Starting Virtual filesystem metadata service...
2021-02-23T19:51:01+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.gtk.vfs.Metadata'
2021-02-23T19:51:01+0200 stratuml systemd[758]: Started Virtual filesystem metadata service.
2021-02-23T19:51:02+0200 stratuml dbus-daemon[486]: [system] Activating via systemd: service name='org.blueman.Mechanism' unit='blueman-mechanism.service' requested by ':1.39' (uid=1000 pid=953 comm="/usr/bin/python /usr/bin/blueman-applet ")
2021-02-23T19:51:02+0200 stratuml systemd[1]: Starting Bluetooth management mechanism...
2021-02-23T19:51:02+0200 stratuml blueman-mechanism[1070]: Unable to init server: Could not connect: Connection refused
2021-02-23T19:51:02+0200 stratuml blueman-mechanism[1070]: Unable to init server: Could not connect: Connection refused
2021-02-23T19:51:02+0200 stratuml blueman-mechani[1070]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
2021-02-23T19:51:02+0200 stratuml dbus-daemon[486]: [system] Successfully activated service 'org.blueman.Mechanism'
2021-02-23T19:51:02+0200 stratuml systemd[1]: Started Bluetooth management mechanism.
2021-02-23T19:51:02+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=blueman-mechanism comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' requested by ':1.46' (uid=1000 pid=953 comm="/usr/bin/python /usr/bin/blueman-applet ")
2021-02-23T19:51:02+0200 stratuml systemd[758]: Starting Bluetooth OBEX service...
2021-02-23T19:51:02+0200 stratuml obexd[1079]: OBEX daemon 5.55
2021-02-23T19:51:02+0200 stratuml dbus-daemon[780]: [session uid=1000 pid=780] Successfully activated service 'org.bluez.obex'
2021-02-23T19:51:02+0200 stratuml systemd[758]: Started Bluetooth OBEX service.
2021-02-23T19:51:02+0200 stratuml systemd[1]: systemd-rfkill.service: Succeeded.
2021-02-23T19:51:02+0200 stratuml audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml kernel: kauditd_printk_skb: 19 callbacks suppressed
2021-02-23T19:51:02+0200 stratuml kernel: audit: type=1131 audit(1614102662.834:85): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml NetworkManager[487]: <info>  [1614102662.8788] manager: startup complete
2021-02-23T19:51:02+0200 stratuml systemd[1]: Finished Network Manager Wait Online.
2021-02-23T19:51:02+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml systemd[1]: Reached target Network is Online.
2021-02-23T19:51:02+0200 stratuml systemd[1]: Starting TeamViewer remote control daemon...
2021-02-23T19:51:02+0200 stratuml kernel: audit: type=1130 audit(1614102662.877:86): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: Operation not permitted
2021-02-23T19:51:02+0200 stratuml systemd[1]: Started TeamViewer remote control daemon.
2021-02-23T19:51:02+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=teamviewerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml systemd[1]: Reached target Multi-User System.
2021-02-23T19:51:02+0200 stratuml systemd[1]: Reached target Graphical Interface.
2021-02-23T19:51:02+0200 stratuml kernel: audit: type=1130 audit(1614102662.937:87): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=teamviewerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:02+0200 stratuml systemd[1]: Starting TLP system startup/shutdown...
2021-02-23T19:51:03+0200 stratuml tlp[1097]: Applying power save settings...done.
2021-02-23T19:51:03+0200 stratuml tlp[1097]: Setting battery charge thresholds...done.
2021-02-23T19:51:03+0200 stratuml systemd[1]: Finished TLP system startup/shutdown.
2021-02-23T19:51:03+0200 stratuml audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:03+0200 stratuml systemd[1]: Startup finished in 2.762s (firmware) + 7.263s (loader) + 1.738s (kernel) + 9.452s (userspace) = 21.217s.
2021-02-23T19:51:03+0200 stratuml kernel: audit: type=1130 audit(1614102663.194:88): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:07+0200 stratuml systemd[1]: NetworkManager-dispatcher.service: Succeeded.
2021-02-23T19:51:07+0200 stratuml audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:07+0200 stratuml kernel: audit: type=1131 audit(1614102667.010:89): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
2021-02-23T19:51:10+0200 stratuml kernel: i915 0000:00:02.0: [drm] Resetting bcs0 for invalid CSB event
2021-02-23T19:51:10+0200 stratuml kernel: i915 0000:00:02.0: [drm] Resetting bcs0 for CS error
2021-02-23T19:51:10+0200 stratuml kernel: i915 0000:00:02.0: [drm] *ERROR* bcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
2021-02-23T19:51:10+0200 stratuml kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 8:2:00000009, in Xorg [609]
2021-02-23T19:51:10+0200 stratuml kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
2021-02-23T19:51:10+0200 stratuml kernel: Please file a _new_ bug report at https://gitlab.freedesktop.org/drm/intel/issues/new.
2021-02-23T19:51:10+0200 stratuml kernel: Please see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
2021-02-23T19:51:10+0200 stratuml kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
2021-02-23T19:51:10+0200 stratuml kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
2021-02-23T19:51:10+0200 stratuml kernel: GPU crash dump saved to /sys/class/drm/card0/error

/sys/class/drm/card0/error
No error state collected

20-intel.conf
Section "Device"
      Identifier  "Intel Graphics"
      Driver      "intel"
      Option      "DRI" "3"             # DRI3 is now default
      Option      "Accel"  "False" # default
      #Option      "AccelMethod"  "sna" # default
      #Option      "AccelMethod"  "uxa" # fallback
EndSection

Thanks in advance!

Edit1:
cpu i5-5200U
gpu HD graphics 5500

Why do you have that file at all?
It should work without it.
… for me it does …

I read about X freezes and hangs on archwiki, they suggest disabling the hw acceleration and changing the DRI and what not. I disabled HW acceleration, the freezes are less frequent but they occur, not to mention the artifacts (have no screenshots but they look like tiny horizontal lines all over the place, especially frequent in firefox full screen video). To sum up, modifying 20-intel is not the solution

well, none of that seems to have helped - so I’d remove that file (or comment out everything in it)
and start to look in other directions

The error message just before the crash might provide a clue.
I’d look into options on module load time and trying these out.

I myself added the i915 to the MODULES= line at the start of /etc/mkinitcpio.conf
This, too, can take options AFAIK.

Which kernel are you running atm?
I have problems all the time with the newest kernel and run the 5.4.

Solved my intel issues.

5.11 rc7 on stable
5.4 indeed solves issues, but jetbrains IDEs do not start for some reason.