[mythtv] [mythtv-commits] Ticket #12311: tearing on full-screen video playback when 2D glamor accell is enabled
Michael T. Dean
mtdean at thirdcontact.com
Mon Jan 12 23:02:46 UTC 2015
On 01/12/2015 03:03 PM, Warpme wrote:
> On 12/01/15 13:18, Michael T. Dean wrote:
>> On 01/06/2015 04:17 PM, MythTV wrote:
>>> #12311: tearing on full-screen video playback when 2D glamor accell
>>> is enabled
>>> Comment (by warpme@…):
>>> Regarding windows coordinates (second hunk) - I was trying to
>>> address it
>>> with proper _playback window coordinates_ - but finally achieving
>>> becomes beyond of my MythTV code knowledge. (I'm really missing that
>>> MythTV coding standard isn't forcing to comment by default...).
>>> First hunk (related to window size) seems to be already within hack
>>> (tv_play.cpp line1255). I don't know why in my system (X mode to
>>> TV set
>>> always to 1080p50), maxHeight = display_res->GetMaxHeight();
>>> returns 1200.
>>> In all my those frontends with X modes lower than fullHD,
>>> display_res->GetMaxHeight() returns expected values. I suspect
>>> issue that
>>> 1920x1080 display returns 1920x1200 is kind of bug....If it is bug
>>> - then
>>> currently I haven't better idea to overcome it....
> Mike - I'm a bit confused how to properly read Your message.
> Pls see in-line
>> FWIW, if I'm parsing this correctly (you think your system has a
>> resolution of 1920x1080, but display_res->GetMaxHeight() returns 1200)
> Well - I'm simply assuming: if my TV tells me I'm on 1920x1080p50 then
> Xserver is working with such res.
> Is this correct assumption?
> Also what about xrandr which reports: "Screen 0: minimum 320 x 200,
> current 1920 x 1080, maximum 16384 x 16384"
> xwininfo reports "Root window extents: (0, 0)-(1920, 1080)"
> For me it means: Xserver gfx operating area is 1920x1080.
> I'm wrong here?
>> it sounds like the typical "user is running some variant of Xinerama
>> and doesn't know it and doesn't tell MythTV."
> How can I determine that I'm running with MergedFB on AMD E2100
> platform (HD8310)?
>> The "variant of Xinerama" includes all of them (including nvidia
>> TwinView, AMD/ATI MergedFB, etc.), The "doesn't know it" typically
>> happens because your video card has multiple outputs (i.e. built-in
>> LCD in laptop and HDMI output or even multiple HDMI/DVI outputs) and
>> X auto-enables multiple even though a monitor isn't connected (or
>> used) on one or more. The "doesn't tell MythTV" part means that the
>> Xinerama settings aren't specified, specifically:
> You wrote "Xinerama settings aren't specified".
> How can I specify such settings in MythTV?
and this have the same answer...
>> Display on screen
>> Run on the specified screen or spanning all screens.
>> Monitor aspect ratio
>> - 16:9
>> - 16:10
>> - 4:3
>> The aspect ratio of a Xinerama display cannot be queried from the
>> display, so it must be specified.
>> and the reason why it's important to do so is explained in the help
>> text of the 2nd setting. These settings are in the Appearance
>> settings of mythfrontend, and only appear if you actually have
>> Xinerama enabled (have more than one screen). If they appear, they
>> must be set or MythTV won't properly handle window-related settings.
Do you see the settings described above under Appearance? If so, please
set them to appropriate values (screen 0 and 16:9). If not, you don't
have Xinerama enabled (or at least you don't have multiple displays) and
something else is causing your MythTV to get bad information from X.
More information about the mythtv-dev