[mythtv-users] Playback Scaling Problem with upgrade
Jay Foster
jayf0ster at roadrunner.com
Wed Oct 29 01:59:43 UTC 2014
Stephen Worthington wrote:
> On Mon, 27 Oct 2014 18:30:40 -0700, you wrote:
>
>
>> Stephen Worthington wrote:
>>
>>> On Sun, 26 Oct 2014 12:42:12 -0700, you wrote:
>>>
>>>
>>>
>>>> I am testing out an upgrade from 0.21 to 0.27 and am having problems
>>>> with the playback scaling. Before the upgrade, I tested the 0.27
>>>> (default) playback, and I remember the scaling working properly (I
>>>> didn't have to do anything).
>>>>
>>>> After upgrading my 0.21 DB to 0.27, TV playback does not scale to fill
>>>> the screen. I checked my 0.21 configuration and the 0.27 configuration
>>>> and they are the same (they should be, since one is an upgrade of the
>>>> other). Both have the Use GUI size for TV playback checked and the Use
>>>> separate playback for GUI unchecked. The GUI scales properly on both
>>>> systems, but the TV playback does not with 0.27.
>>>>
>>>> I did see the individual scaling options and they are set to 0 on both
>>>> systems. It seems that mythtv should just scale the video to match my
>>>> display resolution, but it is not for some reason. Is there some new
>>>> configuration option in 0.27 that was not in 0.21 that affects this?
>>>>
>>>> Jay
>>>>
>>>>
>>> If you upgraded your whole system, not just MythTV, then you probably
>>> have new Nvidia drivers. The scaling done by the Nvidia drivers has
>>> been changed substantially and uses different options on the driver
>>> settings to control it. There should not be any problems if your
>>> screen is a standard size (1920x1080) but if scaling is normally
>>> required to map 1920x1080 to something else, then you will need to
>>> look at the new Nvidia settings.
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>>
>>>
>>>
>> After some trial and error and comparing the original mythbuntu 14.04.1
>> configuration (which worked properly) with the upgraded configuration, I
>> found the difference. In my upgraded configuration, I needed to
>> configure the Zoom setting on the Video Playback to V.Fill. This is
>> what the default was for the new 14.04.1 install.
>>
>
> You should not need to use V.Fill except on badly encoded videos.
> Needing it on normal recordings (ATSC? Cable?) is a sign of something
> wrong as normal recordings should be the right aspect ratio. Only
> needing to change the vertical size is very odd.
>
>
I checked my current mythtv system (0.21-fixes) and it does not even
have the Zoom setting in the setup UI, so this would explain why when I
upgrade that DB to 0.27, the Zoom field is blank. Apparently, the
mythbuntu folks are aware of this because my fresh install of mythbuntu
14.04.1 had the default Zoom setting set to V.Fill, which worked
correctly for me.
My recordings are HDHR ATSC broadcasts (1280x720p, 1920x1080i). Nothing
special there. They scale correctly on my 0.21 system, but require the
V.Fill zoom option on 0.27. I'm OK with that, if that is what is
needed. I suspect that somewhere between 0.21 and 0.27, the code
changed to assume that the display pixels are square, which is not the
case for me. It appears that without the V.Fill setting in 0.27, the
playback is converting 1280x720p programs to 1280x720 pixels and
1920x1080i programs to 1280x720 pixels for display. However, my display
is 1280x768, which results in a distorted (vertically squished) picture
with black bands on the top and bottom.
xrandr output:
Screen 0: minimum 8 x 8, current 1280 x 768, maximum 16384 x 16384
VGA-0 connected primary 1280x768+0+0 (normal left inverted right x axis
y axis) 0mm x 0mm
1024x768 60.0 + 75.0 70.1
1280x768 59.9*
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
>> On another note, mythfrontend now crashes when I exit from it after
>> playing any videos. If I exit mythfronted immediately after it starts,
>> then it does not crash. This is NOT related to the Zoom setting, but
>> something else. The pop up reports that mythfrontend crashed with exit
>> code 134 and will be restarted.
>>
>
> That sounds like a bug that needs to be reported.
>
There is already a bug for this on launchpad
(https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1374965).
It also causes mplayer to crash on exit and mythtv to crash on exit.
The bug is in the vdpau library. It happens each time the vdpau library
is unloaded, either via dl_close() or dl_fini().
mythfrontend crash details:
*** Error in `/usr/bin/mythfrontend.real': free(): invalid pointer:
0x00007ffe734bc623 ***
Program received signal SIGABRT, Aborted.
0x00007ffff3352bb9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3352bb9 in __GI_raise (sig=sig at entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff3355fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff338fe14 in __libc_message (do_abort=do_abort at entry=1,
fmt=fmt at entry=0x7ffff349e668 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff339c0ee in malloc_printerr (ptr=<optimized out>,
str=0x7ffff349a759 "free(): invalid pointer", action=1) at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at
malloc.c:3840
#5 0x00007ffe73460fb2 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#6 0x00007ffe73433f3c in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#7 0x00007ffff7dea758 in _dl_fini () at dl-fini.c:257
#8 0x00007ffff3358149 in __run_exit_handlers (status=0,
listp=0x7ffff36db6c8 <__exit_funcs>,
run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#9 0x00007ffff3358195 in __GI_exit (status=<optimized out>) at exit.c:104
#10 0x00007ffff333decc in __libc_start_main (main=0x451ca4 <main(int,
char**)>, argc=1,
argv=0x7fffffffe238, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>,
stack_end=0x7fffffffe228) at libc-start.c:321
#11 0x0000000000448079 in _start ()
(gdb)
>
>> Jay
>>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
More information about the mythtv-users
mailing list