Optimize high-end games for Apple GPUs

RSS for tag

Discuss the WWDC21 session Optimize high-end games for Apple GPUs.

View Session

Posts under wwdc21-10148 tag

5 Posts
Sort by:
Post not yet marked as solved
0 Replies
139 Views
Hi recently I was facing this issue. Whenever I tired to play multiplayer games like Battles ground India or stumble guys or clash of clans a VPN pop up and I was unable to open the games.
Posted
by
Post marked as solved
1 Replies
293 Views
As the documentation says, Limiter counters tell you which subsystems of the GPU are active by providing a percentage of the total number of processor cycles during which this subsystem was active. Besides, Instrument also provides some Utilization Counters and the value is different from the Limiter. What do Utilization Counters mean?
Posted
by
Post not yet marked as solved
0 Replies
337 Views
hi, my app's gpu process crashed in many m1, at least hundreds of m1 get crashed, I think it's one general problem, I don't know it's problem of my use or gpu driver bug. And I get this stack, thanks to help me. Operating system: Mac OS X 11.2.3 20D91 CPU: arm64 8 CPUs GPU: UNKNOWN Crash reason: 0x00000000 / 0x00000000 Crash address: 0x19aaf8cec Process uptime: 124 seconds Thread 0 (crashed) 0 libsystem_kernel.dylib!__pthread_kill + 0x8 x0 = 0x0000000000000000 x1 = 0x0000000000000000 x2 = 0x0000000000000000 x3 = 0x0000000000000000 x4 = 0x0000000000000000 x5 = 0x000000000000001a x6 = 0x0000000000000000 x7 = 0x0000000000000001 x8 = 0x00000000000005b9 x9 = 0x98c6514dad04390f x10 = 0xcccccccccccccccd x11 = 0x000000000000000a x12 = 0x0000000000000000 x13 = 0x0000000000000036 x14 = 0x0200000110000540 x15 = 0x0000000204de43e0 x16 = 0x0000000000000148 x17 = 0x000000020076f330 x18 = 0x0000000000000000 x19 = 0x0000000000000006 x20 = 0x000000010513fd40 x21 = 0x0000000000000303 x22 = 0x000000010513fe20 x23 = 0x00000001fac83000 x24 = 0x0000000000000010 x25 = 0x00000001fae3e000 x26 = 0x00000001a248d128 x27 = 0x0000000000000556 x28 = 0x0000000000000358 fp = 0x000000016ae683e0 lr = 0x000000019ab29c24 sp = 0x000000016ae683c0 pc = 0x000000019aaf8cec Found by: given as instruction pointer in context 1 libsystem_pthread.dylib!pthread_kill + 0x120 fp = 0x000000016ae68420 lr = 0x000000019aa71864 sp = 0x000000016ae683f0 pc = 0x000000019ab29c24 Found by: previous frame's frame pointer 2 libsystem_c.dylib!abort + 0x64 fp = 0x000000016ae68480 lr = 0x000000019aa70b14 sp = 0x000000016ae68430 pc = 0x000000019aa71864 Found by: previous frame's frame pointer 3 libsystem_c.dylib!__assert_rtn + 0xcc fp = 0x000000016ae684a0 lr = 0x00000001a2472510 sp = 0x000000016ae68490 pc = 0x000000019aa70b14 Found by: previous frame's frame pointer 4 Metal!MTLReportFailure.cold.1 + 0x34 fp = 0x000000016ae68570 lr = 0x00000001a245fe8c sp = 0x000000016ae684b0 pc = 0x00000001a2472510 Found by: previous frame's frame pointer 5 Metal!MTLReportFailure + 0x1d0 fp = 0x000000016ae686b0 lr = 0x00000001b1ee267c sp = 0x000000016ae68580 pc = 0x00000001a245fe8c Found by: previous frame's frame pointer 6 IOGPU!-[IOGPUMetalTexture initWithDevice:descriptor:iosurface:plane:field:args:argsSize:] + 0x59c fp = 0x000000016ae68790 lr = 0x0000000113c3bd1c sp = 0x000000016ae686c0 pc = 0x00000001b1ee267c Found by: previous frame's frame pointer 7 AGXMetal13_3 + 0x4a3d18 fp = 0x000000016ae687e0 lr = 0x000000011372f044 sp = 0x000000016ae687a0 pc = 0x0000000113c3bd1c Found by: previous frame's frame pointer 8 AppleMetalOpenGLRenderer + 0x1f040 fp = 0x000000016ae68900 lr = 0x0000000113738630 sp = 0x000000016ae687f0 pc = 0x000000011372f044 Found by: previous frame's frame pointer 9 AppleMetalOpenGLRenderer + 0x2862c fp = 0x000000016ae68940 lr = 0x0000000113738cd8 sp = 0x000000016ae68910 pc = 0x0000000113738630 Found by: previous frame's frame pointer 10 AppleMetalOpenGLRenderer + 0x28cd4 fp = 0x000000016ae68a60 lr = 0x0000000113758e0c sp = 0x000000016ae68950 pc = 0x0000000113738cd8 Found by: previous frame's frame pointer 11 AppleMetalOpenGLRenderer + 0x48e08 fp = 0x000000016ae68a90 lr = 0x000000011375972c sp = 0x000000016ae68a70 pc = 0x0000000113758e0c Found by: previous frame's frame pointer 12 AppleMetalOpenGLRenderer + 0x49728 fp = 0x000000016ae68b80 lr = 0x00000001dd5b3ba0 sp = 0x000000016ae68aa0 pc = 0x000000011375972c Found by: previous frame's frame pointer 13 GLEngine!gliSetInteger + 0x1198 fp = 0x000000016ae68bf0 lr = 0x00000001dd3aaac4 sp = 0x000000016ae68b90 pc = 0x00000001dd5b3ba0 Found by: previous frame's frame pointer 14 OpenGL!CGLDescribeRenderer + 0x11e0 fp = 0x000000016ae68c80 lr = 0x00000001dd3a92e8 sp = 0x000000016ae68c00 pc = 0x00000001dd3aaac4 Found by: previous frame's frame pointer 15 OpenGL!CGLTexImageIOSurface2D + 0xd4 fp = 0x000000016ae68e00 lr = 0x0000000109478ac8 sp = 0x000000016ae68c90 pc = 0x00000001dd3a92e8 Found by: previous frame's frame pointer 16 MyFramework!gl::GLImageIOSurface::BindTexImageImpl(unsigned int, unsigned int) [gl_image_io_surface.mm : 296 + 0xc] fp = 0x000000016ae68e70 lr = 0x00000001068f0130 sp = 0x000000016ae68e10 pc = 0x0000000109478ac8 Found by: previous frame's frame pointer
Posted
by
Post not yet marked as solved
1 Replies
482 Views
In the video, the gpu timeline tool can be accessed by clicking the "Performance" button, but there is the "Counters" button instead on my Mac. Do I have to do some additional settings before using the gpu timeline tool? Xcode 13.0 beta 5 + Intel Mac(version 11.4) + iPhone 12(version 14.7.1)
Posted
by
Post not yet marked as solved
0 Replies
406 Views
Hi , I was watching https://developer.apple.com/videos/play/wwdc2020/10148/ And I did read the demo project code but I don't understand how Apple know when write "W" in textfield it's "W" in drawing area ? I understand that we separate every char from drawing data , but how it matching with the textfield text ? this part it's confusing me
Posted
by