meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:proxmox:lxc:google_coral [2024/12/08 11:53] niziakvm:proxmox:lxc:google_coral [2024/12/08 16:06] (current) niziak
Line 86: Line 86:
 ===== ERROR: Unable to poll intel GPU stats: Failed to initialize PMU! (Permission denied) ===== ===== ERROR: Unable to poll intel GPU stats: Failed to initialize PMU! (Permission denied) =====
  
-Rendering on ''/dev/dri/renderD128'' works but container lacks the necessary permissions to access the performance monitoring unit.+This error is "informational"
 +Rendering on ''/dev/dri/renderD128'' **works** but container lacks the necessary permissions to access the performance monitoring unit.  
 +Frigate wants this to show GPU usage statistics.
  
 Reproduce in LXC: Reproduce in LXC:
Line 110: Line 112:
 sysctl --write kernel.perf_event_paranoid=NEWVALUE sysctl --write kernel.perf_event_paranoid=NEWVALUE
 </code> </code>
 +
 +I suppose this is not possible to use unpriv LXC and enable ''CAP_SYS_ADMIN'' (multiple trials with ''lxc.cap.drop'' and ''lxc.cap.keep'').
 +It works when <code bash>sysctl --write kernel.perf_event_paranoid=0</code> which is still safer (there were kernel vulnerabilities) than giving container ''CAP_SYS_ADMIN''.
 +
 +When Frigate is running and performance events are accessible in LXC, command <code bash>intel_gpu_top</code> show nicely formatted text statistics:
 +
 +{{:vm:proxmox:lxc:pasted:20241208-144931.png}}
  
 ===== references ===== ===== references =====