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

[Android] Crashes right before game starts #5312

Closed
tasnimtamim opened this issue Jul 9, 2019 · 15 comments
Closed

[Android] Crashes right before game starts #5312

tasnimtamim opened this issue Jul 9, 2019 · 15 comments

Comments

@tasnimtamim
Copy link

tasnimtamim commented Jul 9, 2019

Describe the crash:
Launching the game will show a blue-black tinted screen for few seconds and then goes to black screen to what I assume the game starting to launch and then it immediately crashes.
Screenshots or videos showing encountered issue:
https://i.imgur.com/dqmvfpi.jpg
osu!lazer version: 2019.704.0 (Play Store)

Logs:
Logcat+dmesg+Device info (Please ignore device info, it's not correct)
http://s000.tinyupload.com/index.php?file_id=89106199449990171915
Computer Specifications:
Phone: LAVA Iris 702
CPU: MediaTek MTK 6580 @1.30GHz
GPU: ARM Mali-400
RAM: 1GB
OS: Android 6.0 (Custom ROM with false Samsung branding)

@peppy
Copy link
Member

peppy commented Jul 9, 2019

Please build from master and debug the issue and/or provide actual osu! logs. System-wide ones are not helpful in this case.

@peppy peppy closed this as completed Jul 9, 2019
@TheComputerGuy96
Copy link

TheComputerGuy96 commented Aug 4, 2019

This issue is similar to #4235, because that issue has the same root cause (old OpenGL version) but on the desktop version

@frenzibyte

This comment has been minimized.

@tasnimtamim
Copy link
Author

@peppy Sorry for very late response, just got the notification. I don't have access to a PC so can't build. How can I retrieve osu! logs if it crashes right away? I have tried searching every path on sdcard and there's none. It doesn't even creates a folder onto sdcard/Android/data which one of my other phone did. I tried searching log files on /data/data/ppy.osu.lazer and /data/app/ppy.osu.lazer-1 too and there's none.

@TheComputerGuy96
Copy link

TheComputerGuy96 commented Aug 4, 2019

@iiSalman The OP didn't type the correct GPU name

@l3lackShark
Copy link

I believe that Android version of Lazer doesn't store logs as of yet. https://imgur.com/a/FNkCoPa

@tasnimtamim
Copy link
Author

tasnimtamim commented Aug 4, 2019

This is the GPU/Spec info I got from a website:
Chipset:Mediatek MT6580M
CPU #1 freq.:1300.0 MHz (4-core)
GPU Type:ARM Mali-400

EDIT:
This is what I see in data file: https://i.imgur.com/vno30RH.jpg

@TheComputerGuy96
Copy link

TheComputerGuy96 commented Aug 4, 2019

This is the GPU/Spec info I got from a website:
Chipset:Mediatek MT6580M
CPU #1 freq.:1300.0 MHz (4-core)
GPU Type:ARM Mali-400

Please edit your issue with the correct GPU name

@frenzibyte
Copy link
Member

@TheComputerGuy96 Just noted, thanks for your correction.

This is the GPU/Spec info I got from a website:
Chipset:Mediatek MT6580M
CPU #1 freq.:1300.0 MHz (4-core)
GPU Type:ARM Mali-400

seems that ARM Mali-400 supports up to OpenGL 2, that's why it crashes, OpenGL 2 is not supported at all.

@tasnimtamim
Copy link
Author

Last time I checked on my Linux PC (8 months ago), Lazer was able to launch on my OpenGL 2.1 GPU. Didn't knew it was changed. Thanks for the info.

@TheComputerGuy96
Copy link

TheComputerGuy96 commented Aug 4, 2019

Some more observations:
If I change ES3 to ES2 in https://github.com/ppy/osu-framework/blob/master/osu.Framework.Android/AndroidGameView.cs#L47, the game loads and I can hear audio and press the buttons of the osu!lazer interface, but the screen is black (with a few exceptions): https://imgur.com/a/HDCWwvb

@TheComputerGuy96
Copy link

@swoolcock Why have you disliked my comment? 🌚

@swoolcock
Copy link
Contributor

Because I very much doubt it is related to the ticket you linked.

@TheComputerGuy96
Copy link

@swoolcock But both issues are OpenGL version-related

@swoolcock
Copy link
Contributor

OpenGL is not the same as OpenGL ES, so you can’t make broad assumptions of version conflicts.

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

6 participants