VladoPortos

Members
  • Posts

    55
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

VladoPortos's Achievements

Rookie

Rookie (2/14)

7

Reputation

1

Community Answers

  1. This works, the VM starts, but boy the CPU is not liking it, its constant 80 to 99%
  2. Any news, I have the exact same issue... docker install just kills the VM to not be able to boot.
  3. Ok, so its WSL2 related problem, the moment its installed the VM never boots again....
  4. Hello all, Recently I installed Windows 11 pro in to unraid VM, It installed fine, rebooted maybe twice, I installed the basic stuff like browser, vscode, docker for windows... rebooted and got <see attachment>, If I reboot I can get windows repair tool, but that does nothing... and can get to BIOS but tried to boot from any of the device and that did not work either.... VM setting: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='21'> <name>Work Vm</name> <uuid>ce4efef9-eb74-0fad-56a0-0c1b1390adab</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='3'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> <vcpupin vcpu='4' cpuset='10'/> <vcpupin vcpu='5' cpuset='11'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/ce4efef9-eb74-0fad-56a0-0c1b1390adab_VARS-pure-efi-tpm.fd</nvram> <boot dev='fd'/> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='3' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/vms/Work Vm/vdisk1.img' index='1'/> <backingStore/> <target dev='hdc' bus='virtio'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='usb' index='0' model='qemu-xhci' ports='15'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:22:8b:ef'/> <source bridge='br0.1030'/> <target dev='vnet20'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/39'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/39'> <source path='/dev/pts/39'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-21-Work Vm/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <tpm model='tpm-tis'> <backend type='emulator' version='2.0' persistent_state='yes'/> <alias name='tpm0'/> </tpm> <graphics type='vnc' port='5901' autoport='yes' websocket='5701' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <audio id='1' type='none'/> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain>
  5. Just a note, if you are using traefik as your proxy in Unraid, you can add these two labels: Host(`your.page.com`) && Path(`/webhook/{uuid:([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})}`) Host(`your.page.com`) && Path(`/webhook-test/{uuid:([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})}`) This will only expose the hooks matching the auto generated UUID (If you create custom url then you need to add another label )
  6. Ok, I reinstalled the app, and if finally appeared in selection fo no sleeping. I set it to never sleep, went for a walk and usually had one or two drops. Now it was zero, and worked perfectly the whole time. 👌 😀
  7. That's the thing where I looked first, but the app "audiobookshelf" is not there, even if I would like to put it to apps that are put in deep sleep I can't. Maybe I will try to reinstall.
  8. Does anybody experience cutouts, when I'm streaming audio to my phone using the app. It tends to cut out at random after random times (not much, but enough to be annoying), every time I have to go back to the app and start the stream again. I'm using an android phone, and I'm not sure if the app is put to sleep or something. I also can't seem to find the app in Android setting for sleeping apps (It's literally not there) In server logs, I have this: :12:00] INFO: [PlaybackSessionManager] startSession: Closing open session "Defiance of the Fall 2" for user "root_account" [2023-02-10 16:20:10] INFO: [Server] Socket y98IJNqnzqyK8mrhAABH disconnected from client "root_account" after 499083ms (Reason: ping timeout) [2023-02-10 16:32:44] INFO: [Server] Socket Connected jkcZqDSmPA7QhEhEAABJ [2023-02-10 16:38:07] INFO: [Server] Socket jkcZqDSmPA7QhEhEAABJ disconnected from client "root_account" after 322658ms (Reason: ping timeout) [2023-02-10 16:41:36] INFO: [Server] Socket Connected RPl8raIdDfvdNI3nAABL [2023-02-10 16:41:41] INFO: [PlaybackSessionManager] startSession: Closing open session "Defiance of the Fall 2" for user "root_account" [2023-02-10 16:43:49] INFO: [Server] Socket RPl8raIdDfvdNI3nAABL disconnected from client "root_account" after 132948ms (Reason: transport close) [2023-02-10 16:43:53] INFO: [Server] Socket Connected iuu3niqtJhara9xtAABN I think it's happening only when I'm outside on mobile data.
  9. Well, no matter what I try, there seems to be no way to install required packages to this docker image... would be nice if they were baked in to the image then. smartmontools lm-sensors lm-sensors-detect perl nvme-cli ipmitool Should be fairly simple to add to docker build process and should not impact the size much.
  10. Checked with :alpine instead of :latest Used: /bin/sh -c 'apk update && apk add smartmontools && apk add lm-sensors lm-sensors-detect perl && apk add nvme-cli && apk add ipmitool && telegraf' Still no luck: ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied Something changed in the docker images that I can't install additional packages...
  11. I'm getting following error on telegraf, updated from older version recently and for some reason it can't install needed binaries at start. E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied) Reading package lists... Reading package lists... ** Press ANY KEY to close this window ** I have this in post arguments: /bin/sh -c 'apt update && apt install -y smartmontools && apt install -y lm-sensors && apt install -y nvme-cli && telegraf' --user 0
  12. Interesting, I see simmilar: 2022-08-25 08:20:05.632+0000: Domain id=6 is tainted: custom-ga-command 2022-08-25 08:20:10.532+0000: Domain id=6 is tainted: custom-ga-command 2022-08-25 08:20:43.328+0000: Domain id=6 is tainted: custom-ga-command 2022-08-25 08:47:10.162+0000: Domain id=6 is tainted: custom-ga-command 2022-08-25 16:36:53.164+0000: Domain id=6 is tainted: custom-ga-command No idea what it is.
  13. So, after solid week and half trying to get my gaming VM (daily driver) to work on Unraid, here is some notes that you might find usefull. Disable support for Hyper-V, Virtual Machine Platform, Windows Subsytem for Linux - These caused a lot of interupts in OS, and although the VM run, you could feel the lag when moving window or kind of micro stutters in game. Disabling them helped a lot (but its a pain because I used WSL a lot, so separate VM for linux it is now ). Other thing, was that when I mapped share from unraid to VM, the transfer speed was 14MB/S or lower. From other user on NW it worked perfectly 200MB/s... I had to change network model to "virtio" then it shoot up to 800MB/s (to ssd cache)
  14. Works like charm I changed the code a little to blink led from machine import Pin import uasyncio as asyncio from primitives import Pushbutton vm_name = "\'Windows 11\'" start_command = "virsh start " + vm_name reboot_command = "virsh reboot " + vm_name force_shutdown_command = "virsh destroy " + vm_name # PIN13 is D7 on DFROBOT ESP32 Beetle V1.0 btn = Pin(13, Pin.IN, Pin.PULL_UP) # PIN27 is D4 on DFROBOT ESP32 Beetle V1.0 led = Pin(27, Pin.OUT) pb = Pushbutton(btn, suppress=True) led.on() async def reboot_blinky(): # This is a coroutine print(reboot_command) for i in range(10): led.on() await asyncio.sleep_ms(300) led.off() await asyncio.sleep_ms(300) led.on() async def kill_off(): # This is a coroutine print(force_shutdown_command) led.off() async def start_blink(): # This is a coroutine print(start_command) led.on() async def main(): short_press = pb.release_func(start_blink) double_press = pb.double_func(reboot_blinky) long_press = pb.long_func(kill_off) while True: await asyncio.sleep(1) asyncio.run(main())
  15. Very nice, I was doing it over network, but this is more simple.. even found old DFrobot Beetle v1.0 in my drawers, need to print out case for it and button still