Bug#774038: xbmc: When going fullscreen watching through xbmc-pvr-tvheadend-hts makes video stays black

Bálint Réczey balint at balintreczey.hu
Sun Dec 28 15:32:04 UTC 2014


Hi Bernhard,

2014-12-28 14:28 GMT+01:00 Bernhard Übelacker <bernhardu at vr-web.de>:
> Hello Bálint Réczey,
> thanks for your fast response.
>
> One thing I am uncomfortable with my proposal is, if it would affect
> people using some low spec computer which are not able to decode fast
> enough in software and not having vdpau at all.
Well, if this was OK for DVD streams, it should be OK for PVR streams as well.
BTW the original commit adding "hint.software = true;":

commit d75a46a9f9626be12cc486c8e7c7d9be9d216922
Author: elupus <elupus at svn>
Date:   Fri Apr 9 18:59:15 2010 +0000

    changed: only use libmpeg2 for dvd playback

    Side effect that vaapi/vdpau is now allowed for all mpeg2 content.

    git-svn-id:
https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29147
568bbfeb-2a22-0410-94d2-cc84cf5bfa90
...

>
> I will try to build a kodi package from your repo and report back.
It would also be interesting to check an xbmc build using FFmpeg, it
may make a difference:
http://snapshot.debian.org/package/xbmc/2%3A13.2%2Bdfsg1-2~exp1/


>
> Kind regards,
> Bernhard
>
>
> One think were I am undecided is, my proposal is to set set
> software=true. But I don't know if then someone would still be able to
> watch via xbmc-pvr-tvheadend-hts on e.g. on a raspberry
I'm hesitant a bit, too to upload the change.
You may have hit a different manifestation of #769057.

Looking at the code it seems compiling with xrandr disabled may make
XBMC skip the OnLostDevice() call in CWinSystemX11::SetFullScreen()
possibly fixing both issues.
Could you please try disabling xrandr in debian/rules instead of using
the hint trick?

Cheers,
Balint

>
> On Sun, 28 Dec 2014 11:17:44 +0100 =?UTF-8?B?QsOhbGludCBSw6ljemV5?=
> <balint at balintreczey.hu> wrote:
>> Control: tags -1 pending upstream confirmed
>>
>> Bernhard,
>>
>> 2014-12-27 22:07 GMT+01:00 Bernhard Ãœbelacker <bernhardu at vr-web.de>:
>> > Package: xbmc
>> > Version: 2:13.2+dfsg1-4
>> > Severity: important
>> >
>> > Dear Maintainer,
>> > when playing with xbmc from current jessie with activated xbmc-pvr-tvheadend-
>> > hts
>> > from some satellite broadcasts I get only a black screen when switching from
>> > windowed to fullscreen mode.
>> >
>> >
>> > These are the circumstances which are relevant (as far as I think):
>> > - using a VDPAU enabled graphics card with needed vdpau libraries installed
>> > - having no .xbmc directory in home directory (just for reproducability)
>> > - starting xbmc
>> > - activating Tvheadend HTSP Client addon
>> > - playing a broadcast through LiveTv in windowed mode (in my case no HD
>> > channel)
>> >   (plays fine in the partial screen with channels on the side as filling the
>> > whole window too.)
>> > - switching to fullscreen mode (e.g. altgr+backslash)
>> > - video stays black, audio still playing, other menus and control elements also
>> > visible.
>> >
>> >
>> > I did some further investigations:
>> ...
>> > I opened it as important, but probably you want to increase it to serious if
>> > you see fit.
>> > If yes probably on way of action for jessie would be to add this "hint.software
>> > = true;"
>> > in DVDPlayer.cpp:3003 as it is already the case for DVD playback.
>>
>> Thank you for the detailed investigation and the proposed fix. The fix
>> will be included in the next upload.
>> There is no need for increasing severity. I will ask for a freeze
>> exception and I think Release Managers will approve it.
>>
>> I also checked latest upstream code but the patched part has been
>> removed and without the HW to test the change I'm not comfortable with
>> adapting the patch.
>>
>> I have packaged Kodi already [1] but it is waiting in the NEW queue
>> right now. Could you please check if Kodi needs the fix, too and adapt
>> the patch if needed?
>> If you could upstream the Kodi fix yourself and ping me to back-port
>> the fix I would be happy, too.
>>
>> Cheers,
>> Balint
>>
>> [1] https://anonscm.debian.org/cgit/pkg-multimedia/kodi.git
>>
>>



More information about the pkg-multimedia-maintainers mailing list