cage-kiosk / cage

A Wayland kiosk
https://www.hjdskes.nl/projects/cage
MIT License
1.22k stars 78 forks source link

Not working with Hardware rendering #373

Open Klewciax opened 3 days ago

Klewciax commented 3 days ago

Hi all ;) I have strange issue with my configuration :) My goal is open qutebrowser on debian bookworm on BananaPi m2 berry platform but the problem is only software rendering. I check all drivers drm and other things and it's not help but in other hand I check my gpu by kmscube and it rendering without any problem. In the next step I try to reproduce the same issue on my virtual machine and also I have the same problem cage use only cpu without gpu but acceleration is enbled and debian can find proper drivers... Please give me a tup because I suffer on this subject from 3 days ;) BR

emersion commented 3 days ago

Can you post debug logs of cage?

Klewciax commented 2 days ago

Ok I put it below, but I noticed that the main problem is with the drm and graphic cards, on the banana pi I also had problem with HDMI output tests and rendering goes only by the CPU so i had 100% of load on the one page of qutebrowser. I try update gpu drivers and find solution by chatgpt so I am also try install sway weston etc... but everywhere I have the same problem. Currently I try on the fresh instalation on the virtual machine and also I still stuck on the same problem.

Cage version : 0.1.4 Wlroots: 0.15.1-6

00:00:00.224 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:00.234 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
00:00:02.222 [types/output/output.c:656] Basic output test failed for Virtual-1
00:00:02.239 [types/output/output.c:656] Basic output test failed for Virtual-1
00:00:02.274 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.300 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.307 [../render.c:193] Could not commit output
[2200:8:1111/131540.864411:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
00:00:02.538 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.540 [../render.c:193] Could not commit output
00:00:02.687 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.690 [../render.c:193] Could not commit output
00:00:02.694 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.694 [../render.c:193] Could not commit output
00:00:02.717 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.718 [../render.c:193] Could not commit output
00:00:02.736 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.738 [../render.c:193] Could not commit output
00:00:02.768 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.774 [../render.c:193] Could not commit output
00:00:02.802 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.810 [../render.c:193] Could not commit output
00:00:02.836 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.838 [../render.c:193] Could not commit output
00:00:02.879 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.882 [../render.c:193] Could not commit output
00:00:02.902 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.906 [../render.c:193] Could not commit output
00:00:02.938 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.939 [../render.c:193] Could not commit output
00:00:02.973 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument
00:00:02.974 [../render.c:193] Could not commit output
00:00:03.006 [backend/drm/renderer.c:275] drmCloseBufferHandle failed: Invalid argument

Other error:
00:00:00.000 [ERROR] [../cage.c:293] XDG_RUNTIME_DIR is not set in the environment