Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - chaseadam

1
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 29, 2021, 15:53:48 »
Per upstream project, the rpi4 does not have enough power to display HD content. https://github.com/zillevdr/vdr-plugin-softhddevice-drm/issues/7#issuecomment-976411089

Interesting that the xine output plugin appears to work, but my guess is that it has a lot of code to gracefully deal with 'insufficient' hardware for playback.

Marking solved.

2
Raspberry PI / [MLD-5.5 testing] RPi4 softhddevice-drm
« on: November 20, 2021, 21:08:56 »
I ran into what I belive is the same issue with xineliboutput not starting because of missing "decoder plugins" mentioned in logs

Nov 20 20:58:48 MLD-rpi4 user.debug vdr: [25266] [vdr-fe]    Using xine-lib config file /etc/vdr/plugins/xineliboutput/config
Nov 20 20:58:48 MLD-rpi4 user.err vdr: [25266] [vdr-fe]    FATAL: Required xine video decoder plugins are missing! Please install plugins.
Nov 20 20:58:48 MLD-rpi4 user.err vdr: [25266] [vdr-fe]       (ERROR (xine_frontend.c,173): File exists)

I am unable to find a libxine2-plugins package, but not sure I am looking in the right place. I assume there is a "developer" or "bleeding edge" repo clausmuus added it to, but not sure how to pull from it.

Currently from "testing"
MLD> apt search xine
Sorting... Done
Full Text Search... Done
libxine2-bin/testing,now 1.2.9-~1 armhf [installed,automatic]
  xine video/media player library – binary files

libxinerama1/testing,now 1.1.4-~1 armhf [installed,automatic]
  X11 Xinerama extension library

vdr-plugin-xineliboutput/testing,now 2.1.0-38+2.4.7.220.3 armhf [installed]
  libXine als VDR-Ausgabegerät nutzen

and from unstable:
MLD> apt search xine
Sorting... Done
Full Text Search... Done
libxine2-bin/now 1.2.9-~1 armhf [installed,local]
  xine video/media player library – binary files

libxinerama1/now 1.1.4-~1 armhf [installed,local]
  X11 Xinerama extension library

vdr-plugin-xineliboutput/now 2.1.0-38+2.4.7.220.3 armhf [installed,local]
  libXine als VDR-Ausgabegerät nutzen

3
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 19, 2021, 19:21:22 »
Upstream issue filed with softhddevice-drm: https://github.com/zillevdr/vdr-plugin-softhddevice-drm/issues/7

Based on suggestions of using xine in https://minidvblinux.de/forum/index.php/topic,10209.msg81134.html, I tried out xine (outside of MLD) and it is working much more smoothly than softhddevice-drm. Will try using xine with MLD.

4
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 19, 2021, 17:14:45 »
I was able to reproduce the same behavior with latestVDR and https://github.com/zillevdr/vdr-plugin-softhddevice-drm compiled on raspios x64. It appears to be an upstream issue, so will push up a level or start exploring non-drm plugin options. Thanks for streamlining the experience with VDR, hopefully we can figure out a fix upstream.

5
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 17, 2021, 23:19:59 »
Can you confirm that 5.5 defaults to vdr-plugin-softhddevice-drm? Is there a way to use 5.5 (testing) without vdr-plugin-softhddevice-drm?

It does default to "client" SHD which I believe is vdr-plugin-softhddevice-drm. There is a gstreamer option, but the installation appears to be in a bad state when selecting that option. There is no "VDR" application start nor is it listed in "Services" on the web ui.

6
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 17, 2021, 19:22:14 »
By the way, i think vdr-plugin-softhddevice-drm ​is still in the experiemental phase, i experience such issues from time to time as well.

Can you clarify with the "such issues"? I presume it is the audio and excessive frame dropping.

Does stable (5.4) use vdr-plugin-softhddevice-drm as well?

Can you confirm that 5.5 defaults to vdr-plugin-softhddevice-drm? Is there a way to use 5.5 (testing) without vdr-plugin-softhddevice-drm?

7
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 17, 2021, 18:45:19 »
Thanks for the warm welcome!

Tuner card is WinTV-HVR-950Q USB based (tried plugged into USB3 and USB2 ports).

[   65.376483] au0828: Enabled Source: Xceive XC5000->Auvitek AU8522 QAM/8VSB Frontend->Auvitek AU8522 QAM/8VSB Frontend Ret 0
[   68.494484] xc5000: Firmware dvb-fe-xc5000-1.6.114.fw loaded and running.
[   68.495792] au0828: Disabled Source: Xceive XC5000->Auvitek AU8522 QAM/8VSB Frontend->Auvitek AU8522 QAM/8VSB Frontend Ret 0

Using rpi official OEM adapter (and there is solid red light)

Installed satip plugin with `apt install vdr-plugin-satip` but didn't see anything pop up on the network. Any other steps needed?

After install I rebooted and got smooth playback and normal audio output but only from one channel.  This is not reliably reproducible, but happened more than once.

When it was smooth/working, I changed channels (one up and back) and no video plays with the following in /var/log/messages (last one repeated a large number of times:

```
Nov 17 18:41:49 MLD-rpi4 user.err vdr: audio/alsa: set params error: File descriptor in bad state
Nov 17 18:41:50 MLD-rpi4 user.err vdr: audio: snd_pcm_drop(): Input/output error
Nov 17 18:41:50 MLD-rpi4 user.err vdr: audio: snd_pcm_prepare(): Input/output error
Nov 17 18:41:52 MLD-rpi4 user.err vdr: audio: snd_pcm_drop(): Input/output error
Nov 17 18:41:52 MLD-rpi4 user.err vdr: audio: snd_pcm_prepare(): Input/output error
Nov 17 18:41:52 MLD-rpi4 user.err vdr: audio/alsa: set params error: File descriptor in bad state
Nov 17 18:41:53 MLD-rpi4 user.err vdr: audio/alsa: snd_pcm_avail_update(): Input/output error
Nov 17 18:41:53 MLD-rpi4 user.err vdr: audio/alsa: snd_pcm_avail_update(): Input/output error
Nov 17 18:41:53 MLD-rpi4 user.err vdr: audio/alsa: snd_pcm_avail_update(): Input/output error
Nov 17 18:41:53 MLD-rpi4 user.err vdr: audio/alsa: snd_pcm_avail_update(): Input/output error
Nov 17 18:41:53 MLD-rpi4 user.err vdr: audio/alsa: snd_pcm_avail_update(): Input/output error
...
```

8
Raspberry PI / [MLD-5.5 testing] RPI4 frame drop and audio stuttering
« on: November 17, 2021, 17:08:09 »
tldr; Live TV displays, heavy frame dropping and occasional blanks. Audio from headphones is "low" (e.g. playing slow) and crackly and only out of one channel.

Excited to have just discovered VDR and then this project shortly after. Originally I thought it was rpi3 only (because stable does not include rpi4 yet). I got everything set up on rpi3 just to realize I need the mpeg2 license to play my ATSC (United States) channels. Shortly after I looked at the testing channel and saw a rpi4 option and happy to help with the testing process!

Burned and installed (only VDR) from SD card: `dd if=MLD-5.5_netinstall_2021.09.25-182.2+1617_armhf-rpi4.img bs=1M of=/dev/sdi`

Ran w_scan to generate the channels file in /etc/vdr/channels/ (thanks for including w-scan in in the package repository)

I had to switch sound settings to get vdr to start due to an error (because my monitor doesn't offer an audio channel?)

```
AlsaOpenPCM: playback open 'plug:iec958' error: No such file or directory
```

Live TV displays now, but heavy frame dropping and occasional blanks. Audio from headphones is "low" (e.g. playing slow) and crackly and only out of one channel.
From my previous experience, my hypothesis is there is an audio issue causing this behavior. Any debugging guidance is appreciated.
 
Possibly useful information: Recordings in `/data/tv/` are good and play without issue with VLC on desktop. Download speeds were not great (6-8MB/sec) but may be SD card limited?

MLD> uptime
 16:52:40 up 28 min,  load average: 4.63, 3.85, 2.94

I have heat sinks and a fan
MLD> vcgencmd measure_temp
temp=48.2'C

MLD> free
             total       used       free     shared    buffers     cached
Mem:       1666912    1587268      79644        588       2076    1297956
-/+ buffers/cache:     287236    1379676
Swap:            0          0          0
MLD> tvservice -s
state 0x120009 [HDMI CEA (16) RGB lim 4:3], 1920x1080 @ 60.00Hz, progressive