[mythtv-commits] Ticket #5594: starting mythfrontend for second screen gives black-video-screen

MythTV mythtv at cvs.mythtv.org
Fri Sep 12 11:02:21 UTC 2008


#5594: starting mythfrontend for second screen gives black-video-screen
-----------------------------------------------+----------------------------
 Reporter:  Markus Schulz <msc at antzsystem.de>  |        Owner:  ijr 
     Type:  defect                             |       Status:  new 
 Priority:  minor                              |    Milestone:  0.22
Component:  mythtv                             |      Version:  head
 Severity:  medium                             |   Resolution:      
  Mlocked:  0                                  |  
-----------------------------------------------+----------------------------

Comment(by nigel):

 I haven't managed to reproduce this - my dual head test machine currently
 crashes X when trying to display Xv video.
 [[BR]]
 Markus, I'm guessing that MythXOpenDisplay() isn't doing the right thing.
 Any chance of applying this patch:
 {{{
 Index: libs/libmythui/util-x11.cpp
 ===================================================================
 --- libs/libmythui/util-x11.cpp (revision 18270)
 +++ libs/libmythui/util-x11.cpp (working copy)
 @@ -69,8 +69,12 @@
      Display *disp = XOpenDisplay(dispCStr);
      X11U;

 -    if (!disp)
 -        VERBOSE(VB_IMPORTANT, "MythXOpenDisplay() failed");
 +    QString LOC = "MythXOpenDisplay() of '" + dispStr + "' ";
 +
 +    if (disp)
 +        VERBOSE(VB_GENERAL+VB_EXTRA, LOC + "succeeded");
 +    else
 +        VERBOSE(VB_IMPORTANT, LOC + "failed");

      return disp;
  }
 }}}
 and providing mythfrontend -v playback,extra | egrep 'X|screen' output?
 (both runs, unless the output is identical)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5594#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list