Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occasional freezes #1397

Open
DarioDarko opened this issue Dec 22, 2024 · 1 comment
Open

occasional freezes #1397

DarioDarko opened this issue Dec 22, 2024 · 1 comment

Comments

@DarioDarko
Copy link

DarioDarko commented Dec 22, 2024

Platform

endeavourOS

Environment

openbox

GPU, drivers, and screen setup

AMD Radeon RX 6700 XT
single Monitor fullHD@144hz

server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4

Vendor: AMD (0x1002)
Device: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1) (0x73df)
Version: 24.3.1
Accelerated: yes
Video memory: 12288MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 11731 MB, largest block: 11731 MB
VBO free aux. memory - total: 15771 MB, largest block: 15771 MB
Texture free memory - total: 11731 MB, largest block: 11731 MB
Texture free aux. memory - total: 15771 MB, largest block: 15771 MB
Renderbuffer free memory - total: 11731 MB, largest block: 11731 MB
Renderbuffer free aux. memory - total: 15771 MB, largest block: 15771 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 12288 MB
Total available memory: 28175 MB
Currently available dedicated video memory: 11731 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.1-arch1.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.1-arch1.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.3.1-arch1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Picom Version

Version: v12.5 (/startdir/picom revision a456d43)

Extensions:

  • Shape: Yes
  • RandR: Yes
  • Present: Present

Misc:

  • Use Overlay: No
    (Another compositor is already running)
  • Config file specified: None
  • Config file used: /home/dario/.config/picom/picom.conf

Drivers (inaccurate):

AMDGPU, Radeon

Backend: glx

  • Driver vendors:
  • GLX: Mesa Project and SGI
  • GL: AMD
  • GL renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1)
  • Accelerated: 1

Backend: egl

  • Driver vendors:
  • EGL: Mesa Project
  • EGL driver: radeonsi
  • GL: AMD
  • GL renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1)

Configuration:

backend = "glx";
vsync = true;
corner-radius = 20;

shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.60;

fading = false;
fade-delta = 7.0;
fade-in-step = 0.03;
fade-out-step = 0.03;

rules =
(
{
match = "!focused";
opacity = 0.8
},
{
match = "focused";
opacity = 0.9
},
{
match = "class_g = 'LibreWolf' && focused";
opacity = 1
},
{
match = "class_g = 'Element' && focused";
opacity = 1
},
{
match = "class_g = 'Joplin' && focused";
opacity = 1
},
{
match = "class_g = 'thunderbird' && focused";
opacity = 1
},
{
match = "class_g = 'Gimp' && focused";
opacity = 1
},
{
match = "class_g = 'feh' && focused";
opacity = 1
},
{
match = "class_g = 'vlc'";
opacity = 1
},
{
match = "class_g = 'Alacritty' && name !*= ' - NVIM' && focused";
opacity = 0.875
},
{
match = "class_g = 'Alacritty' && name *= ' - NVIM'";
shadow = false
},
{
match = "class_g = 'cava'";
opacity = 0.07;
corner-radius = 0;
},
{
match = "class_g = 'skippy-xd'";
opacity = 1;
corner-radius = 0
},
{
match = "class_g = 'libreoffice-writer' && focused";
opacity = 1
},
{
match = "class_g = 'Polybar'";
opacity = 0.95;
corner-radius = 0;
animations = ({ triggers = [ "close", "hide", "open", "show" ]; duration = 0; })
},
{
match = "class_g = 'Tint2'";
opacity = 1;
corner-radius = 0;
animations = ({ triggers = [ "close", "hide", "open", "show" ]; duration = 0; })
},
{
match = "class_g = 'Rofi' || class_g = 'copyq' || window_type = 'tooltip'";
corner-radius = 0
},
{
match = "window_type = 'menu' || window_type = 'dnd'";
opacity = 1;
shadow = false
},
{
match = "window_type = 'utility' || window_type = 'dropdown_menu' || window_type = 'popup_menu'";
opacity = 1;
shadow = false
},
{
match = "class_g = 'Dunst'";
opacity = 0.65
},
{
match = "fullscreen";
corner-radius = 0
}
);

animations =
(
{
triggers = ["close", "hide"];
preset = "disappear";
duration = 0.175;
scale = 0.5
},
{
triggers = ["open", "show"];
preset = "appear";
duration = 0.175;
scale = 0.5
}
);

Steps of reproduction

i cant reproduce this, it just happens sometimes

Expected behavior

no freeze

Current Behavior

the whole desktop freezes and wont receive any visual updates anymore. the mouse is still moveable, audio keeps playing too. ive created a hotkey to logout of the openbox session, which still works. however starting a terminal via hotkey and entering "openbox --exit", "systemctl reboot", etc does nothing. so the computer/os itself doesnt freeze, its just the desktop.

this first happened about a month ago in libreoffice (when opening right click context menu). the last 2 days it happened 3 times, once in element-desktop (also right click menu) and 2 times in librewolf (changing tab / scrolling reddit). it was always just in the moment of input -> visual change.

i am not 100% sure this is picoms fault, but the log below makes me think it is (spamming Queue redraw, render_queued: 1, backend_busy: 1). for now im running picom also with --no-use-damage to see if that is related to the issue.

Picom Log

https://pastebin.com/sfSbyZzh

@DarioDarko
Copy link
Author

today my desktop froze again. i was running picom without --no-use-damage to see if i can kill it with a hotkey, which worked just fine

when i tried starting picom again however no windows were visible at all, just the wallpaper. also the icon of element-desktop disappeared (and didnt reappear after restarting). and for some reason i could not start alacritty, everything else worked fine

pretty weird behaviour overall. i think its maybe some bug in the amdgpu driver, this thread describes very similar problems. i dont know if this has to do with picom at all

picom log

[ 23.12.2024 17:19:38.712 x_generic_async_callback DEBUG ] Expected X error for request in x_prepare_for_sleep at ../src/x.c:1111: X error 4 PIXMAP request 54 minor 0 serial 213162
[ 23.12.2024 17:19:38.712 handle_x_events DEBUG ] Window tree changed, queueing redraw.
[ 23.12.2024 17:19:38.712 queue_redraw VERBOSE ] Queue redraw, render_queued: 1, backend_busy: 1

xorg log

[ 104.201] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 104.201] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 971.613] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 971.613] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 985.419] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 985.419] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 1226.746] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 1226.746] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 1572.965] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 1572.965] (WW) AMDGPU(0): Page flip failed: Invalid argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant