Everything posted by SimonF
-
[PLUGIN] GPU Statistics
Any users running 6.12 or 7.0 with AMD GPUs Looking to see results of tree /sys/kernel/debug/dri Hopefully there should be a path with the PCI address of the card. If there is can you provide me details for /sys/kernel/debug/dri/0000:06.00.0/clients change PCI I'd to match your card. Ideally with apps running on the card.
-
[PLUGIN] GPU Statistics
Quote or tag me in responses as I may miss. Any errors in settings=>php and then look at php log then goto the dashboard. can you provide /tmp/gpujson when apps are running. you can edit /usr/local/emhttp/plugins/gpustat/lib/Nvidia.php private function detectApplication (SimpleXMLElement $process) { $debug_apps = false; if ($debug_apps) file_put_contents("/tmp/gpuappsnv",""); Scroll down until you find debug_apps and change to = true. This will create another file in tmp call gpuappsnv
-
[PLUGIN] GPU Statistics
-
[PLUGIN] GPU Statistics
Try uninstall reinstall.
-
Need help with Intel Arc A310 and Unraid!
What does lspci -k show for the driver on the arc. Also dmesg | grep i915.
-
[PLUGIN] GPU Statistics
Just tested on my system it found one of the apps. It would not find the phyton3 one as not a ps running on my system. This is based on the test package above. also working with 2025.03.01
-
[PLUGIN] GPU Statistics
Can you provide nvidia-smi -q -x when the apps are running?
-
[PLUGIN] GPU Statistics
As ConnerVT said run the command nvidia-smi with options -q -x will produce XML.
-
[PLUGIN] GPU Statistics
TESTERS Required Looking for some testers. I have started building a framework for Nouveau and Intel XE drivers. Currently they dont expose much data but will show active apps, Currently Nouveau will be required for Virgl in 7.1 as still working on support for Nvidia Drivers. Note old package will used after a reboot and you will need to install again. I have added Driver to the panel as there are two drivers available XE/i915 for Intel and Nvidia and Nouveau for NV cards. I have included PCI bus for all dGPUs and it is currently hidden for iGPU. I have tickets logged for dev teams to get metrics doc link but may take a while and be dependant on kernel updates. To install but include the path you have placed the package. root@computenode:/# installpkg gpustat-2025.03.09-x86_64.txz Verifying package gpustat-2025.03.09-x86_64.txz. Installing package gpustat-2025.03.09-x86_64.txz: PACKAGE DESCRIPTION: Package gpustat-2025.03.09-x86_64.txz installed. root@computenode:/# To revert root@computenode:/# installpkg /boot/config/plugins/gpustat/gpustat-2025.03.01-x86_64.txz Verifying package gpustat-2025.03.01-x86_64.txz. Installing package gpustat-2025.03.01-x86_64.txz: PACKAGE DESCRIPTION: Package gpustat-2025.03.01-x86_64.txz installed. then do CTRL-F5 in the bashboard. Apps have been added to AMD, May need some updates. gpustat-2025.03.10b-x86_64.txz
-
QEMU spamming logs: cusom-monitor
Not sure macvlan. Do you use GPU stat and monitor a GPU that gets bound to vfio?
-
Dell R730xd with arc 380 showing pci-e x1
Can you provide output of where you are seeing. Which slot is the GPU in.
-
ARC B580 Kernel/Drivers
Normally you need to enable igpu if dgpu is added. In bios.
-
VM Snapshots
You can stop the VM if start and just change the disks back to vdisk1.img and vdisk2.img. The new files are overlays for changes. Process does not use internal snapshots hence why they don't show.
-
[PLUGIN] GPU Statistics
DG Cards do not report power.
-
[PLUGIN] GPU Statistics
Fixed in 2025.03.01
-
[PLUGIN] GPU Statistics
Looks like they have changed the name in the JSON will work on a fix. Just used to be power draw but now is average and instant. <gpu_power_readings> <power_state>P8</power_state> <average_power_draw>11.90 W</average_power_draw> <instant_power_draw>11.81 W</instant_power_draw> <current_power_limit>350.00 W</current_power_limit> <requested_power_limit>350.00 W</requested_power_limit> <default_power_limit>350.00 W</default_power_limit> <min_power_limit>100.00 W</min_power_limit> <max_power_limit>375.00 W</max_power_limit> </gpu_power_readings> If you want to test nano /usr/local/emhttp/plugins/gpustat/lib/Nvidia.php add this section: if (isset($data->gpu_power_readings->instant_power_draw)) { $this->pageData['power'] = (float) $this->stripText(' W', $data->gpu_power_readings->instant_power_draw); $this->pageData['power'] = $this->roundFloat($this->pageData['power']) . 'W'; } So should look like. if ($this->settings['DISPPWRDRAW']) { if (isset($data->power_readings)) { if (isset($data->power_readings->power_draw)) { $this->pageData['power'] = (float) $this->stripText(' W', $data->power_readings->power_draw); $this->pageData['power'] = $this->roundFloat($this->pageData['power']) . 'W'; } if (isset($data->power_readings->power_limit)) { $this->pageData['powermax'] = (string) $this->stripText('.00 W', $data->power_readings->power_limit); } } if (isset($data->gpu_power_readings)) { if (isset($data->gpu_power_readings->power_draw)) { $this->pageData['power'] = (float) $this->stripText(' W', $data->gpu_power_readings->power_draw); $this->pageData['power'] = $this->roundFloat($this->pageData['power']) . 'W'; } if (isset($data->gpu_power_readings->instant_power_draw)) { $this->pageData['power'] = (float) $this->stripText(' W', $data->gpu_power_readings->instant_power_draw); $this->pageData['power'] = $this->roundFloat($this->pageData['power']) . 'W'; } if (isset($data->power_readings->power_limit)) { $this->pageData['powermax'] = (string) $this->stripText('.00 W', $data->gpu_power_readings->current_power_limit); } } }
-
[PLUGIN] GPU Statistics
Post /tmp/gpujson Nvidia-smi -L to get GUIDs Also nvidia-smi -q -x GUID for each GPU.
-
[Plugin] Snapshots
Yes that should work, You may want to give it a file name that is not related as when you change something in the gui the cron file will be overwritten. Not sure if you can have schedule set to disabled in the gui and this process will work would need to check. I can look to add a custom cron value to the gui. just run -> /usr/local/sbin/update_cron
-
[PLUGIN] GPU Statistics
Was that on the 380 or igpu? My A770 is out of my test box but I don't think it gave IMC but my igpu does which is running 12600k
-
[PLUGIN] GPU Statistics
If intel GPU top does not provide then GPU stats cannot display
-
QEMU spamming logs: cusom-monitor
Are you able to upgrade to 7? as this has newer versions of QEMU+ Libvirt?
-
[Plugin] Snapshots
Each schedule has a cron file. root@computenode:/boot/config/plugins/snapshots# cat %2Fmnt%2Fcache%2Fvol%2FnestvolSlot0.cron # Generated snapshot schedule for:/mnt/cache/vol/nestvol 0 */1 * * 0,1,2,3,4,5,6, /usr/local/emhttp/plugins/snapshots/include/snapping.php "/mnt/cache/vol/nestvol" "0" > /dev/null 2>&1 root@computenode:/boot/config/plugins/snapshots# you run update_cron as a cmd root@computenode:/boot/config/plugins/snapshots# ls /usr/local/sbin/update_cron /usr/local/sbin/update_cron* root@computenode:/boot/config/plugins/snapshots#
-
ARC B580 Kernel/Drivers
Likely to be a release of some form in March but may change.
-
[Plugin] Snapshots
It is not possible to have an exclusion range. a cron file it built and update_cron is called to enable. This is the code that builds the file in boot/config/plugins/snapshots/ switch ($val["snapSchedule"]) { case "0": $val["cron"] = "0 $hour2 * * $rund" ; break; case "1": $val["cron"] = "$min $hour * * $rund" ; break; case "2": $val["cron"] = "$min $hour * * $day" ; break; case "3": $val["cron"] = "$min $hour $dotm * *" ; break; } #var_dump($val) ; $val['vmselection'] = implode("," , $val['vmselection']) ; $config[$sn] = $val ; #$config_json[$sn] = $val ; save_ini_file($config_file, $config); #save_json_file($config_file_json, $config_json) ; if ($config[$sn]["snapscheduleenabled"] == "yes") { $cron = "# Generated snapshot schedule for:$sn\n".$val["cron"]." /usr/local/emhttp/plugins/snapshots/include/snapping.php \"$sn\" > /dev/null 2>&1 \n\n"; } else { $cron="" ; } parse_cron_cfg("snapshots", urlencode($sn), $cron); return (isset($config[$sn][$var])) ? $config[$sn] : FALSE; }
-
ARC B580 Kernel/Drivers
On 7.1 release time frames?