Steam crashes randomly on Wayland

Steam randomly crashes when running on Wayland. It wouldn’t be an issue, except the games also close with Steam. Steam notifications also freeze Steam permanently, requiring a killall -9 steam to work again.
Specs/Versions:

Logs of crash:

elo 07 22:10:49 onskankone kernel: steam[288210]: segfault at 0 ip 00000000f606be3d sp 00000000ffa6a5d0 error 4 in libnvidia-glcore.so.515.57[f548b000+1adc000]
elo 07 22:10:49 onskankone kernel: Code: 53 89 c3 31 f6 83 ec 2c 8b 80 f0 0b 00 00 8b ab a8 09 00 00 89 54 24 10 8b 93 e8 00 00 00 8b bb e0 00 00 00 8b 80 b8 3f 02 00 <8b> 0a 8b 93 64 05 00 00 85 c0 89 4c 24 0c 8b 8b 28 0c 00 00 0f 84
elo 07 22:10:49 onskankone kernel: audit: type=1701 audit(1659899449.580:2302): auid=60451 uid=60451 gid=60451 ses=9 pid=288210 comm="steam" exe="/home/onni/.local/share/Steam/ubuntu12_32/steam" sig=11 res=1
elo 07 22:10:49 onskankone audit[288210]: ANOM_ABEND auid=60451 uid=60451 gid=60451 ses=9 pid=288210 comm="steam" exe="/home/onni/.local/share/Steam/ubuntu12_32/steam" sig=11 res=1
elo 07 22:10:49 onskankone crash_20220807221049_175.dmp[308091]: Uploading dump (out-of-process)
                                                                 /tmp/dumps/crash_20220807221049_175.dmp
elo 07 22:10:49 onskankone audit: BPF prog-id=195 op=LOAD
elo 07 22:10:49 onskankone audit: BPF prog-id=196 op=LOAD
elo 07 22:10:49 onskankone audit: BPF prog-id=197 op=LOAD
elo 07 22:10:49 onskankone kernel: audit: type=1334 audit(1659899449.601:2303): prog-id=195 op=LOAD
elo 07 22:10:49 onskankone kernel: audit: type=1334 audit(1659899449.601:2304): prog-id=196 op=LOAD
elo 07 22:10:49 onskankone kernel: audit: type=1334 audit(1659899449.601:2305): prog-id=197 op=LOAD
elo 07 22:10:49 onskankone systemd[1]: Started Process Core Dump (PID 308092/UID 0).
elo 07 22:10:49 onskankone audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@41-308092-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
elo 07 22:10:49 onskankone kernel: audit: type=1130 audit(1659899449.603:2306): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@41-308092-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Coredump below:

Process 288210 (steam) of user 60451 dumped core.
                                                     
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/steam with build-id fbccbfb12288bac532b5a64e9390aa78627c1860
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/serverbrowser.so with build-id 02ba2e24ba042352dc588ac79ba2c02620bf243b
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/friendsui.so with build-id d3e19763dbb2e1e82d4a3774407ce79be59a57d4
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/steamservice.so with build-id 7a656372e6d2743a18b9076d7b7a48a47a9b2d24
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libopenvr_api.so with build-id 694769e324d930c1cb34ad66982c232b0860bc72
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/steamclient.so with build-id 37d89eca2d032748037817a3a29015ab58372473
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/chromehtml.so with build-id 74d6f1fef3ba3b20eab134a6f4843dd7ffabb3f8
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/vgui2_s.so with build-id 2627d45da8185093dec2ca3e0b5b74a7da420d51
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libogg.so.0 with build-id 4c91d8f0dd8581b0ba6780e60808dc1db9ff5151
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libvorbis.so.0 with build-id cb40c3a2fd4c2e54822da9789d01113970595af6
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2 with build-id 5de455f0c9fcd36426e121b47995d9a75bfcecbf
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libswscale.so.5 with build-id 899463f29a2dc17e253fdc44d8c5c1f857d3790d
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libavresample.so.4 with build-id 0e506657c7e0388a8d89e6f13c694ba77ab1587b
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libavformat.so.58 with build-id f2588eeac146259fed0991e2c626bbf0fe466f53
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libvpx.so.6 with build-id e7262af22bb742de3a1af404c1fcc02cea202365
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libicuuc.so with build-id 7bca947cbb088c5ea46ae03b4e96f2ff4efc8253
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libicui18n.so with build-id 88bf0deef8375bf4848f1fd853b1da471cfa8b7b
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libSDL2-2.0.so.0 with build-id d247398aa0cec70124cc2754544ec7eab935e11a
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libvideo.so with build-id b7756ee11fd9f99809e416eba6c1ac305d7c4da2
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libavutil.so.56 with build-id abf85a06683a34855e1a1d62a1ca36a1e0b461d6
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libavcodec.so.58 with build-id 148cef6f617f420f9e8332878f0ec4d229f9776c
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libv8.so with build-id c46f89eda7dcdedd846d2d6879a7d51e17ee8f64
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libvstdlib_s.so with build-id 01804c460ac3d91a9b37dba95334bf40a3fbe55d
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/libtier0_s.so with build-id 3b0d5ce7b7bb3b5093c554577bcfcbd054dcf7b2
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/steamui.so with build-id 5c7582a74e448b4b4e231214ca5ce7ec67b21fcf
                                                     Module [dso] without build-id.
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/filesystem_stdio.so with build-id 6fe5f549ecb01d25d2df06258df8dd37b6f91818
                                                     Module /home/onni/.local/share/Steam/ubuntu12_32/crashhandler.so with build-id 5bf4ffc6b4b98b652f0529d97e816afca2472cd6
                                                     Module libnss_systemd.so.2 with build-id 328373b0b3648a73104e955acbe1d0ab2d55b10f
                                                     Module libXss.so.1 with build-id 6bbc2db6c0e1f095aaeca37c89dd3dabba9e3319
                                                     Module libnss_myhostname.so.2 with build-id 0c105da14b7ccd8f6536694c4a9960d6cd75d879
                                                     Module libnss_resolve.so.2 with build-id 301e1d0563dec98b4b66973ff920baa8fe355d3d
                                                     Module libnss_mymachines.so.2 with build-id 1746846661daf95ff8831d65b77a40dd8217dba2
                                                     Module libplc4.so with build-id 5bd201a9027310b3b6cc5311f4b109bd046e2d32
                                                     Module libplds4.so with build-id 170edd20c235d02c6f246ed20344bd64078c3d06
                                                     Module libnssutil3.so with build-id a19008864ed75d7f81cfd64f1d1d917b5b1430ce
                                                     Module libnspr4.so with build-id a352246656d5c138600860a0eca2d4802b3542c3
                                                     Module libnss3.so with build-id 1a51e887e2ada60aec704ad3b9827b27c0ff6e31
                                                     Module libsmime3.so with build-id 6e9157f4e96e3863a4ca17441f46ea26389f10df
                                                     Module libnm.so.0 with build-id 7411ed415f32b1e322153a9c3e0fc578ec99e4e3
                                                     Module libuuid.so.1 with build-id cd66031432a77fcb9c2bf642cfd879aa170ffafe
                                                     Module libICE.so.6 with build-id 5c398351eae18b0185f2b9512647e40c97f4e068
                                                     Module libSM.so.6 with build-id 1cb4b8ce8ba49d0d98da7968de9ee574ed44fe6e
                                                     Module libopenal.so.1 with build-id c52c9460942f9bfb1540f5fe85c6cc9b4f4f3a02
                                                     Module libudev.so.1 with build-id 5d6c3c4be660f322164ae49a0609c353d314cedb
                                                     Module libudev.so.0 with build-id 31497fcf41f971f99d5e1b4b90944a1a6c8c6487
                                                     Module libgpg-error.so.0 with build-id 6ecfdea2e1871208214eee924c1a309656c8913d
                                                     Module libgcrypt.so.20 with build-id 8ece9a72febf606ba62e6071765e3cc597a6edf0
                                                     Module libcap.so.2 with build-id 238fa8fbe554aa67483b7520ad786930c2f57e0a
                                                     Module libopus.so.0 with build-id e51af9f0b271bc2ba66d7b413a97df4aa21d1228
                                                     Module libFLAC.so.8 with build-id 56c326c3797e9b6e25a8cfabbbaa5e0e225cfde9
                                                     Module libasyncns.so.0 with build-id 2c3c77cfaeddfda50b66c21e3f8a86cb78933ca2
                                                     Module libsystemd.so.0 with build-id f1749cef38dffab1a7d7e7153dca92b23bf65e7b
                                                     Module libsndfile.so.1 with build-id 3e89f726838072f4fa3f8a9b16bc8405876891d1
                                                     Module libdbus-1.so.3 with build-id 9a7836e28749a17ddf276a7e8bdfbfced6021807
                                                     Module libpulsecommon-16.1.so with build-id d1f892a3bc37a602d769b0664e50a7acb2257e5a
                                                     Module libvdpau.so.1 with build-id d42369090aa9fdf14c505ef29ac87c80b12daeae
                                                     Module libva-x11.so.2 with build-id d0ebd2fae84b477db5517e01282cce15a7434b1a
                                                     Module libva-drm.so.2 with build-id 75f6eb5c10eaf4e7ecb91c53684153cbfb3f4b57
                                                     Module libva.so.2 with build-id fe3c3f4ebbabaa3278c66d8d961e3436dfe8144a
                                                     Module libpulse.so.0 with build-id 8802cdae09ed16b8f9a246a1188bcc8dd26e09f9
                                                     Module libpipewire-0.3.so.0 with build-id dca7916648cef7d138b90125a218d63301ad10d2
                                                     Module libXtst.so.6 with build-id c8d14b5c1592a418613843e9ca5149154aa98f8b
                                                     Module libbrotlicommon.so.1 with build-id 6a6095e57c732bdc9f52c5b401ccd78412b34650
                                                     Module libdatrie.so.1 with build-id 505ee6a7fcb465c1a484c8c813508515e415f19b
                                                     Module liblzma.so.5 with build-id f08d32c158738d5bcd5dfab2cd522a4e940ea692
                                                     Module libzstd.so.1 with build-id 442775044f6163f8c14265443311007e63d5d3e0
                                                     Module libblkid.so.1 with build-id afea748906b270df7b0dace3a37d063cc79bc9aa
                                                     Module libbrotlidec.so.1 with build-id d217b0d877303a399de12d974671e442aaf58832
                                                     Module libbz2.so.1.0 with build-id 3e5d97f5bb82cda221ccd14318bfae2ac77b815e
                                                     Module libexpat.so.1 with build-id 04afefa75a726ecd0d440f6ba5c8be90d2dc79d0
                                                     Module libthai.so.0 with build-id 55fe252092b25fc34ec252789c21a4f1702bfef1
                                                     Module libfribidi.so.0 with build-id 2789c21c3223584b3251e2339b80f76ef6202729
                                                     Module libpixman-1.so.0 with build-id 7761654702bfc76c1fcf3a174c792eb1e899fe14
                                                     Module libxcb-shm.so.0 with build-id c478bab45d8cef998d3d744755528b23dd9c445b
                                                     Module libxcb-render.so.0 with build-id 42eaec8c69b7df78937c6b9e664a98c457e5db18
                                                     Module libXdamage.so.1 with build-id 55dd5fb5193b4ee5207ecad0d19cc6e9d7af5aa9
                                                     Module libXcomposite.so.1 with build-id 9e8c1fe3c65614cf3fb6b4bb74acffc8ab0a5e0e
                                                     Module libXcursor.so.1 with build-id ae3c97e2f155847562267b1707c75fb9884a2350
                                                     Module libXrandr.so.2 with build-id 3295bdef0e30b5fd9da27c99bf5d6fd1c14551aa
                                                     Module libXi.so.6 with build-id ae19d465b15227ab5e08de671bc16532450e384f
                                                     Module libXinerama.so.1 with build-id ac215c8573b00954e0257efdae64546bed54c652
                                                     Module libXrender.so.1 with build-id 6fcaf8f5c40556f8a59e70883c51eb05d13685f8
                                                     Module libtiff.so.5 with build-id 1282881f9efdc18907b4e65cf39e652c6178f272
                                                     Module libjpeg.so.8 with build-id 0c11491d2d39ff5819b2ce1425b8e2375d811b31
                                                     Module libpng16.so.16 with build-id 202b8ec7361ff29d13abdcbeb691a9273494d2d9
                                                     Module libpcre.so.1 with build-id 9e8433d78efdfe75dc9ca017f477cf938d804df1
                                                     Module libffi.so.8 with build-id 2bcd779cf0cb1d8583813bcf37976575a6078f4b
                                                     Module libmount.so.1 with build-id 1a0b51691abe9353156e69de06814b70d8f9f5f9
                                                     Module libz.so.1 with build-id eef8f76603fae7a2876659fe737c1aebadb8b90b
                                                     Module libXfixes.so.3 with build-id d04e7cb05d21774a5403cdea89e8023c4e2dbd78
                                                     Module libatk-1.0.so.0 with build-id 3fb6e10a0aab244ea183014512384b21976b619c
                                                     Module libfreetype.so.6 with build-id ac10dea7fcb0e1dbc52d6989bfd34abbd814c1bf
                                                     Module libfontconfig.so.1 with build-id 8a9ac4404881ead3fa46770b2da4e946201cd827
                                                     Module libharfbuzz.so.0 with build-id 4f6dbb51f0257a18ae02d7a0d3e14bbe91ddb62d
                                                     Module libpango-1.0.so.0 with build-id 3a9a464115348e2f6daa55aa2d45f5332aa4969b
                                                     Module libpangoft2-1.0.so.0 with build-id 625ca95bd9f24b1f199169a2f4ded4c11d552e5c
                                                     Module libcairo.so.2 with build-id dd8d673a0e6ca9a8454e6712ef7c6d792288a7eb
                                                     Module libpangocairo-1.0.so.0 with build-id fd95109ae4a46130cd92004fd8a06da57a01e605
                                                     Module libgdk-x11-2.0.so.0 with build-id a69ae5230528f117e83349c598be3c8e25c9c756
                                                     Module libgmodule-2.0.so.0 with build-id 0df6b28d66299d96c47fc76f629234ab99371675
                                                     Module libgdk_pixbuf-2.0.so.0 with build-id 481be1b4cddf993f8d7b903d66c2fff2afef2783
                                                     Module libglib-2.0.so.0 with build-id 6cd48b6d9f35260c79f944bd1a3eb958b91fd94b
                                                     Module libgobject-2.0.so.0 with build-id 066a15490e1540b29cae244bd589f8d236fdb058
                                                     Module libgio-2.0.so.0 with build-id d3f4fbb75e8783a33162f2b2e47bada3f223f7d3
                                                     Module libgtk-x11-2.0.so.0 with build-id 2731645ea4d8238e682781a638470a546d65b7ca
                                                     Module libdbusmenu-glib.so.4 with build-id e70e8a7c68ffd38413ba472dcd3dc4fa11cf3a86
                                                     Module libdbusmenu-gtk.so.4 with build-id 4440e96792095b827703430b1524a61ed5c1ad49
                                                     Module libindicator.so.7 with build-id cb38ddcb8f426b4809ef119f0bd60130dd01e70d
                                                     Module libappindicator.so.1 with build-id b45ce0354a3c2e26bf64fa5d9dd1c6cf4bff39fd
                                                     Module libxcb-sync.so.1 with build-id 20e3e329957f59f35c8e8109f522c4e879d110ae
                                                     Module libxcb-present.so.0 with build-id 6c7c43f22ecafb03587fb389eb02e7042764f87e
                                                     Module libxcb-dri3.so.0 with build-id e7595e557d4b7e8203b2399cd075c5cf03273fb9
                                                     Module libX11-xcb.so.1 with build-id 7e480499e2b03a245a7cced1f1977449bdb9c9cc
                                                     Module libxcb-glx.so.0 with build-id 817fea1247bcd2ed52775646ce5e5ad22768f3cf
                                                     Module libdrm.so.2 with build-id b7ccfa37c747ad0b3903429f687a55330b25094b
                                                     Module libXext.so.6 with build-id 51364f7aaaad05288c6403f4cd82dc20bd1c2975
                                                     Module libnvidia-glcore.so.515.57 with build-id 34eacdc0d5842027e9101747cfaa7a6b5416e1d9
                                                     Module libnvidia-tls.so.515.57 with build-id 5e2342e734b9e33fbd8082ba5a61b9efbe88ab01
                                                     Module libnvidia-glsi.so.515.57 with build-id b9fd9cdd5c14cd9546f19c18eddb276845b918ba
                                                     Module libGLX_nvidia.so.0 with build-id 0faf880279899ab02753d9d588cd3b9f00002740
                                                     Module libGLX.so.0 with build-id 92c5b648663ea46e00344148f13d0e4413ece785
                                                     Module libGLdispatch.so.0 with build-id deb094bd23d7b05cfe2715882db8caadfdc7a2ab
                                                     Module libGL.so.1 with build-id 7d4cc9852ee6fd480756b2bbedc10c20167ed71a
                                                     Module libXdmcp.so.6 with build-id d6d2063b49e333551fb395c4699ce68908342ca2
                                                     Module libXau.so.6 with build-id 37885701fd17e23735180bb9afefba9fd93eafce
                                                     Module libxcb.so.1 with build-id 4187de5462ea94547789043cd82a227550b36d73
                                                     Module libgcc_s.so.1 with build-id 9cfb5c42915c09e5eedaca6de47885129eeb618e
                                                     Module ld-linux.so.2 with build-id 9ca3a26f52da8017b15300c7c4a04e141b9f35e4
                                                     Module libc.so.6 with build-id 7396ced206f6155e1cc2fe0f8b65abb84a17bed4
                                                     Module libm.so.6 with build-id 3c25abc71cfb4f383b9432ddca9f43ac3ab60f70
                                                     Module libX11.so.6 with build-id 54441eb873ba14650de70b96c9724da9f6dc6eb3
                                                     Module librt.so.1 with build-id 7f7a4f2054c5474126043caa6dc16f8ddb783f1d
                                                     Module libpthread.so.0 with build-id 09c9cd14d337113173182eb80be268031743b768
                                                     Module libstdc++.so.6 with build-id c621e6367cd2f26f673b5c09f87c95755f3ff83b
                                                     Module libdl.so.2 with build-id c8841800dec17fbf5c2fb788f6abda61186cc3c3
                                                     Stack trace of thread 288210:
                                                     #0  0x00000000f606be3d n/a (libnvidia-glcore.so.515.57 + 0xe6be3d)
                                                     #1  0x00000000f606c70c n/a (libnvidia-glcore.so.515.57 + 0xe6c70c)
                                                     #2  0x00000000f60ae780 n/a (libnvidia-glcore.so.515.57 + 0xeae780)
                                                     #3  0x00000000f606e6d3 n/a (libnvidia-glcore.so.515.57 + 0xe6e6d3)
                                                     #4  0x00000000f70bc5c6 n/a (libGLX_nvidia.so.0 + 0x425c6)
                                                     #5  0x00000000f70fa743 n/a (libGLX_nvidia.so.0 + 0x80743)
                                                     #6  0x00000000f70e71a8 glXMakeCurrent (libGLX_nvidia.so.0 + 0x6d1a8)
                                                     #7  0x00000000f76a3026 n/a (libGLX.so.0 + 0x23026)
                                                     #8  0x00000000f76a9c85 n/a (libGLX.so.0 + 0x29c85)
                                                     #9  0x00000000eee7a98e n/a (/home/onni/.local/share/Steam/ubuntu12_32/vgui2_s.so + 0x5798e)
                                                     ELF object binary architecture: Intel 80386