Donrenegade

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

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

Donrenegade's Achievements

Noob

Noob (1/14)

1

Reputation

1

Community Answers

  1. I'm not sure whether this is the intended way to do this, but adding the following has fixes my issues: Unraid => Docker => Under Docker Containers, select container and edit => Enable Advanced View ... Under Post Arguments, I added the following: && docker exec -u root homeassistant sh -c "chmod a+rwx /dev/zigbee" The device can now be accessed without needing privileged mode!
  2. Hello! Fairly recently I've started using the docker functionality within unraid. I'm having problems with permissions from within a docker container and i'm a novice at both linux and docker itself. I'm trying to pass through a usb device to my container by id, rather than by "usb device". Because when I do that, it (seemingly) randomly switches from location "/dev/ttACM0" to "/dev/ttACM1" and vice versa. So passing through by id appears to be the way forward. Now i'm passing through a device by id using the following value: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230807104003-if00:/dev/zigbee Within the container itself, the device now has the following permissions "crw-rw----". With these permissions, the application within the container cannot access the device. When i manually edit the permission within the container using the following command: chmod a+rwx /dev/zigbee , the application can acces the device without any problems. The issue with this is that whenever the container is restarted, the permissions obviously get reset. Setting Post Arguments only seem to execute on the host machine, but maybe i'm missing something. How can i "permanently" change the permissions for the passed through device on "/dev/zigbee"? As a note: running the container in privileged mode also allows the application to use the device, but i'm trying to avoid that for obvious reasons.
  3. I seem to be having issues in using Unraid for virtualizing gaming pc’s. First up, here are the relevant specs: AMD Ryzen 1700X @ Stock Noctua DH-14 Cooler Gigabyte AX-370 GAMING 5 Corsair 32GB RAM “CMK32GX4M2B3000C15” - @ 2133MHZ, for compatibility Creative Sound Blaster Z – top PCI-E 1x slot. AMD Radeon HD5870 – top PCI-E 16x slot. (running in 8x mode) Nvidia Geforce GTX670 – second PCI-E 16x slot. (running in 8x mode) Corsair RM850x 960 EVO 500GB Drive. Other misc. HDD’s 640GB HDD and 750GB HDD for Unraid for different vm’s. No cache or parity drive. I have set the PC up in such a way that I have a “regular” windows install which has access to all the hardware. If I change the boot order with Unraid at the top, Unraid will automatically boot. To get the most consistent results I’ve disabled 4 cores AND SMT for testing purposes on my regular windows install. When using a virtualized windows install, i’ve setup the pc that it boots with 8 cores, SMT disabled. The virtualized machine only has access to 4 cores. Unraid should still have 4 cores left work with, which should be plenty for what I’m doing with it right now. For clarity, I’m only testing 1 virtualized gaming pc for now. These are (what I think are) the relevant specs of the vm: Ryzen, 4 cores, No SMT. GTX670 8GB RAM. 500GB HDD space. No Cache. (High performance energy setting) Everything seems to work correctly. However, I seem to be getting wierd results and sub-par gaming performance. To put this into numbers, I’ve ran Cinebench to get the following results: VM Cinebench Multi Score: 535 VM Cinebench Single score: 138 VM Cinebench OpenGL: 43 Regular Cinebench Multi Score: 559 Regular Cinebench Single Score: 148 Regular Cinebench OpenGL: 100 These cpu scores seem good with the small amount of performance that is lost by virtualizing. However, this is where it gets strange: the OPENGL score seems to hover around 40 in the vm, and 100 in the regular windows install. I Installed the 3DMark demo that’s on Steam and I ran the Time Spy demo in the regular and vm install of windows. VM GPU score: 1811 VM CPU score: 2850 Regular GPU score: 1783 Regular CPU score: 3733 For some reason, when the GPU and CPU are stressed at the same time, the CPU seems to be underperforming greatly in the VM. Has anyone else had this problem before and if so, how can I fix this issue? Or is this just a Ryzen early adopter problem that will soon get fixed?
  4. I seem to be having issues in using Unraid for virtualizing gaming pc’s. First up, here are the relevant specs: AMD Ryzen 1700X @ Stock Noctua DH-14 Cooler Gigabyte AX-370 GAMING 5 Corsair 32GB RAM “CMK32GX4M2B3000C15” - @ 2133MHZ, for compatibility Creative Sound Blaster Z – top PCI-E 1x slot. AMD Radeon HD5870 – top PCI-E 16x slot. (running in 8x mode) Nvidia Geforce GTX670 – second PCI-E 16x slot. (running in 8x mode) Corsair RM850x 960 EVO 500GB Drive. Other misc. HDD’s 640GB HDD and 750GB HDD for Unraid for different vm’s. No cache or parity drive. I have set the PC up in such a way that I have a “regular” windows install which has access to all the hardware. If I change the boot order with Unraid at the top, Unraid will automatically boot. To get the most consistent results I’ve disabled 4 cores AND SMT for testing purposes on my regular windows install. When using a virtualized windows install, i’ve setup the pc that it boots with 8 cores, SMT disabled. The virtualized machine only has access to 4 cores. Unraid should still have 4 cores left work with, which should be plenty for what I’m doing with it right now. For clarity, I’m only testing 1 virtualized gaming pc for now. These are (what I think are) the relevant specs of the vm: Ryzen, 4 cores, No SMT. GTX670 8GB RAM. 500GB HDD space. No Cache. (High performance energy setting) Everything seems to work correctly. However, I seem to be getting wierd results and sub-par gaming performance. To put this into numbers, I’ve ran Cinebench to get the following results: VM Cinebench Multi Score: 535 VM Cinebench Single score: 138 VM Cinebench OpenGL: 43 Regular Cinebench Multi Score: 559 Regular Cinebench Single Score: 148 Regular Cinebench OpenGL: 100 These cpu scores seem good with the small amount of performance that is lost by virtualizing. However, this is where it gets strange: the OPENGL score seems to hover around 40 in the vm, and 100 in the regular windows install. I Installed the 3DMark demo that’s on Steam and I ran the Time Spy demo in the regular and vm install of windows. VM GPU score: 1811 VM CPU score: 2850 Regular GPU score: 1783 Regular CPU score: 3733 For some reason, when the GPU and CPU are stressed at the same time, the CPU seems to be underperforming greatly in the VM. Has anyone else had this problem before and if so, how can I fix this issue? Or is this just a Ryzen early adopter problem that will soon get fixed?