AM2R-Community-Developers / AM2RLauncher

Host respository for the AM2RLauncher.
GNU General Public License v3.0
365 stars 19 forks source link

AM2R silently crashes on Pop!_OS 20.10 (Ubuntu) #3

Closed cobalt2727 closed 3 years ago

cobalt2727 commented 3 years ago

Logs are attached:


cobalt@cobalt-inspiron:~$ ./am2r.sh

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.331: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.332: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.332: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.362: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996b60b40 adjusted size vertical min 14 natural 14 must not decrease below min 16 natural 16

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.586: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.587: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:26.587: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

this is the part where i click PLAY



(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.180: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.180: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.180: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.229: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.230: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:235440): Gtk-WARNING **: 16:31:37.230: __gtksharp_1_Eto_GtkSharp_Forms_EtoEventBox 0x55e996a44860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17 cobalt@cobalt-inspiron:~$

Miepee commented 3 years ago

Hello! Since it's AM2R crashing, I think this is the wrong repository, but this needs to be confirmed first.

  1. Why are you executing am2r.sh instead of the Launcher? Is it just a shell shortcut to the Launcher?
  2. Can you post a neofetch for specs please? Would help with troubleshooting the issue, as AM2R is weird.
  3. Can you launch the AppImage normally? It's located in AM2RLauncherFolder/Profiles/Community Updates (Latest)/AM2R.AppImage
  4. Next time, could you put all the log files into coding blocks 😅 ? Makes it a ton easier to read.
cobalt2727 commented 3 years ago
  1. Yeah, I basically just use it to run AM2RLauncher.Gtk - I can confirm the same thing happens if I run that directly

  2. OS: Pop!_OS 20.10 x86_64 Host: Inspiron 15-7579 Kernel: 5.11.0-7612-generic Uptime: 1 hour, 3 mins Packages: 3537 (dpkg), 33 (flatpak) Shell: bash 5.0.17 Resolution: 1920x1080 DE: GNOME 3.38.3 CPU: Intel i5-7200U (4) @ 3.100GHz GPU: Intel HD Graphics 620 Memory: 2712MiB / 7729MiB

  3. It also immediately crashes... cobalt@cobalt-inspiron:~$ ./AM2R/Profiles/Community\ Updates\ \(Latest\)/AM2R.AppImage



Miepee commented 3 years ago

Ah yes, this is a known issue with intel HD graphics on Ubuntu (/Debian?) derivatives. To fix this, start the Launcher, go to "Settings" and input LIBGL_DRI3_DISABLE=1 into the Custom Environment Variable textbox. This is not a Launcher issue, it's an issue with the AppImage, generated through the Linux-Autopatcher.

Although we could make a check for the first boot up of the launcher, check if current Distro is debian / ubuntu related and has intel hd graphics, and if yes, we just input the custom env var for them.

cobalt2727 commented 3 years ago

That worked perfectly, thanks!