Re: Unexpected quasi-pause when switching desktops

The Wanderer <[email protected]> Fri, 26 Aug 2022 21:38:20 -0400
Newsgroups gmane.comp.video.mplayer.user
Organization This space intentionally left blank.
Message-ID <[email protected]>
On 2022-08-26 at 15:11, Reimar Döffinger wrote:

> Hi!
> 
>> On 26 Aug 2022, at 19:21, The Wanderer <[email protected]>
>> wrote:
>> 
>> and it was built on July 14th of this year. The environment is
>> Linux, with -vo vdpau and -ao alsa.
> 
> I would first check if anything changes with e.g. -ao null or
> -nosound or -novideo or -vo x11 or -vo gl to at least narrow it down
> to one component...

I've run a few of these tests now, and the results look interesting, but
I'm not sure what they mean.

With -vo gl and -ao alsa, the problem happens in what appears to be the
exact same way.

With -vo x11 and -ao alsa, the problem does *not* happen.

With -nosound and -vo vdpau, something similar to the problem happens;
the hang doesn't seem to happen completely, but the timestamps in the
terminal go from progressing in realtime to progressing by 0.1 every
tick (vague ballpark for tick length: one second).

With -ao null and -vo vdpau, the behavior is similar to that with
-nosound, but different in scale: the progress per tick appears to be
0.2 instead of 0.1.

I don't see how to test with -novideo, since the way to reproduce the
problem is to move the video window to one 'desktop' and then leave it
there while moving to another, and with -novideo there's no video window.


I've also noticed that with the problem reproduced (at least with the
original configuration, -vo vdpau and -ao alsa) and the hang currently
present, if I focus the video window and press the spacebar to try to
pause, then press it again to try to unpause, the messages

  =====  PAUSE  =====
[AO_ALSA] pcm pause error: File descriptor in bad state
[AO_ALSA] pcm resume error: File descriptor in bad state

are printed in the terminal (the first two in response to the pause
attempt, the third in response to the unpause attempt). I don't know
whether that's at all informative or at all surprising.


Any next suggestions?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmMJdYwACgkQBKk1jTQo
MmswWRAAqbTbJTQsh6uAMqHpcUjyuuxwug5C+f3iiMN0pDYlST6DQCBqnAjWGrc0
S71Fk5weB0yqR/qBdDnCkHcIoN+u0ct6dEXyE7CwhB7Zr+7w1kfXxgpxkeG4Q9Fi
i0+t81zAg3buT8dwpcQH1BhqnW5Cp4n+M7K4jQs2YDMs06ZzI5WBXCG6mRzg3WSH
p4jq/+a8+Est6RXdZR8v47/MkqWn5So4538BQVdpXtm6RtPgqotPcslzJGFI5fQG
f0h+k6J51d03f3HELgBLEOV4iz1ODD7KLOa+oemExpvCD9GE1XH/kheBMi4Qd+or
xoxCqjJWxBJAv6Wk91/5TuEzJ8yM1i151pq66Y8y0mIqVqCJIloXy3vTvKjV7lwI
31LJ2H1UeXB5u38s3LrD6IvYnTmkqaPNFeoKVPVFuJ5jHvdBGewuu7NnQOy8zm/n
qqVZHUM6RWAyyoA1DN4lSIShR/E6bRTelKtW0BzNlq4NacA5XpyW/2+7KWnZxEip
L7jVR8HUW+fKRFKpRZ0dTOsxK3lezLNpUKAjUDopp+/uvTev9jJ/TO6w6t952jyC
0KdTbz5B47SJTOIzLFNEz4TvIPMgXIHSIP2xhNNA6K8SVmzYowYreZLYKz5rHnIZ
bQAIr0n7hqFajQiTqM/oE8M+QAnRzv0ieuYhO41xV3tRCkyTuhA=
=x5pA
-----END PGP SIGNATURE-----