benjamimgois / goverlay

GOverlay is an opensource project that aims to create a Graphical UI to help manage Linux overlays.
GNU General Public License v3.0
597 stars 42 forks source link

"Access violation" when opening GOverlay (OpenSUSE + KDE + Wayland) #74

Closed GrgMdmn closed 12 months ago

GrgMdmn commented 1 year ago

Hello. I am embarrased because GOverlay does not work anymore on my OpenSUSE installation. It worked these previous days, but now, it does not. Here is the message I have when I try to open GOverlay : image

When launching it from a terminal :

goverlay
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00007F7E45AF564B

The mangohud and goverlay versions installed are respectively and 0.7.0-1.1 and 0.9.1-1.4, installed from the SUSE repo, using Discover. I have tried re-installing them using zypper, using opi, and each time, it is impossible to make goverlay work. For your information, the previously configured mangohud overlay is still active in games, so I think the problem really comes from GOverlay.

Do you have any idea on how to solve this problem ?

benjamimgois commented 12 months ago

@GrgMdmn , your problem might be related to wayland. The original Goverlay script forces it to run in x11 mode. Try to run it from the terminal with:

export QT_QPA_PLATFORM=xcb
mangohud --dlsym /usr/lib/goverlay

The latest git version is already wayland compatible, but it is in early alpha

GrgMdmn commented 12 months ago

Thank you very much ! The environment variable works well, I have added it to my GOverlay app (sorry, interface is in French) : image

Now everything is working fine ! :)