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

Not support OpenGL on ANGLE mode on Pixel 4A (5G) #1284

Open
hieuna-441907 opened this issue Mar 25, 2023 · 4 comments
Open

Not support OpenGL on ANGLE mode on Pixel 4A (5G) #1284

hieuna-441907 opened this issue Mar 25, 2023 · 4 comments

Comments

@hieuna-441907
Copy link

Environment information:

  • AGI version: 2023-3.3.0
  • Host OS: MacOS
    If tracing on Android:
  • Device model: Google Pixel 4A (5G)
  • Android Version: Android 13 API 33

Bug description
Hi AGI team, I have tried capturing several traces.
Everything works fine on the sys trace mode but, on OpenGl on ANGLE mode, it is disable for starting even though I adjust all of the configurations so what's wrong with requirements of my phone or how can I start enabling the OpenGl on ANGLE mode?
Thanks

Screenshots

image

@ttanatb
Copy link
Contributor

ttanatb commented Apr 3, 2023

It looks like the application is not properly selected, based on your screenshot. Using the '...' button, try selecting the sample provided by AGI (the spinning cube). I don't know if you are able to trace the replayer.

@hieuna-441907
Copy link
Author

hieuna-441907 commented Apr 7, 2023

thanks for rely, some apps require installing the feature to become active but unfortunately, it's still a bug when opening a trace file on ANGLE mode like below:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArithmeticException: / by zero)
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4345)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.google.gapid.Main$UI.show(Main.java:140)
at com.google.gapid.Main.main(Main.java:80)
Caused by: java.lang.ArithmeticException: / by zero
at com.google.gapid.widgets.TabComposite$HorizontalGroup.setChildBounds(TabComposite.java:685)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:566)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:555)
at com.google.gapid.widgets.TabComposite.layoutLayout(TabComposite.java:356)
at com.google.gapid.widgets.TabComposite$1.layout(TabComposite.java:80)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:697)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:216)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:744)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:696)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:652)
at com.google.gapid.MainWindow$MainViewContainer.updateAndGet(MainWindow.java:449)
at com.google.gapid.MainWindow$1.lambda$onCaptureLoaded$0(MainWindow.java:134)
at com.google.gapid.widgets.Widgets.ifNotDisposed(Widgets.java:141)
at com.google.gapid.widgets.Widgets.lambda$scheduleIfNotDisposed$1(Widgets.java:169)
at com.google.gapid.widgets.Widgets.lambda$schedule$0(Widgets.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
... 6 more

Please help me fix it. Thanks.

@ttanatb
Copy link
Contributor

ttanatb commented Apr 11, 2023

some apps require installing the feature to become active but unfortunately,

Not sure I understand this.

It would help me understand your exact issue if you could provide step-by-step reproduction steps as to what happens, because this is an issue I haven't seen anywhere else.

@hieuna-441907
Copy link
Author

Ok, I detailed it more clearly on issue #1288, please take time to view it.

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

2 participants