[mythtv-users] Skewed text and video display on widescreen 5120x1440

James Linder jam at tigger.ws
Sat Jan 9 23:32:26 UTC 2021



> On 10 Jan 2021, at 1:21 am, Alain <mythuser at alain.homeunix.org> wrote:
> 
> Hi,
> 
>     Nope, I've set the  Screen aspect ratio to 16:9 and that didn't change anything.  
> I've found that if I set my display to a lower resolution first, start mythfrontend (GUI) it shows up fine as I've mentioned. If I then change the display back to 5120x1440, Mythfrontend GUI stays fine: a nice window at proper size and location. But when I start  a recording, it is squashed in the middle of the window.
> 
> 2021-01-09 18:11:28.852953 C  mythfrontend version: fixes/31 [v31.0-v31.0] www.mythtv.org
> 2021-01-09 18:11:28.852959 C  Qt version: compile: 5.12.5, runtime: 5.12.8
> 2021-01-09 18:11:28.853021 I  Ubuntu 20.04.1 LTS (x86_64)
>   Anything else I can try ?
> 
> Regards,
> 
> Alain
> 
> 
> On 09.01.21 17:04, Mark Kendall wrote:
>> I'm guessing from your logs that you're running 0.31, so try changing
>> the screen aspect ratio setting:-
>> 
>> Setup->Appearance->Theme/Screen Settings->Screen aspect ratio
>> 
>> On 0.31 that defaults to 'Auto (Detect from display)' - which is
>> clearly not working when using 5120x1440. Try setting that to 'Auto
>> (Assume square pixels)' - which should work as expected. (I'd suggest
>> removing all of the geometry override settings etc)
>> 
>> Regards
>> Mark
>> 
>> 
>> 
>> On Sat, 9 Jan 2021 at 14:43, Alain 
>> <mythuser at alain.homeunix.org>
>>  wrote:
>> 
>>> Hi,
>>> 
>>>   I've just moved to a wide display (screen), 5120x1440, and mythfrontend doesn't like it a bit. I set mythfrontend's window size to 1920x1080 for my tests.  If I change the screen size down to 3840x1080, then mythfrontend displays fine. I've tested using two different themes, both with qt and openGL as renderers.
>>> 
>>>   The texts end up stretched wide and squashed vertically and too big. The video's are squashed vertically to the center of the display.
>>> 
>>> 
>>>   I'm not sure where to go from there. The command I used:
>>> 
>>> /bin/mythfrontend -nw -geometry 1920x1080+3520+360 -v frame\,gpu\,gpuvideo\,gui\,osd --loglevel debug
>>> 
>>>    Then I did a diff on the output when this command was ran using using the different display resolutions and this is what I got (qt as renderer):
>>> 
>>> 18d17
>>> < I  Added logging to the console
>>> 20c19,20
>>> < I  MythUIHelper: Overriding GUI offset: x=3520 y=360
>>> ---
>>> 
>>>> I  MythUIHelper: Overriding GUI offset: x=1920 y=0
>>>> I  Added logging to the console
>>>> 
>>> ...
>>> 55c54
>>> < I  Display: Geometry: 5120x1440+0+0 Size(Qt): 1mmx1mm        <<<=====
>>> ---
>>> 
>>>> I  Display: Geometry: 3840x1080+0+0 Size(Qt): 1193mmx336mm
>>>> 
>>> 64c63
>>> < I  Display: Screen HDMI-0: 5120x1440 (Make: Philips Consumer Electronics Company Model: PHL 498P9-)
>>> ---
>>> 
>>>> I  Display: Screen HDMI-0: 3840x1080 (Make: Philips Consumer Electronics Company Model: PHL 498P9-)
>>>> 
>>> 66,68c65,67
>>> < I  Display: Total desktop dim: 5120x1440, over 1 screen[s].
>>> < I  Display: Using screen HDMI-0: 5120x1440 at 0+0
>>> < N  Display: Desktop video mode: 5120x1440 70.303Hz
>>> ---
>>> 
>>>> I  Display: Total desktop dim: 3840x1080, over 1 screen[s].
>>>> I  Display: Using screen HDMI-0: 3840x1080 at 0+0
>>>> N  Display: Desktop video mode: 3840x1080 75.000Hz
>>>> 
>>> 104,105c103,104
>>> < I  Display: Found screen number 0 (HDMI-0)
>>> < I  Display: Screen HDMI-0: 5120x1440 (Make: Philips Consumer Electronics Company Model: PHL 498P9-)
>>> ---
>>> 
>>>> I  Display: Geometry override places window in screen 'HDMI-0'
>>>> I  Display: Screen HDMI-0: 3840x1080 (Make: Philips Consumer Electronics Company Model: PHL 498P9-)
>>>> 
>>> 107,108c106,107
>>> < I  Display: Total desktop dim: 5120x1440, over 1 screen[s].
>>> < I  Display: Using screen HDMI-0: 5120x1440 at 0+0
>>> ---
>>> 
>>>> I  Display: Total desktop dim: 3840x1080, over 1 screen[s].
>>>> I  Display: Using screen HDMI-0: 3840x1080 at 0+0
>>>> 
>>> 1017d1015
>>> < D  'title' (base.xml:1312): height overflow. line height 42 paragraph height 86, area height 60
>>> 1033d1030
>>> < D  'title' (base.xml:1254): height overflow. line height 34 paragraph height 68, area height 54

I've not used Screen Aspect so you may not be able to set it corectly, if so then how dumb, but surely your screen is 32:9

James



More information about the mythtv-users mailing list