Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

In specific cases cause memory leak #44

Open
FinnRaze opened this issue Apr 24, 2023 · 6 comments
Open

In specific cases cause memory leak #44

FinnRaze opened this issue Apr 24, 2023 · 6 comments

Comments

@FinnRaze
Copy link

reproduce

  1. set script-opts-add=osc-visibility=always in mpv.conf and play music.
  2. set window minimized
  3. when playback changed from a music without cover art to one with cover art,click the window
  4. cover art would not show up and memory leak happens.Have to kill the program and unable to get a resultful log
    屏幕截图 2023-04-19 143743
@maoiscat
Copy link
Owner

maoiscat commented Apr 24, 2023 via email

@FinnRaze
Copy link
Author

nope.

@maoiscat
Copy link
Owner

maoiscat commented Apr 24, 2023 via email

@FinnRaze
Copy link
Author

FinnRaze commented May 25, 2023

some more clues: it may be concerned with window size. And if I disable the geometry options in mpv.conf, the problem doesn't show up.

part of log before the problem

[   9.162][v][vo/gpu/win32] reset window bounds: -31520:-31730:0:0
[   9.164][v][vo/gpu] Resize: 0x0
[   9.164][v][vo/gpu] Window size: 1x1 (Borders: l=0 t=0 r=0 b=0)
[   9.164][v][vo/gpu] Video source: 640x640 (72:72)
[   9.164][v][vo/gpu] Video display: (0, 0) 640x640 -> (0, 0) 1x1
[   9.164][v][vo/gpu] Video scale: 0.001563/0.001563

normal state

[  11.771][v][vo/gpu/win32] reset window bounds: -31840:-32080:640:640
[  11.771][v][vo/gpu/win32] adjusted window bounds: -31840:31:640:640
[  11.773][v][vo/gpu] Resize: 640x640
[  11.773][v][vo/gpu] Window size: 640x640 (Borders: l=0 t=0 r=0 b=0)
[  11.773][v][vo/gpu] Video source: 640x640 (72:72)
[  11.773][v][vo/gpu] Video display: (0, 0) 640x640 -> (0, 0) 640x640
[  11.773][v][vo/gpu] Video scale: 1.000000/1.000000

@FinnRaze FinnRaze closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2023
@FinnRaze FinnRaze reopened this May 25, 2023
@FinnRaze FinnRaze reopened this May 25, 2023
@zydezu
Copy link

zydezu commented May 27, 2023

Taskmgr_DCkqEJAwKt.mp4

The RAM usage seems to increase when the OSC is visible and the video is being played.

@zydezu
Copy link

zydezu commented May 27, 2023

could be related to this though mpv-player/mpv#9014

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants