Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Blacklist adreno 2xx for VAO support #11047

Merged
merged 1 commit into from
Jan 31, 2018
Merged

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jan 25, 2018

Capturing from @kkaefer in mapbox/mapbox-navigation-android#534 (comment) that we should try blacklisting Adreno 2xx GPU for VAO support to potentially resolve the crash mentioned in the upstream ticket.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jan 25, 2018
@tobrun tobrun added this to the android-v5.3.3 milestone Jan 25, 2018
@tobrun tobrun self-assigned this Jan 25, 2018
@tobrun tobrun requested a review from kkaefer January 25, 2018 13:10
// https://bugs.chromium.org/p/chromium/issues/detail?id=510637
// https://chromium.googlesource.com/chromium/src/gpu/+/master/config/gpu_driver_bug_list.json#2316
// Blacklist Vivante GC4000 due to bugs when linking loaded programs:
// https://github.com/mapbox/mapbox-gl-native/issues/10704
const std::string renderer = reinterpret_cast<const char*>(glGetString(GL_RENDERER));
if (renderer.find("Adreno (TM) 3") != std::string::npos
if (renderer.find("Adreno (TM) 2") != std::string::npos
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This blacklists program binaries, not VAO. The check for VAO blacklisting is a few lines further up ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ should be in order with 42633a3

@tobrun tobrun force-pushed the tvn-blacklist-adreno-2xx branch 9 times, most recently from 42633a3 to 6fd373b Compare January 29, 2018 13:13
@tobrun
Copy link
Member Author

tobrun commented Jan 29, 2018

@kkaefer would you be able to re-review this PR?

@tobrun
Copy link
Member Author

tobrun commented Jan 31, 2018

Capturing from mapbox/mapbox-navigation-android#534 (comment) that the impacted device is now working without crashing. Thank you @kkaefer for 👀 'ing and proposing the fix!

@tobrun tobrun merged commit e2a4dff into master Jan 31, 2018
@tobrun tobrun deleted the tvn-blacklist-adreno-2xx branch January 31, 2018 11:58
@tobrun tobrun mentioned this pull request Jan 31, 2018
23 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants