yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.19k stars 589 forks source link

Random freezes #1342

Open cartesius68 opened 1 month ago

cartesius68 commented 1 month ago

Platform

FreeBSD 14.1-RELEASE

GPU, drivers, and screen setup

nvidia-drm-kmod-550.54.14
Name           : nvidia-drm-kmod
Version        : 550.54.14
Installed on   : Thu Sep 19 08:30:22 2024 CEST
Origin         : graphics/nvidia-drm-kmod
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : kld graphics
Licenses       : NA
Maintainer     : ashafer@badland.io
WWW            : https://www.nvidia.com/object/unix.html
Comment        : NVIDIA DRM Kernel Module

Force Full Composition Pipeline enabled in the NVIDIA driver.

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 3220 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro T2000/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 550.54.14
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 550.54.14
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 550.54.14
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

dwm, no tweaks

picom version

v11.2
TIMESTAMP = 1707820562
SHA256 (yshui-picom-v11.2_GH0.tar.gz) = 1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4
SIZE (yshui-picom-v11.2_GH0.tar.gz) = 308679
**Version:** v11.2

### Extensions:

* Shape: Yes
* RandR: Yes
* Present: Present

### Misc:

* Use Overlay: Yes
* Config file used: /home/jb/.config/picom.conf

### Drivers (inaccurate):

NVIDIA

### Backend: glx

* Driver vendors:
 * GLX: NVIDIA Corporation
 * GL: NVIDIA Corporation
* GL renderer: Quadro T2000/PCIe/SSE2

### Backend: egl

* Driver vendors:
 * EGL: NVIDIA
 * GL: NVIDIA Corporation
* GL renderer: Quadro T2000/PCIe/SSE2

Configuration:

Both glx and xrender backends, regardless vsync.

Steps of reproduction

Normal work.

Expected behavior

No freezes.

Current Behavior

Entire screen freezes due to picom.

Monsterovich commented 1 month ago

Could you please try no-frame-pacing = true; in the config?

yshui commented 1 month ago

could be the same problem as #1345

cartesius68 commented 1 month ago

Could you please try no-frame-pacing = true; in the config?

Tried. A bit better. But still freezes. A couple of times a day, say. Complete freeze. Each time I need to switch outside Xorg, kill picom and everything works again. Freezes randomly, no extensive work needed.

yshui commented 1 month ago

can you try updating to latest picom?

AndyM48 commented 1 month ago

Still happens in 12.3-1 I' afraid

Linux acer 6.11.3-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 11 Oct 2024 03:02:25 +0000 x86_64 GNU/Linux Openbox 3.6.1-11-1

yshui commented 1 month ago

any logs from picom when it freezes?

AndyM48 commented 1 month ago

Log attached: picom.log

There should be many errors but, as an example, I opened an xfce4-terminal at 16:36:30 which took several seconds to complete.

yshui commented 1 month ago

@AndyM48 wait, when you said freeze, didn't you mean your system completely freeze? "took several seconds to complete" is bad, but not a freeze.

AndyM48 commented 1 month ago

I'm so sorry to have confused - I should have explained my case instead of tagging on to this issue.

My systems does indeed stop responding for several seconds, apparently, when starting a new programme.

yshui commented 1 month ago

hmm, can you increase the log level? try --log-level=trace

AndyM48 commented 1 month ago

No problems. Same result. (Opened xfce4-terminal at 17:34:00)

Log is very large so I uploaded it here here

AndyM48 commented 1 month ago

If it is any help, v11.2 works fine for me.

yshui commented 1 month ago

@AndyM48 ok, your problem is different then. the problem in this issue happens on v11.2, if you look at the OP.