Screen freeze in videos

Hi

I have a problem playing videos on my laptop. I watch a video, everything went fine and then, at a random moment, the picture freezes but sound continues. Then, I have to manually stop the video, and if I’m lucky, the picture will become healthy again and I can play the video. In some cases, the screen becomes black for a moment or it becomes very fuzzy like the text outside the video window becomes unreadable and the video has dynamically white triangles in it. I do not know how to describe this.
My inxi -G says:
inxi -G  :heavy_check_mark:
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
v: kernel
Device-2: Acer BisonCam NB Pro type: USB driver: uvcvideo
Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
gpu: i915 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2) v: 4.6 Mesa
22.1.6

Thanks for help

Try launching your video player from the terminal, and look for errors there when the issue appears.


I wathched a video in Firefox. I’ve got this on my konsole, when it happens:
[2022-08-23T17:53:38Z ERROR mp4parse] Found 2 nul bytes in “\0\0”
[2022-08-23T17:53:39Z ERROR mp4parse] Found 2 nul bytes in “\0\0”
[2022-08-23T17:53:39Z ERROR mp4parse] Found 2 nul bytes in “\0\0”
[2022-08-23T17:53:39Z ERROR mp4parse] Found 2 nul bytes in “\0\0”
[GFX1]: Device reset due to WR context
[GFX1-]: GFX: RenderThread detected a device reset in PostUpdate
ATTENTION: default value of option mesa_glthread overridden by environment.
The screen was black, but came back in seconds.

I don’t find many results with those errors.

Since you have an Intel GPU, those might be relevant:

Otherwise we may need more information.

I want to try some parameters as suggested on these pages, but I don’t know where to write them. I don’t know how to add kernel parameters.

Thank you

Create a file: /etc/20-intel.conf

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  # Note: This will disable GPU Acceleration completely.
  # remove "#" to activate on a reboot.
  # Option "NoAccel" "True"
  # Option "DRI" "False"
EndSection

https://wiki.archlinux.org/title/Intel_graphics#Crash/freeze_on_low_power_Intel_CPUs

Edit /etc/default/grub and add this under GRUB_CMDLINE_LINUX_DEFAULT (next line)

GRUB_CMDLINE_LINUX_DEFAULT+=" intel_idle.max_cstate=1 i915.enable_dc=0 ahci.mobile_lpm_policy=1 "

That made it. I use it for about three weeks and the video doesn’t block anymore. Thanks for your help.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.