Opened 16 years ago

Closed 16 years ago

#5012 closed defect (fixed)

mythfrontend getting resolution of wrong display in multihead

Reported by: brian@… Owned by: Nigel
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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.

Change History (6)

comment:1 Changed 16 years ago by Nigel

Owner: changed from Isaac Richards to Nigel
Status: newassigned

This is related to #4738. Can I verify what version of the mythfrontend you were running?

comment:2 Changed 16 years ago by Nigel

(In [16778]) Revert [16370], but add extra debug so I can work out what the original problem was. See #4738. See #5012.

comment:3 Changed 16 years ago by Nigel

(In [16779]) Revert [16369], but add extra debug so I can work out what the original problem was. See #4738. See #5012.

comment:4 in reply to:  1 Changed 16 years ago by anonymous

Replying to nigel:

This is related to #4738. Can I verify what version of the mythfrontend you were running?

0.21 from Ubuntu gutsy-backports.

comment:5 Changed 16 years ago by anonymous

OK. The bug should be fixed in a future 0-21-fixes package, but until then, you might have to either:

  1. use the --geometry 1280x720
  2. Change the XineramaScreen? database setting to 1 (for screen 1)

Sorry about that, Brian.

comment:6 Changed 16 years ago by Nigel

Resolution: fixed
Status: assignedclosed

The bug should be reverted, and [16812] should fix a few other multihead problems.

Note: See TracTickets for help on using tickets.