Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game only crashes when using the opengl renderer #1024

Open
unmellow opened this issue Jun 4, 2022 · 12 comments
Open

game only crashes when using the opengl renderer #1024

unmellow opened this issue Jun 4, 2022 · 12 comments

Comments

@unmellow
Copy link

unmellow commented Jun 4, 2022

OS: Manjaro Linux x86_64
motherboard: Gigabyte Technology GA-A320M-S2H
CPU: AMD Ryzen 5 1600X (12) @ 3.600GHz
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
Memory: 2870MiB / 16005MiB
Kernel: 5.16.18-1-MANJARO
WM: sway

This all provided by the linux command neofetch
pretty sure my gpu is a 580

game version 0.1.3

this is the what it spits into my terminal
spades.error.txt
and this is the error screen thing idk what to call it
2022-06-04T04:00:06,234152129-04:00

incase it is relevant this is the install script i used
https://aur.archlinux.org/packages/openspades

link to PKGBUILD https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=openspades

link to .install
https://aur.archlinux.org/cgit/aur.git/tree/openspades.install?h=openspades

link to .SRCINFO
https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=openspades

and at the very least I know i can run minecraft and many other video games that I can only assume use opengl
so I would be surprised if my mesa is the issue

@unmellow
Copy link
Author

unmellow commented Jun 4, 2022

figured out where the system messages .lof file was
https://gist.github.com/unmellow/222683d22d38287a6ba31c56f304e93f

@devnexen
Copy link
Contributor

devnexen commented Jun 4, 2022

Just curious, I wonder whether if you have installed this version of GLEW https://software.manjaro.org/package/glew1.10 or this one https://software.manjaro.org/package/glew

@unmellow
Copy link
Author

unmellow commented Jun 5, 2022

apparently both are installed on my system
the lib32 versions of both too

@devnexen
Copy link
Contributor

devnexen commented Jun 5, 2022

openspades-0.1.3.zip
Would you be able to build from source from this slightly modified version ? No guaranteeing it will fix your issue but at least to see if the error message would change.

@unmellow
Copy link
Author

unmellow commented Jun 5, 2022

ok tested it it got the same crash graphic and the logs look similar but I haven't been thorough

@unmellow
Copy link
Author

unmellow commented Jun 5, 2022

actually i installed https://aur.archlinux.org/packages/glew-wayland
which required that I uninstalled glew and openspades then tried
running the custom binary and it worked

Apparently this is wayland weirdness i doubt you can actually effect in anyway
so feel free to close unless you have greater insight

@unmellow
Copy link
Author

unmellow commented Jun 5, 2022

I modified the package build og glew-wayland to contain

provides=(glew)

which let me reinstall the package of openspades and that also worked so doubly not something wrong with openspades itself

@devnexen
Copy link
Contributor

devnexen commented Jun 5, 2022

that s good news.

@atorresbr
Copy link

Disable Waylando on Manjaro -- https://forum.manjaro.org/t/how-do-i-change-from-wayland-to-x11-when-using-gdm/81301

i solve this error on ubuntu #984

snApps do not work correctly with Wayland, the main ones are: kazam, OBS, and OpenSpades. How to switch to Ubuntu without this BULSHIT ?, just change ON the gear at the bottom right and choose the Ubuntu option without WAYLAND.

Ubuntu Without Wayland

Another option to solve the problem: Open the terminal follow theses instructions.

cd ../../
cd etc/gdm3/
sudo nano custom.conf

and uncomment this line WaylandEnable=false

save with ctrl + o and ctrl x

sudo reboot

@unmellow
Copy link
Author

I forgot I had SDL_VIDEODRIVER set to wayland
so another possibly simpler trick that I haven't tested is to unset SDL_VIDEODRIVER

@hardBSDk
Copy link

Maybe the same thing happens to me with GNOME on Wayland.

Any quick workaround without the need to disable Wayland? maybe changing SDL driver?

@unmellow
Copy link
Author

unmellow commented Oct 29, 2022

This should only happen if you have the environment variable SDL_VIDEODRIVER=Wayland set somewhere.
So the fixes are to unset or set this to x11, install glew compiled for Wayland support, or don't use Wayland. Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants