[mythtv-commits] Ticket #12239: Linux windowed playback ignores forced monitor aspect ratio

MythTV noreply at mythtv.org
Fri Aug 8 15:51:19 UTC 2014


#12239: Linux windowed playback ignores forced monitor aspect ratio
-------------------------------------+-------------------------------------
     Reporter:  harrycoin@…          |      Owner:  jyavenard
         Type:  Bug Report -         |     Status:  new
  General                            |  Milestone:  0.27.4
     Priority:  major                |    Version:  0.27-fixes
    Component:  MythTV - Video       |   Keywords:  "aspect ratio"
  Playback                           |  "horizontal scaling"
     Severity:  medium               |
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 In the case of two 1680 x 1050 monitors arranged as a single X screen of
 resolution 1680 x 2100 (that is to say, one 'on top of' the other),
 mythfrontend appears to ignore the "setup / appearance / Monitor aspect
 ratio" of 16:10.  Even having chosen "Use GUI size for TV playback" and
 putting in as the initial GUI width 1440 and height 900 (still 16:10), no
 matter whether playing back by opengl, 'normal' or 'vdpau', no matter
 playing back 1080i or 720p or old 4:3 video:  the playback screen fills
 the window but the playback content is compressed horizontally to fill
 perhaps the center 1/4th of the screen.  The vertical size seems correct.

 If use xorg.conf to separate the two monitors into two logical screens of
 1680 x 1050 arranged one on top of the other, all windowed and fullscreen
 options work normally.

 When treating the pair of monitors as one x screen taller than wide, no
 permutation of "Use Gui size for tv playback" "use window border"  "use
 fixed window size" would result in a display with the intended content
 displayed at the correct and normal aspect ratio.

 Also, I tried to compensate by adjusting the 'settings/video/general
 playback / horizontal scaling' to several values between 0 and 100.  If
 the number wasn't 0, there was no content displayed at all while the sound
 was normal as if the display occurred.

 What strikes me as odd is that when the frontend window that displays
 correctly is dragged onto pairs of monitors to the let or right arranged
 vertically as a single screen-- instead of failing as it did when the
 middle pair was a single screen... it works normally.

 I set this a a major priority since if you can't watch the video, there's
 not much point to all this.

 Mythfrontend:  2:0.27.0+fixes.20140324.8ee257c-0ubuntu3  amd64  Ubuntu
 trusty LTS 14.04

 Mythbackend: 0.27.3-dmo1+wheezy+bp1 i386

 Attached are two xorg.conf's.  The one with fewer screens is broken, the
 one splitting the two works correctly.  Here's the settings with the
 monitors split into two screens.

 AdjustFill                  0
 AirPlayId                   28594038395b
 AltClearSavedPosition       1
 AspectOverride              0
 AutoCommercialSkip          0
 AutomaticSetWatched         0
 BrowseAllTuners             0
 ChannelFormat               <num> <sign>
 ChannelGroupDefault         -1
 ChannelGroupRememberLast    0
 ChannelOrdering             channum
 ClearSavedPosition          1
 ContinueEmbeddedTVPlay      0
 Country                     US
 DateFormat                  ddd MMM d yyyy
 DecodeExtraAudio            1
 DefaultCCMode               0
 DefaultVideoPlaybackProfile OpenGL Slim
 DispRecGroupAsAllProg       0
 DisplayGroupTitleSort       0
 DisplayRecGroup             All Programs
 EnableMHEG                  0
 EndOfRecordingExitPrompt    0
 FFRewReposTime              100
 FFRewReverse                1
 JumpToProgramOSD            1
 Language                    en_US
 LetterboxColour             0
 LongChannelFormat           <num> <name>
 MythArchiveDateFormat       %a %b %d %Y
 MythArchiveTimeFormat       %I:%M %p
 MythArchiveVideoFormat      NTSC
 PIPLocation                 0
 PersistentBrowseMode        1
 PlayBoxEpisodeSort          Date
 PlayBoxOrdering             1
 PlaybackBoxStartInTitle     1
 PlaybackExitPrompt          0
 PlaybackWLAutoExpire        0
 PlaybackWLBlackOut          2
 PlaybackWLMaxAge            60
 PlaybackWLStart             0
 PlaybackWatchList           1
 QueryInitialFilter          0
 RealtimePriority            1
 RememberRecGroup            1
 ShortDateFormat             M/d
 SmartForward                0
 SubtitleCodec               UTF-8
 TimeFormat                  h:mm AP

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12239>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list