Flickering and blackscreen on Mpv and Clapper (and also low performance on glxgears)
System information
System:
- Host: gamla-stan Kernel: 5.15.6-200.fc35.x86_64 x86_64 bits: 64
- compiler: gcc v: 2.37-10.fc35 Desktop: GNOME 41.2 tk: GTK 3.24.30
- wm: gnome-shell dm: GDM Distro: Fedora release 35 (Thirty Five)
CPU:
- Info: Dual Core model: Intel Core i3-7100U bits: 64 type: MT MCP
- arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB
- L3: 3 MiB
- flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
- bogomips: 19200
- Speed: 2400 MHz min/max: 400/2400 MHz Core speeds (MHz): 1: 2400 2: 2400
- 3: 2400 4: 2400
Graphics:
- Device-1: Intel HD Graphics 620 vendor: Dell driver: i915 v: kernel
- bus-ID: 00:02.0 chip-ID: 8086:5916
- Device-2: Realtek Integrated Webcam type: USB driver: uvcvideo
- bus-ID: 1-5:4 chip-ID: 0bda:5689
- Display: wayland server: X.Org 1.21.1.3 compositor: gnome-shell driver:
- loaded: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
- s-dpi: 96
- OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.3.1
- direct render: Yes
Describe the issue
After updating to mesa 21.3, playing video with -gpu-api=vulkan --profile=gpu-hq
makes video flickering and blackscreen. See https://streamable.com/khfmwh.
Tho -gpu-api=opengl --profile=gpu-hq
does not cause the problem.
The flickering also happens on Clapper.
This does not happened in mesa 21.2.5 as I already tried to downgrade it.
I already made an issue in mpv github and there's a lot of discussion in there too (see https://github.com/mpv-player/mpv/issues/9579).
Also MESA_LOADER_DRIVER_OVERRIDE=zink glxgears
gives bad fps in 21.3 compared to 21.2.5 (see https://github.com/mpv-player/mpv/issues/9579#issuecomment-992960460 & https://github.com/mpv-player/mpv/issues/9579#issuecomment-993052622).
Regression
Did it used to work? It can greatly help to know when the issue started.
Yup it works in 21.2.5. The flickers happened only in 21.3
Log files as attachment
- Output of
dmesg
dmesg.txt - Backtrace
Sorry I don't know how to get this
- Gpu hang details
Sorry I don't know how to get this
Screenshots/video files (if applicable)
See https://streamable.com/khfmwh
Any extra information would be greatly appreciated
I think discussion in here might be some help: https://github.com/mpv-player/mpv/issues/9579