ripose-jp / Memento

An mpv-based video player for studying Japanese
https://ripose-jp.github.io/Memento/
GNU General Public License v2.0
434 stars 21 forks source link

Segmentation fault (core dumped) Error in Arch Linux #227

Closed OllTeeP closed 1 week ago

OllTeeP commented 1 week ago

I have updated my machine and i updated to the newest version but i get this error.

QRhiGles2: Failed to create temporary context QRhiGles2: Failed to create context Failed to create QRhi for QBackingStoreRhiSupport QOpenGLWidget: Failed to create context QOpenGLWidget: Failed to create context Segmentation fault (core dumped)

ripose-jp commented 1 week ago

What are your graphics drivers, desktop environment, and are you using X11 or Wayland?

There's not a ton of information I can find on how to fix this, seems like it's a driver bug or something.

This issue suggests that sudo pacman -S mesa might solve your problem.

This Anki forum post suggests changing your renderer using environment variables.

I'd also try running Memento using XWayland if you're using Wayland to see if that fixes it.

Let me know if any of these work.

OllTeeP commented 1 week ago

NVIDIA, XFCE, X11. Yeah none of these work i was going around forums too but nothing is working I might try the flatpak version which i did one time but memento was lagging but when i tried mpv with flatpak it worked like it was supposed too, so i'll do that and see if those issues were fixed. 🙂

ripose-jp commented 1 week ago

If Memento worked as a flatpak but not from the AUR, I'd guess there's a bug in one of the dependencies. I can't find a ton of good information on how to fix this other than what I've already posted. You might just have do trial and error until it starts working again since I can't reproduce this. Maybe try switching to Wayland if possible?

OllTeeP commented 1 week ago

I restarted my system and now it works.