#11173: Media player breaks under heavy load ----------------------------------------+---------------------------- Reporter: _samui | Owner: stippi Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/MediaPlayer | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Comment (by stippi): Replying to [comment:2 _samui]: > The problem with testing with alpha4.1 is that there are so many video playback problems with it so would be pointless to test in my opinion. The recent work by Colin has improved things much, the video playback works really well now compared to say 2 months ago. Interesting. What video formats have improved the most for you? > When the load goes high enough and deskbar freezes, how can I see the cpu consumption? Is there a thing to enter to the terminal to see it? Of course all that video stuff is realtime priority, im not suprised them freezing stuff. You can launch the command `top` in the Terminal. In Deskbar, you should have the display of the CPU activitiy and it has a right-click menu where you see load graphically by component. But with Deskbar being frozen, this might not be helpful. With the media playback, two contradicting concepts clash: High priority threads should not be CPU-intensive threads. But audio should not skip, so it is high priotity and it is decoding (CPU intensive). Sometimes video decoding is intermangled, since it is reading from the same file any may even contain important sync information. In any case, the audio decoding having a higher priority than GUI redraw is on purpose so a peak of graphics activity does not make the audio skip. The freezing ''may'' be expected, depending on whether it is reasonable, given the actual video files you played and your hardware, to expect so many to play concurrently. In any case, !MediaPlayer should not be left broken after things return back to normal. -- Ticket URL: <https://dev.haiku-os.org/ticket/11173#comment:3> Haiku <https://dev.haiku-os.org> Haiku - the operating system.