Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. NUC gesucht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    NUC gesucht

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Wal last edited by

      @wal

      hat jetzt geklappt - die cpu load geht tatsächlich um einiges runter - suuuuuuper tipp !!!!!!!!

      Agrippinenser 1 Reply Last reply Reply Quote 1
      • Wal
        Wal Developer @liv-in-sky last edited by

        @liv-in-sky sagte in NUC gesucht:

        @wal

        noch ne frage - das kann dann nur für einen lxc genutzt werden ? oder können da mehrere drauf zugreifen ?

        Das habe ich noch nicht getestet, habe ja nur frigate als LXC, den TVHeadend LXC habe ich schon seit 1 Jahr nicht mehr.

        1 Reply Last reply Reply Quote 0
        • Agrippinenser
          Agrippinenser @liv-in-sky last edited by

          @liv-in-sky sagte in NUC gesucht:

          @wal
          hat jetzt geklappt -

          mir lässt das keine Ruhe. Bei mir wird die Änderung der config nach Neustart des Containers auch rückgängig gemacht.

          Was hast du jetzt anders gemacht?

          Wal 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @Agrippinenser last edited by

            @agrippinenser ,
            wie änderst du die Config des Containers ?
            so :

            nano /etc/pve/lxc/10x.conf
            
            Agrippinenser 2 Replies Last reply Reply Quote 0
            • Agrippinenser
              Agrippinenser @Wal last edited by Agrippinenser

              @wal sagte in NUC gesucht:

              so :
              nano /etc/pve/lxc/10x.conf

              ja. Gerade in der Console des Containers das gefunden:

              lxc-console: 132: ../src/lxc/confile.c: parse_line: 3099 Invalid argument - Invalid configuration line: lxc.cgroup2.devices.allow: c 226:128 rwm
              lxc-console: 132: ../src/lxc/parse.c: lxc_file_for_each_line_mmap: 129 Failed to parse config file "/var/lib/lxc/132/config" at line "lxc.cgroup2.devices.allow: c 226:128 rwm"
              Failed to load config for 132
              lxc-console: 132: ../src/lxc/tools/lxc_console.c: main: 101 System error loading container
              

              edit :

              ls -l /dev/dri:

              total 0
              drwxr-xr-x 2 root root         80 Apr 17 12:50 by-path
              crw-rw-rw- 1 root video  226,   0 Apr 17 12:50 card0
              crw-rw-rw- 1 root render 226, 128 Apr 17 12:50 renderD128
              
              Wal 1 Reply Last reply Reply Quote 0
              • Agrippinenser
                Agrippinenser @Wal last edited by

                @wal sagte in NUC gesucht:

                wie änderst du die Config des Containers ?
                so :
                nano /etc/pve/lxc/10x.conf

                !schreck! nein

                nano /var/lib/lxc/132/config
                
                Wal 2 Replies Last reply Reply Quote 0
                • Wal
                  Wal Developer @Agrippinenser last edited by Wal

                  @agrippinenser ,
                  gib mal das ein:

                  nano /etc/pve/lxc/132.conf
                  

                  x war nur ein Platzhalter für die Containernummer, wusste ja nicht das du schon 32 Container drauf hast.

                  Agrippinenser 2 Replies Last reply Reply Quote 0
                  • Wal
                    Wal Developer @Agrippinenser last edited by

                    @agrippinenser sagte in NUC gesucht:

                    edit :
                    ls -l /dev/dri:
                    total 0 drwxr-xr-x 2 root root 80 Apr 17 12:50 by-path crw-rw-rw- 1 root video 226, 0 Apr 17 12:50 card0 crw-rw-rw- 1 root render 226, 128 Apr 17 12:50 renderD128

                    Das stimmt so, die Rechte 666 sind gesetzt.

                    1 Reply Last reply Reply Quote 0
                    • Wal
                      Wal Developer @Agrippinenser last edited by

                      @agrippinenser ,
                      bist du evtl. noch nicht auf Proxmox7 sondern noch auf Proxmox6 ?
                      dann:

                      lxc.cgroup.devices.allow: c 226:128 rwm
                      
                      Agrippinenser 1 Reply Last reply Reply Quote 0
                      • Agrippinenser
                        Agrippinenser @Wal last edited by

                        @wal danke für deine Geduld 👍

                        habe den Container entfernt und Backup eingespielt.
                        Dann bei stehendem Motioneye

                        nano /etc/pve/lxc/132.conf
                        

                        so sieht es nun aus:

                        
                        arch: amd64
                        cores: 4
                        features: nesting=1
                        hostname: Motioneye
                        memory: 4096
                        net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.0.1,hwaddr=F2:20:CE:BD:1A:D1,ip=192.168.0.132/24,type=veth
                        ostype: ubuntu
                        rootfs: local-lvm:vm-132-disk-0,size=8G
                        swap: 512
                        unprivileged: 1
                        lxc.cgroup2.devices.allow: c 226:128 rwm
                        lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
                        

                        Container neu gestartet.

                        Leider komme ich von den ca. 15% CPU nicht runter.

                        af153f50-309d-424e-aa77-8098b28ac6a8-image.png

                        1 Reply Last reply Reply Quote 0
                        • Agrippinenser
                          Agrippinenser @Wal last edited by

                          @wal sagte in NUC gesucht:

                          bist du evtl. noch nicht auf Proxmox7 sondern noch auf Proxmox6 ?

                          7.4-3

                          Wal 1 Reply Last reply Reply Quote 0
                          • Wal
                            Wal Developer @Agrippinenser last edited by

                            @agrippinenser ,
                            ok mach mal auf dem LXC ein

                            ls -l /dev/dri
                            
                            Agrippinenser 1 Reply Last reply Reply Quote 0
                            • Agrippinenser
                              Agrippinenser @Wal last edited by

                              @wal sagte in NUC gesucht:

                              @agrippinenser ,
                              ok mach mal auf dem LXC ein
                              ls -l /dev/dri

                              ls -l /dev/dri
                              total 0
                              drwxr-xr-x 2 root root         80 Apr 18 12:36 by-path
                              crw-rw-rw- 1 root video  226,   0 Apr 18 12:36 card0
                              crw-rw-rw- 1 root render 226, 128 Apr 18 12:36 renderD128
                              
                              
                              Wal 1 Reply Last reply Reply Quote 0
                              • Agrippinenser
                                Agrippinenser @Wal last edited by

                                @wal sagte in NUC gesucht:

                                x war nur ein Platzhalter für die Containernummer, wusste ja nicht das du schon 32 Container drauf hast.

                                🙂 ich fand die Idee eines Youtubers dem Container die letzten 3 Ziffern der Netzwerkadresse zu vergeben ganz gut.

                                Wal 1 Reply Last reply Reply Quote 1
                                • Wal
                                  Wal Developer @Agrippinenser last edited by Wal

                                  @agrippinenser ,
                                  sieht gut aus, was mich nur irritiert ist das du auch card0 usw. hast da nur renderD128 durchgeschaltet wurde, aber egal.
                                  Es steht einer Hardwarebeschleunigung nichts im Wege.
                                  Ich schau mir mal MontionEye an, evtl. finde ich was.

                                  1 Reply Last reply Reply Quote 0
                                  • Wal
                                    Wal Developer @Agrippinenser last edited by

                                    @agrippinenser ,
                                    bist du dir sicher das du den Befehl im Motioneye LXC gemacht hast ?

                                    frigate@frigate:~$ ls -l /dev/dri
                                    total 0
                                    crw-rw-rw- 1 nobody nogroup 226, 128 Apr 18 11:51 renderD128
                                    

                                    bei mir kommt das.

                                    Agrippinenser 2 Replies Last reply Reply Quote 0
                                    • Agrippinenser
                                      Agrippinenser @Wal last edited by

                                      @wal sagte in NUC gesucht:

                                      bist du dir sicher das du den Befehl im Motioneye LXC gemacht hast ?

                                      natürlich nicht also noch mal im Container:

                                      ls -l /dev/dri
                                      total 0
                                      crw-rw-rw- 1 nobody nogroup 226, 128 Apr 18 10:36 renderD128
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • Agrippinenser
                                        Agrippinenser @Wal last edited by

                                        @wal

                                        hatte zwischenzeitlich diese Seite gefunden aber das kennst du sicher.

                                        Denke hier wird genau das beschrieben, allerdings mit mehr Inhalt in ``/etc/pve/lxc/*.conf```.

                                        Wal 2 Replies Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky last edited by

                                          ich weiß nicht warum, aber bei mir liegen die conf daten hier :

                                          root@beelink 14:18:50  /etc/pve/nodes/beelink/lxc   >
                                          ls
                                          101.conf  103.conf  105.conf  107.conf  109.conf  112.conf  114.conf  116.conf  118.conf
                                          102.conf  104.conf  106.conf  108.conf  110.conf  113.conf  115.conf  117.conf  119.conf
                                          root@beelink 14:18:52  /etc/pve/nodes/beelink/lxc   >
                                          
                                          
                                          Agrippinenser 1 Reply Last reply Reply Quote 0
                                          • Wal
                                            Wal Developer @Agrippinenser last edited by

                                            @agrippinenser sagte in NUC gesucht:

                                            @wal

                                            hatte zwischenzeitlich diese Seite gefunden aber das kennst du sicher.

                                            Denke hier wird genau das beschrieben, allerdings mit mehr Inhalt in ``/etc/pve/lxc/*.conf```.

                                            Ja, da wird card0 auch durchgeschaltet, ob man das auch braucht weis ich nicht.
                                            Bei mir geht es in frigate auch ohne card0.

                                            @liv-in-sky ,
                                            ja das geht auch.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            933
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            17
                                            108
                                            7949
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo