Mailing List Archive

Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem
On 02/12/2011 05:41 PM, MythTV wrote:
> #9571: MythBuntu theme problem
>
> Comment (by John Veness):
>
> Thanks Mark. This certainly looks better, as I no longer see the
> horizontal white bars. However, I don't think things are back as they used
> to me. Several bits of text seem to be cut off earlier than they should
> be, or earlier than they used to be at least, prior to the white bar
> problem.
>
> For example, if you look at "Truncated text in filter choice 1.png" (and
> compare it with "MythBuntu theme problem.png") you'll see that the white
> bars have gone, but the text "All Programmes [323 item" is truncated.
> "Truncated text in filter choice 2.png" shows it more obviously, in the
> Music/Ballet/Dance category.
>

John,

Are you running with Mythbuntu theme in a 4:3 display (as is shown in
your screenshots)? If so, it is expected that text items will not line
up properly. That they seemed to be closer to correct before was only
"lucky happenstance." :) When a 16:9 theme is displayed at 16:9, text
should generally fit properly (assuming no bugs in the theme)--with the
exception being some "multiline" text areas (since we don't have
multiline support, yet).

Can you please try the theme with a proper-for-the-theme 16:9 aspect
display? You can do this by using the "GUI width/height (pixels)" and
"GUI X/Y offset" settings to letterbox a 16:9 UI on your 4:3 display,
and then disable, "Use GUI size for TV playback," to allow full-screen
video playback. I was thinking someone had written up a nice page about
this on the wiki, but I can't find it right now.

Thanks,
Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 12/02/11 23:09, Michael T. Dean wrote:
> John,
>
> Are you running with Mythbuntu theme in a 4:3 display (as is shown in
> your screenshots)? If so, it is expected that text items will not line
> up properly. That they seemed to be closer to correct before was only
> "lucky happenstance." :) When a 16:9 theme is displayed at 16:9, text
> should generally fit properly (assuming no bugs in the theme)--with the
> exception being some "multiline" text areas (since we don't have
> multiline support, yet).

Hi Mike,

Although the screenshots look 4:3, my screen is physically 16:9. The
screen is a widescreen CRT and I connect to it via a VGA->SCART adapter.
I am outputting a 720x576 pixel resolution, which I guess would normally
be 4:3 (and which is why I guess the screenshots look like that), but
the circuitry in the TV widens the picture to fill the 16:9 screen. If I
had taken the screenshots with a camera rather than using "scrot", you
would have seen how they really look to me.

Why 720x576? I chose it because it is the "native" resolution for PAL
DVDs and PAL DVB-T broadcasts (including 16:9 DVDs and broadcasts), and
I didn't want to tax the hardware/software by making it do any scaling.
I realise that I can have a different resolution for the GUI and
playback, but wanted to keep things simple.

Most things in the GUI and when playing back recordings look correct -
e.g. circular things look circular, so I'm pretty sure I have things
configured correctly, but I just have this problem with (some) text now
being truncated earlier than the width of the space it can fit into.
Still, if it turns out I do not have things configured correctly, then
feel free to bump me to mythtv-users, as this isn't really a development
discussion I'm sure.

Cheers,

John

--
John Veness, MythTV user, UK, DVB-T
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 02/12/2011 06:23 PM, John.Veness wrote:
> On 12/02/11 23:09, Michael T. Dean wrote:
>> Are you running with Mythbuntu theme in a 4:3 display (as is shown in
>> your screenshots)? If so, it is expected that text items will not line
>> up properly. That they seemed to be closer to correct before was only
>> "lucky happenstance." :) When a 16:9 theme is displayed at 16:9, text
>> should generally fit properly (assuming no bugs in the theme)--with the
>> exception being some "multiline" text areas (since we don't have
>> multiline support, yet).
> Although the screenshots look 4:3, my screen is physically 16:9. The
> screen is a widescreen CRT and I connect to it via a VGA->SCART adapter.
> I am outputting a 720x576 pixel resolution, which I guess would normally
> be 4:3 (and which is why I guess the screenshots look like that), but
> the circuitry in the TV widens the picture to fill the 16:9 screen. If I
> had taken the screenshots with a camera rather than using "scrot", you
> would have seen how they really look to me.
>
> Why 720x576? I chose it because it is the "native" resolution for PAL
> DVDs and PAL DVB-T broadcasts (including 16:9 DVDs and broadcasts), and
> I didn't want to tax the hardware/software by making it do any scaling.
> I realise that I can have a different resolution for the GUI and
> playback, but wanted to keep things simple.
>
> Most things in the GUI and when playing back recordings look correct -
> e.g. circular things look circular, so I'm pretty sure I have things
> configured correctly, but I just have this problem with (some) text now
> being truncated earlier than the width of the space it can fit into.
> Still, if it turns out I do not have things configured correctly, then
> feel free to bump me to mythtv-users, as this isn't really a development
> discussion I'm sure.

Did you configure X appropriately, with a 16:9 DisplaySize?
http://www.mythtv.org/wiki/Display_Size

Please confirm with:

xdpyinfo | grep -B2 resolution

and verify that the millimeters measures are a 16:9 aspect.

Just want to verify a few likely issues before going farther.

Thanks,
Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 12/02/2011 23:23, John.Veness.mythtv@pelago.org.uk wrote:
> On 12/02/11 23:09, Michael T. Dean wrote:
>> John,
>>
>> Are you running with Mythbuntu theme in a 4:3 display (as is shown in
>> your screenshots)? If so, it is expected that text items will not line
>> up properly. That they seemed to be closer to correct before was only
>> "lucky happenstance." :) When a 16:9 theme is displayed at 16:9, text
>> should generally fit properly (assuming no bugs in the theme)--with the
>> exception being some "multiline" text areas (since we don't have
>> multiline support, yet).
>
> Hi Mike,
>
> Although the screenshots look 4:3, my screen is physically 16:9. The
> screen is a widescreen CRT and I connect to it via a VGA->SCART adapter.
> I am outputting a 720x576 pixel resolution, which I guess would normally
> be 4:3 (and which is why I guess the screenshots look like that), but
> the circuitry in the TV widens the picture to fill the 16:9 screen. If I
> had taken the screenshots with a camera rather than using "scrot", you
> would have seen how they really look to me.
>
> Why 720x576? I chose it because it is the "native" resolution for PAL
> DVDs and PAL DVB-T broadcasts (including 16:9 DVDs and broadcasts), and
> I didn't want to tax the hardware/software by making it do any scaling.
> I realise that I can have a different resolution for the GUI and
> playback, but wanted to keep things simple.
>
> Most things in the GUI and when playing back recordings look correct -
> e.g. circular things look circular, so I'm pretty sure I have things
> configured correctly, but I just have this problem with (some) text now
> being truncated earlier than the width of the space it can fit into.
> Still, if it turns out I do not have things configured correctly, then
> feel free to bump me to mythtv-users, as this isn't really a development
> discussion I'm sure.

I've had very similar problems when using a 720x576 screen mode. It
seemed that the shapes used by the theme were scaled correctly for
the non-square pixels, but the fonts were scaled taking account
only of one ratio. You can generate modes that a TV will lock up
on by multiplying all the x vals by a constant factor. Using that
means I tried also 1440x576 (still interlaced). That again gave a
correct layout of the theme but with a very tall thin font. All looked
fine if I used 1024x576. That way you have scaling only in the x
direction (still not ideal), but at least allowing you to use the
TV for deinterlacing (if that is one of the issues).

Cheers,
Paul.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 12/02/11 23:39, Michael T. Dean wrote:
> Did you configure X appropriately, with a 16:9 DisplaySize?
> http://www.mythtv.org/wiki/Display_Size
>
> Please confirm with:
>
> xdpyinfo | grep -B2 resolution
>
> and verify that the millimeters measures are a 16:9 aspect.

xorg.conf contains:

DisplaySize 260 146

although "xdpyinfo | grep -B2 resolution" comes up with the slightly
different:

screen #0:
dimensions: 720x576 pixels (261x146 millimeters)
resolution: 70x100 dots per inch

I'm not sure where it gets 261 from, but in any case the ratio is pretty
much 16:9. (My screen is actually a lot larger than that in millimetres,
but I found that if I put the correct size, the fonts in menus in other
applications like Firefox were too small to read at a 10 foot distance.
I reduced both dimensions by a linear multiple until other apps were
readable. As I understand it, MythTV only cares about the ratio of the
two numbers, not the absolute values).

As I mentioned earlier, graphical parts of the theme seem to be showing
correctly. For example, the clock-face spinner that occurs when choosing
Previously Recorded looks circular. But now I look closely, some (not
all) fonts do look a bit tall and skinny, and in some (not all) places,
seem to truncate early - i.e. there is space to the right of the
truncation that looks like it could be utilised.

Maybe I'll try a 1024x576 pixel resolution (which with square pixels is
a 16:9 ratio) for the GUI as Paul Gardiner says worked for him, and
switch to 720x576 during playback, but it seems like it shouldn't be
necessary...

Cheers,

John

--
John Veness, MythTV user, UK, DVB-T
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 02/13/2011 04:00 PM, John Veness wrote:
> On 12/02/11 23:39, Michael T. Dean wrote:
>> Did you configure X appropriately, with a 16:9 DisplaySize?
>> http://www.mythtv.org/wiki/Display_Size
>>
>> Please confirm with:
>>
>> xdpyinfo | grep -B2 resolution
>>
>> and verify that the millimeters measures are a 16:9 aspect.
> xorg.conf contains:
>
> DisplaySize 260 146
>
> although "xdpyinfo | grep -B2 resolution" comes up with the slightly
> different:
>
> screen #0:
> dimensions: 720x576 pixels (261x146 millimeters)
> resolution: 70x100 dots per inch
>
> I'm not sure where it gets 261 from, but in any case the ratio is pretty
> much 16:9. (My screen is actually a lot larger than that in millimetres,
> but I found that if I put the correct size, the fonts in menus in other
> applications like Firefox were too small to read at a 10 foot distance.
> I reduced both dimensions by a linear multiple until other apps were
> readable. As I understand it, MythTV only cares about the ratio of the
> two numbers, not the absolute values).

Yep. That's all good. Thanks for checking.

> As I mentioned earlier, graphical parts of the theme seem to be showing
> correctly. For example, the clock-face spinner that occurs when choosing
> Previously Recorded looks circular. But now I look closely, some (not
> all) fonts do look a bit tall and skinny, and in some (not all) places,
> seem to truncate early - i.e. there is space to the right of the
> truncation that looks like it could be utilised.
>
> Maybe I'll try a 1024x576 pixel resolution (which with square pixels is
> a 16:9 ratio) for the GUI as Paul Gardiner says worked for him, and
> switch to 720x576 during playback, but it seems like it shouldn't be
> necessary...

Yeah, it shouldn't be. Last time we fixed font issues with non-square
pixel displays, we used some font-stretching code, since Qt doesn't seem
to correct for non-square displays. Feel free to play around with it,
since you have a setup where you can see the effects.

See
https://github.com/MythTV/mythtv/commit/e9a846f5
https://github.com/MythTV/mythtv/commit/8e869794

Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 02/13/2011 07:31 PM, Michael T. Dean wrote:
> Yeah, it shouldn't be. Last time we fixed font issues with non-square
> pixel displays, we used some font-stretching code, since Qt doesn't seem
> to correct for non-square displays. Feel free to play around with it,
> since you have a setup where you can see the effects.
>
> See
> https://github.com/MythTV/mythtv/commit/e9a846f5
> https://github.com/MythTV/mythtv/commit/8e869794

Argh. It's one of those days. Stupid Ctrl-Enter.

and http://code.mythtv.org/trac/ticket/9295 (which has a patch that may
help).

Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
On 14/02/11 00:33, Michael T. Dean wrote:
> On 02/13/2011 07:31 PM, Michael T. Dean wrote:
>> Yeah, it shouldn't be. Last time we fixed font issues with non-square
>> pixel displays, we used some font-stretching code, since Qt doesn't seem
>> to correct for non-square displays. Feel free to play around with it,
>> since you have a setup where you can see the effects.
>>
>> See
>> https://github.com/MythTV/mythtv/commit/e9a846f5
>> https://github.com/MythTV/mythtv/commit/8e869794
>
> Argh. It's one of those days. Stupid Ctrl-Enter.
>
> and http://code.mythtv.org/trac/ticket/9295 (which has a patch that may
> help).
>
> Mike

Thanks Mike. Although I have occasionally dabbled with svn, I haven't
yet played with git, and tend to stick to the packaged mythbuntu
0.24-fixes versions. If I get time, I'll have a play, but it will
probably be some weeks away, if that.

Cheers,

John

--
John Veness, MythTV user, UK, DVB-T
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #9571: MythBuntu theme problem [ In reply to ]
For the sake of the archives, the early truncated text issue that I was
seeing (see
http://code.mythtv.org/trac/attachment/ticket/9571/Truncated%20text%20in%20video%20list.png)
now seems to be fixed in latest 0.24-fixes. See
http://i223.photobucket.com/albums/dd221/pelago2/Nolongertruncatedtextinvideolist.png
for how it appears now, which is much better. I didn't have to make any
changes to my screen resolution, which is still 720x576 pixels although
stretched to 16:9 ratio. Thanks devs!

(If I was going to be picky, I would say that the "Roger Waters - The
wall, live in berlin" line actually could be truncated a couple of
letters early, so that it doesn't hit the ">", but I won't be picky ;-)

Cheers,

John

--
John Veness, MythTV user, UK, DVB-T
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev