OSD fonts badly rendered when watching 16:9 TV

Bug #136533 reported by Nico
8
Affects Status Importance Assigned to Milestone
MythTV
Invalid
Unknown
Mythbuntu
Fix Released
Low
Unassigned
mythtv (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I have Gutsy with the latest updates at this date, on x86_64, with MythTV, which means I am practically running Mythbuntu, I have the GDM theme, usplash, etc...

It is connected to an HDTV using DVI/HDMI and is running at 1920x1080.

I am currently using an NVIDIA card using the Ubuntu nvidia-glx. The problem existed as well when using an Intel GPU in the same machine (2.0 and 2.1.1 drivers).

The display is set hard to 100dpi in xorg.

All the normal theme stuff (menus, EPG, etc...) is displaying great.

BUT -- All the OSD, when watching 16:9 TV programming, has fonts rendered badly, with weird aspect ratios and overlaps. This is for the OSD menu, the program information, the volume setting, position, etc...

I tried many different OSD themes with the same results.

I made a few snapshots of how it looks like. They are available here:

http://www.youplala.net/~will/htpc/bad_fonts/

Fonts are rendered properly when watching 4:3 programming.

Any info/dumps/logs/confs can be provided quickly upon request.

Nico

Edited for typos

Related branches

Nico (nico-rdo)
description: updated
Revision history for this message
Nico (nico-rdo) wrote :
Revision history for this message
Nick Fox (nickj-fox) wrote : Re: [Bug 136533] Re: OSD fonts badly rendered when watching 16:9 TV

Nico,

Can you try this with a VGA cable to your TV? There is a known issue with
DVI/HDMI overscan.

Thanks,

Foxbuntu

On 9/2/07, Nico <email address hidden> wrote:
>
> I think this is related to these posts:
>
> http://www.gossamer-threads.com/lists/mythtv/dev/284927
>
> http://www.mythtv.org/pipermail/mythtv-commits/2007-July/031042.html
>
> NIco
>
> --
> OSD fonts badly rendered when watching 16:9 TV
> https://bugs.launchpad.net/bugs/136533
> You received this bug notification because you are a member of
> Mythbuntu, which is the bug contact for Mythbuntu.
>

Revision history for this message
Nico (nico-rdo) wrote :

Nick,

I will try tonight, for the sake of debugging but, I am not sure that my TV accepts the same resolution in analog, which will not create the same conditions for testing.

Nico

Revision history for this message
Nico (nico-rdo) wrote :

I still have not done the VGA cable test.

It's not that I am not interested, it is quite the opposite, but:

- I am currently running a stability test with a new firmware for the WinTV Nova-T-500 DVB-T tuner. It's been going on for a few days, I'm waiting for the code to break, or not... It would be a shame to stop this.

- the video card I am using has the vga plug on a pigtail, which I removed as my case is quite cramped. I need to open the case and put it back. Yes, I am lazy...

In any case, is fixing the known issue in the first place an option?

Nico

Revision history for this message
Nico (nico-rdo) wrote :

all right, I tried....

I shut down the machine, added my VGA plug, disconnected the HDMI, plugged the CGA cable, rebooted... and went into all sort of trouble with my TV's lack of EDID stability.

I could not do the test.

In any case my TV only supports 1280x720 in analog.

Not that I did not want to test, just that I cannot.

Nico

Revision history for this message
Nico (nico-rdo) wrote :

no takes on this?

Revision history for this message
laga (laga) wrote :

Hum.

Can you check /var/log/Xorg.0.log to verify the DPI settings is actually acceted? How did you hardcode the DPI setting?

Revision history for this message
Nico (nico-rdo) wrote :

Michael,

in /var/log/Xorg.o.log:

(**) NVIDIA(0): DPI set to (100, 100); computed from "DPI" X config option

in xorg.conf:

Section "Monitor"
        Identifier "MonitorTMDS"
        Option "DPMS"
        Option "UseEdidDpi" "FALSE"
        Option "DPI" "100 x 100"
EndSection

Nico

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

This needs to be submitted upstream from what i'm reading here.

Changed in mythtv:
importance: Undecided → Low
status: New → Confirmed
Changed in mythbuntu:
status: New → Confirmed
Revision history for this message
laga (laga) wrote :

Nico, can you report this at http://svn.mythtv.org ?

Make sure to read the tickethowto there first.

When you have done it, please link your bug report in launchpad.

Changed in mythbuntu:
importance: Undecided → Low
Revision history for this message
Nico (nico-rdo) wrote :

Opened an upstream bug and linked it here.

I have also started a thread on the MythTV mailing list:

http://mythtv.org/pipermail/mythtv-users/2007-October/197741.html

Nico

Revision history for this message
Nico (nico-rdo) wrote :

Woah !

Friendly dev community over at MythTV.

The ticket has been shut down and is now in flames...

I'm trying to keep the mailing list thread alive, though.

NIco

Changed in mythtv:
status: Unknown → Invalid
Revision history for this message
Nico (nico-rdo) wrote :

Guys,

Please, take a look at this changeset:

http://svn.mythtv.org/trac/changeset/14520

As well as at this thread:

http://www.gossamer-threads.com/lists/mythtv/users/293867

I've heard good things about how reactive you all are, and my experience with all of you on IRC is the same.

Pretty please?

Nico

Revision history for this message
laga (laga) wrote :

I've backported changeset 14520 to the -fixes packages. this fix will appear in gutsy and the next weekly builds soon.

Changed in mythbuntu:
status: Confirmed → Fix Committed
Changed in mythtv:
status: Confirmed → Fix Committed
Revision history for this message
Nico (nico-rdo) wrote :

This is great news, many thanks for your support.

 Nico

Revision history for this message
laga (laga) wrote :

Update:
19:55 < Chutt> sphery, that xinerama fix has absolutely no chance whatsoever to fix any osd font rendering problems.
20:43 < sphery> Chutt: I don't think that patch will fix a font rendering problem, per se, but I think it will (help) fix his
                invalid configuration. If Myth thinks his aspect ratio is different from reality, the values it's using for
                multipliers and scaling are wrong and--it seems to me--could result in exactly the issue he's having: overlapping
                characters.
20:43 < sphery> He has screenshots at http://www.youplala.net/~will/htpc/bad_fonts/

21:33 < Chutt> sphery, it'll only fix the entire video displaying at the wrong aspect ratio.
21:35 < sphery> Ok. I'll drop it, then.
21:35 < Chutt> that's the only thing that particular set of calculations is used for :p
21:49 < janneg> sphery: the problem is font specific. I see it here with Gray-OSD for example
21:50 < janneg> if I comment the filename element in the font section and changing the font from DejaVu* to Free* it's fine

Nico, please WAIT before messing with the OSD XML file. I'd like to see if the next package upload fixes your problem..

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

mythtv (0.20.2-0ubuntu9) gutsy; urgency=low

  [ Mario Limonciello ]
  * Change compile type to profile per upstream recommendations.
  * Include 28_patch_build.dpatch from upstream # 14587 to improve
    profile builds.
  * Import debconf translations from rosetta.
  * Build with perl bindings. For now include them in mythtv-common,
    but later they will be included in their own binary package.
    - Add 29_perl_bindings.dpatch to update settings.pro
    - Add to mythtv-common package in debian/control
    - Remove pack list from debian/rules
    - Add dh_perl to debian/rules
    - Build --with-bindings=perl in debian/rules

  [ Michael Haas ]
  * Add 30_xinerama_fix.dpatch from upstream trunk rev 14520 (LP: #136533)

 -- Mario Limonciello <email address hidden> Mon, 01 Oct 2007 18:47:06 -0500

Changed in mythtv:
status: Fix Committed → Fix Released
Changed in mythbuntu:
status: Fix Committed → Fix Released
Revision history for this message
Nick Fox (nickj-fox) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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