AM2R-Community-Developers / AM2RLauncher

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

Linux won't start #26

Closed MrKnytt closed 2 years ago

MrKnytt commented 2 years ago

Running the community launcher on Pop-OS, I try and install the dependencies and it doesn't seem to work. Then, trying to run the game ends up with these errors:

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.906: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.906: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.907: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.907: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d16f0 adjusted size vertical min 15 natural 15 must not decrease below min 16 natural 16

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.916: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f686af9b40 adjusted size vertical min 14 natural 14 must not decrease below min 16 natural 16

(AM2RLauncher:14534): Gtk-CRITICAL **: 02:04:04.926: gtk_window_resize: assertion 'width > 0' failed

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:04.992: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f686af9b40 adjusted size vertical min 14 natural 14 must not decrease below min 16 natural 16

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:05.058: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f686af9b40 adjusted size vertical min 14 natural 14 must not decrease below min 16 natural 16

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:05.501: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:05.501: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:05.501: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.164: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.164: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.164: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.164: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f686af9b40 adjusted size vertical min 14 natural 14 must not decrease below min 16 natural 16

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.528: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1e20 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.528: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1cb0 adjusted size vertical min 16 natural 16 must not decrease below min 17 natural 17

(AM2RLauncher:14534): Gtk-WARNING **: 02:04:07.528: __gtksharp_2_Eto_GtkSharp_Forms_EtoEventBox 0x55f6869d1860 adjusted size vertical min 15 natural 15 must not decrease below min 17 natural 17

I've had this problem for a long time now and I have no idea what to do about it. I'm still mostly new to Linux and don't know what I could be missing.

Miepee commented 2 years ago

These are GTK warnings, nothing related to the actual game. Have you checked this yet? https://github.com/AM2R-Community-Developers/AM2R-Autopatcher-Linux#appimage-crashes

MrKnytt commented 2 years ago

These are GTK warnings, nothing related to the actual game. Have you checked this yet? https://github.com/AM2R-Community-Developers/AM2R-Autopatcher-Linux#appimage-crashes

I haven't tried the 32-bit nvidia driver yet, mostly because I have no idea where or how I can even get them.

Miepee commented 2 years ago

Which distro are you on?

MrKnytt commented 2 years ago

Oh my god I got it running.

I added LD_PRELOAD=/usr/lib/i386-linux-gnu/libGL.so.1 as a prefix to the launcher and it all worked.

Thanks for pointing me in the right direction!

MrKnytt commented 2 years ago

I do have one more quesiton: Is there any way to add that prefix into the file, so I don't have to go looking for it every time I want to open the game? Because right now I have to run it through a terminal and I'm likely going to forget that this is a thing.

Miepee commented 2 years ago

Check the Settings Tab, there's an Environment Variable text box there.

MrKnytt commented 2 years ago

Thanks!