[mythtv-commits] Ticket #5012: mythfrontend getting resolution of wrong display in multihead

MythTV mythtv at cvs.mythtv.org
Fri Mar 21 15:40:21 UTC 2008


#5012: mythfrontend getting resolution of wrong display in multihead
-----------------------------------+----------------------------------------
 Reporter:  brian at interlinx.bc.ca  |       Owner:  ijr    
     Type:  defect                 |      Status:  new    
 Priority:  minor                  |   Milestone:  unknown
Component:  mythtv                 |     Version:  unknown
 Severity:  medium                 |     Mlocked:  0      
-----------------------------------+----------------------------------------
 I have a multihead setup with the following screens:

 {{{
 screen #0:
   dimensions:    1280x1024 pixels (342x271 millimeters)
   resolution:    95x96 dots per inch
   depths (7):    24, 1, 4, 8, 15, 16, 32
 ...
 screen #1:
   dimensions:    1280x720 pixels (1084x610 millimeters)
   resolution:    30x30 dots per inch
   depths (7):    24, 1, 4, 8, 15, 16, 32
 }}}

 When I start mythfrontend I have my DISPLAY variable set to :0.1 so that
 mythfrontend starts on "screen #1" which is attached to an LCD flatscreen.

 However, mythfrontend seems to misdetect which screen I am using:

 {{{
 2008-03-21 11:31:16.425 Connected to database 'mythconverg' at host: pvr
 2008-03-21 11:31:16.441 Closing DB connection named 'DBManager0'
 2008-03-21 11:31:16.442 Total desktop dim: 1280x720, with 2 screen[s].
 2008-03-21 11:31:16.445 Connected to database 'mythconverg' at host: pvr
 2008-03-21 11:31:16.467 Using screen 0, 1280x1024 at 0,0
 2008-03-21 11:31:16.479 Setting 'RunFrontendInWindow' being forced to '0'
 2008-03-21 11:31:16.485 New DB connection, total: 2
 2008-03-21 11:31:16.488 Connected to database 'mythconverg' at host: pvr
 2008-03-21 11:31:16.494 mythfrontend version: 0.21.20080304-1
 www.mythtv.org
 2008-03-21 11:31:16.494 Enabled verbose msgs:  important general
 2008-03-21 11:31:16.809 Unable to parse themeinfo.xml for glass-wide
 2008-03-21 11:31:16.810 The theme (glass-wide) is missing a themeinfo.xml
 file
 2008-03-21 11:31:16.837 The theme (ProjectGrayhem-OSD) is missing a
 themeinfo.xml file
 2008-03-21 11:31:16.837 Theme ProjectGrayhem-OSD missing preview image.
 2008-03-21 11:31:17.035 Unable to parse themeinfo.xml for glass-wide
 2008-03-21 11:31:17.035 The theme (glass-wide) is missing a themeinfo.xml
 file
 2008-03-21 11:31:17.057 The theme (ProjectGrayhem-OSD) is missing a
 themeinfo.xml file
 2008-03-21 11:31:17.314 Total desktop dim: 1280x720, with 2 screen[s].
 2008-03-21 11:31:17.314 Using screen 0, 1280x1024 at 0,0
 }}}

 As you can see it's reading the properties of screen 0 (i.e. it's
 dimensions) when in fact it's displaying on screen 1.  This of course
 screws up all of the output as it scales everything to 1280x1024 rather
 than 1280x720.

 I am NOT using Xinerama with this set up.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5012>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list