Mailing List Archive

mythfrontend segfaults after upgrade to debian 12 bookworm
I upgraded debian to version 12 bookworm (latest stable) this afternoon and
now mythfrontend crashes with a segmentation fault every time. I pulled
the latest source for mythtv v33-fixes and built successfully. I've tried
the --reset switch. I've removed my ~/.mythtv directory. Nothing helps.
It segfaults everytime with no useful error message.

Here is the output from launching with --verbose

mythfrontend --verbose
2023-06-23 18:41:24.471263 I Display: Not requesting EGL for vendor
'NVIDIA, 1.5'
2023-06-23 18:41:24.483818 I Setup Interrupt handler
2023-06-23 18:41:24.483821 I Setup Terminated handler
2023-06-23 18:41:24.483824 I Setup Segmentation fault handler
2023-06-23 18:41:24.483826 I Setup Aborted handler
2023-06-23 18:41:24.483829 I Setup Floating point exception handler
2023-06-23 18:41:24.483831 I Setup Illegal instruction handler
2023-06-23 18:41:24.483833 I Setup Bus error handler
2023-06-23 18:41:24.483836 I Setup Real-time signal 0 handler
2023-06-23 18:41:24.483838 I Setup Hangup handler
2023-06-23 18:41:24.483842 I Setup User defined signal 1 handler
2023-06-23 18:41:24.483844 I Setup User defined signal 2 handler
2023-06-23 18:41:24.483998 C mythfrontend version: fixes/33
[v33.1+fixes.20230623.c4b7e4c433-0ubuntu0] www.mythtv.org
2023-06-23 18:41:24.484001 C Qt version: compile: 5.15.8, runtime: 5.15.8
2023-06-23 18:41:24.484020 I Debian GNU/Linux 12 (bookworm) (x86_64)
2023-06-23 18:41:24.484021 N Enabled verbose msgs: general
2023-06-23 18:41:24.484027 N Setting Log Level to LOG_INFO
2023-06-23 18:41:24.494278 N Using runtime prefix = /usr
2023-06-23 18:41:24.494279 N Using configuration directory =
/home/ryan/.mythtv
2023-06-23 18:41:24.494292 I Assumed character encoding: en_US.UTF-8
2023-06-23 18:41:24.494298 I Added logging to the console
2023-06-23 18:41:24.494561 I Loading en_us translation for module
mythfrontend
2023-06-23 18:41:24.494722 I Empty LocalHostName. This is typical.
2023-06-23 18:41:24.494728 I Using a profile name of: 'htpc' (Usually the
same as this host's name.)
2023-06-23 18:41:24.494813 I Start up testing connections. DB
192.168.1.210, BE , attempt 0, status dbAwake, Delay: 2000
2023-06-23 18:41:26.019704 N Setting QT default locale to en_US
2023-06-23 18:41:26.019720 I Current locale en_US
2023-06-23 18:41:26.019804 N Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2023-06-23 18:41:26.045058 W ThemeHelper: No theme dir:
'/usr/share/mythtv/themes/Mythbuntu'
2023-06-23 18:41:26.045071 W ThemeHelper: No default theme dir:
'/usr/share/mythtv/themes/Mythbuntu'
2023-06-23 18:41:26.045088 E ThemeHelper: Could not find theme: Mythbuntu
- Switching to MythCenter-wide
2023-06-23 18:41:26.331026 I Power: On AC power
2023-06-23 18:41:26.331040 I Power: Supported actions:
Suspend,Hibernate,Restart,Shutdown,HybridSleep
2023-06-23 18:41:26.338910 I Listening on TCP 0.0.0.0:6547
2023-06-23 18:41:26.340235 I Listening on TCP [::]:6547
2023-06-23 18:41:26.489307 I Loading en_us translation for module
mythfrontend
2023-06-23 18:41:26.490222 W ThemeHelper: No theme dir:
'/usr/share/mythtv/themes/Mythbuntu'
2023-06-23 18:41:26.490227 W ThemeHelper: No default theme dir:
'/usr/share/mythtv/themes/Mythbuntu'
2023-06-23 18:41:26.490233 E ThemeHelper: Could not find theme: Mythbuntu
- Switching to MythCenter-wide
2023-06-23 18:41:26.495935 I Display: Found screen 'DVI-D-0'
2023-06-23 18:41:26.495944 I Display: Using screen 'DVI-D-0' (Make:
Westinghouse Digital Electronics Model: LVM-47w1-)
2023-06-23 18:41:26.495951 I Display: Qt screen pixel ratio: 1.00
2023-06-23 18:41:26.495959 I Display: Geometry: 1920x1080+0+0 Size(Qt):
1040mmx580mm
2023-06-23 18:41:26.498439 I VRR: No variable refresh rate support detected
2023-06-23 18:41:26.498462 N Display: Desktop video mode: 1920x1080
60.000Hz
2023-06-23 18:41:26.498465 N Display: Display has custom colourspace
2023-06-23 18:41:26.498476 N Display: Supported HDR formats: None
2023-06-23 18:41:26.516640 I InputHandler: Starting
2023-06-23 18:41:26.517656 E LIRC: Failed to connect to Unix socket
'/dev/lircd'
eno: No such file or directory (2)
2023-06-23 18:41:26.517691 I No joystick configuration found, not enabling
joystick control
2023-06-23 18:41:26.518013 I UDPListener: Enabling
2023-06-23 18:41:26.520642 I Binding to UDP 0.0.0.0:6948
2023-06-23 18:41:26.520678 I Binding to UDP [::]:6948
2023-06-23 18:41:26.575074 I ScreenSaverDBus: Created for DBus service:
org.freedesktop.ScreenSaver
2023-06-23 18:41:26.575531 I ScreenSaverDBus: Successfully inhibited
screensaver via org.freedesktop.ScreenSaver. cookie 32. nom nom
2023-06-23 18:41:26.575581 I ScreenSaverDBus: Screensaver uninhibited via
org.freedesktop.ScreenSaver
2023-06-23 18:41:26.578417 I Starting process manager
2023-06-23 18:41:26.578427 I Starting process signal handler
2023-06-23 18:41:26.578705 I Starting IO manager (read)
2023-06-23 18:41:26.580601 I Starting IO manager (write)
2023-06-23 18:41:26.629264 I ScreenSaverX11: DPMS is active.
2023-06-23 18:41:26.629458 I Using Frameless Window
2023-06-23 18:41:26.629458 I Using Full Screen Window
2023-06-23 18:41:26.663655 I Display: Have main widget
2023-06-23 18:41:26.663657 I Display: Have main window
2023-06-23 18:41:26.663667 I Display: Found screen 'DVI-D-0'
2023-06-23 18:41:26.781099 I OpenGL: OpenGL vendor : NVIDIA
Corporation
2023-06-23 18:41:26.781101 I OpenGL: OpenGL renderer : NVIDIA GeForce
GT 730/PCIe/SSE2
2023-06-23 18:41:26.781101 I OpenGL: OpenGL version : 4.6.0 NVIDIA
470.182.03
2023-06-23 18:41:26.781103 I OpenGL: Qt platform : xcb
2023-06-23 18:41:26.781122 I OpenGL: EGL display : No
2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL module : OpenGL (not ES)
2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL format : OpenGL 4.6
2023-06-23 18:41:26.781124 I OpenGL: Qt OpenGL surface : RGBA: 8:8:8:0
Depth: 24 Stencil: 0
2023-06-23 18:41:26.781125 I OpenGL: Max texture size : 16384
2023-06-23 18:41:26.781127 I OpenGL: Shaders :
Vertex,Fragment,Geometry,Compute
2023-06-23 18:41:26.781128 I OpenGL: 16bit framebuffers : Yes
2023-06-23 18:41:26.782170 I OpenGL: Initialised MythRenderOpenGL
2023-06-23 18:41:26.782172 I OpenGL: Using full range output
2023-06-23 18:41:26.784658 I UICache: Pruning cache directory:
/home/ryan/.mythtv/cache/remotecache
2023-06-23 18:41:26.784692 I UICache: Kept 0 files, deleted 0 files, stat
error on 0 files
2023-06-23 18:41:26.784695 I UICache: Pruning cache directory:
/home/ryan/.mythtv/cache/thumbnails
2023-06-23 18:41:26.784708 I UICache: Kept 0 files, deleted 0 files, stat
error on 0 files
2023-06-23 18:41:26.872719 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 192.168.1.210:6543 (try 1 of 1)
2023-06-23 18:41:26.874120 I MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff
2023-06-23 18:41:26.910171 E CECAdapter: Failed to find any CEC devices.
2023-06-23 18:41:26.910409 I CECAdapter: Closing down CEC.
2023-06-23 18:41:26.910439 I VideoProfile: Resetting decoder/render support
2023-06-23 18:41:26.928483 I VDPAUHelp: Supported/available VDPAU decoders:
2023-06-23 18:41:26.938508 I VDPAUHelp: MPEG1 (Max size: 4032x4048)
2023-06-23 18:41:26.938511 I VDPAUHelp: MPEG2 Simple (Max size: 4032x4048)
2023-06-23 18:41:26.938513 I VDPAUHelp: MPEG2 Main (Max size: 4032x4048)
2023-06-23 18:41:26.938516 I VDPAUHelp: MPEG4 Simple (Max size: 2048x2048)
2023-06-23 18:41:26.938518 I VDPAUHelp: MPEG4 Advanced Simple (Max size:
2048x2048)
2023-06-23 18:41:26.938520 I VDPAUHelp: VC1 Simple (Max size: 2048x2048)
2023-06-23 18:41:26.938522 I VDPAUHelp: VC1 Main (Max size: 2048x2048)
2023-06-23 18:41:26.938524 I VDPAUHelp: VC1 Advanced (Max size: 2048x2048)
2023-06-23 18:41:26.938527 I VDPAUHelp: H264 Baseline (Max size: 4032x4080)
2023-06-23 18:41:26.938529 I VDPAUHelp: H264 Main (Max size: 4032x4080)
2023-06-23 18:41:26.938531 I VDPAUHelp: H264 High (Max size: 4032x4080)
2023-06-23 18:41:26.938533 I VDPAUHelp: H264 Extended (Max size: 4032x4080)
2023-06-23 18:41:26.938535 I VDPAUHelp: H264 Constrained (Max size:
4032x4080)
2023-06-23 18:41:26.938536 I VDPAUHelp: H264 Constrained High (Max size:
4032x4080)
2023-06-23 18:41:26.938539 I VDPAUHelp: H264 High 444 (Max size: 4032x4080)
Handling Segmentation fault
Segmentation fault


_____________
Ryan Patterson
May the wings of liberty never lose a feather.
Re: mythfrontend segfaults after upgrade to debian 12 bookworm [ In reply to ]
The problem appears to be the legacy nvidia driver I'm running (my GPU is
no longer supported by the mainline driver). The build uses libvdpau-dev
which is tied to the mainline nvidia driver. But at runtime mythfrontend
talks to the legacy driver that is loaded causing the segfault.

I don't see a legacy libvdpau-dev package that will allow mythfrontend to
work with the legacy nvidia driver. So I'm stuck running with nouveau
driver until I upgrade my GPU.
_____________
Ryan Patterson
If you put the federal government in charge of the Sahara Desert, in five
years there'd be a shortage of sand. - Milton Friedman


On Fri, Jun 23, 2023 at 6:53?PM Ryan Patterson <ryan.goat@gmail.com> wrote:

> I upgraded debian to version 12 bookworm (latest stable) this afternoon
> and now mythfrontend crashes with a segmentation fault every time. I
> pulled the latest source for mythtv v33-fixes and built successfully. I've
> tried the --reset switch. I've removed my ~/.mythtv directory. Nothing
> helps. It segfaults everytime with no useful error message.
>
> Here is the output from launching with --verbose
>
> mythfrontend --verbose
> 2023-06-23 18:41:24.471263 I Display: Not requesting EGL for vendor
> 'NVIDIA, 1.5'
> 2023-06-23 18:41:24.483818 I Setup Interrupt handler
> 2023-06-23 18:41:24.483821 I Setup Terminated handler
> 2023-06-23 18:41:24.483824 I Setup Segmentation fault handler
> 2023-06-23 18:41:24.483826 I Setup Aborted handler
> 2023-06-23 18:41:24.483829 I Setup Floating point exception handler
> 2023-06-23 18:41:24.483831 I Setup Illegal instruction handler
> 2023-06-23 18:41:24.483833 I Setup Bus error handler
> 2023-06-23 18:41:24.483836 I Setup Real-time signal 0 handler
> 2023-06-23 18:41:24.483838 I Setup Hangup handler
> 2023-06-23 18:41:24.483842 I Setup User defined signal 1 handler
> 2023-06-23 18:41:24.483844 I Setup User defined signal 2 handler
> 2023-06-23 18:41:24.483998 C mythfrontend version: fixes/33
> [v33.1+fixes.20230623.c4b7e4c433-0ubuntu0] www.mythtv.org
> 2023-06-23 18:41:24.484001 C Qt version: compile: 5.15.8, runtime: 5.15.8
> 2023-06-23 18:41:24.484020 I Debian GNU/Linux 12 (bookworm) (x86_64)
> 2023-06-23 18:41:24.484021 N Enabled verbose msgs: general
> 2023-06-23 18:41:24.484027 N Setting Log Level to LOG_INFO
> 2023-06-23 18:41:24.494278 N Using runtime prefix = /usr
> 2023-06-23 18:41:24.494279 N Using configuration directory =
> /home/ryan/.mythtv
> 2023-06-23 18:41:24.494292 I Assumed character encoding: en_US.UTF-8
> 2023-06-23 18:41:24.494298 I Added logging to the console
> 2023-06-23 18:41:24.494561 I Loading en_us translation for module
> mythfrontend
> 2023-06-23 18:41:24.494722 I Empty LocalHostName. This is typical.
> 2023-06-23 18:41:24.494728 I Using a profile name of: 'htpc' (Usually the
> same as this host's name.)
> 2023-06-23 18:41:24.494813 I Start up testing connections. DB
> 192.168.1.210, BE , attempt 0, status dbAwake, Delay: 2000
> 2023-06-23 18:41:26.019704 N Setting QT default locale to en_US
> 2023-06-23 18:41:26.019720 I Current locale en_US
> 2023-06-23 18:41:26.019804 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2023-06-23 18:41:26.045058 W ThemeHelper: No theme dir:
> '/usr/share/mythtv/themes/Mythbuntu'
> 2023-06-23 18:41:26.045071 W ThemeHelper: No default theme dir:
> '/usr/share/mythtv/themes/Mythbuntu'
> 2023-06-23 18:41:26.045088 E ThemeHelper: Could not find theme: Mythbuntu
> - Switching to MythCenter-wide
> 2023-06-23 18:41:26.331026 I Power: On AC power
> 2023-06-23 18:41:26.331040 I Power: Supported actions:
> Suspend,Hibernate,Restart,Shutdown,HybridSleep
> 2023-06-23 18:41:26.338910 I Listening on TCP 0.0.0.0:6547
> 2023-06-23 18:41:26.340235 I Listening on TCP [::]:6547
> 2023-06-23 18:41:26.489307 I Loading en_us translation for module
> mythfrontend
> 2023-06-23 18:41:26.490222 W ThemeHelper: No theme dir:
> '/usr/share/mythtv/themes/Mythbuntu'
> 2023-06-23 18:41:26.490227 W ThemeHelper: No default theme dir:
> '/usr/share/mythtv/themes/Mythbuntu'
> 2023-06-23 18:41:26.490233 E ThemeHelper: Could not find theme: Mythbuntu
> - Switching to MythCenter-wide
> 2023-06-23 18:41:26.495935 I Display: Found screen 'DVI-D-0'
> 2023-06-23 18:41:26.495944 I Display: Using screen 'DVI-D-0' (Make:
> Westinghouse Digital Electronics Model: LVM-47w1-)
> 2023-06-23 18:41:26.495951 I Display: Qt screen pixel ratio: 1.00
> 2023-06-23 18:41:26.495959 I Display: Geometry: 1920x1080+0+0 Size(Qt):
> 1040mmx580mm
> 2023-06-23 18:41:26.498439 I VRR: No variable refresh rate support
> detected
> 2023-06-23 18:41:26.498462 N Display: Desktop video mode: 1920x1080
> 60.000Hz
> 2023-06-23 18:41:26.498465 N Display: Display has custom colourspace
> 2023-06-23 18:41:26.498476 N Display: Supported HDR formats: None
> 2023-06-23 18:41:26.516640 I InputHandler: Starting
> 2023-06-23 18:41:26.517656 E LIRC: Failed to connect to Unix socket
> '/dev/lircd'
> eno: No such file or directory (2)
> 2023-06-23 18:41:26.517691 I No joystick configuration found, not
> enabling joystick control
> 2023-06-23 18:41:26.518013 I UDPListener: Enabling
> 2023-06-23 18:41:26.520642 I Binding to UDP 0.0.0.0:6948
> 2023-06-23 18:41:26.520678 I Binding to UDP [::]:6948
> 2023-06-23 18:41:26.575074 I ScreenSaverDBus: Created for DBus service:
> org.freedesktop.ScreenSaver
> 2023-06-23 18:41:26.575531 I ScreenSaverDBus: Successfully inhibited
> screensaver via org.freedesktop.ScreenSaver. cookie 32. nom nom
> 2023-06-23 18:41:26.575581 I ScreenSaverDBus: Screensaver uninhibited via
> org.freedesktop.ScreenSaver
> 2023-06-23 18:41:26.578417 I Starting process manager
> 2023-06-23 18:41:26.578427 I Starting process signal handler
> 2023-06-23 18:41:26.578705 I Starting IO manager (read)
> 2023-06-23 18:41:26.580601 I Starting IO manager (write)
> 2023-06-23 18:41:26.629264 I ScreenSaverX11: DPMS is active.
> 2023-06-23 18:41:26.629458 I Using Frameless Window
> 2023-06-23 18:41:26.629458 I Using Full Screen Window
> 2023-06-23 18:41:26.663655 I Display: Have main widget
> 2023-06-23 18:41:26.663657 I Display: Have main window
> 2023-06-23 18:41:26.663667 I Display: Found screen 'DVI-D-0'
> 2023-06-23 18:41:26.781099 I OpenGL: OpenGL vendor : NVIDIA
> Corporation
> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL renderer : NVIDIA
> GeForce GT 730/PCIe/SSE2
> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL version : 4.6.0 NVIDIA
> 470.182.03
> 2023-06-23 18:41:26.781103 I OpenGL: Qt platform : xcb
> 2023-06-23 18:41:26.781122 I OpenGL: EGL display : No
> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL module : OpenGL (not
> ES)
> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL format : OpenGL 4.6
> 2023-06-23 18:41:26.781124 I OpenGL: Qt OpenGL surface : RGBA: 8:8:8:0
> Depth: 24 Stencil: 0
> 2023-06-23 18:41:26.781125 I OpenGL: Max texture size : 16384
> 2023-06-23 18:41:26.781127 I OpenGL: Shaders :
> Vertex,Fragment,Geometry,Compute
> 2023-06-23 18:41:26.781128 I OpenGL: 16bit framebuffers : Yes
> 2023-06-23 18:41:26.782170 I OpenGL: Initialised MythRenderOpenGL
> 2023-06-23 18:41:26.782172 I OpenGL: Using full range output
> 2023-06-23 18:41:26.784658 I UICache: Pruning cache directory:
> /home/ryan/.mythtv/cache/remotecache
> 2023-06-23 18:41:26.784692 I UICache: Kept 0 files, deleted 0 files, stat
> error on 0 files
> 2023-06-23 18:41:26.784695 I UICache: Pruning cache directory:
> /home/ryan/.mythtv/cache/thumbnails
> 2023-06-23 18:41:26.784708 I UICache: Kept 0 files, deleted 0 files, stat
> error on 0 files
> 2023-06-23 18:41:26.872719 I MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 192.168.1.210:6543 (try 1 of 1)
> 2023-06-23 18:41:26.874120 I MythCoreContext::CheckProtoVersion(): Using
> protocol version 91 BuzzOff
> 2023-06-23 18:41:26.910171 E CECAdapter: Failed to find any CEC devices.
> 2023-06-23 18:41:26.910409 I CECAdapter: Closing down CEC.
> 2023-06-23 18:41:26.910439 I VideoProfile: Resetting decoder/render
> support
> 2023-06-23 18:41:26.928483 I VDPAUHelp: Supported/available VDPAU
> decoders:
> 2023-06-23 18:41:26.938508 I VDPAUHelp: MPEG1 (Max size: 4032x4048)
> 2023-06-23 18:41:26.938511 I VDPAUHelp: MPEG2 Simple (Max size: 4032x4048)
> 2023-06-23 18:41:26.938513 I VDPAUHelp: MPEG2 Main (Max size: 4032x4048)
> 2023-06-23 18:41:26.938516 I VDPAUHelp: MPEG4 Simple (Max size: 2048x2048)
> 2023-06-23 18:41:26.938518 I VDPAUHelp: MPEG4 Advanced Simple (Max size:
> 2048x2048)
> 2023-06-23 18:41:26.938520 I VDPAUHelp: VC1 Simple (Max size: 2048x2048)
> 2023-06-23 18:41:26.938522 I VDPAUHelp: VC1 Main (Max size: 2048x2048)
> 2023-06-23 18:41:26.938524 I VDPAUHelp: VC1 Advanced (Max size: 2048x2048)
> 2023-06-23 18:41:26.938527 I VDPAUHelp: H264 Baseline (Max size:
> 4032x4080)
> 2023-06-23 18:41:26.938529 I VDPAUHelp: H264 Main (Max size: 4032x4080)
> 2023-06-23 18:41:26.938531 I VDPAUHelp: H264 High (Max size: 4032x4080)
> 2023-06-23 18:41:26.938533 I VDPAUHelp: H264 Extended (Max size:
> 4032x4080)
> 2023-06-23 18:41:26.938535 I VDPAUHelp: H264 Constrained (Max size:
> 4032x4080)
> 2023-06-23 18:41:26.938536 I VDPAUHelp: H264 Constrained High (Max size:
> 4032x4080)
> 2023-06-23 18:41:26.938539 I VDPAUHelp: H264 High 444 (Max size:
> 4032x4080)
> Handling Segmentation fault
> Segmentation fault
>
>
> _____________
> Ryan Patterson
> May the wings of liberty never lose a feather.
>
Re: mythfrontend segfaults after upgrade to debian 12 bookworm [ In reply to ]
On Fri, 23 Jun 2023 21:33:02 -0400, you wrote:

>The problem appears to be the legacy nvidia driver I'm running (my GPU is
>no longer supported by the mainline driver). The build uses libvdpau-dev
>which is tied to the mainline nvidia driver. But at runtime mythfrontend
>talks to the legacy driver that is loaded causing the segfault.
>
>I don't see a legacy libvdpau-dev package that will allow mythfrontend to
>work with the legacy nvidia driver. So I'm stuck running with nouveau
>driver until I upgrade my GPU.

In Ubuntu, segfaults normally create a .crash file containing a stack
trace in /var/crash, which can help work out where the problem is.
Debian may do something similar.

I had a similar driver problem a while ago - I was running an Nvidia
GT220 card, and it got to the point where there were no longer any
packaged drivers to run it. That was very, very annoying, as the card
was fine (it was a silent card with no fans, so it will likely keep
working for a very long time). But I decided that fighting that fight
was too much work, and just bought an Nvidia GT1030 fanless card. That
was a good decision, as the new card also does H.265 and handles
downscaling 4K video for my 1080p TV.

I do wish that Nvidia would now do an updated chipset that can be run
fanless like the GT1030, and would handle the AV1 codec. It is likely
that more and more downloaded video will be AV1 as it is completely
free of patents and licensing and is better than H.265.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfrontend segfaults after upgrade to debian 12 bookworm [ In reply to ]
On Sat, 24 Jun 2023 at 11:35, Ryan Patterson <ryan.goat@gmail.com> wrote:
>
> The problem appears to be the legacy nvidia driver I'm running (my GPU is no longer supported by the mainline driver). The build uses libvdpau-dev which is tied to the mainline nvidia driver. But at runtime mythfrontend talks to the legacy driver that is loaded causing the segfault.
>
> I don't see a legacy libvdpau-dev package that will allow mythfrontend to work with the legacy nvidia driver. So I'm stuck running with nouveau driver until I upgrade my GPU.
> _____________
> Ryan Patterson
> If you put the federal government in charge of the Sahara Desert, in five years there'd be a shortage of sand. - Milton Friedman
>
>
> On Fri, Jun 23, 2023 at 6:53?PM Ryan Patterson <ryan.goat@gmail.com> wrote:
>>
>> I upgraded debian to version 12 bookworm (latest stable) this afternoon and now mythfrontend crashes with a segmentation fault every time. I pulled the latest source for mythtv v33-fixes and built successfully. I've tried the --reset switch. I've removed my ~/.mythtv directory. Nothing helps. It segfaults everytime with no useful error message.
>>
>> Here is the output from launching with --verbose
>>
>> mythfrontend --verbose
>> 2023-06-23 18:41:24.471263 I Display: Not requesting EGL for vendor 'NVIDIA, 1.5'
>> 2023-06-23 18:41:24.483818 I Setup Interrupt handler
>> 2023-06-23 18:41:24.483821 I Setup Terminated handler
>> 2023-06-23 18:41:24.483824 I Setup Segmentation fault handler
>> 2023-06-23 18:41:24.483826 I Setup Aborted handler
>> 2023-06-23 18:41:24.483829 I Setup Floating point exception handler
>> 2023-06-23 18:41:24.483831 I Setup Illegal instruction handler
>> 2023-06-23 18:41:24.483833 I Setup Bus error handler
>> 2023-06-23 18:41:24.483836 I Setup Real-time signal 0 handler
>> 2023-06-23 18:41:24.483838 I Setup Hangup handler
>> 2023-06-23 18:41:24.483842 I Setup User defined signal 1 handler
>> 2023-06-23 18:41:24.483844 I Setup User defined signal 2 handler
>> 2023-06-23 18:41:24.483998 C mythfrontend version: fixes/33 [v33.1+fixes.20230623.c4b7e4c433-0ubuntu0] www.mythtv.org
>> 2023-06-23 18:41:24.484001 C Qt version: compile: 5.15.8, runtime: 5.15.8
>> 2023-06-23 18:41:24.484020 I Debian GNU/Linux 12 (bookworm) (x86_64)
>> 2023-06-23 18:41:24.484021 N Enabled verbose msgs: general
>> 2023-06-23 18:41:24.484027 N Setting Log Level to LOG_INFO
>> 2023-06-23 18:41:24.494278 N Using runtime prefix = /usr
>> 2023-06-23 18:41:24.494279 N Using configuration directory = /home/ryan/.mythtv
>> 2023-06-23 18:41:24.494292 I Assumed character encoding: en_US.UTF-8
>> 2023-06-23 18:41:24.494298 I Added logging to the console
>> 2023-06-23 18:41:24.494561 I Loading en_us translation for module mythfrontend
>> 2023-06-23 18:41:24.494722 I Empty LocalHostName. This is typical.
>> 2023-06-23 18:41:24.494728 I Using a profile name of: 'htpc' (Usually the same as this host's name.)
>> 2023-06-23 18:41:24.494813 I Start up testing connections. DB 192.168.1.210, BE , attempt 0, status dbAwake, Delay: 2000
>> 2023-06-23 18:41:26.019704 N Setting QT default locale to en_US
>> 2023-06-23 18:41:26.019720 I Current locale en_US
>> 2023-06-23 18:41:26.019804 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
>> 2023-06-23 18:41:26.045058 W ThemeHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>> 2023-06-23 18:41:26.045071 W ThemeHelper: No default theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>> 2023-06-23 18:41:26.045088 E ThemeHelper: Could not find theme: Mythbuntu - Switching to MythCenter-wide
>> 2023-06-23 18:41:26.331026 I Power: On AC power
>> 2023-06-23 18:41:26.331040 I Power: Supported actions: Suspend,Hibernate,Restart,Shutdown,HybridSleep
>> 2023-06-23 18:41:26.338910 I Listening on TCP 0.0.0.0:6547
>> 2023-06-23 18:41:26.340235 I Listening on TCP [::]:6547
>> 2023-06-23 18:41:26.489307 I Loading en_us translation for module mythfrontend
>> 2023-06-23 18:41:26.490222 W ThemeHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>> 2023-06-23 18:41:26.490227 W ThemeHelper: No default theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>> 2023-06-23 18:41:26.490233 E ThemeHelper: Could not find theme: Mythbuntu - Switching to MythCenter-wide
>> 2023-06-23 18:41:26.495935 I Display: Found screen 'DVI-D-0'
>> 2023-06-23 18:41:26.495944 I Display: Using screen 'DVI-D-0' (Make: Westinghouse Digital Electronics Model: LVM-47w1-)
>> 2023-06-23 18:41:26.495951 I Display: Qt screen pixel ratio: 1.00
>> 2023-06-23 18:41:26.495959 I Display: Geometry: 1920x1080+0+0 Size(Qt): 1040mmx580mm
>> 2023-06-23 18:41:26.498439 I VRR: No variable refresh rate support detected
>> 2023-06-23 18:41:26.498462 N Display: Desktop video mode: 1920x1080 60.000Hz
>> 2023-06-23 18:41:26.498465 N Display: Display has custom colourspace
>> 2023-06-23 18:41:26.498476 N Display: Supported HDR formats: None
>> 2023-06-23 18:41:26.516640 I InputHandler: Starting
>> 2023-06-23 18:41:26.517656 E LIRC: Failed to connect to Unix socket '/dev/lircd'
>> eno: No such file or directory (2)
>> 2023-06-23 18:41:26.517691 I No joystick configuration found, not enabling joystick control
>> 2023-06-23 18:41:26.518013 I UDPListener: Enabling
>> 2023-06-23 18:41:26.520642 I Binding to UDP 0.0.0.0:6948
>> 2023-06-23 18:41:26.520678 I Binding to UDP [::]:6948
>> 2023-06-23 18:41:26.575074 I ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
>> 2023-06-23 18:41:26.575531 I ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 32. nom nom
>> 2023-06-23 18:41:26.575581 I ScreenSaverDBus: Screensaver uninhibited via org.freedesktop.ScreenSaver
>> 2023-06-23 18:41:26.578417 I Starting process manager
>> 2023-06-23 18:41:26.578427 I Starting process signal handler
>> 2023-06-23 18:41:26.578705 I Starting IO manager (read)
>> 2023-06-23 18:41:26.580601 I Starting IO manager (write)
>> 2023-06-23 18:41:26.629264 I ScreenSaverX11: DPMS is active.
>> 2023-06-23 18:41:26.629458 I Using Frameless Window
>> 2023-06-23 18:41:26.629458 I Using Full Screen Window
>> 2023-06-23 18:41:26.663655 I Display: Have main widget
>> 2023-06-23 18:41:26.663657 I Display: Have main window
>> 2023-06-23 18:41:26.663667 I Display: Found screen 'DVI-D-0'
>> 2023-06-23 18:41:26.781099 I OpenGL: OpenGL vendor : NVIDIA Corporation
>> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL renderer : NVIDIA GeForce GT 730/PCIe/SSE2
>> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL version : 4.6.0 NVIDIA 470.182.03
>> 2023-06-23 18:41:26.781103 I OpenGL: Qt platform : xcb
>> 2023-06-23 18:41:26.781122 I OpenGL: EGL display : No
>> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL module : OpenGL (not ES)
>> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL format : OpenGL 4.6
>> 2023-06-23 18:41:26.781124 I OpenGL: Qt OpenGL surface : RGBA: 8:8:8:0 Depth: 24 Stencil: 0
>> 2023-06-23 18:41:26.781125 I OpenGL: Max texture size : 16384
>> 2023-06-23 18:41:26.781127 I OpenGL: Shaders : Vertex,Fragment,Geometry,Compute
>> 2023-06-23 18:41:26.781128 I OpenGL: 16bit framebuffers : Yes
>> 2023-06-23 18:41:26.782170 I OpenGL: Initialised MythRenderOpenGL
>> 2023-06-23 18:41:26.782172 I OpenGL: Using full range output
>> 2023-06-23 18:41:26.784658 I UICache: Pruning cache directory: /home/ryan/.mythtv/cache/remotecache
>> 2023-06-23 18:41:26.784692 I UICache: Kept 0 files, deleted 0 files, stat error on 0 files
>> 2023-06-23 18:41:26.784695 I UICache: Pruning cache directory: /home/ryan/.mythtv/cache/thumbnails
>> 2023-06-23 18:41:26.784708 I UICache: Kept 0 files, deleted 0 files, stat error on 0 files
>> 2023-06-23 18:41:26.872719 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.210:6543 (try 1 of 1)
>> 2023-06-23 18:41:26.874120 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
>> 2023-06-23 18:41:26.910171 E CECAdapter: Failed to find any CEC devices.
>> 2023-06-23 18:41:26.910409 I CECAdapter: Closing down CEC.
>> 2023-06-23 18:41:26.910439 I VideoProfile: Resetting decoder/render support
>> 2023-06-23 18:41:26.928483 I VDPAUHelp: Supported/available VDPAU decoders:
>> 2023-06-23 18:41:26.938508 I VDPAUHelp: MPEG1 (Max size: 4032x4048)
>> 2023-06-23 18:41:26.938511 I VDPAUHelp: MPEG2 Simple (Max size: 4032x4048)
>> 2023-06-23 18:41:26.938513 I VDPAUHelp: MPEG2 Main (Max size: 4032x4048)
>> 2023-06-23 18:41:26.938516 I VDPAUHelp: MPEG4 Simple (Max size: 2048x2048)
>> 2023-06-23 18:41:26.938518 I VDPAUHelp: MPEG4 Advanced Simple (Max size: 2048x2048)
>> 2023-06-23 18:41:26.938520 I VDPAUHelp: VC1 Simple (Max size: 2048x2048)
>> 2023-06-23 18:41:26.938522 I VDPAUHelp: VC1 Main (Max size: 2048x2048)
>> 2023-06-23 18:41:26.938524 I VDPAUHelp: VC1 Advanced (Max size: 2048x2048)
>> 2023-06-23 18:41:26.938527 I VDPAUHelp: H264 Baseline (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938529 I VDPAUHelp: H264 Main (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938531 I VDPAUHelp: H264 High (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938533 I VDPAUHelp: H264 Extended (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938535 I VDPAUHelp: H264 Constrained (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938536 I VDPAUHelp: H264 Constrained High (Max size: 4032x4080)
>> 2023-06-23 18:41:26.938539 I VDPAUHelp: H264 High 444 (Max size: 4032x4080)
>> Handling Segmentation fault
>> Segmentation fault
>>
>>
>> _____________
>> Ryan Patterson
>> May the wings of liberty never lose a feather.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Hello,

i had a similar problem this week and i use a Gt1030 card.
I am not sure perfectly what fixed it, but i uninstalled all my VDPAU
drivers and nvidia drivers and then re-installed them and then it
worked fine again. Not sure if that may help with you if you have
legacy drivers?

Simon
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfrontend segfaults after upgrade to debian 12 bookworm [ In reply to ]
On 02/07/2023 02:18, Simon Kranz wrote:
> On Sat, 24 Jun 2023 at 11:35, Ryan Patterson <ryan.goat@gmail.com> wrote:
>>
>> The problem appears to be the legacy nvidia driver I'm running (my GPU is no longer supported by the mainline driver). The build uses libvdpau-dev which is tied to the mainline nvidia driver. But at runtime mythfrontend talks to the legacy driver that is loaded causing the segfault.
>>
>> I don't see a legacy libvdpau-dev package that will allow mythfrontend to work with the legacy nvidia driver. So I'm stuck running with nouveau driver until I upgrade my GPU.
>> _____________
>> Ryan Patterson
>> If you put the federal government in charge of the Sahara Desert, in five years there'd be a shortage of sand. - Milton Friedman
>>
>>
>> On Fri, Jun 23, 2023 at 6:53?PM Ryan Patterson <ryan.goat@gmail.com> wrote:
>>>
>>> I upgraded debian to version 12 bookworm (latest stable) this afternoon and now mythfrontend crashes with a segmentation fault every time. I pulled the latest source for mythtv v33-fixes and built successfully. I've tried the --reset switch. I've removed my ~/.mythtv directory. Nothing helps. It segfaults everytime with no useful error message.
>>>
>>> Here is the output from launching with --verbose
>>>
>>> mythfrontend --verbose
>>> 2023-06-23 18:41:24.471263 I Display: Not requesting EGL for vendor 'NVIDIA, 1.5'
>>> 2023-06-23 18:41:24.483818 I Setup Interrupt handler
>>> 2023-06-23 18:41:24.483821 I Setup Terminated handler
>>> 2023-06-23 18:41:24.483824 I Setup Segmentation fault handler
>>> 2023-06-23 18:41:24.483826 I Setup Aborted handler
>>> 2023-06-23 18:41:24.483829 I Setup Floating point exception handler
>>> 2023-06-23 18:41:24.483831 I Setup Illegal instruction handler
>>> 2023-06-23 18:41:24.483833 I Setup Bus error handler
>>> 2023-06-23 18:41:24.483836 I Setup Real-time signal 0 handler
>>> 2023-06-23 18:41:24.483838 I Setup Hangup handler
>>> 2023-06-23 18:41:24.483842 I Setup User defined signal 1 handler
>>> 2023-06-23 18:41:24.483844 I Setup User defined signal 2 handler
>>> 2023-06-23 18:41:24.483998 C mythfrontend version: fixes/33 [v33.1+fixes.20230623.c4b7e4c433-0ubuntu0] www.mythtv.org
>>> 2023-06-23 18:41:24.484001 C Qt version: compile: 5.15.8, runtime: 5.15.8
>>> 2023-06-23 18:41:24.484020 I Debian GNU/Linux 12 (bookworm) (x86_64)
>>> 2023-06-23 18:41:24.484021 N Enabled verbose msgs: general
>>> 2023-06-23 18:41:24.484027 N Setting Log Level to LOG_INFO
>>> 2023-06-23 18:41:24.494278 N Using runtime prefix = /usr
>>> 2023-06-23 18:41:24.494279 N Using configuration directory = /home/ryan/.mythtv
>>> 2023-06-23 18:41:24.494292 I Assumed character encoding: en_US.UTF-8
>>> 2023-06-23 18:41:24.494298 I Added logging to the console
>>> 2023-06-23 18:41:24.494561 I Loading en_us translation for module mythfrontend
>>> 2023-06-23 18:41:24.494722 I Empty LocalHostName. This is typical.
>>> 2023-06-23 18:41:24.494728 I Using a profile name of: 'htpc' (Usually the same as this host's name.)
>>> 2023-06-23 18:41:24.494813 I Start up testing connections. DB 192.168.1.210, BE , attempt 0, status dbAwake, Delay: 2000
>>> 2023-06-23 18:41:26.019704 N Setting QT default locale to en_US
>>> 2023-06-23 18:41:26.019720 I Current locale en_US
>>> 2023-06-23 18:41:26.019804 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
>>> 2023-06-23 18:41:26.045058 W ThemeHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>>> 2023-06-23 18:41:26.045071 W ThemeHelper: No default theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>>> 2023-06-23 18:41:26.045088 E ThemeHelper: Could not find theme: Mythbuntu - Switching to MythCenter-wide
>>> 2023-06-23 18:41:26.331026 I Power: On AC power
>>> 2023-06-23 18:41:26.331040 I Power: Supported actions: Suspend,Hibernate,Restart,Shutdown,HybridSleep
>>> 2023-06-23 18:41:26.338910 I Listening on TCP 0.0.0.0:6547
>>> 2023-06-23 18:41:26.340235 I Listening on TCP [::]:6547
>>> 2023-06-23 18:41:26.489307 I Loading en_us translation for module mythfrontend
>>> 2023-06-23 18:41:26.490222 W ThemeHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>>> 2023-06-23 18:41:26.490227 W ThemeHelper: No default theme dir: '/usr/share/mythtv/themes/Mythbuntu'
>>> 2023-06-23 18:41:26.490233 E ThemeHelper: Could not find theme: Mythbuntu - Switching to MythCenter-wide
>>> 2023-06-23 18:41:26.495935 I Display: Found screen 'DVI-D-0'
>>> 2023-06-23 18:41:26.495944 I Display: Using screen 'DVI-D-0' (Make: Westinghouse Digital Electronics Model: LVM-47w1-)
>>> 2023-06-23 18:41:26.495951 I Display: Qt screen pixel ratio: 1.00
>>> 2023-06-23 18:41:26.495959 I Display: Geometry: 1920x1080+0+0 Size(Qt): 1040mmx580mm
>>> 2023-06-23 18:41:26.498439 I VRR: No variable refresh rate support detected
>>> 2023-06-23 18:41:26.498462 N Display: Desktop video mode: 1920x1080 60.000Hz
>>> 2023-06-23 18:41:26.498465 N Display: Display has custom colourspace
>>> 2023-06-23 18:41:26.498476 N Display: Supported HDR formats: None
>>> 2023-06-23 18:41:26.516640 I InputHandler: Starting
>>> 2023-06-23 18:41:26.517656 E LIRC: Failed to connect to Unix socket '/dev/lircd'
>>> eno: No such file or directory (2)
>>> 2023-06-23 18:41:26.517691 I No joystick configuration found, not enabling joystick control
>>> 2023-06-23 18:41:26.518013 I UDPListener: Enabling
>>> 2023-06-23 18:41:26.520642 I Binding to UDP 0.0.0.0:6948
>>> 2023-06-23 18:41:26.520678 I Binding to UDP [::]:6948
>>> 2023-06-23 18:41:26.575074 I ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
>>> 2023-06-23 18:41:26.575531 I ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 32. nom nom
>>> 2023-06-23 18:41:26.575581 I ScreenSaverDBus: Screensaver uninhibited via org.freedesktop.ScreenSaver
>>> 2023-06-23 18:41:26.578417 I Starting process manager
>>> 2023-06-23 18:41:26.578427 I Starting process signal handler
>>> 2023-06-23 18:41:26.578705 I Starting IO manager (read)
>>> 2023-06-23 18:41:26.580601 I Starting IO manager (write)
>>> 2023-06-23 18:41:26.629264 I ScreenSaverX11: DPMS is active.
>>> 2023-06-23 18:41:26.629458 I Using Frameless Window
>>> 2023-06-23 18:41:26.629458 I Using Full Screen Window
>>> 2023-06-23 18:41:26.663655 I Display: Have main widget
>>> 2023-06-23 18:41:26.663657 I Display: Have main window
>>> 2023-06-23 18:41:26.663667 I Display: Found screen 'DVI-D-0'
>>> 2023-06-23 18:41:26.781099 I OpenGL: OpenGL vendor : NVIDIA Corporation
>>> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL renderer : NVIDIA GeForce GT 730/PCIe/SSE2
>>> 2023-06-23 18:41:26.781101 I OpenGL: OpenGL version : 4.6.0 NVIDIA 470.182.03
>>> 2023-06-23 18:41:26.781103 I OpenGL: Qt platform : xcb
>>> 2023-06-23 18:41:26.781122 I OpenGL: EGL display : No
>>> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL module : OpenGL (not ES)
>>> 2023-06-23 18:41:26.781123 I OpenGL: Qt OpenGL format : OpenGL 4.6
>>> 2023-06-23 18:41:26.781124 I OpenGL: Qt OpenGL surface : RGBA: 8:8:8:0 Depth: 24 Stencil: 0
>>> 2023-06-23 18:41:26.781125 I OpenGL: Max texture size : 16384
>>> 2023-06-23 18:41:26.781127 I OpenGL: Shaders : Vertex,Fragment,Geometry,Compute
>>> 2023-06-23 18:41:26.781128 I OpenGL: 16bit framebuffers : Yes
>>> 2023-06-23 18:41:26.782170 I OpenGL: Initialised MythRenderOpenGL
>>> 2023-06-23 18:41:26.782172 I OpenGL: Using full range output
>>> 2023-06-23 18:41:26.784658 I UICache: Pruning cache directory: /home/ryan/.mythtv/cache/remotecache
>>> 2023-06-23 18:41:26.784692 I UICache: Kept 0 files, deleted 0 files, stat error on 0 files
>>> 2023-06-23 18:41:26.784695 I UICache: Pruning cache directory: /home/ryan/.mythtv/cache/thumbnails
>>> 2023-06-23 18:41:26.784708 I UICache: Kept 0 files, deleted 0 files, stat error on 0 files
>>> 2023-06-23 18:41:26.872719 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.210:6543 (try 1 of 1)
>>> 2023-06-23 18:41:26.874120 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
>>> 2023-06-23 18:41:26.910171 E CECAdapter: Failed to find any CEC devices.
>>> 2023-06-23 18:41:26.910409 I CECAdapter: Closing down CEC.
>>> 2023-06-23 18:41:26.910439 I VideoProfile: Resetting decoder/render support
>>> 2023-06-23 18:41:26.928483 I VDPAUHelp: Supported/available VDPAU decoders:
>>> 2023-06-23 18:41:26.938508 I VDPAUHelp: MPEG1 (Max size: 4032x4048)
>>> 2023-06-23 18:41:26.938511 I VDPAUHelp: MPEG2 Simple (Max size: 4032x4048)
>>> 2023-06-23 18:41:26.938513 I VDPAUHelp: MPEG2 Main (Max size: 4032x4048)
>>> 2023-06-23 18:41:26.938516 I VDPAUHelp: MPEG4 Simple (Max size: 2048x2048)
>>> 2023-06-23 18:41:26.938518 I VDPAUHelp: MPEG4 Advanced Simple (Max size: 2048x2048)
>>> 2023-06-23 18:41:26.938520 I VDPAUHelp: VC1 Simple (Max size: 2048x2048)
>>> 2023-06-23 18:41:26.938522 I VDPAUHelp: VC1 Main (Max size: 2048x2048)
>>> 2023-06-23 18:41:26.938524 I VDPAUHelp: VC1 Advanced (Max size: 2048x2048)
>>> 2023-06-23 18:41:26.938527 I VDPAUHelp: H264 Baseline (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938529 I VDPAUHelp: H264 Main (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938531 I VDPAUHelp: H264 High (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938533 I VDPAUHelp: H264 Extended (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938535 I VDPAUHelp: H264 Constrained (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938536 I VDPAUHelp: H264 Constrained High (Max size: 4032x4080)
>>> 2023-06-23 18:41:26.938539 I VDPAUHelp: H264 High 444 (Max size: 4032x4080)
>>> Handling Segmentation fault
>>> Segmentation fault
>>>
>
> i had a similar problem this week and i use a Gt1030 card.
> I am not sure perfectly what fixed it, but i uninstalled all my VDPAU
> drivers and nvidia drivers and then re-installed them and then it
> worked fine again. Not sure if that may help with you if you have
> legacy drivers?
>
A similar problem, but with a different reason!

I did a fresh install[1] of Debian 12 with mythtv-backend from the deb-multimedia repo; that
executed fine.

To test the frontend I upgraded[2] a multi-purpose test host I have with Debian 12, added the
deb-multimedia repo and got seg faults on every run of the remote front end. Specifically, the menus
operated fine but play did not. This host uses Intel graphics so I knew that it was unlikely to be a
driver issue.

Eventually I realised that I had it still plugged into the wrong subnet! All my myth hardware runs
on a dedicated subnet to keep the traffic away from the other hosts and gear. I had forgotten to
move the test host before I upgraded it. I shut the box down, moved the patch cable, rebooted and it
all burst back into life.

I have /no idea/ why that should have made a difference.

[1] I found a wrinkle with the .service file for mythtv-backend: It assumes that the installed $HOME
directory is always /var/lib/mythtv; if you choose to create your mythtv user beforehand, it will
have a $HOME of /home/mythtv. Result: config files never found, NO useful error message. I had to
create a systemd override file to specify the correct $HOME directory.

[2] Never again! Upgrading should have been a simple experience but was anything but. Endless rounds
of --fix-broken and --fix-missing and there's probably still a load of cruft hanging about to trap
the unwary. Fixing gstreamer seems to be the worst problem, conflicts with deb-multimedia versions
caused most of the failures.

My usual policy is to back up, find out what was installed and do a fresh install, saving /home.
Works every time and you are guaranteed a clean machine.

--

Mike Perkins


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfrontend segfaults after upgrade to debian 12 bookworm [ In reply to ]
> >
> A similar problem, but with a different reason!
>
> I did a fresh install[1] of Debian 12 with mythtv-backend from the deb-multimedia repo; that
> executed fine.

i have diff machines for backend and frontend. Backend worked ok like
it did for you.
(my mythtv user has /var/lib/mythtv $HOME)

>
> To test the frontend I upgraded[2] a multi-purpose test host I have with Debian 12, added the
> deb-multimedia repo and got seg faults on every run of the remote front end. Specifically, the menus
> operated fine but play did not. This host uses Intel graphics so I knew that it was unlikely to be a
> driver issue.
>

I have three separate frontends in addition to the backend.
On the frontend that i had an issue, my seg faults were always at
startup and my log was basically the same as the original poster. I
couldn't even get to menus.
Funnily, i think my other two frontends are still on v32 and not even
v33 and they still work fine to read v33 backend.

> [2] Never again! Upgrading should have been a simple experience but was anything but. Endless rounds
> of --fix-broken and --fix-missing and there's probably still a load of cruft hanging about to trap
> the unwary. Fixing gstreamer seems to be the worst problem, conflicts with deb-multimedia versions
> caused most of the failures.
>
> My usual policy is to back up, find out what was installed and do a fresh install, saving /home.
> Works every time and you are guaranteed a clean machine.
>

I agree, upgrades are always a bit more complicated with
deb-multimedia. But i found that if i change the sources of main
debian and DMO to the new version at the same time, it seemed to work
better.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org