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 (+graphtftng) mit nVidia GT1030 unter Ubuntu 24.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 (+graphtftng) mit nVidia GT1030 unter Ubuntu 24.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
    http://www.easy-vdr.de

  • apt-get install vdr-plugin-softhdcuvid

    Klick für meine Hardware

    vdr1: Odroid N2+ 4GB | VDR*ELEC CE21-ng 64GB eMMC | Video über USB: 4TB SATA Rec (XFS) + 8TB SATA Archiv (exFAT) | 2x WinTV dualHD (DVB-T2/DVB-C) | IR onboard

    vdr2: Odroid N2+ 4GB | VDR*ELEC CE22-no 256GB eMMC | Video: 1TB microSD (exFAT) | 2x WinTV dualHD (DVB-T2/DVB-C) | IR onboard

    vdr3: HP ProDesk 400 G3 SFF (i3) | NVidia Quadro T400 | 2x 8GB | System: Ubuntu 24.02 LTS, yavdr ansible (vdr 2.7.3) auf 30GB mSATA SSD | Video: 3TB SATA (XFS) | 1x WinTV dualHD | IRMP RP2040 KBD

    TV: Philips 55OLED805

  • 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:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver: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:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver:Denon AVR-X2700H/Teufel-Ultima-40/5.1

    Edited once, last by pille2011 (December 8, 2022 at 9:18 AM).

  • 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 (+graphtftng) mit nVidia GT1030 unter Ubuntu 24.04

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

    VDR:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver: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 21 - xstream
    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:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver: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 21 - xstream
    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:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver: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 (+graphtftng) mit nVidia GT1030 unter Ubuntu 24.04

  • :thumbup:

    VDR:Asrock N100DC-ITX,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter, BrosTrend AX1800 WLan-Stick,yaVDR-ansible(noble) alle Updates.

    Client: Raspberry Pi 4,LibreElec-nightly

    TV =Sony KD-55AF8

    AV-Receiver: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.

    Edited 9 times, last by Ralf_D (January 16, 2024 at 1:49 AM).

  • 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
    http://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.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    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

    https://wiki.ubuntuusers.de/Grafikkarten/Nvidia/nvidia/

    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:

    https://askubuntu.com/questions/9253…nvidia-settings

    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.

    Edited 3 times, last by Ralf_D (January 16, 2024 at 5:00 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!