[mythtv-commits] Ticket #12902: Cannot make QOpenGLContext current in a different thread (occurred while watching live tv)

MythTV noreply at mythtv.org
Sat Jan 7 22:50:46 UTC 2017


#12902: Cannot make QOpenGLContext current in a different thread (occurred while
watching live tv)
-------------------------------------------------+-------------------------
 Reporter:  William L. DeRieux IV                |          Owner:
  <WilliamDeRieux@…>                             |
     Type:  Bug Report - Crash                   |         Status:  new
 Priority:  critical                             |      Milestone:  0.28.1
Component:  Qt5 issues                           |        Version:  0.28.0
 Severity:  high                                 |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by pbennett):

 Primary and Fallback deinterlacers are set in the video playback profile.

 Front end setup->Video->playback->playback profile (3/8)->Edit->Next

 So I suppose you can go in there and change the fallback deinterlacer to
 another value or to "None". That may work around your problem without
 needing a code change.

 I want to see if the playback can work with a code fix that does not
 prevent fallback deinterlacers from being used. Perhaps the "makeCurrent"
 can be omitted or the OpenGL thread can be changed as you had noted.

 I do not have an ATI wonder. (I had one sitting in a box for years and
 threw it out about a year ago). I only use a Ceton which records
 digitally. I use VDPAU rendering, but OpenGL also works fine for me. My QT
 version is 5.5.1.

 It seems from your stack trace that the fallback deinterlacer is being
 called as a result of some change in the video, maybe it changes
 resolution or speed. I have one video that changes resolution, recorded
 from a channel that changed from SD to HD between programs. I tested it
 with OpenGL and it plays perfectly. Videos that change resolution fail
 with VAAPI rendering because of an issue with a wrong thread being used,
 but on OpenGL they are normally OK.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12902#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list