You are not logged in.

#1 2024-10-04 23:57:08

splurben
Member
From: Augusta, Western Australia
Registered: 2014-02-28
Posts: 41
Website

[SOLVED] mythtv SegFaults: nvidia-470xx-dkms - kernel 6.11.1-arch1-1

SOLUTION FOR ME WAS IN POST #3 IN THIS THREAD

There is a lot of helpful erudite exposition from seth including a point that I got sloppy and used sudo to run the mythfrontend in an attempt to get it running which may will have borked the system otherwise and I'm greatly appreciative of this fundamentally sane reminder.

Well, I've been debugging this for 2 days, so I only have 7 days left at this site so I'm posting now. It's an household server that also provides a MythTV entertainment centre.

I'm running a system with the same nVidia driver and nVidia card driver requirements but an older motherboard that only supports 32-bit PCIe16 v2 (MB is supposed to support V3 but doesn't on every card I've had in there).

mythtv version

 mythtv-git 34.0.r23.g9b54f1a672-1 (aur)

I'll check this post regularly. Greatlly appreciate any help, suggestions on parameters for posting, or additions for debugging.

Stats:

$ uname -a
Linux xxxxxtv 6.11.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:50 +0000 x86_64 GNU/Linux

Boot log filtered for nvdia case insensitive:
https://pastebin.com/Ptii4B45
l
Warning line during boot:

Oct 05 07:23:31 NOTREAL (udev-worker)[412]: 0000:01:00.0: Process '/usr/bin/nvidia-modprobe -c0 -u' failed with exit code 1.

Output from mythfrontend
https://pastebin.com/TBq2b0Fb

Output from

sudo lsmod | grep nv
nvidia_drm             81920  7
nvidia_uvm           2793472  0
nvidia_modeset       1511424  10 nvidia_drm
nvidia              40759296  381 nvidia_uvm,nvidia_modeset
video                  81920  3 asus_wmi,asus_nb_wmi,nvidia_modeset
nvme                   65536  3
nvme_core             253952  4 nvme
nvme_auth              24576  1 nvme_core

xorg.conf

[mythtv@NOTREAL X11]$ cat xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 470.256.02

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics LG TV"
    HorizSync       30.0 - 83.0
    VertRefresh     58.0 - 62.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GT 710"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "1920x1080 +0+0 {reflection=XY, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by splurben (2024-10-06 02:46:08)

Offline

#2 2024-10-05 06:59:36

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] mythtv SegFaults: nvidia-470xx-dkms - kernel 6.11.1-arch1-1

The xorg.conf is more or less pointless cruft (reflection and enforcing the full composition pipeline aside), you'll want to trim that down to a configlet that maybe sets the meta mode.

As for the bug, there're traces of a https://wiki.archlinux.org/title/Core_d … _core_dump in the journal greps but the grep filters away all the relevant part.
Please don't haphazardly try to sudo-fix stuff, there's a good chance to make matters worse by creating root owned files in undesired location.

For a d'oh-solution, mythtv is in the AUR, did you simply forget to rebuild it after an update?

Offline

#3 2024-10-05 11:11:34

splurben
Member
From: Augusta, Western Australia
Registered: 2014-02-28
Posts: 41
Website

Re: [SOLVED] mythtv SegFaults: nvidia-470xx-dkms - kernel 6.11.1-arch1-1

Thank you seth,

I happened upon the problem a few minutes ago. I had a bunch of old vdpau entries installed on the system. I checked on my other working system and made them match.

The things to be removed from a current install for at least nvidia-470xx are:

mesa-vdpau
libva-vdpau-driver
libvdpau-va-gl

The only module to have installed in pacman is:

libvdpau

Removing all the others made the system work with mythtv.
Still working on the:

Database schema version is 1379

error.

Marking this as solved.

seth wrote:

The xorg.conf is more or less pointless cruft (reflection and enforcing the full composition pipeline aside), you'll want to trim that down to a configlet that maybe sets the meta mode.

As for the bug, there're traces of a https://wiki.archlinux.org/title/Core_d … _core_dump in the journal greps but the grep filters away all the relevant part.
Please don't haphazardly try to sudo-fix stuff, there's a good chance to make matters worse by creating root owned files in undesired location.

For a d'oh-solution, mythtv is in the AUR, did you simply forget to rebuild it after an update?

Offline

#4 2024-10-05 12:32:42

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] mythtv SegFaults: nvidia-470xx-dkms - kernel 6.11.1-arch1-1

https://wiki.archlinux.org/title/Hardwa … ion_layers

The code for libva-vdpau-driver has not been touched for years. As a result, it crashes when running VLC or OBS with recent versions of the NVIDIA driver. [2] If you need a translation layer for NVIDIA drivers, use libva-nvidia-driver instead.

But primarily avoid VAAPI whereever you can and try to use VDPAU (provided by nvidia-470xx-utils, you don't need anything else) if possible.

Offline

#5 2024-10-06 02:34:47

splurben
Member
From: Augusta, Western Australia
Registered: 2014-02-28
Posts: 41
Website

Re: [SOLVED] mythtv SegFaults: nvidia-470xx-dkms - kernel 6.11.1-arch1-1

Thank you seth

This system hasn't been updated in years which is way there was so much clutter. I think it's safe to say that HW Accelerated nVidia isn't exactly Plug-n-Play.

I appreciate the links provided and I've also appreciated your footer links. I've employed these on two systems recently.

I've edited my post to point to the solution directly at the top and a nod to your explication.

kirk/splurbenK

Offline

Board footer

Powered by FluxBB