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

Graphical Glitches on Android 14 #25189

Open
Eeveelution opened this issue Oct 20, 2023 · 31 comments
Open

Graphical Glitches on Android 14 #25189

Eeveelution opened this issue Oct 20, 2023 · 31 comments

Comments

@Eeveelution
Copy link

Eeveelution commented Oct 20, 2023

Type

Game Behavior

Bug description

I freshly installed osu!lazer on my new Pixel 8 Pro, and the first thing I noticed were those Graphical Glitches as seen in the video. Seems like Transparency completly isn't working and I'm not entirely sure what's causing the flickering.

Worth noting is that the device was behaving strangely after closing osu!lazer aswell, home background disappeared and stuff took a while longer to respond than usual. Subsequent launches usually crashed very early on, like before getting to the main menu, in the intro sequence. So part of this issue may very well be a graphics driver issue, although I'm not entirely sure, Pokemon Go ran and looked fine, Lazer is the only game I've encountered this on so far

I did see that there are issues with Android 14, but I'm not entirely sure if Realms have much to do with graphical glitches?

Screenshots or videos

https://cdn.discordapp.com/attachments/424921904969941005/1165008084184354917/2l8k2b.mp4?ex=65454954&is=6532d454&hm=a0c33fec089cb84484d85dd5582d8639c82c6078ae38a8fffdaee44078b63c43&

Version

2023.1008.1

Logs

Android/data is completly empty for me...

@AntoninoScordino
Copy link

AntoninoScordino commented Oct 22, 2023

This happens on my Google Pixel 7a too, and apparently does not happen on other devices that do not use Mali-based GPU (e.g Pixel 4a does not have such issue), or maybe even limited to Google devices with Tensor (it does not happen on MediaTek devices. So maybe Exynos-related...?

In my case, the glitches and artifices get progressively worse, "escaping" the application and going so further to even crash the entire SystemUI components and making the phone unusable. And yes, I am on Android 14 (UP1A.231005.007) too. And this did not happen on Android 13 and previous.

The Android/data/sh.ppy.osulazer/files/logs folder is empty, just like @Eeveelution's situation.

@Harperion
Copy link

I have been experiencing the same issues on my Pixel 7 and I also have crashes when I enter a map

@yesseruser
Copy link
Contributor

Same thing, but not outside-osu graphical glitches after playing the game
The game sometimes crashes too.

@Joehuu
Copy link
Member

Joehuu commented Nov 22, 2023

I found a workaround to fix the graphical glitches:

  • Go to developer options
  • Navigate to ANGLE Preferences
  • Change osu! to angle

Note that I found this when fiddling the developer options and haven't done much research and investigation on this.

Edit: this can only be done in the beta version of Android (for some reason)

Edit2: don't show dialog box or it'll crash

@yesseruser
Copy link
Contributor

I found a workaround to fix the graphical glitches:

  • Go to developer options
  • Navigate to ANGLE Preferences
  • Change osu! to angle

Note that I found this when fiddling the developer options and haven't done much research and investigation on this.

That works, but some other games are buggy with it.

@yesseruser
Copy link
Contributor

Maybe find a way to change renderer in osu! to ANGLE?

@AntoninoScordino
Copy link

AntoninoScordino commented Nov 25, 2023

That works, but some other games are buggy with it.

Maybe find a way to change renderer in osu! to ANGLE?

As per ANGLE's documentation, it should be possible by setting some flags, which are only available on the beta builds, making it useless in production builds. What you've done is enabling the ANGLE driver for every application, hence crashing various games/applications (read more about it here).

Although, what @Joehuu is talking about is different. That's for enabling the ANGLE driver per-application which, as I said before, is only available on beta builds and unusable on production ones. I've tried to get the application (the Android System ANGLE one) working, but setting osu! to ANGLE is just like not setting the value at all.

Adding the Google Camera (application which crashes with ANGLE) through ADB to angle_gl_driver_selection_pkgs and setting its value (angle_gl_driver_selection_values) to native is useless, meaning the only way to temporarily set osu! to use ANGLE is via the beta program.

@christopher317
Copy link

christopher317 commented Nov 28, 2023

This happens on my Google Pixel 7a too, and apparently does not happen on other devices that do not use Mali-based GPU (e.g Pixel 4a does not have such issue), or maybe even limited to Google devices with Tensor (it does not happen on MediaTek devices. So maybe Exynos-related...?

In my case, the glitches and artifices get progressively worse, "escaping" the application and going so further to even crash the entire SystemUI components and making the phone unusable. And yes, I am on Android 14 (UP1A.231005.007) too. And this did not happen on Android 13 and previous.

The Android/data/sh.ppy.osulazer/files/logs folder is empty, just like @Eeveelution's situation.

I remember opening OSU Lazer on my pixel 7a on Android 13 and it working fine, when I updated to Android 14 things started breaking. It's not a device issue, it's a OS issue.

Might want to change the name of the issue

@Joehuu Joehuu changed the title Graphical Glitches on Pixel 8 Pro Graphical Glitches on Android 14 Nov 28, 2023
@christopher317
Copy link

christopher317 commented Nov 29, 2023

Found a fix!
Enable ANGLE in dev settings and it works perfectly
Screenshot_20231129-094912
Just realized joehuu found this before me :/

@Eeveelution
Copy link
Author

yeah you're not the first to discover this, this is if anything just a workaround not a fix

@AntoninoScordino
Copy link

Found a fix! Enable ANGLE in dev settings and it works perfectly Screenshot_20231129-094912 Just realized joehuu found this before me :/

Enjoy using your Google Camera now, lol

@drkamaon
Copy link

drkamaon commented Dec 9, 2023

That works, but some other games are buggy with it.

Maybe find a way to change renderer in osu! to ANGLE?

As per ANGLE's documentation, it should be possible by setting some flags, which are only available on the beta builds, making it useless in production builds. What you've done is enabling the ANGLE driver for every application, hence crashing various games/applications (read more about it here).

Although, what @Joehuu is talking about is different. That's for enabling the ANGLE driver per-application which, as I said before, is only available on beta builds and unusable on production ones. I've tried to get the application (the Android System ANGLE one) working, but setting osu! to ANGLE is just like not setting the value at all.

Adding the Google Camera (application which crashes with ANGLE) through ADB to angle_gl_driver_selection_pkgs and setting its value (angle_gl_driver_selection_values) to native is useless, meaning the only way to temporarily set osu! to use ANGLE is via the beta program.

Screenshot_20231210-010951
December patch now allows angle per-app now (November might had allowed this already(?) didn't test but I remember the "angle as the default driver" was grayed out just like Dec)
Phone (Pixel 6) is rooted though so this may not be correct 💀

@yesseruser
Copy link
Contributor

yesseruser commented Dec 13, 2023

Phone (Pixel 6) is rooted though so this may not be correct 💀

Can confirm this works on a non-rooted Pixel 7.

@afonso-tsx

This comment was marked as duplicate.

@BlauFx

This comment was marked as duplicate.

@afonso-tsx
Copy link

Same issue on Pixel 7 pro, had to restart my phone to make it usable. After enabling Angle for osu the game just doesnt start

Ok it works now, you cant have the ANGLE dialog enabled

@its5Q

This comment was marked as duplicate.

@kilyabin
Copy link

kilyabin commented Jan 8, 2024

That works, but some other games are buggy with it.

Maybe find a way to change renderer in osu! to ANGLE?

As per ANGLE's documentation, it should be possible by setting some flags, which are only available on the beta builds, making it useless in production builds. What you've done is enabling the ANGLE driver for every application, hence crashing various games/applications (read more about it here).
Although, what @Joehuu is talking about is different. That's for enabling the ANGLE driver per-application which, as I said before, is only available on beta builds and unusable on production ones. I've tried to get the application (the Android System ANGLE one) working, but setting osu! to ANGLE is just like not setting the value at all.
Adding the Google Camera (application which crashes with ANGLE) through ADB to angle_gl_driver_selection_pkgs and setting its value (angle_gl_driver_selection_values) to native is useless, meaning the only way to temporarily set osu! to use ANGLE is via the beta program.

Screenshot_20231210-010951 December patch now allows angle per-app now (November might had allowed this already(?) didn't test but I remember the "angle as the default driver" was grayed out just like Dec) Phone (Pixel 6) is rooted though so this may not be correct 💀

ANGLE crashing the game for me

@afonso-tsx
Copy link

afonso-tsx commented Jan 8, 2024

ANGLE crashing the game for me

@kilyabin Disable the "show ANGLE dialog box" setting, worked for me

@kilyabin
Copy link

ANGLE crashing the game for me

@kilyabin Disable the "show ANGLE dialog box" setting, worked for me

worked for me too

@Joehuu Joehuu removed the osu!framework issue Can't resolve this without changes to osu!framework. label Feb 3, 2024
@Joehuu Joehuu pinned this issue Feb 3, 2024
@Joehuu
Copy link
Member

Joehuu commented Feb 3, 2024

Seems to be fixed with the recent Android 14 beta (AP11.231215.009) without the workaround. Still can use the workaround until the change makes it to stable.

Also pinning as we have seen in recent reports and we weren't using the pinned system as much anyway.

@yxles-dev
Copy link

yxles-dev commented Mar 3, 2024

Sadly not all devices can enable ANGLE
Screenshot_2024-03-03-12-53-55-084_com android settings

@bdach
Copy link
Collaborator

bdach commented Mar 19, 2024

I just got the android 14 update on my device (months late) and it does not exhibit the same graphical artifacts as mentioned here. So it seems like this is firmly in the realm of "gpu / driver issue on google pixels specifically".

@Eeveelution
Copy link
Author

I have a update available on my Pixel 8 Pro, I'll try running Lazer after the update and report back

@yxles-dev
Copy link

I just got the android 14 update on my device (months late) and it does not exhibit the same graphical artifacts as mentioned here. So it seems like this is firmly in the realm of "gpu / driver issue on google pixels specifically".

Mine is Poco X6 Pro which has Dimensity 8300 Ultra chipset and it still has the artifacts even with latest build or the latest update of HyperOS. It's not limited to Pixel phones only

@Eeveelution
Copy link
Author

Reporting back: After the update all the graphical glitches went away, was fully playable

@ominoussage
Copy link

ominoussage commented Mar 22, 2024

I'm using Realme C67 and the app won't even start. Android 14, ANGLE not supported.
Snapdragon 685.

@cdwcgt

This comment was marked as off-topic.

@agatemosu

This comment was marked as off-topic.

@Joehuu

This comment was marked as off-topic.

@muelsyse-az
Copy link

muelsyse-az commented May 6, 2024

I just got the android 14 update on my device (months late) and it does not exhibit the same graphical artifacts as mentioned here. So it seems like this is firmly in the realm of "gpu / driver issue on google pixels specifically".

Mine is Poco X6 Pro which has Dimensity 8300 Ultra chipset and it still has the artifacts even with latest build or the latest update of HyperOS. It's not limited to Pixel phones only

I have the same phone and am unfortunately experiencing the same issue with osu! 2024.412.1
Despite the fact that the 'Use ANGLE for all games' option is greyed out, you can still make an exception for osu! by going to Developer Options > ANGLE Preferences > osu! and then pick ANGLE. It solves the graphical glitches for now.

Edit: In case it is relevant gonna mention that I installed osu through Obtanium, which simply fetches the latest apk from the releases page.

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

No branches or pull requests