yavdr: Ubuntu 22: Error bei bei task [yavdr-xorg] unload kms drivers

  • Hallo zusammen,


    möchte yavdr ansible auf Ubuntu 22.04 neu installieren. Ich habe die CPU J1900 (eingebaute GPU) und eine nVidia GT 1030 am Start. Im Bios ist die CPU-GPU als Primary eingestellt.


    Ich bekomme folgenden Fehler nach dem Start des Playbooks:


    Was kann ich machen, um das Problem zu Lösen?


    Viele Grüße

    Frank

    4x yaVDR 0.7: ASUS P5N7A-VM // 2*TeVii S460 // Atric mit Lirc // 4*1,5TB // 7" TFT

    Im Aufbau: VDR-UHD mit nVidia GT1030 unter Ubuntu 20.04

  • Nachdem ich im BIOS die Primary-GPU auf PCI-Express (=nVidia) umgestellt habe, läuft das Playbook durch.


    Channels.conf habe ich erstellt, leider ist kommt noch kein Bild.


    Im Syslog findet man

    Code
    Dec  7 12:33:18 vdr-uhd vdr: video/vaapi: Can't inititialize VA-API on ':0'
    Dec  7 12:33:18 vdr-uhd vdr: video: 'va-api' output module isn't supported

    4x yaVDR 0.7: ASUS P5N7A-VM // 2*TeVii S460 // Atric mit Lirc // 4*1,5TB // 7" TFT

    Im Aufbau: VDR-UHD mit nVidia GT1030 unter Ubuntu 20.04

  • Hi,

    Du versuchst VAAPI zu nutzen, das kann die nvidia nicht.

    MfG Stefan

    Test-VDR1: HP rp5700 Fertigsystem, Core2Duo E6400, 2GB RAM, FF-SD C-2300, nvidia Slim-GT218 x1 | easyVDR 2.0 64Bit
    VDR3: in Rente

    VDR4: MSI G31M2 v2, Digitainer2-Geh., t6963c 6" gLCD, E5200, 2GB, 3TB WD Red, GT730, 2x TT S2-3200; easyVDR 3.5 64bit
    VDR5: Gigabyte
    GA-G31M-S2L, Intel E2140, Zotac GT730 passiv, Digitainer2-Geh., t6963c 6 " gLCD, 2 TB WD Red, 2x TT S2-3200 (an 1 Kabel) easyVDR 3.5 64bit
    VDR6:
    Intel E5200, GT630 passiv, F1 750 GB, t6963c gLCD, 2x TT S2-3200 | easyVDR 3.5 64bit
    VDR-User #1068
    www.easy-vdr.de

  • apt-get install vdr-plugin-softhdcuvid

  • in /yavdr-ansible/group_vars/all

    Code
    # set the name of the output plugin (as used by vdrctl) - this defaults to softhddevice on x64 platforms and rpihddevice on Raspberry Pi 2 and 3
    selected_frontend: softhdcuvid
    
    # set the package name of the output plugin - this defaults to vdr-plugin-softhddevice on x64 platforms and vdr-plugin-rpihddevice on Raspberry Pi 2 and 3
    vdr_output_plugin: vdr-plugin-softhdcuvid

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Ich würde die empfehlen alles neu zu installieren.

    Also Ubuntu-server neu.

    Dann


    Code
    $ git clone https://github.com/yavdr/yavdr-ansible
    $ cd yavdr-ansible

    Dann würde ich erst mal den richtigen Nvidia Treiber installieren,bin mir aber nicht sicher welchen du brauchst.

    Glaube den nvidia-driver-470 für die GT-1030


    Dann Im Ordner yavdr-ansible eine Datei erstellen host_vars/localhost


    mit folgendem Inhalt


    branch: jammy

    ppa_owner: 'ppa:seahawk1986-hotmail'


    Dann wie oben geschrieben in /yavdr-ansible/group_vars/all

    so ändern


    selected_frontend: softhdcuvid

    vdr_output_plugin: vdr-plugin-softhdcuvid


    Dann in yavdr-ansible/yavdr07.yml

    folgende Zeile so ändern,den nvidia Treiber hast du ja nun schon.

    # - autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers


    Dann lässt du die Rolle laufen mit


    sudo -H ./install-yavdr.sh

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

    Einmal editiert, zuletzt von pille2011 ()

  • Ich danke Dir für die Hinweise. Ich werde das so machen ...

    4x yaVDR 0.7: ASUS P5N7A-VM // 2*TeVii S460 // Atric mit Lirc // 4*1,5TB // 7" TFT

    Im Aufbau: VDR-UHD mit nVidia GT1030 unter Ubuntu 20.04

  • Wenn alles geklappt hat natütrlich noch die channels.conf nach /var/lib/vdr

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Dann Im Ordner yavdr-ansible eine Datei erstellen host_vars/localhost

    ...
    Dann wie oben geschrieben in /yavdr-ansible/group_vars/all

    ...

    Ich glaube, da sollte man eher die host_vars/localhost auf group_vars/all kopieren und dort dann die Änderungen vornehmen.

    Viel Erfolg!

    MyVDR: yaVDR-Ansible (Ubuntu 20) - softhddevice-openglosd (ffmpeg 2.8) - epgd/epg2vdr - skindesigner estuary4vdr (adaptiert) - 1920x1080@50 Hz | kodi 18 - inputstream + amazon vod
    Aerocube M40 | 300W | ASRock H61M-GE | Intel G530 | Asus ENGT520 | 2 x TT-budget S2-3200 | ASRock Smart Remote (CIR) | 4 GB RAM | 120 GB SSD | 3 TB HDD

  • Ich glaube, da sollte man eher die host_vars/localhost auf group_vars/all kopieren und dort dann die Änderungen vornehmen.

    Viel Erfolg!

    Ich habe nur die offizielle Anleitung von hier befolgt.


    Code
    Um in group_vars/all definierte Variablen anzupassen, sollte man eine Datei host_vars/localhost anlegen und darin die gewünschten Anpassungen vornehmen. Die in dieser Datei definierten Variablen übersteuern die Vorgabewerte aus dem Playbook und der group_vars/all.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Ah ok, sorry!
    Da ist mein Wissen offenbar mittlerweile überholt.

    MyVDR: yaVDR-Ansible (Ubuntu 20) - softhddevice-openglosd (ffmpeg 2.8) - epgd/epg2vdr - skindesigner estuary4vdr (adaptiert) - 1920x1080@50 Hz | kodi 18 - inputstream + amazon vod
    Aerocube M40 | 300W | ASRock H61M-GE | Intel G530 | Asus ENGT520 | 2 x TT-budget S2-3200 | ASRock Smart Remote (CIR) | 4 GB RAM | 120 GB SSD | 3 TB HDD

  • Hi r371769 wäre schön wenn mal einer Rückmeldung kommt???

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Hi r371769 wäre schön wenn mal einer Rückmeldung kommt???

    Ja, na klar. Ich habe das Problem gelöst, indem ich komplett neu installiert habe. Anschließend ist dieser Fehler nicht mehr aufgetreten.

    4x yaVDR 0.7: ASUS P5N7A-VM // 2*TeVii S460 // Atric mit Lirc // 4*1,5TB // 7" TFT

    Im Aufbau: VDR-UHD mit nVidia GT1030 unter Ubuntu 20.04

  • :thumbup:

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Hallo zusammen,


    ich habe den gleichen Fehler bei "TASK [yavdr-xorg : unload kms drivers]", es ist eine ganz frische Installation mit ubuntu 22.04.

    Es ist eine GT 630 eingebaut. Im Yavdr 0.5 ist diese mit softhddevice prima gelaufen.

    Hier wird der softhdcuvid für die GT 630 empfohlen.


    grep -E 'frontend|output' vars/localhost

    selected_frontend: softhdcuvid

    vdr_output_plugin: vdr-plugin-softhdcuvid


    apt-get install vdr-plugin-softhdcuvid


    # file: yavdr07.yml

    # this playbook sets up a complete yaVDR 0.7 installation


    # RD 16.1.2024

    # - autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers


    In der aktuellen /var/log/Xorg.0.log sind keine "EE" Fehler.


    Hier Auszüge aus dem x11 log des alten yaVDR 0.5:


    Trotzdem kommt es zu dem Fehler.

    TASK [yavdr-xorg : unload kms drivers] *************************************************************************************************************************

    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'dependency_map' is not defined. Did you mean:

    'dependency'?

    failed: [localhost] (item=nouveau) => {

    "ansible_loop_var": "item",

    usw.


    Zu klären: Wo bekomme ich den bisherigen Treiber her?

    Code
    [    15.690] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
    Code
    modprobe nvidia_drv
    modprobe: FATAL: Module nvidia_drv not found in directory /lib/modules/5.15.0-91-generic
    
    lspci -nnk | grep -i "VGA\|'Kern'\|3D\|Display" -A2 
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 630] [10de:0f00] (rev a1)
            Subsystem: ZOTAC International (MCO) Ltd. GF108 [GeForce GT 630] [19da:5199]
            Kernel driver in use: nouveau


    Hier bei nvidia , ubuntu drivers installation und ubuntu - nvidia muß ich mich noch einlesen was passt.


    Ich würde versuchen wieder den proprietären Nvidia Treiber installieren.


    Habt ihr noch konkrete Tipps?



    VG

    Ralf

    VDR - Die 'Killerapplikation' die mich zu Linux gebacht hat ;)

    Neues yaVDR HD-System ging am 20.12.2013 in Betrieb :)
    yaVDR 0.7-ansible im Aufbau ab Jan. 2024.

    9 Mal editiert, zuletzt von Ralf_D ()

  • Ist softhdcuvid nicht ein Frontend für Nvidias ab der 1000er-Serie?

    Ich denke mit dem vdr-plugin-softhddevice und aktiviertem vdpau bist du besser bedient...

    Client 1 Hardware : MSI Z87-G43, I5-4570, 4 GB Ram (oversized aber war über :) ),Zotac NVidia GT630 (25 Watt),Thermaltake DH202 mit iMon-LCD ( 0038 ) und vdr-plugin-imon
    Software : yaVDR 0.6,sofhhddevice @ 1920x1080@50Hz
    Server Hardware : MSI Z87-G43, I7-4790, 16 GB RAM, 5x3 TB WD Red, Digibit-R1 (2 Devices)
    Software : Ubuntu 16.04 LTS mit yavdr-Paketen,virtualbox,diverse VM's


    Yoda: Dunkel die andere Seite ist...sehr dunkel!
    Obi-Wan: Mecker nicht, sondern iss endlich dein Toast ...

  • Hi,

    Ich denke auch du solltest Softhddevice von lnj nutzen.

    Dir fehlt der nvidia Treiber. Noveau ist schrott...

    MfG Stefan

    Test-VDR1: HP rp5700 Fertigsystem, Core2Duo E6400, 2GB RAM, FF-SD C-2300, nvidia Slim-GT218 x1 | easyVDR 2.0 64Bit
    VDR3: in Rente

    VDR4: MSI G31M2 v2, Digitainer2-Geh., t6963c 6" gLCD, E5200, 2GB, 3TB WD Red, GT730, 2x TT S2-3200; easyVDR 3.5 64bit
    VDR5: Gigabyte
    GA-G31M-S2L, Intel E2140, Zotac GT730 passiv, Digitainer2-Geh., t6963c 6 " gLCD, 2 TB WD Red, 2x TT S2-3200 (an 1 Kabel) easyVDR 3.5 64bit
    VDR6:
    Intel E5200, GT630 passiv, F1 750 GB, t6963c gLCD, 2x TT S2-3200 | easyVDR 3.5 64bit
    VDR-User #1068
    www.easy-vdr.de

  • Habt ihr noch konkrete Tipps?

    Wenn das entladen des KMS-Treibers nicht klappt, einmal den Rechner neu starten und dann das Playbook erneut laufen lassen, mit dem nächsten Boot sollte der von ubuntu-drivers installierte nvidia-Treiber verfügbar sein und der Rest (vorallem die Display-Erkennung) funktionieren.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Hallo zusammen,


    viiielen Dank für die großartige Hilfe. :love:


    Hier meine Doku wie es bei mir nun funktioniert hat: (Vielleicht hilft es pierre2000 ;)

    - Playbook vollständig durchzuspielen

    - nvidia Treiber installieren

    - Bis zum ersten laufen des VDR (noch ohne Videobild)


    Auch ich habe mittlerweile kapiert :) , wie oben geschrieben das es besser ist (updatefähig!) die Änderungen in vars/localhost zu machen:

    Probier folgendes:


    Sieht oben nun bereits gut aus - bei mir:


    Code
    ralf@media-sack:~/yavdr-ansible$ cat vars/localhost    
    # RD 16.1.2024
    
    branch: jammy
    ppa_owner: 'ppa:seahawk1986-hotmail'
    
    # Abhängig von deiner GraKa
    selected_frontend: softhddevice
    vdr_output_plugin: vdr-plugin-softhddevice

    sudo rm /etc/apt/sources.list.d/*

    sudo apt-get update - muss dann ohne Fehler laufen - schonmal gut!


    Bei mir läuft das playbook erst voll durch nach der Installation des nvidia Treibers!


    https://ubuntu.com/server/docs/nvidia-drivers-installation

    nvidia › Nvidia › Grafikkarten › Wiki › ubuntuusers.de


    In Kürze der Weg bei mir:

    sudo ubuntu-drivers list --gpgpu


    sudo lspci -nnk | grep -i "VGA\|'Kern'\|3D\|Display" -A2


    sudo dmesg | grep -i nvidia


    sudo apt-get purge \*nvidia\* ; sudo apt-get install nvidia-driver-390 nvidia-settings


    sudo shutdown -r now


    sudo -H ./install-yavdr.sh


    -> Playbook läuft voll durch



    sudo shutdown -r now


    systemctl status vdr

    ● vdr.service - Video Disk Recorder

    Loaded: loaded (/lib/systemd/system/vdr.service; enabled; vendor preset: enabled)


    :) :)

    Ich hab zwar noch kein Bild (Der VDR splashscreen erscheint, dann dunkel) , aber bin definitiv einen großen Schritt weiter!^


    Und so bekommt man nvida-settings via ssh zum laufen:

    Cannot run nvidia-settings
    I'm up to setting up some mining rigs running Ubuntu. I use Nvidia GTX 970 and GTX 780 GPUs. I installed the 16.04 LTS server distro and it's working fine. I…
    askubuntu.com


    sudo nvidia-xconfig -a --cool-bits=31 --allow-empty-initial-configuration

    sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -t -q all


    Damit kommt dann auch permanent das yaVDR symbol. :)


    VG

    Ralf

    VDR - Die 'Killerapplikation' die mich zu Linux gebacht hat ;)

    Neues yaVDR HD-System ging am 20.12.2013 in Betrieb :)
    yaVDR 0.7-ansible im Aufbau ab Jan. 2024.

    3 Mal editiert, zuletzt von Ralf_D ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!