You are not logged in.

#1 2024-10-28 16:34:52

stonix_015
Member
Registered: 2012-02-13
Posts: 20

MPV in DRM/agetty freezes after 45min

Hey Folks,

I have had a really hard time in finding out what causes the following problem:
- I start MPV from getty (vo=gpu-next, context=drm, hwdec=vaapi).
- MPV freezes after 45min (exactly!!! every time).
- I am able to end MPV via CTRL+C, the kernel is not freezed, only the app freezes.
- The MPV log file states: ao/pulse audio end / overrun.

I now have figured out, that if i ssh' the system with another pc, i can watch the movie until end.
Even am i able to ssh my own system to itself (ssh 127.0.0.1) and watch the full movie, so basically the symptom is solved for me.

But what i do want to understand is:
It seems to me that it is assumed the system to be not needed (maybe due to the only workload on the graphics card) and lays into sleep.
... and fortunately via ssh the sleep mechanism is not engaged, or something like that.

Is there anyone of you who knows what that could be?
Or do you have any tips how i can find that out?

Dmesg states nothing. The cpu (intel n305) has already deactivated all energy-safe states via BIOS and also via kernel-paramters.

Greetings,
Lukas

Offline

#2 2024-10-28 21:01:56

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: MPV in DRM/agetty freezes after 45min

if i ssh' the system with another pc, i can watch the movie until end

How? Just by logging in?

cat /sys/module/kernel/parameters/consoleblank

https://superuser.com/questions/152347/ … g-behavior

Can you kick the can down the road (for another 45 minutes) w/ any kind of input (eg. altering the volume)?

Offline

#3 2024-11-04 18:37:21

stonix_015
Member
Registered: 2012-02-13
Posts: 20

Re: MPV in DRM/agetty freezes after 45min

Hey,

I am very thankful for your comment, as this was exactly what i was searching for.

Unfortunately, nothing helped.
I cat'ed the info and it already said "0" .... Unregarding this, i set it as a kernel parameter, as also powersafe=disable (what was my next suspicous thing) and he still got stuck after 45min.

So i still stay at my custom solution.
You asked what that meant (ssh):
What i ment was exactly logging in into my own streamer pc "ssh user@127.0.0.1" (. No second pc is involved.)

Greetings,
Lukas

Offline

#4 2024-11-04 20:51:09

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: MPV in DRM/agetty freezes after 45min

Can you kick the can down the road (for another 45 minutes) w/ any kind of input (eg. altering the volume)?

Do you set sth. like StopIdleSessionSec or IdleAction ?
https://man.archlinux.org/man/core/syst … .conf.5.en

You're logging in via agetty, not "ly" or TDM or some such?

Offline

Board footer

Powered by FluxBB