The officially official Devuan Forum!

You are not logged in.

#1 2023-08-21 23:29:07

ExposeGlobalistsMadness
Member
Registered: 2023-08-17
Posts: 40  

Videos don't play; seat, alsactl, ppdev, parport_pc, crda, hdmi issues

After upgrading from Devuan Chimaera to Daedalus, videos and livestreams from odysee.com and gab.com nearly all do not play in a Librewolf browser, a Firefox derivative that is neither in Devuan's nor Debian's arm64 repos (https://gitlab.com/librewolf-community/ … -/releases), while those videos generally do play in firefox-esr 102.14.0esr-1~deb11u1 from Devuan's repo.  Yet, videos were playing ok under Chimaera with the second last version of Librewolf (librewolf-116.0.2-1-linux-arm64-package.tar.bz2) prior to the ugrade to Daedalus, while neither that same version nor the current version (librewolf-116.0.3-1-linux-arm64-package.tar.bz2) usually play any videos.  The bug could be best reported with the Librewolf team, but why was one version of the same browser, released for all arm64 linux platforms, playing ok on Chimaera but not on Daedalus?  This is being reported here in case any developer would want to troubleshoot this with other errors found regarding seatd_libseat, alsactl, ppdev, parport_pc, crda and hdmi-audio-codec.

On odysee.com: videos play ok with sound and video in Firefox-ESR but with neither sound nor video on Librewolf;  the pages just load, and the video buffers over a black screen:
https://odysee.com/@TheArmedFisherman:b … e-speech:c
https://odysee.com/@canucktv:b/I-LOVE-OURTUBE:8
https://odysee.com/@InfoNews:f/Trump-wa … om-China:e
https://odysee.com/@GregWycliffe:b/are- … enabling:b
https://odysee.com/@RonVaillant:e/bones:69

On gab.com: same artefact;  clips/videos play ok with sound and video on Firefox-esr but neither sound or video on Librewolf;  however, with Gab clips/videos, while the video just buffers, an image appears at the start, and the progress bar builds up up to the end:
https://gab.com/QAnon_John/posts/110919 … 47/media/1
https://gab.com/Vladimpaler131313/posts … 1065645855

Installation:-
- Upgraded to Daedalus when released as stable using the recommended bash commands on a Raspberry Pi 400 (https://www.devuan.org/os/documentation … o-daedalus).
- Sysvinit is used out-of-the-box as init.
- I purged the display manager (lightdm) and use an ~/.xinitrc file instead plus a ~/.bash_profile, ~/.bash_login and ~/.profile , as it seems that .bash_profile is being read by the system instead of .bash_login despite that file being more associated with Debian (or Devuan therefore) rather than ~/.bash_profile, as I understand, so both are present in case .bash_login would be more relevant in the process;  a debug line placed in ~/.bash_profile (echo "DEBUG: I am .bash_profile") is the one that echoes "DEBUG: I am .bash_profile" after login and not its counterpart line from .bash_login.  Also inexplicable to me is that echo "DEBUG: I am .bashrc" is no longer being echoed from ~/.bashrc in an xfce4-terminal as it did at first, some days ago.

Error messages:

1) seatd_libseatseatd is not installed, and it seems that there will be an update, according to a post from 19th August (https://dev1galaxy.org/viewtopic.php?pid=43565#p43565) but, if I understand correctly, seat would be relevant in systems like mine whose display manager was removed for interactions with the display.  Could that be related to why videos don't usually play in a Librewolf browser?

$ apt list --installed | grep seat 

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libseat1/stable,now 0.7.0-6 arm64 [installed,automatic]

See seatd_libseat errors in Xorg.0.log, among other errors (there are Xorg.0.log sundry messages provided also further on); note that some messages may relate to the use of a PS/2 converter cable and old keyboard and mouse PS/2 devices that hopefully use a lower amperage, for health reasons:

$ sudo cat /var/log/Xorg.0.log | grep "(EE)" -1
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    31.647] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 19 23:28:11 2023
--
[    34.904] (II) seatd_libseat try close /dev/input/mouse0 (-1:-1)
[    34.904] (EE) seatd_libseat device not open (/dev/input/mouse0)
[    34.904] (II) config/udev: Adding input device CHESEN PS2 to USB Converter System Control (/dev/input/event5)
--
[    34.964] (II) seatd_libseat try open /dev/input/event7
[    34.964] (EE) [libseat/backend/logind.c:137] Could not take device: Device already taken
[    34.964] (EE) seatd_libseat open /dev/input/event7 (-1) failed: -11
[    34.964] (**) vc4: always reports core events
--
[    34.965] (II) seatd_libseat try open /dev/input/event8
[    34.966] (EE) [libseat/backend/logind.c:137] Could not take device: Device already taken
[    34.966] (EE) seatd_libseat open /dev/input/event8 (-1) failed: -11
[    34.966] (**) vc4: always reports core events
--
[    40.046] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[   221.756] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 28ms, your system is too slow
[  1030.405] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 37ms, your system is too slow
[  1281.718] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 34ms, your system is too slow
[  1796.835] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 31ms, your system is too slow
[  1918.067] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 23ms, your system is too slow
[  1918.067] (EE) event3  - CHESEN PS2 to USB Converter: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.

Note also interesting security concerns expressed elsewhere about whether the user should be in the 'video' or 'seat' groups (in Gentoo anyway):  https://forums.gentoo.org/viewtopic-p-8790141.html .  I am not in the seat group:

$ id
uid=1000(devuan) gid=1000(devuan) groups=1000(devuan),5(tty),6(disk),20(dialout),27(sudo),29(audio),44(video),46(plugdev),102(netdev),104(input),106(render),109(bluetooth),110(i2c),1001(gpio),1002(spi)

Errors displayed on boot up before logging in re re alsactl, ppdev and parport_pc - I can't find the log so some of those error messages were copied perhaps roughly from display on boot up, and the hostname was changed from the logs to whatevermyhostnameis for this forum:

2) alsactl - is it ok for there to be a ctl service in Sysvinit?

Starting up ALSA 'alsactl -E HOME/run/alsa -E XDG_RUNTIME_DIR=/run/alsa/runtime restore' failed with error message 'alsa_lib main. c:1541: (snd_use_case_mgr_open) error: failed to import hw:2 use case configuration -2' ...

In dmesg, there are several entries similar to the following re alsa-mixer and module-alsa-card.  (Maybe I set some audio level settings in ~/.xinitrc wrong).

$ sudo cat /var/log/dmesg | grep alsa
[...]
2023-08-19T23:28:16.371851-04:00 whatevermyhostnameis pulseaudio[2936]: [pulseaudio] alsa-mixer.c: The decibel volume range for element 'PCM' (-6337 dB - -6 dB) has negative maximum. Disabling the decibel range.
[...]
2023-08-19T23:28:17.936763-04:00 whatevermyhostnameis pulseaudio[2936]: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" name="platform-fef05700.hdmi" card_name="alsa_card.platform-fef05700.hdmi" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
[...]

3) Module ppdev:

modprobe: FATAL: Module ppdev not found in directory /lib/modules/5.10.1110

4) Module parport_pc:

modprobe: FATAL: Module parport_pc not found in directory /lib/modules/5.10.1110

Further messages from logs:

5) crda:

$ sudo cat /var/log/dmesg | grep -2 crda
[    6.506459] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    6.517817] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: May 14 2020 17:26:08 version 7.84.17.1 (r871554) FWID 01-3d9e1d87
[    6.595165] udevd[520]: failed to execute '/sbin/crda' '/sbin/crda': No such file or directory
[    6.624805] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    6.631371] Registered IR keymap rc-cec
--
[    9.181107] audit: type=1400 audit(1692584155.039:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=1107 comm="apparmor_parser"
[    9.193085] audit: type=1400 audit(1692584155.051:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1097 comm="apparmor_parser"
[    9.441589] udevd[1156]: failed to execute '/sbin/crda' '/sbin/crda': No such file or directory
[   12.769722] udevd[1723]: failed to execute '/sbin/crda' '/sbin/crda': No such file or directory
[   12.993306] NET: Registered protocol family 10
[   12.995309] Segment Routing with IPv6

6) hdmi-audio-codec (repeated errors replaced with "[...]"):

$ sudo cat /var/log/kern.log | grep -2 hdmi-audio-codec
2023-08-20T09:55:36.640673-04:00 whatevermyhostnameis kernel: [   33.758452] cam1-reg: disabling
2023-08-20T09:55:36.640706-04:00 whatevermyhostnameis kernel: [   33.758463] cam-dummy-reg: disabling
2023-08-20T09:55:43.452698-04:00 whatevermyhostnameis kernel: [   40.572607] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
2023-08-20T09:55:43.452731-04:00 whatevermyhostnameis kernel: [   40.573127] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[...]
2023-08-20T09:55:45.089441-04:00 whatevermyhostnameis kernel: [   42.207026] Bluetooth: RFCOMM TTY layer initialized
2023-08-20T09:55:45.089480-04:00 whatevermyhostnameis kernel: [   42.207052] Bluetooth: RFCOMM socket layer initialized
--
2023-08-20T22:16:56.231438-04:00 whatevermyhostnameis kernel: [   70.365240] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
2023-08-20T22:16:56.231440-04:00 whatevermyhostnameis kernel: [   70.365258] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
2023-08-21T13:42:55.430390-04:00 whatevermyhostnameis kernel: [  104.393342] hdmi-audio-codec hdmi-audio-codec.2.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
2023-08-21T13:42:55.430428-04:00 whatevermyhostnameis kernel: [  104.393730] hdmi-audio-codec hdmi-audio-codec.2.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[...]
2023-08-21T13:42:57.042415-04:00 whatevermyhostnameis kernel: [  106.006864] Bluetooth: RFCOMM TTY layer initialized
2023-08-21T13:42:57.042454-04:00 whatevermyhostnameis kernel: [  106.006886] Bluetooth: RFCOMM socket layer initialized

Further information:-

1) Kernel command line and other Xorg messages - I added lsm="apparmor" in the kernel line to enable apparmor:

$ cat /var/log/Xorg.0.log
[...]
[    97.857] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.en
able_hdmi=1 video=HDMI-A-1:1280x1024M@60 smsc95xx.macaddr=DC:A6:32:FA:33:09 vc_mem.mem_base=0x3ec00000 vc_mem.mem_
size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=610768d0-02 rootfstype=ext4 fsck.repair=yes logo.
nologo net.ifnames=0 firmware_class.path=/lib/firmware/updates/brcm lsm="apparmor" rootwait
[...]
[    97.883] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    97.887] (==) No Layout section.  Using the first Screen section.
[    97.887] (==) No screen section available. Using defaults.
[    97.887] (**) |-->Screen "Default Screen Section" (0)
[    97.887] (**) |   |-->Monitor "<default monitor>"
[    97.888] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    97.888] (==) Automatically adding devices
[...]
[    97.901] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    97.901] 	Entry deleted from font path.
[...]
[    98.028] (II) seatd_libseat opened graphics: /dev/dri/card0 (15:15)
[    98.029] (II) no primary bus or device found
[    98.029] 	falling back to /sys/devices/platform/gpu/drm/card1
[    98.029] (II) LoadModule: "glx"
[    98.038] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    98.083] (II) Module glx: vendor="X.Org Foundation"
[...]
[    98.090] (II) modeset(0): using drv /dev/dri/card1
[    98.090] (WW) Falling back to old probe method for fbdev
[    98.090] (II) Loading sub module "fbdevhw"
[...]
[   100.096] (II) modeset(0): glamor initialized
[   100.096] (==) modeset(0): VariableRefresh: disabled
[   100.096] (==) modeset(0): AsyncFlipSecondaries: disabled
[   100.110] (II) modeset(0): Output HDMI-1 has no monitor section
[   100.110] (II) modeset(0): Output HDMI-2 has no monitor section
[   100.146] (II) modeset(0): EDID for output HDMI-1
[...]
[   100.148] (II) modeset(0): Output HDMI-1 connected
[   100.148] (II) modeset(0): Output HDMI-2 disconnected
[   100.148] (II) modeset(0): Using exact sizes for initial modes
[...]
[   100.148] (II) LoadModule: "fb"
[   100.148] (II) Module "fb" already built-in
[   100.148] (II) UnloadModule: "fbdev"
[   100.148] (II) Unloading fbdev
[   100.148] (II) UnloadSubModule: "fbdevhw"
[   100.148] (II) Unloading fbdevhw
[...]

Xrandr reports in part: 
HDMI-1 connected primary
[...]
HDMI-2 disconnected (normal left inverted right x axis y axis)

2) Audio is ok, and the page loads, but the video screen is just black both in Firefox-ESR (for a change - a failure in Firefox-ESR!) as well as in Librewolf for:
https://odysee.com/@vivreautrement:6/le … merlin-3:d

3) A solution that appeared to work on my Daedalus installation after applying it but which did not persist on following sessions (https://dev1galaxy.org/viewtopic.php?pid=41755#p41755), but which might point to a solution:

sudo apt-get remove pipewire* libpipewire* 
sudo apt-get install pavucontrol pulseaudio 

Removing pipewire* (or libpipewire*?) also removes music player daemon mpd.  Perhaps, when mpd was reinstalled afterwards on purpose, the video buffering problem may have been triggered to recur (I can't remember whether that problem recurred during the same session immediately after reinstalling mpd).

4) The clock did not update in my experience unless ntp and ntpsec were reinstalled (https://dev1galaxy.org/viewtopic.php?id=5879).  Isn't ntpsec supposed to replace ntp in Daedalus?

These, I suppose, are just teething pains from updating from Chimaera to Daedalus since this version recently became released as stable;  thank you for your hard work and for otherwise a very good user experience on Devuan!

Offline

#2 2023-08-22 08:51:55

Camtaf
Member
Registered: 2019-11-19
Posts: 409  

Re: Videos don't play; seat, alsactl, ppdev, parport_pc, crda, hdmi issues

If everything works in FF, then it is down to Librewolf developers to catch up - this sort of thing often happens with video down loader software.

Offline

#3 2023-08-22 10:58:40

ExposeGlobalistsMadness
Member
Registered: 2023-08-17
Posts: 40  

Re: Videos don't play; seat, alsactl, ppdev, parport_pc, crda, hdmi issues

But video doesn't display on FF for one webpage in Daedalus, at least;  see under "Further information":

2) Audio is ok, and the page loads, but the video screen is just black both in Firefox-ESR (for a change - a failure in Firefox-ESR!) as well as in Librewolf for:
https://odysee.com/@vivreautrement:6/le … merlin-3:d

I'll add Further information:

5) Sources include 'non-free-firmware' and a repo for Pale Moon browser:

$ cat /etc/apt/sources.list
deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib
# there is no non-free-firmware for daedalus-security, so erased off following line
deb http://deb.devuan.org/devuan daedalus-security main non-free contrib
# deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware non-free contrib

$ cat /etc/apt/sources.list.d/home\:stevenpusser\:palemoon-GTK3.list 
deb http://download.opensuse.org/repositories/home:/stevenpusser:/palemoon-GTK3/Debian_12/ /

Offline

#4 2023-08-28 19:40:10

ExposeGlobalistsMadness
Member
Registered: 2023-08-17
Posts: 40  

Re: Videos don't play; seat, alsactl, ppdev, parport_pc, crda, hdmi issues

Note also messages from today's Xorg.0.log, including an error message re seatd_libseat and information messages such as "[libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock", in case it could be helpful to Devuan developers or to troubleshoot the video problems:

$ cat Xorg.0.log | grep -2 seatd
[   241.894] (++) using VT number 1

[   241.894] (II) seatd_libseat init
[   241.895] (II) [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[   241.896] (II) [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[   241.904] (II) [libseat/libseat.c:73] Seat opened with backend 'logind'
[   241.904] (II) seatd_libseat enable
[   241.904] (II) seatd_libseat handled 1 events

[...]

[   245.069] (**) Option "Device" "/dev/input/event4"
--
[   245.075] (II) No input driver specified, ignoring this device.
[   245.075] (II) This device may have been added with another device file.
[   245.075] (II) seatd_libseat try close /dev/input/mouse0 (-1:-1)
[   245.075] (EE) seatd_libseat device not open (/dev/input/mouse0)
[   245.076] (II) config/udev: Adding input device CHESEN PS2 to USB Converter System Control (/dev/input/event5)

[...]

[   245.133] (II) seatd_libseat try open /dev/input/event8
[   245.133] (EE) [libseat/backend/logind.c:137] Could not take device: Device already taken
[   245.133] (EE) seatd_libseat open /dev/input/event8 (-1) failed: -11
[   245.134] (**) vc4: always reports core events
[   245.134] (**) Option "Device" "/dev/input/event8"
--
[ 11080.002] (EE) event3  - CHESEN PS2 to USB Converter: client bug: event processing lagging behind by 28ms, your system is too slow
[ 14794.836] (EE) event4  - CHESEN PS2 to USB Converter Mouse: client bug: event processing lagging behind by 22ms, your system is too slow
[ 17920.236] (II) seatd_libseat try close /dev/input/event0 (30:30)

[...]

[ 17920.496] (II) seatd_libseat try close /dev/input/event7 (39:39)
[ 17920.497] (EE) [libseat/backend/logind.c:184] Could not stat fd 39
[ 17920.497] (EE) seatd_libseat close failed -9
[ 17920.497] (II) seatd_libseat try close /dev/input/event8 (40:40)
[ 17920.497] (EE) [libseat/backend/logind.c:184] Could not stat fd 40
[ 17920.497] (EE) seatd_libseat close failed -9
[ 17920.498] (II) AIGLX: Suspending AIGLX clients for VT switch
[...]
[ 17922.337] (II) event8  - vc4: device is a keyboard
[ 17922.338] (II) seatd_libseat try open /dev/input/event7
[ 17922.339] (EE) [libseat/backend/logind.c:137] Could not take device: Device already taken
[ 17922.339] (EE) seatd_libseat open /dev/input/event7 (-1) failed: -11
[ 17922.340] (II) seatd_libseat try open /dev/input/event8
[ 17922.341] (EE) [libseat/backend/logind.c:137] Could not take device: Device already taken
[ 17922.341] (EE) seatd_libseat open /dev/input/event8 (-1) failed: -11

Offline

Board footer