Search Unity

graphical glitch due to computation in another thread

Discussion in 'Samsung Smart TV' started by gboulard, Oct 8, 2014.

  1. gboulard

    gboulard

    Joined:
    Nov 28, 2012
    Posts:
    21
    Hello (again),

    we are having an issue on 2013 model (UE40F7000SL precisely) (seems it does not appear on 2014 model)

    while doing some heavy computation (AI for chess) in a separate thread from a CSharp library, the rendering sometimes glitch to black on half of the screen (VBL-related) during a frame.

    a short video where we can see the glitch at 0'10 and 0'17. (screen going red while computation is active)
    https://www.dropbox.com/s/aajrwy4h05xubhr/video_glitches_during_computation.mp4?dl=0

    issue 637192 on fogbugz with video and project sample.

    any hints on how to resolve this issue ?
    we tried adding some sleep inbetween computations, controlling the thread priority or ownership, nothing fixed the issue so far..

    Thx
     
  2. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
    I was able to reproduce this on our premium 2013 tv but not the standard 2013 tv. Would seem to indicate it's some kind of driver issue... I'll dig into this a bit more to see what I can figure out.
     
    gboulard likes this.