mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.25k stars 2.9k forks source link

ewa_lanczossharp gnome3 fps drop #6126

Closed ghost closed 4 years ago

ghost commented 6 years ago

Ubuntu 18.04 xorg using mc3man's repo mpv (mpv git-2018-07-22-45beb70) i7-4700HQ & Nvidia GPU disabled in bios.

All of a sudden and with no update of mpv or its config and no reboot, ewa_lanczossharp is causing a massive FPS drop on gnome3 (the video itself also becomes very choppy) - to the point that selecting something on the desktop is very laggy. To be clear there were multiple reboots since then with no resolution. CPU usage throughout is minimal.

scale=ewa_lanczossharp cscale=ewa_lanczossharp

This only occurs when the window in which the the video is playing is larger than native video resolution, fullscreen or not is irrelevant. And not all videos are affected, the only pattern I could spot is that 720p videos are affected, any below that that I have tried are not affected. 1080p videos are also not affected presumably because ewa_lanczossharp does nothing? The issue persists when the enlarged video is minimized as well.

Interestingly, when commenting out cscale the lag is roughly halved. And without scale it's gone even is cscale is still there.

All I can remember doing was deleting popularity-contest apport apport-gtk. Since then I have tried restoring all 3 to no effect. When I also tried deleting python3-apport to see what happens it wanted to delete xorg packages as well suggesting perhaps a connection.

CounterPillow commented 6 years ago

Your GPU may be stuck in the lowest power state, check with e.g. intel-gpu-overlay.

ghost commented 6 years ago

Do you know something else that can check it? intel-gpu-overlay does not give anything useful aside from CPU usage.

intel_gpu_top isn't working at all and some searching suggests it's related to Secure Boot of all things.

Able to run jellyfish-110-mbps-hd-hevc.mkv with no dropped frames, don't know if that result can be achieved in a lowest power state?

mc4man commented 6 years ago

If I put in that build on similar hardware (i7-4700MQ) don't see your issue at all. Main diff is I don't use gnome-shell, been removed completely in favor of compiz/unity.

CounterPillow commented 6 years ago

Able to run jellyfish-110-mbps-hd-hevc.mkv with no dropped frames, don't know if that result can be achieved in a lowest power state?

If you're watching HD content on an HD display you won't do any scaling, which is why it doesn't drop frames.

Do you know something else that can check it? intel-gpu-overlay does not give anything useful aside from CPU usage.

intel-gpu-overlay shows GPU MHz in the bottom left corner, unless Ubuntu is shipping some ancient version of it. As an alternative, try this user script.

ghost commented 6 years ago

profile=gpu-hq

i7-4700HQ iGPU max freq: 1.20 GHz

cat /sys/class/drm/card0/gt_max_freq_mhz 1200

watch -n1 "cat /sys/class/drm/card0/gt_cur_freq_mhz"

when nothing is happening: 200-450

when playing 720p without ewa_lanczossharp stretched to 1080p fullscreen: 1000-1200 no dropped frames. with ewa_lanczossharp: 1200 always and many dropped frames

It almost looks like it's not capable, however 48 hours ago with the exact same config it was very capable and never dropped a frame.

CounterPillow commented 6 years ago

Can you give us a log of mpv to see what GPU it's actually using?

ghost commented 6 years ago

mpv -v 720p_video.mkv [cplayer] Command line options: '-v' '720p_video.mkv' [cplayer] mpv git-2018-07-22-45beb70 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects [cplayer] built on Thu Jul 26 15:04:40 UTC 2018 [cplayer] ffmpeg library versions: [cplayer] libavutil 56.18.102 [cplayer] libavcodec 58.21.106 [cplayer] libavformat 58.17.101 [cplayer] libswscale 5.2.100 [cplayer] libavfilter 7.26.100 [cplayer] libswresample 3.2.100 [cplayer] ffmpeg version: git-2018-07-26-a8ce6fb [cplayer] [cplayer] Configuration: ./waf configure CC=clang-5.0 --enable-pdf-build --enable-dvbin --enable-dvdread --enable-dvdnav --enable-html-build --enable-javascript --prefix=/usr --confdir=/etc/mpv [cplayer] List of enabled features: 52arch alsa asm atomics build-date cplayer cplugins cuda-hwaccel debug-build drm dvbin dvdnav dvdread dvdread-common egl-drm egl-helpers egl-x11 fchmod ffmpeg ffnvcodec gbm gbm.h gl gl-wayland gl-x11 glibc-thread-name glob glob-posix gnuc gpl iconv jack javascript jpeg lcms2 libaf libarchive libass libass-osd libav-any libavcodec libavdevice libbluray libdl libm librt linux-fstatfs lua optimize oss-audio posix posix-or-mingw posix-spawn posix-spawn-native pthreads pulse rubberband stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vt.h wayland wayland-protocols x11 xv zlib [cplayer] Reading config file /etc/mpv/encoding-profiles.conf [cplayer] Reading config file /etc/mpv/mpv.conf [cplayer] Reading config file /home/vvv/.config/mpv/mpv.conf [ifo] Opening /home/vvv/.config/mpv/input.conf [ifo_dvdnav] Opening /home/vvv/.config/mpv/input.conf [bdmv/bluray] Opening /home/vvv/.config/mpv/input.conf [file] Opening /home/vvv/.config/mpv/input.conf [input] Parsing input config file /home/vvv/.config/mpv/input.conf [input] Input config file /home/vvv/.config/mpv/input.conf parsed: 3 binds [cplayer] Waiting for scripts... [ytdl_hook] script-opts/ytdl_hook.conf not found. [ytdl_hook] lua-settings/ytdl_hook.conf not found. [stats] script-opts/stats.conf not found. [stats] lua-settings/stats.conf not found. [osc] script-opts/osc.conf not found. [osc] lua-settings/osc.conf not found. [cplayer] Done loading scripts. [cplayer] Playing: 720p_video.mkv [ifo] Opening 720p_video.mkv [osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX) [osd/libass] Setting up fonts... [ifo_dvdnav] Opening 720p_video.mkv [bdmv/bluray] Opening 720p_video.mkv [file] Opening 720p_video.mkv [demux] Trying demuxers for level=normal. [mkv] Found the head... [mkv] + a segment... [mkv] Parsing seek head... [mkv] |+ segment information... [mkv] | + muxing app: libebml v1.3.3 + libmatroska v1.4.4 [mkv] | + writing app: mkvmerge v8.5.2 ('Crosses') 64bit [mkv] | + timecode scale: 1000000 [mkv] | + duration: 1768.561s [mkv] | + segment uid fe 5c fb 36 15 82 b3 5a f9 74 44 59 29 ad 47 6e [mkv] |+ segment tracks... [mkv] | + a track... [mkv] | + Track number: 1 [mkv] | + Track type: Video [mkv] | + Video track [mkv] | + Display width: 1280 [mkv] | + Display height: 720 [mkv] | + Pixel width: 1280 [mkv] | + Pixel height: 720 [mkv] | + Codec ID: V_MPEG4/ISO/AVC [mkv] | + CodecPrivate, length 44 [mkv] | + Language: und [mkv] | + Default duration: 20.000ms ( = 50.000 fps) [mkv] | + a track... [mkv] | + Track number: 2 [mkv] | + Name: Stereo [mkv] | + Track type: Audio [mkv] | + Audio track [mkv] | + Sampling frequency: 48000.000000 [mkv] | + Channels: 2 [mkv] | + Codec ID: A_AAC [mkv] | + CodecPrivate, length 5 [mkv] | + Default duration: 21.333ms ( = 46.875 fps) [mkv] |+ found cluster [mkv] Seeking to 226396497 to read header element 0x1c53bb6b. [mkv] Parsing cues... [mkv] Seeking to 226410905 to read header element 0x1254c367. [mkv] All headers are parsed! [demux] Detected file format: Matroska [cplayer] Opening done: 720p_video.mkv [find_files] Loading external files in . [cplayer] Running hook: ytdl_hook/on_preloaded [mkv] select track 0 [mkv] select track 1 [cplayer] (+) Video --vid=1 () (h264 1280x720 50.000fps) [cplayer] (+) Audio --aid=1 --alang=eng () 'Stereo' (aac 2ch 48000Hz) [vo/gpu] Probing for best GPU context. [vo/gpu/opengl] Initializing GPU context 'x11probe' [vo/gpu/x11] X11 opening display: :0 [vo/gpu/x11] X11 running at 3840x1080 (":0" => local display) [vo/gpu/x11] Detected wm supports NetWM. [vo/gpu/x11] Detected wm supports FULLSCREEN state. [vo/gpu/x11] Detected wm supports ABOVE state. [vo/gpu/x11] Detected wm supports BELOW state. [vo/gpu/x11] Display 0 (eDP-1): [0, 0, 1920, 1080] @ 60.007752 FPS [vo/gpu/x11] Display 1 (HDMI-2): [1920, 0, 3840, 1080] @ 60.000000 FPS [vo/gpu/x11] Current display FPS: 60.007752 [osd/libass] Using font provider fontconfig [osd/libass] Done. [vo/gpu/opengl] GLX chose FB config with ID 0xd9 [vo/gpu/opengl] GLX chose visual with ID 0x130 [vo/gpu/opengl] Creating OpenGL 4.4 context... [vo/gpu] GL_VERSION='4.5 (Core Profile) Mesa 18.0.5' [vo/gpu] Detected desktop OpenGL 4.5. [vo/gpu] GL_VENDOR='Intel Open Source Technology Center' [vo/gpu] GL_RENDERER='Mesa DRI Intel(R) Haswell Mobile ' [vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.50' [vo/gpu] Loaded extension GLX_SGI_swap_control. [vo/gpu] Loaded extension GLX_MESA_swap_control. [vo/gpu] Loaded extension GLX_SGI_video_sync. [vo/gpu/opengl] No vdpau support found - probing more things. [vo/gpu/x11] uninit ... [vo/gpu/opengl] Initializing GPU context 'x11egl' [vo/gpu/x11] X11 opening display: :0 [vo/gpu/x11] X11 running at 3840x1080 (":0" => local display) [vo/gpu/x11] Detected wm supports NetWM. [vo/gpu/x11] Detected wm supports FULLSCREEN state. [vo/gpu/x11] Detected wm supports ABOVE state. [vo/gpu/x11] Detected wm supports BELOW state. [vo/gpu/x11] Display 0 (eDP-1): [0, 0, 1920, 1080] @ 60.007752 FPS [vo/gpu/x11] Display 1 (HDMI-2): [1920, 0, 3840, 1080] @ 60.000000 FPS [vo/gpu/x11] Current display FPS: 60.007752 [vo/gpu/opengl] EGL_VERSION=1.4 (DRI2) [vo/gpu/opengl] EGL_VENDOR=Mesa Project [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES [vo/gpu/opengl] Trying to create Desktop OpenGL context. [vo/gpu/opengl] chose visual 0x21 [vo/gpu/opengl] GL_VERSION='4.5 (Core Profile) Mesa 18.0.5' [vo/gpu/opengl] Detected desktop OpenGL 4.5. [vo/gpu/opengl] GL_VENDOR='Intel Open Source Technology Center' [vo/gpu/opengl] GL_RENDERER='Mesa DRI Intel(R) Haswell Mobile ' [vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.50' [vo/gpu] Testing FBO format rgba16f [vo/gpu] Using FBO format rgba16f. [vo/gpu] Assuming 60.007752 FPS for display sync. [vd] Container reported FPS: 50.000000 [vd] Codec list: [vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper [vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder [vd] Opening decoder h264 [vd] No hardware decoding requested. [vd] Using software decoding. [vd] Detected 8 logical cores. [vd] Requesting 9 threads for decoding. [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) [vf] User filter list: [vf] (empty) [ad] Codec list: [ad] aac - AAC (Advanced Audio Coding) [ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ad] libfdk_aac (aac) - Fraunhofer FDK AAC [ad] Opening decoder aac [ad] Requesting 1 threads for decoding. [ad] Selected codec: aac (AAC (Advanced Audio Coding)) [af] User filter list: [af] (empty) [cplayer] Starting playback... [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [vf] [in] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [userdeint] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [userdeint] (disabled) [vf] [autorotate] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [autorotate] (disabled) [vf] [convert] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [convert] (disabled) [vf] [out] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [af] [in] 48000Hz stereo 2ch floatp [af] [userspeed] 48000Hz stereo 2ch floatp [af] [userspeed] (disabled) [af] [convert] 48000Hz stereo 2ch floatp [ao] Trying audio driver 'pulse' [ao/pulse] requested format: 48000 Hz, stereo channels, floatp [ao/pulse] Library version: 11.1.0 [ao/pulse] Proto: 32 [ao/pulse] Server proto: 4294967295 [ao/pulse] Channel layouts: [ao/pulse] - #fl [ao/pulse] - #fr [ao/pulse] - #fc [ao/pulse] - #lfe [ao/pulse] - #bl [ao/pulse] - #br [ao/pulse] - #flc [ao/pulse] - #frc [ao/pulse] - #bc [ao/pulse] - #sl [ao/pulse] - #sr [ao/pulse] - #tc [ao/pulse] - #tfl [ao/pulse] - #tfc [ao/pulse] - #tfr [ao/pulse] - #tbl [ao/pulse] - #tbc [ao/pulse] - #tbr [ao/pulse] result: stereo [ao/pulse] device buffer: 2400 samples. [ao/pulse] using soft-buffer of 9600 samples. [cplayer] AO: [pulse] 48000Hz stereo 2ch float [cplayer] AO: Description: PulseAudio audio output [autoconvert] inserting resampler [swresample] format change, reinitializing resampler [swresample] 48000Hz stereo floatp -> 48000Hz stereo float [af] [out] 48000Hz stereo 2ch float [cplayer] VO: [gpu] 1280x720 yuv420p [cplayer] VO: Description: Shader-based GPU Renderer [vo/gpu] reconfig to 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vo/gpu/x11] not waiting for MapNotify [vo/gpu] Resize: 1280x720 [vo/gpu] Window size: 1280x720 [vo/gpu] Video source: 1280x720 (1:1) [vo/gpu] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720 [vo/gpu] Video scale: 1.000000/1.000000 [vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [vo/gpu] Video borders: l=0 t=0 r=0 b=0 [vo/gpu] Reported display depth: 8 [vo/gpu] Texture for plane 0: 1280x720 [vo/gpu] Texture for plane 1: 640x360 [vo/gpu] Texture for plane 2: 640x360 [vo/gpu] Testing FBO format rgba16f [vo/gpu] Using FBO format rgba16f. [vo/gpu] DR enabled: yes [vo/gpu] Dither to 8. [osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans [cplayer] first video frame after restart shown [vo/gpu/x11] Current display FPS: 60.000000 [vo/gpu] Assuming 60.000000 FPS for display sync. [cplayer] starting audio playback [cplayer] playback restart complete [vo/gpu/x11] Disabling screensaver. [cplayer] Change display sync audio drift: -1 [statusline] AV: 00:00:00 / 00:29:28 (0%) A-V: -0.026 DS: 1.333/0 [cplayer] Change display sync audio drift: 0 [statusline] AV: 00:00:00 / 00:29:28 (0%) A-V: 0.006 DS: 1.333/0 [cplayer] Change display sync audio drift: -1 [statusline] AV: 00:00:04 / 00:29:28 (0%) A-V: -0.009 DS: 1.200/1 [vo/gpu] Resize: 1280x720 [vo/gpu] Window size: 1280x720 [vo/gpu] Video source: 1280x720 (1:1) [vo/gpu] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720 [vo/gpu] Video scale: 1.000000/1.000000 [vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [vo/gpu] Video borders: l=0 t=0 r=0 b=0 [vo/gpu] Reported display depth: 8 [cplayer] Set property: fullscreen -> 1 [statusline] AV: 00:00:04 / 00:29:28 (0%) A-V: -0.009 DS: 1.200/1 [vo/gpu] Resize: 1920x1080 [vo/gpu] Window size: 1920x1080 [vo/gpu] Video source: 1280x720 (1:1) [vo/gpu] Video display: (0, 0) 1280x720 -> (0, 0) 1920x1080 [vo/gpu] Video scale: 1.500000/1.500000 [vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [vo/gpu] Video borders: l=0 t=0 r=0 b=0 [vo/gpu] Reported display depth: 8 [statusline] AV: 00:00:04 / 00:29:28 (0%) A-V: -0.009 DS: 1.200/1 [cplayer] Change display sync audio drift: 1 [statusline] AV: 00:00:05 / 00:29:28 (0%) A-V: 0.017 DS: 0.840/8 Dropped: 31 [mkv] queuing seek to 15.840000 [mkv] execute seek (to 15.840000 flags 4) [mkv] seek done [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [statusline] AV: 00:00:15 / 00:29:28 (0%) A-V: 0.000 DS: 1.000/0 [vo/gpu/x11] Enabling screensaver. [osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX) [osd/libass] Setting up fonts... [osd/libass] Using font provider fontconfig [osd/libass] Done. [osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans [vo/gpu] Reallocating OSD texture to 2048x128. [cplayer] first video frame after restart shown [cplayer] starting audio playback [cplayer] playback restart complete [vo/gpu/x11] Disabling screensaver. [cplayer] Change display sync audio drift: -1 [statusline] AV: 00:00:17 / 00:29:28 (0%) A-V: -0.038 DS: 1.500/0 [mkv] queuing seek to 27.140000 [mkv] execute seek (to 27.140000 flags 4) [mkv] seek done [statusline] AV: 00:00:27 / 00:29:28 (1%) A-V: 0.000 [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [statusline] AV: 00:00:27 / 00:29:28 (1%) A-V: 0.000 DS: 1.000/0 [vo/gpu/x11] Enabling screensaver. [cplayer] first video frame after restart shown [statusline] AV: 00:00:27 / 00:29:28 (1%) A-V: 0.000 DS: 1.000/0 [mkv] queuing seek to 45.880000 [mkv] execute seek (to 45.880000 flags 4) [mkv] seek done [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [statusline] AV: 00:00:45 / 00:29:28 (2%) A-V: 0.000 DS: 1.000/0 [cplayer] first video frame after restart shown [cplayer] starting audio playback [cplayer] playback restart complete [vo/gpu/x11] Disabling screensaver. [cplayer] Change display sync audio drift: -1 [statusline] AV: 00:00:45 / 00:29:28 (2%) A-V: -0.029 DS: 1.667/0 [mkv] queuing seek to 55.920000 [mkv] execute seek (to 55.920000 flags 4) [mkv] seek done [statusline] AV: 00:00:55 / 00:29:28 (3%) A-V: 0.000 [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [statusline] AV: 00:00:55 / 00:29:28 (3%) A-V: 0.000 DS: 2.000/0 [vo/gpu/x11] Enabling screensaver. [cplayer] first video frame after restart shown [statusline] AV: 00:00:55 / 00:29:28 (3%) A-V: 0.000 DS: 2.000/0 [mkv] queuing seek to 68.440000 [mkv] execute seek (to 68.440000 flags 4) [mkv] seek done [vd] Decoder format: 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [vd] Using container aspect ratio. [statusline] AV: 00:01:08 / 00:29:28 (3%) A-V: 0.000 DS: 1.000/0 [cplayer] first video frame after restart shown [cplayer] starting audio playback [cplayer] playback restart complete [vo/gpu/x11] Disabling screensaver. [cplayer] Change display sync audio drift: -1 [statusline] AV: 00:01:11 / 00:29:28 (4%) A-V: -0.031 DS: 1.667/0 [cplayer] Change display sync audio drift: 1 [statusline] AV: 00:01:14 / 00:29:28 (4%) A-V: 0.006 DS: 0.820/13 Dropped: 46 [osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular [vo/gpu] Reallocating OSD texture to 2048x256. [statusline] AV: 00:01:14 / 00:29:28 (4%) A-V: 0.001 DS: 0.820/15 Dropped: 53 [cplayer] EOF code: 5
[ad] Uninit decoder. [vd] Uninit decoder. [vo/gpu/x11] Enabling screensaver. [cplayer] finished playback, success (reason 3) [cplayer] [cplayer] [cplayer] Exiting... (Quit) [ytdl_hook] Exiting... [stats] Exiting... [osc] Exiting... [ao/pulse] draining... [vo/gpu/x11] uninit ...

ghost commented 6 years ago

Also it would appear that there is lag when viewing a 1080p60 twitch stream (w/ youtube-dl installed, mpv [twitch_url]) even without ewa_lanczossharp, with it it's far more laggy.

None of this was happening before, I'm really confused and would like to avoid reinstalling the entire OS. I knew I should have been doing dd backups :(

ghost commented 6 years ago

After digging in the syslogs I could find is that LSB seems to crash a lot. Total absence of these crashes prior to the fateful day.

4 times:

systemd[1]: Stopping LSB: automatic crash report generation...

First 2 were 10 minutes apart, then hours.

Also there is: (all unique to the issue day)

gnome-control-c[17447]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Also there was this one event that didn't seem to happen days prior and happened around the time the issue began:

CPU0: Core temperature above threshold, cpu clock throttled (total events = 2046) CPU4: Core temperature above threshold, cpu clock throttled (total events = 2046) CPU5: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU6: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU1: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU7: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU2: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU3: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU4: Package temperature above threshold, cpu clock throttled (total events = 2588) CPU0: Package temperature above threshold, cpu clock throttled (total events = 2588)

There was no change in the laptop's position or room temperature and the fan is operating as always.

When playing stressful 4k hevc (unsuccessfully):

lscpu | grep MHz CPU MHz: 3070.976 CPU max MHz: 3400.0000 CPU min MHz: 800.0000

When playing 720p fullscreen with ewa_lanczossharp:

lscpu | grep MHz CPU MHz: 2134.527 CPU max MHz: 3400.0000 CPU min MHz: 800.0000

Artoriuz commented 6 years ago

You're actually always performing chroma upscaling on normal content even if it's "HD content on a HD display". Unless something changed and I'm unaware of it, it also applies even if your chroma resolution matches your output resolution, mpv first doubles chroma, then merges it with luma to go from YCbCr to RGB, then scales it again if necessary (up or down, shouldn't matter).

You could argue that you don't on 4:4:4 content, but that's extremely rare.

CounterPillow commented 6 years ago

@Artoriuz true, forgot about chroma. Thanks for correcting. Though the point still stands, luma scaling isn't done, hence why it's dropping less frames.