OpenGL and Retina display Macbook Pro


    Nov 15 2012 | 8:59 pm
    I am having problems with Max crashing when I use OpenGL on my Retina. I start the patch and then:
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 com.apple.GeForceGLDriver 0x8e4683ec 0x8e41d000 + 308204
    1 com.apple.GeForceGLDriver 0x8e526647 0x8e41d000 + 1087047
    2 com.apple.GeForceGLDriver 0x8e52614a 0x8e41d000 + 1085770
    3 com.apple.GeForceGLDriver 0x8e47c4a7 0x8e41d000 + 390311
    4 com.apple.GeForceGLDriver 0x8e4ce678 0x8e41d000 + 726648
    5 com.apple.GeForceGLDriver 0x8e4d81f2 0x8e41d000 + 766450
    6 libGPUSupport.dylib 0x192ce665 gldFlushContext + 29
    7 GLEngine 0x217601b5 glFlush_Exec + 263
    8 libGL.dylib 0x9107dc8f glFlush + 24
    9 com.cycling74.JitterAPI 0x0ebc1fa7 jit_gl_readback_pbuffer_clear + 130
    10 com.cycling74.JitterAPI 0x0ebc1ede jit_gl_readback_pbuffer_start_capture + 165
    11 com.cycling74.JitterAPI 0x0ebe5a42 jit_gl_texture_begin_capture + 391
    12 com.cycling74.Max 0x000b8aa5 object_method + 963
    13 com.cycling74.MaxAPI 0x04bc533b object_method + 139
    14 com.cycling74.JitterAPI 0x0ebf6474 jit_object_method + 118
    15 com.cycling74.JitterAPI 0x0eb91e3b jit_gl_dobegincapture + 114
    16 com.cycling74.JitterAPI 0x0eba2e53 ob3d_draw_begin + 261
    17 com.cycling74.JitterAPI 0x0eba3094 jit_ob3d_draw + 141
    18 com.cycling74.Max 0x000b8aa5 object_method + 963
    19 com.cycling74.MaxAPI 0x04bc533b object_method + 139
    20 com.cycling74.JitterAPI 0x0ebf6474 jit_object_method + 118
    21 com.cycling74.jit.gl.slab 0x151fb779 max_jit_gl_slab_draw + 61
    22 com.cycling74.jit.gl.slab 0x151fb860 max_jit_gl_slab_input_message + 153
    23 com.cycling74.JitterAPI 0x0ec151c1 max_defer_low_method + 162
    24 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
    25 com.cycling74.Max 0x0006c41c outlet_anything + 846
    26 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
    27 com.cycling74.Max 0x00026581 typedmess + 72
    28 com.cycling74.Max 0x0006a607 inlet_anything + 58
    29 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
    30 com.cycling74.Max 0x0006c41c outlet_anything + 846
    31 com.cycling74.MaxAPI 0x04bae7c4 outlet_anything + 84
    32 jcom.in 0x151f638f in_anything(_in*, symbol*, long, atom*) + 143
    Anyone else having similar problems. It is not my patch since it runs fine on my older laptop with great frame rate.

    • Nov 16 2012 | 3:56 pm
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 com.apple.QuickTime 0x94e7cdd1 callBackTask_priv + 121
      1 com.apple.QuickTime 0x95015a34 MasterStartStopChange + 104
      2 com.apple.QuickTime 0x94e831ff SetTimeBaseStartTime_priv + 186
      3 com.apple.QuickTime 0x94e93588 SetMovieActiveSegment_priv + 224
      4 com.cycling74.JitterAPI 0x0f543122 jit_qt_movie_set_timebase_loop + 323
      5 com.cycling74.JitterAPI 0x0f5451f8 jit_qt_movie_looppoints + 199
      6 com.cycling74.Max 0x000b8930 object_method + 590
      7 com.cycling74.MaxAPI 0x05a9c33b object_method + 139
      8 com.cycling74.JitterAPI 0x0f4f6474 jit_object_method + 118
      9 com.cycling74.JitterAPI 0x0f5161bd max_jit_attr_set + 69
      10 com.cycling74.JitterAPI 0x0f519162 max_jit_usurp_qfn + 107
      11 com.cycling74.JitterAPI 0x0f515008 max_jit_usurp_method + 116
      12 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      13 com.cycling74.Max 0x0006c41c outlet_anything + 846
      14 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      15 com.cycling74.Max 0x00026581 typedmess + 72
      16 com.cycling74.Max 0x0006a607 inlet_anything + 58
      17 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      18 com.cycling74.Max 0x0006c41c outlet_anything + 846
      19 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      20 com.cycling74.Max 0x00026581 typedmess + 72
      21 com.cycling74.Max 0x0006a607 inlet_anything + 58
      22 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      23 com.cycling74.Max 0x0006c41c outlet_anything + 846
      24 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      25 com.cycling74.Max 0x00026581 typedmess + 72
      26 com.cycling74.Max 0x0006a607 inlet_anything + 58
      27 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      28 com.cycling74.Max 0x0006c41c outlet_anything + 846
      29 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      30 com.cycling74.Max 0x00026581 typedmess + 72
      31 com.cycling74.Max 0x00027577 aeval + 1288
      32 com.cycling74.Max 0x000102d9 atombuf_eval + 145
      33 com.cycling74.MaxAPI 0x05a9a594 atombuf_eval + 84
      34 com.cycling74.message 0x13b2b753 jmessage_atombuf_eval + 339
      35 com.cycling74.message 0x13b2bb63 jmessage_list + 100
      36 com.cycling74.Max 0x0006a27e stdlist + 273
      37 com.cycling74.Max 0x0006c01a outlet_list + 801
      38 com.cycling74.MaxAPI 0x05a85724 outlet_list + 84
      39 com.cycling74.pak 0x13dfab6a pak_output + 144
      40 com.cycling74.pak 0x13dfacab pak_anything + 253
      41 com.cycling74.pak 0x13dfad0c pak_int + 62
      42 com.cycling74.Max 0x0006b603 outlet_int + 839
      43 com.cycling74.MaxAPI 0x05a8560f outlet_int + 47
      44 com.cycling74.number 0x1464f99a jnumber_int + 66
      45 com.cycling74.Max 0x0006b603 outlet_int + 839
      46 com.cycling74.Max 0x0005a043 trigger_iterate + 89
      47 com.cycling74.Max 0x0005a5b0 trigger_int + 77
      48 com.cycling74.Max 0x0006b603 outlet_int + 839
      49 com.cycling74.MaxAPI 0x05a8560f outlet_int + 47
      50 com.cycling74.number 0x1464f99a jnumber_int + 66
      51 com.cycling74.Max 0x0006b603 outlet_int + 839
      52 com.cycling74.Max 0x0005a043 trigger_iterate + 89
      53 com.cycling74.Max 0x0005a5b0 trigger_int + 77
      54 com.cycling74.Max 0x0006b6fd outlet_int + 1089
      55 com.cycling74.Max 0x0005135e route_anything + 327
      56 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      57 com.cycling74.Max 0x0006c41c outlet_anything + 846
      58 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      59 com.cycling74.Max 0x00026581 typedmess + 72
      60 com.cycling74.Max 0x0006a607 inlet_anything + 58
      61 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      62 com.cycling74.Max 0x0006c41c outlet_anything + 846
      63 com.cycling74.MaxAPI 0x05a857c4 outlet_anything + 84
      64 com.cycling74.JitterAPI 0x0f51461b max_jit_obex_dumpout + 62
      65 com.cycling74.JitterAPI 0x0f5156d1 max_jit_attr_getdump + 122
      66 com.cycling74.JitterAPI 0x0f5151c1 max_defer_low_method + 162
      67 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      68 com.cycling74.Max 0x0006c41c outlet_anything + 846
      69 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      70 com.cycling74.Max 0x00026581 typedmess + 72
      71 com.cycling74.Max 0x0006a607 inlet_anything + 58
      72 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      73 com.cycling74.Max 0x0006c41c outlet_anything + 846
      74 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      75 com.cycling74.Max 0x00026581 typedmess + 72
      76 com.cycling74.Max 0x0006a607 inlet_anything + 58
      77 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      78 com.cycling74.Max 0x0006c41c outlet_anything + 846
      79 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      80 com.cycling74.Max 0x00026581 typedmess + 72
      81 com.cycling74.Max 0x0006a607 inlet_anything + 58
      82 com.cycling74.Max 0x000261cc typedmess_fun + 1050
      83 com.cycling74.Max 0x0006c41c outlet_anything + 846
      84 com.cycling74.Max 0x0005a0ad trigger_iterate + 195
      85 com.cycling74.Max 0x0005a6fe trigger_bang + 80
      86 com.cycling74.Max 0x0006b0fa outlet_bang + 814
      87 com.cycling74.MaxAPI 0x05a85592 outlet_bang + 34
      88 com.cycling74.button 0x14045a91 jbutton_bang + 81
      89 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      90 com.cycling74.Max 0x0006c41c outlet_anything + 846
      91 com.cycling74.Max 0x000512ea route_anything + 211
      92 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      93 com.cycling74.Max 0x0006c41c outlet_anything + 846
      94 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      95 com.cycling74.Max 0x00026581 typedmess + 72
      96 com.cycling74.Max 0x0006a607 inlet_anything + 58
      97 com.cycling74.Max 0x00025eb5 typedmess_fun + 259
      98 com.cycling74.Max 0x0006c41c outlet_anything + 846
      99 com.cycling74.MaxAPI 0x05a857c4 outlet_anything + 84
      100 com.cycling74.JitterAPI 0x0f51461b max_jit_obex_dumpout + 62
      101 com.cycling74.jit.qt.movie 0x16ff3500 max_jit_qt_movie_notify + 233
      102 com.cycling74.Max 0x000b923d object_obex_notify_fn + 157
      103 com.cycling74.Max 0x000b1905 hashtab_entry_objfun + 44
      104 com.cycling74.Max 0x000b8aa5 object_method + 963
      105 com.cycling74.Max 0x000644f1 linklist_methodall + 199
      106 com.cycling74.Max 0x000b1ad0 hashtab_objfunall + 72
      107 com.cycling74.Max 0x000b8c6c object_notify + 165
      108 com.cycling74.MaxAPI 0x05a9cacd object_notify + 61
      109 com.cycling74.JitterAPI 0x0f4f601a jit_object_notify + 31
      110 com.cycling74.JitterAPI 0x0f543993 jit_qt_movie_notify_atomarray_prep + 177
      111 com.cycling74.Max 0x0003bc54 defer_exec + 84
      112 com.cycling74.Max 0x00033b37 sched_dequeue + 256
      113 com.cycling74.Max 0x0001ac53 max_tick + 81
      114 com.cycling74.Max 0x0032b267 juce::InternalTimerThread::callTimers() + 133
      115 com.cycling74.Max 0x0032b00e non-virtual thunk to juce::InternalTimerThread::handleMessage(juce::Message const&) + 20
      116 com.cycling74.Max 0x00329be1 juce::MessageManager::deliverMessage(juce::Message*) + 137
      117 com.cycling74.Max 0x00447746 juce::AppDelegateRedirector::runLoopCallback() + 116
      118 com.apple.CoreFoundation 0x9083766f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
      119 com.apple.CoreFoundation 0x90837099 __CFRunLoopDoSources0 + 233
      120 com.apple.CoreFoundation 0x9085ce46 __CFRunLoopRun + 934
      121 com.apple.CoreFoundation 0x9085c63a CFRunLoopRunSpecific + 378
      122 com.apple.CoreFoundation 0x9085c4ab CFRunLoopRunInMode + 123
      123 com.apple.HIToolbox 0x961d315a RunCurrentEventLoopInMode + 242
      124 com.apple.HIToolbox 0x961d2ec9 ReceiveNextEventCommon + 374
      125 com.apple.HIToolbox 0x961d2d44 BlockUntilNextEventMatchingListInMode + 88
      126 com.apple.AppKit 0x956aba3a _DPSNextEvent + 724
      127 com.apple.AppKit 0x956ab26c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
      128 com.apple.AppKit 0x956a16cc -[NSApplication run] + 855
      129 com.cycling74.Max 0x0043270f juce::MessageManager::runDispatchLoop() + 731
      130 com.cycling74.Max 0x002c1f02 juce::JUCEApplication::main(juce::StringArray const&) + 68
      131 com.cycling74.Max 0x002c2025 juce::JUCEApplication::main(int, char const**) + 73
      132 com.cycling74.Max 0x0000db8b _start + 209
      133 com.cycling74.Max 0x0000dab9 start + 41
    • Nov 16 2012 | 6:57 pm
      What happens when you change the OpenGL readback preference to fbo? From the looks of it, yours is currently set to rtt. To change it, you can go to Options > OpenGL Status
    • Mar 13 2013 | 9:40 pm
      I have so far had no crashes with this problem after switching the GL settings to FBO
      I will post if I run into the same error
      thank you'
      any luck for you Ricardo?