sakithb / media-controls

A media indicator for the Gnome shell.
MIT License
236 stars 36 forks source link

System Freeze when playing media with mpv #101

Closed HJavid010 closed 11 months ago

HJavid010 commented 11 months ago

Hi Today I noticed system freeze for a couple of seconds (between 10 to 40) when playing a media with mpv for first time.

I don't know how to gather required information and traces so I would be grateful if you help me with this.

ChrisLauinger77 commented 11 months ago

Am Freitag, dem 27.10.2023 um 03:56 -0700 schrieb HJavid:

Hi Today I noticed system freeze for a couple of seconds (between 10 to 40) when playing a media with mpv for first time. I don't know how to gather required information and traces so I would be grateful if you help me with this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Why you think this is a problem of the extension ? I never observed freezes tbh. Is this 100% reproducible with the mpv file ? What player was used ? Does it also happen with another player ?

ChrisLauinger77 commented 11 months ago

Please also add more info: https://github.com/sakithb/media-controls#reporting-issues

HJavid010 commented 11 months ago

Hi again

i'm on fedora 38, gnome 44.5

bug is easily reproducible and occurs even when i disable all other extensions

when i play a video file with mpv(a video player) the system completely freezes, i cant even go to tty in that moment after 20 seconds system restores and system doesn't hang till next login.

--EDIT: it happens after reboot or with giving it some time and reopening media again with mpv

here is a screen record of problem system freezes (in top right corner you can see a timer that stops) and i can do absolutely nothing https://gemoo.com/tools/upload-video/share/577286306495795200?codeId=vJRLZgqyNRQg5&card=577286302003695616

ChrisLauinger77 commented 11 months ago

When I play a video file with mpv video player the extension is not even shown. Seems mpv has no MPRIS interface. Any plugins for mpv used ?

ChrisLauinger77 commented 11 months ago

Found the mpv-mpris package. I can play videos with this player. I also got some freeze 1 time when I dragged a file inside the player but I could not reproduce it a second time. Probably the mpris implementation of mpv to blame. It seemds to be the reason for the freeze as all other players I use do not have this problem. You might wanna file a issue against mpv-mpris package. Or switch to VLC. Works always and IMHO the best player.