no menu text with low resolution

Bug #149702 reported by pavon
2
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
Unassigned

Bug Description

If I change the resolution of X11 to 800x600 or less, there is no menu text in mythtvfrontend. The menu icons are still change when I press the up and down arrow keys, but the text is gone. At resolutions higher than 800x600 the text shows up just fine.

I also tried with various geometry settings, and found that it doesn't matter - if the X11 resolution is 1280x1024 then the menu text works even if the geometry is set to 640x480, however if the resolution is set to 800x600, the text does not work even if the geometry is set to 1280x1024.

There was no significant difference in mythtvfrontend output when the problem occurred.

I am using the via driver with a CLE266 chipset.

Revision history for this message
laga (laga) wrote : Re: [Bug 149702] no menu text with low resolution

pavon schrieb:
> Public bug reported:
>
> If I change the resolution of X11 to 800x600 or less, there is no menu
> text in mythtvfrontend. The menu icons are still change when I press the
> up and down arrow keys, but the text is gone. At resolutions higher than
> 800x600 the text shows up just fine.
>
>

Does it work with mythfrontend -O ThemePainter=qt ?

Revision history for this message
pavon (jpeacock-nmt) wrote :

No it doesn't. I should have mentioned that all the testing I did was with QT selected. Mythbuntu doesn't appear to install DRI support for the unichrome chipsets by default, so the OpenGL menus are unusably slow. I was going to try and get that working today, and see if it fixed the problem.

I have since tested with the various video packages installed (xserver-xorg-video-via/unichrome/openchrome), and that didn't affect anything.

Revision history for this message
pavon (jpeacock-nmt) wrote :

Okay, I got DRI working so the OpenGL painter has reasonable performance, but it doesn't seem to affect the problem. There is no text at 800x600 regardless of whether the QT or OpenGL painter that is used.

Revision history for this message
pavon (jpeacock-nmt) wrote :

Okay, I have been doing some more experimenting and found a bit more info about the problem as well as a workaround. By default X is using a display size of 320x240mm. If I explicitly specify a DisplaySize in xorg.conf to another value it sometimes fixes the problem. However the values that work and don't work are somewhat perplexing.

Using a resolution of 1024x768 pixels, the problem occurs if the vertical display size is greater than 370mm (ie the vertical DPI less than 53).

Using a resolution of 800x600 pixels, the problem occurs if the vertical display size is greater than 240mm (ie the vertical DPI less than 67).

Using a resolution of 640x480pixels, the problem occurs if the vertical display size is greater than 240mm (ie the vertical DPI less than 53).

Using a resolution of 720x480 pixels, the problem occurs if the vertical display size is exactly 240mm (making the vertical DPI equal to 50). 250mm and 230mm both work, as do values much greater and smaller.

The obvious difference here is that the first three have a ratio of 4:3 while the last is 3:2, but it is still odd.

The horizontal display size does not seem to affect the problem at all.

Revision history for this message
laga (laga) wrote : Re: [Bug 149702] Re: no menu text with low resolution

pavon schrieb:
> Okay, I have been doing some more experimenting and found a bit more
> info about the problem as well as a workaround. By default X is using a
> display size of 320x240mm. If I explicitly specify a DisplaySize in
> xorg.conf to another value it sometimes fixes the problem. However the
> values that work and don't work are somewhat perplexing.

Can you force it to 100DPI?
http://www.mythtv.org/wiki/index.php/Display_Size

Revision history for this message
pavon (jpeacock-nmt) wrote :

Yeah, that works. I don't see any difference in the way the themed portion of the interface is drawn when changing the DPI (except when it doesn't work at all). It only seems to affect the font in the configuration pages, and actually at 100DPI these pages are just a few pixels too large to fit entirely within 720x480, so it is odd that they would recommend that resolution.

Anyway, for unichrome chipsets and an NTSC TV the ideal default xorg.conf setup should include:

Section "Monitor"
 # ...
 DisplaySize 182 121 # Force to 100 DPI for MythTV
EndSection

Section "Screen"
 # ...
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "720x480Noscale" # Use NTSC resolution with HW scaling disabled
 EndSubSection
EndSection

For PAL, this would be:

Section "Monitor"
 DisplaySize 182 146 # Force to 100 DPI for MythTV
EndSection

Section "Screen"
 DefaultDepth 24
 SubSection "Display"
  Depth 24
  Modes "720x576Noscale" # Use PAL resolution with HW scaling disabled
 EndSubSection
EndSection

There are other TVout settings that could be specified, however they are all correctly autodetected, so for generality, it is probably best to leave them out.

Revision history for this message
Mario Limonciello (superm1) wrote :

pavon wrote:
> Yeah, that works. I don't see any difference in the way the themed
> portion of the interface is drawn when changing the DPI (except when it
> doesn't work at all). It only seems to affect the font in the
> configuration pages, and actually at 100DPI these pages are just a few
> pixels too large to fit entirely within 720x480, so it is odd that they
> would recommend that resolution.
>
> Anyway, for unichrome chipsets and an NTSC TV the ideal default
> xorg.conf setup should include:
>
> Section "Monitor"
> # ...
> DisplaySize 182 121 # Force to 100 DPI for MythTV
> EndSection
>
> Section "Screen"
> # ...
> DefaultDepth 24
> SubSection "Display"
> Depth 24
> Modes "720x480Noscale" # Use NTSC resolution with HW scaling disabled
> EndSubSection
> EndSection
>
> For PAL, this would be:
>
> Section "Monitor"
> DisplaySize 182 146 # Force to 100 DPI for MythTV
> EndSection
>
> Section "Screen"
> DefaultDepth 24
> SubSection "Display"
> Depth 24
> Modes "720x576Noscale" # Use PAL resolution with HW scaling disabled
> EndSubSection
> EndSection
>
> There are other TVout settings that could be specified, however they are
> all correctly autodetected, so for generality, it is probably best to
> leave them out.
>
Unichrome as in with openchrome drivers?

--
Mario Limonciello
<email address hidden>

Revision history for this message
pavon (jpeacock-nmt) wrote :

I think those options are supported by all the unichrome chipset drivers (openchrome, unichrome.sf.net, and the bug-fix-only pre-fork via driver). I can test it later this week - need to get back to homework now :)

Changed in mythbuntu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.