Mailing List Archive

Mythfrontend (30) fails to start on Debian 10
Hi,

I've tried asking this on the forums but nobody's biting, maybe someone
in here can help.

I'm currently updating my MythTV install. I run separate back and
frontends. Both on Debian, previously Stretch, now Buster.

The backend has updated no problem. The frontend not so much.

I run the frontend netbooted and am currently trying to get it running
in KVM prior to deploying.

Mythfrontend is failing to start showing error "LLVM ERROR: out of
memory" in the output.

My v28 frontend starts fine on KVM.

I'm not finding anything useful on google on this error. I've allocated
8G in KVM and only around 512MB appears to be in use. I've also
allocated a swap disk though that made no difference.

I'm using mythtv from the deb-multimedia repo.

Any ideas what the problem could be?

2020-10-21 16:08:41.145157 I Setup Interrupt handler
2020-10-21 16:08:41.145773 I Setup Terminated handler
2020-10-21 16:08:41.145937 I Setup Segmentation fault handler
2020-10-21 16:08:41.146004 I Setup Aborted handler
2020-10-21 16:08:41.146062 I Setup Bus error handler
2020-10-21 16:08:41.146123 I Setup Floating point exception handler
2020-10-21 16:08:41.146186 I Setup Illegal instruction handler
2020-10-21 16:08:41.146444 I Setup Real-time signal 0 handler
2020-10-21 16:08:41.146573 I Setup User defined signal 1 handler
2020-10-21 16:08:41.146648 I Setup User defined signal 2 handler
2020-10-21 16:08:41.146715 I Setup Hangup handler
2020-10-21 16:08:41.149482 C mythfrontend version: [v30.0] www.mythtv.org
2020-10-21 16:08:41.149629 C Qt version: compile: 5.11.3, runtime: 5.11.3
2020-10-21 16:08:41.149712 N Enabled verbose msgs: general
2020-10-21 16:08:41.150119 N Setting Log Level to LOG_INFO
2020-10-21 16:08:41.165684 I MythUIHelper: Overriding GUI size:
width=800 height=600
2020-10-21 16:08:41.168001 N Using runtime prefix = /usr
2020-10-21 16:08:41.168133 N Using configuration directory =
/home/dee/.mythtv
2020-10-21 16:08:41.170190 I Assumed character encoding: en_GB.UTF-8
2020-10-21 16:08:41.171825 I Added logging to the console
2020-10-21 16:08:41.200388 I Loading en_gb translation for module
mythfrontend
2020-10-21 16:08:41.213001 I Empty LocalHostName. This is typical.
2020-10-21 16:08:41.213127 I Using a profile name of: 'xe2' (Usually
the same as this host's name.)
2020-10-21 16:08:41.214391 I Start up testing connections. DB
192.168.0.250, BE , attempt 0, status dbAwake, Delay: 2000
2020-10-21 16:08:42.559851 N Setting QT default locale to en_GB
2020-10-21 16:08:42.560122 I Current locale en_GB
2020-10-21 16:08:42.560920 N Reading locale defaults from
/usr/share/mythtv//locales/en_gb.xml
2020-10-21 16:08:42.668744 I Starting IO manager (read)
2020-10-21 16:08:42.669951 I Starting process signal handler
2020-10-21 16:08:42.671649 I Starting IO manager (write)
2020-10-21 16:08:42.672090 I Starting process manager
2020-10-21 16:08:42.736469 I ScreenSaverX11Private: DPMS is not supported.
2020-10-21 16:08:42.886845 N Desktop video mode: 1024x768 59.949 Hz
2020-10-21 16:08:43.076487 I Listening on TCP 0.0.0.0:6547
2020-10-21 16:08:43.080041 I Listening on TCP [::]:6547
2020-10-21 16:08:46.579155 I Loading en_gb translation for module
mythfrontend
2020-10-21 16:08:46.611556 E LIRC: Failed to connect to Unix socket
'/var/run/lirc/lircd'
eno: No such file or directory (2)
2020-10-21 16:08:46.612249 I No joystick configuration found, not
enabling joystick control
2020-10-21 16:08:46.857292 E CECAdapter: Failed to find any CEC devices.
2020-10-21 16:08:47.364253 I CECAdapter: Closing down CEC.
2020-10-21 16:08:47.365672 I UDPListener: Enabling
2020-10-21 16:08:47.375459 I Binding to UDP 0.0.0.0:0
2020-10-21 16:08:47.376336 I Binding to UDP [::]:0
2020-10-21 16:08:47.494526 I Using Frameless Window
2020-10-21 16:08:47.498769 I UI Screen Resolution: 800 x 600
2020-10-21 16:08:51.658720 W OpenGL: Could not determine whether Sync
to VBlank is enabled.
2020-10-21 16:08:51.939781 I Trying the OpenGL 2.0 render
2020-10-21 16:08:51.947043 I OpenGL painter using existing OpenGL context.
2020-10-21 16:08:52.082512 I OpenGL2: GLSL supported
2020-10-21 16:08:52.083352 I OpenGL: OpenGL vendor : VMware, Inc.
2020-10-21 16:08:52.083474 I OpenGL: OpenGL renderer: llvmpipe (LLVM
7.0, 128 bits)
2020-10-21 16:08:52.083582 I OpenGL: OpenGL version : 3.1 Mesa 18.3.6
2020-10-21 16:08:52.083705 I OpenGL: Max texture size: 8192 x 8192
2020-10-21 16:08:52.083805 I OpenGL: Max texture units: 8
2020-10-21 16:08:52.083913 I OpenGL: Direct rendering: Yes
2020-10-21 16:08:52.084055 I OpenGL: Extensions Supported: 3e9b
2020-10-21 16:08:52.084145 I OpenGL: PixelBufferObject support available
2020-10-21 16:08:52.266730 I OpenGL: Initialised MythRenderOpenGL
2020-10-21 16:08:52.285042 I MythUIHelper: Pruning cache directory:
/home/dee/.mythtv/cache/remotecache
2020-10-21 16:08:52.285932 I MythUIHelper: Kept 0 files, deleted 0
files, stat error on 0 files
2020-10-21 16:08:52.286058 I MythUIHelper: Pruning cache directory:
/home/dee/.mythtv/cache/thumbnails
2020-10-21 16:08:52.286365 I MythUIHelper: Kept 0 files, deleted 0
files, stat error on 0 files
LLVM ERROR: out of memory
2020-10-21 16:08:52.941108 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 192.168.0.250:6543 (try 1 of 1)
2020-10-21 16:08:52.960575 I MythCoreContext::CheckProtoVersion():
Using protocol version 91 BuzzOff
2020-10-21 16:08:53.326401 E RAOP Device: Aborting startup - no key found.
2020-10-21 16:08:53.344755 I AirPlay: Created airplay objects.
2020-10-21 16:08:53.352445 I Listening on TCP 0.0.0.0:5100
2020-10-21 16:08:53.352855 I Listening on TCP [::]:5100
2020-10-21 16:08:53.401391 I Current MythTV Schema Version
(DBSchemaVer): 1350
Handling Aborted


--
Cheers,

David







_______________________________________________
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 (30) fails to start on Debian 10 [ In reply to ]
On Thu, Oct 22, 2020 at 9:25 AM David Cunningham <ml@upsilon.org.uk> wrote:

> Hi,
>
> I've tried asking this on the forums but nobody's biting, maybe someone
> in here can help.
>
> I'm currently updating my MythTV install. I run separate back and
> frontends. Both on Debian, previously Stretch, now Buster.
>
> The backend has updated no problem. The frontend not so much.
>
> I run the frontend netbooted and am currently trying to get it running
> in KVM prior to deploying.
>
> Mythfrontend is failing to start showing error "LLVM ERROR: out of
> memory" in the output.
>
> My v28 frontend starts fine on KVM.
>
> I'm not finding anything useful on google on this error. I've allocated
> 8G in KVM and only around 512MB appears to be in use. I've also
> allocated a swap disk though that made no difference.
>
> I'm using mythtv from the deb-multimedia repo.
>
> Any ideas what the problem could be?
>
> 2020-10-21 16:08:41.145157 I Setup Interrupt handler
> 2020-10-21 16:08:41.145773 I Setup Terminated handler
> 2020-10-21 16:08:41.145937 I Setup Segmentation fault handler
> 2020-10-21 16:08:41.146004 I Setup Aborted handler
> 2020-10-21 16:08:41.146062 I Setup Bus error handler
> 2020-10-21 16:08:41.146123 I Setup Floating point exception handler
> 2020-10-21 16:08:41.146186 I Setup Illegal instruction handler
> 2020-10-21 16:08:41.146444 I Setup Real-time signal 0 handler
> 2020-10-21 16:08:41.146573 I Setup User defined signal 1 handler
> 2020-10-21 16:08:41.146648 I Setup User defined signal 2 handler
> 2020-10-21 16:08:41.146715 I Setup Hangup handler
> 2020-10-21 16:08:41.149482 C mythfrontend version: [v30.0]
> www.mythtv.org
> 2020-10-21 16:08:41.149629 C Qt version: compile: 5.11.3, runtime: 5.11.3
> 2020-10-21 16:08:41.149712 N Enabled verbose msgs: general
> 2020-10-21 16:08:41.150119 N Setting Log Level to LOG_INFO
> 2020-10-21 16:08:41.165684 I MythUIHelper: Overriding GUI size:
> width=800 height=600
> 2020-10-21 16:08:41.168001 N Using runtime prefix = /usr
> 2020-10-21 16:08:41.168133 N Using configuration directory =
> /home/dee/.mythtv
> 2020-10-21 16:08:41.170190 I Assumed character encoding: en_GB.UTF-8
> 2020-10-21 16:08:41.171825 I Added logging to the console
> 2020-10-21 16:08:41.200388 I Loading en_gb translation for module
> mythfrontend
> 2020-10-21 16:08:41.213001 I Empty LocalHostName. This is typical.
> 2020-10-21 16:08:41.213127 I Using a profile name of: 'xe2' (Usually
> the same as this host's name.)
> 2020-10-21 16:08:41.214391 I Start up testing connections. DB
> 192.168.0.250, BE , attempt 0, status dbAwake, Delay: 2000
> 2020-10-21 16:08:42.559851 N Setting QT default locale to en_GB
> 2020-10-21 16:08:42.560122 I Current locale en_GB
> 2020-10-21 16:08:42.560920 N Reading locale defaults from
> /usr/share/mythtv//locales/en_gb.xml
> 2020-10-21 16:08:42.668744 I Starting IO manager (read)
> 2020-10-21 16:08:42.669951 I Starting process signal handler
> 2020-10-21 16:08:42.671649 I Starting IO manager (write)
> 2020-10-21 16:08:42.672090 I Starting process manager
> 2020-10-21 16:08:42.736469 I ScreenSaverX11Private: DPMS is not supported.
> 2020-10-21 16:08:42.886845 N Desktop video mode: 1024x768 59.949 Hz
> 2020-10-21 16:08:43.076487 I Listening on TCP 0.0.0.0:6547
> 2020-10-21 16:08:43.080041 I Listening on TCP [::]:6547
> 2020-10-21 16:08:46.579155 I Loading en_gb translation for module
> mythfrontend
> 2020-10-21 16:08:46.611556 E LIRC: Failed to connect to Unix socket
> '/var/run/lirc/lircd'
> eno: No such file or directory (2)
> 2020-10-21 16:08:46.612249 I No joystick configuration found, not
> enabling joystick control
> 2020-10-21 16:08:46.857292 E CECAdapter: Failed to find any CEC devices.
> 2020-10-21 16:08:47.364253 I CECAdapter: Closing down CEC.
> 2020-10-21 16:08:47.365672 I UDPListener: Enabling
> 2020-10-21 16:08:47.375459 I Binding to UDP 0.0.0.0:0
> 2020-10-21 16:08:47.376336 I Binding to UDP [::]:0
> 2020-10-21 16:08:47.494526 I Using Frameless Window
> 2020-10-21 16:08:47.498769 I UI Screen Resolution: 800 x 600
> 2020-10-21 16:08:51.658720 W OpenGL: Could not determine whether Sync
> to VBlank is enabled.
> 2020-10-21 16:08:51.939781 I Trying the OpenGL 2.0 render
> 2020-10-21 16:08:51.947043 I OpenGL painter using existing OpenGL context.
> 2020-10-21 16:08:52.082512 I OpenGL2: GLSL supported
> 2020-10-21 16:08:52.083352 I OpenGL: OpenGL vendor : VMware, Inc.
> 2020-10-21 16:08:52.083474 I OpenGL: OpenGL renderer: llvmpipe (LLVM
> 7.0, 128 bits)
>

Looks like VMware, not KVM..? Unless VMware opensourced the OpenGL
virtualized code - not sure. Looks like you need to add more video memory,
nit system memory.



> 2020-10-21 16:08:52.083582 I OpenGL: OpenGL version : 3.1 Mesa 18.3.6
> 2020-10-21 16:08:52.083705 I OpenGL: Max texture size: 8192 x 8192
> 2020-10-21 16:08:52.083805 I OpenGL: Max texture units: 8
> 2020-10-21 16:08:52.083913 I OpenGL: Direct rendering: Yes
> 2020-10-21 16:08:52.084055 I OpenGL: Extensions Supported: 3e9b
> 2020-10-21 16:08:52.084145 I OpenGL: PixelBufferObject support available
> 2020-10-21 16:08:52.266730 I OpenGL: Initialised MythRenderOpenGL
> 2020-10-21 16:08:52.285042 I MythUIHelper: Pruning cache directory:
> /home/dee/.mythtv/cache/remotecache
> 2020-10-21 16:08:52.285932 I MythUIHelper: Kept 0 files, deleted 0
> files, stat error on 0 files
> 2020-10-21 16:08:52.286058 I MythUIHelper: Pruning cache directory:
> /home/dee/.mythtv/cache/thumbnails
> 2020-10-21 16:08:52.286365 I MythUIHelper: Kept 0 files, deleted 0
> files, stat error on 0 files
> LLVM ERROR: out of memory
> 2020-10-21 16:08:52.941108 I MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 192.168.0.250:6543 (try 1 of 1)
> 2020-10-21 16:08:52.960575 I MythCoreContext::CheckProtoVersion():
> Using protocol version 91 BuzzOff
> 2020-10-21 16:08:53.326401 E RAOP Device: Aborting startup - no key found.
> 2020-10-21 16:08:53.344755 I AirPlay: Created airplay objects.
> 2020-10-21 16:08:53.352445 I Listening on TCP 0.0.0.0:5100
> 2020-10-21 16:08:53.352855 I Listening on TCP [::]:5100
> 2020-10-21 16:08:53.401391 I Current MythTV Schema Version
> (DBSchemaVer): 1350
> Handling Aborted
>
>
> --
> Cheers,
>
> David
>
Re: Mythfrontend (30) fails to start on Debian 10 [ In reply to ]
On 22/10/2020 15:38, Greg Oliver wrote:
> On Thu, Oct 22, 2020 at 9:25 AM David Cunningham <ml@upsilon.org.uk
> <mailto:ml@upsilon.org.uk>> wrote:

<snip>


> 2020-10-21 16:08:52.082512 I  OpenGL2: GLSL supported
> 2020-10-21 16:08:52.083352 I  OpenGL: OpenGL vendor  : VMware, Inc.
> 2020-10-21 16:08:52.083474 I  OpenGL: OpenGL renderer: llvmpipe (LLVM
> 7.0, 128 bits)
>
>
> Looks like VMware, not KVM..?  Unless VMware opensourced the OpenGL
> virtualized code - not sure.  Looks like you need to add more video
> memory, nit system memory.
>

<snip>

This is the QXL driver in libvirt/qemu. The VGA driver also reports
VMware. Virtio-GPU reports Redhat.

I've tried updating the vga mem to 256MB but still see the same error.

When using Vertio-GPU the setting appears not to be applied (I'm using
virsh to configure) as from the log it appears not to be passed into the
QEMU system (I'm not sure how this driver works, perhaps it is limited
to the host allocated vram).

For QXL though it does appear that 256MB is used (or at least the 256MB
is visible in the QEMU log).


_______________________________________________
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 (30) fails to start on Debian 10 [ In reply to ]
On Thu, Oct 22, 2020 at 10:42 AM David Cunningham <ml@upsilon.org.uk> wrote:

> On 22/10/2020 15:38, Greg Oliver wrote:
> > On Thu, Oct 22, 2020 at 9:25 AM David Cunningham <ml@upsilon.org.uk
> > <mailto:ml@upsilon.org.uk>> wrote:
>
> <snip>
>
>
> > 2020-10-21 16:08:52.082512 IÂ OpenGL2: GLSL supported
> > 2020-10-21 16:08:52.083352 I OpenGL: OpenGL vendor : VMware, Inc.
> > 2020-10-21 16:08:52.083474 IÂ OpenGL: OpenGL renderer: llvmpipe
> (LLVM
> > 7.0, 128 bits)
> >
> >
> > Looks like VMware, not KVM..? Unless VMware opensourced the OpenGL
> > virtualized code - not sure. Looks like you need to add more video
> > memory, nit system memory.
> >
>
> <snip>
>
> This is the QXL driver in libvirt/qemu. The VGA driver also reports
> VMware. Virtio-GPU reports Redhat.
>
> I've tried updating the vga mem to 256MB but still see the same error.
>
> When using Vertio-GPU the setting appears not to be applied (I'm using
> virsh to configure) as from the log it appears not to be passed into the
> QEMU system (I'm not sure how this driver works, perhaps it is limited
> to the host allocated vram).
>
> For QXL though it does appear that 256MB is used (or at least the 256MB
> is visible in the QEMU log).
>

Possibly you have used the setting to use a unique identifier that already
had some settings set? If you begin like it is a brand new frontend does
that help?
Re: Mythfrontend (30) fails to start on Debian 10 [ In reply to ]
On 22/10/2020 16:55, Greg Oliver wrote:

<snip>

>
> Possibly you have used the setting to use a unique identifier that
> already had some settings set?  If you begin like it is a brand new
> frontend does that help?
>

Assuming this is Configuration->LocalHostName in the config.xml file
(which I've now changed to a random uuid) then changing it seems to have
no effect.



_______________________________________________
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