Watching Spotify and listening to Netflix in 2023

Run ktrace /usr/local/libexec/fcdm-jail, kill the process, run kdump
Code:
elgrande@elfreebsdo1:~ % ktrace /usr/local/libexec/fcdm-jail
Abgebrochen
elgrande@elfreebsdo1:~ % kdump
  2708 ktrace   RET   ktrace 0
  2708 ktrace   CALL  execve(0xbe4d4f9cb0f,0xbe4d4f9c758,0xbe4d4f9c768)
  2708 ktrace   NAMI  "/usr/local/libexec/fcdm-jail"
  2708 ktrace   NAMI  "/libexec/ld-elf.so.1"
  2708 fcdm-jail RET   execve JUSTRETURN
  2708 fcdm-jail CALL  mmap(0,0x21000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 12317787947008/0xb33f5600000
  2708 fcdm-jail CALL  mprotect(0x121f38c9e000,0x1000,0x1<PROT_READ>)
  2708 fcdm-jail RET   mprotect 0
  2708 fcdm-jail CALL  issetugid
  2708 fcdm-jail RET   issetugid 1
  2708 fcdm-jail CALL  sigfastblock(0x1,0x121f38ca0b20)
  2708 fcdm-jail RET   sigfastblock 0
  2708 fcdm-jail CALL  open(0x121f38c83ab9,0x100000<O_RDONLY|O_CLOEXEC>)
  2708 fcdm-jail NAMI  "/etc/libmap.conf"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  fstat(0x3,0x820482cc8)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=1128, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701179126.368894000, mtime=1680841173, ctime=1694358697.934528000, birthtime=1680841173, size=47, blksize=4096, blocks=2, flags=0x800 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  read(0x3,0xb33f5604008,0x2f)
  2708 fcdm-jail GIO   fd 3 read 47 bytes
       "# $FreeBSD$
    includedir /usr/local/etc/libmap.d
       "
  2708 fcdm-jail RET   read 47/0x2f
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0x82048286b,0x120004<O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC>)
  2708 fcdm-jail NAMI  "/usr/local/etc/libmap.d"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  fcntl(0x3,F_ISUNIONSTACK,0x0)
  2708 fcdm-jail RET   fcntl 0
  2708 fcdm-jail CALL  getdirentries(0x3,0xb33f5605008,0x1000,0xb33f5601030)
  2708 fcdm-jail RET   getdirentries 144/0x90
  2708 fcdm-jail CALL  open(0x820482460,0x100000<O_RDONLY|O_CLOEXEC>)
  2708 fcdm-jail NAMI  "/usr/local/etc/libmap.d/nvidia.conf"
  2708 fcdm-jail RET   open 4
  2708 fcdm-jail CALL  fstat(0x4,0x820481f48)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=291554, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701179126.368976000, mtime=1700616729, ctime=1701111250.798129000, birthtime=1700616729, size=40, blksize=4096, blocks=1, flags=0x800 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  read(0x4,0xb33f56040c8,0x28)
  2708 fcdm-jail GIO   fd 4 read 40 bytes
       "libGLX_indirect.so.0 libGLX_nvidia.so.0
       "
  2708 fcdm-jail RET   read 40/0x28
  2708 fcdm-jail CALL  close(0x4)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0x820482460,0x100000<O_RDONLY|O_CLOEXEC>)
  2708 fcdm-jail NAMI  "/usr/local/etc/libmap.d/mesa.conf"
  2708 fcdm-jail RET   open 4
  2708 fcdm-jail CALL  fstat(0x4,0x820481f48)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=32614, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701179126.369012000, mtime=1700533788, ctime=1701111229.925323000, birthtime=1700533788, size=38, blksize=4096, blocks=1, flags=0x800 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  read(0x4,0xb33f56040c8,0x26)
  2708 fcdm-jail GIO   fd 4 read 38 bytes
       "libGLX_indirect.so.0 libGLX_mesa.so.0
       "
  2708 fcdm-jail RET   read 38/0x26
  2708 fcdm-jail CALL  close(0x4)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  getdirentries(0x3,0xb33f5605008,0x1000,0xb33f5601030)
  2708 fcdm-jail RET   getdirentries 0
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0x121f38c8362d,0x100000<O_RDONLY|O_CLOEXEC>)
  2708 fcdm-jail NAMI  "/var/run/ld-elf.so.hints"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  read(0x3,0x121f38ca09a8,0x80)
  2708 fcdm-jail GIO   fd 3 read 128 bytes
       0x0000 4568 6e74 0100 0000 8000 0000 1d01 0000 0000  |Ehnt..............|
       0x0012 0000 1c01 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x0024 0000 0000 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x0036 0000 0000 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x0048 0000 0000 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x005a 0000 0000 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x006c 0000 0000 0000 0000 0000 0000 0000 0000 0000  |..................|
       0x007e 0000                                          |..|

  2708 fcdm-jail RET   read 128/0x80
  2708 fcdm-jail CALL  fstat(0x3,0x820481d80)
  2708 fcdm-jail STRU  struct stat {dev=18446744071679573761, ino=4, mode=0100444, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701179126.370419000, mtime=1701177665.765062000, ctime=1701177665.765448000, birthtime=1701177665.765011000, size=413, blksize=4096, blocks=8, flags=0x0 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  pread(0x3,0xb33f5608008,0x11d,0x80)
  2708 fcdm-jail GIO   fd 3 read 285 bytes
       "/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/lo\
    cal/lib/alsa-lib:/usr/local/lib/gcc12:/usr/local/lib/mysql:/usr/local/lib/perl\
    5/5.36/mach/CORE:/usr/local/lib/qt5:/usr/local/lib/qt6:/usr/local/llvm15/lib:/\
    usr/local/share/chromium:/usr/local/share/code-oss\0"
  2708 fcdm-jail RET   pread 285/0x11d
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0xb33f5609008,0x300000<O_RDONLY|O_CLOEXEC|O_VERIFY>)
  2708 fcdm-jail NAMI  "/lib/libjail.so.1"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  fstat(0x3,0x820482380)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=788481, mode=0100444, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701177839.864832000, mtime=1695365747.900344000, ctime=1695365747.902358000, birthtime=1695365747.899980000, size=21264, blksize=21504, blocks=28, flags=0x800 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  mmap(0,0x1000,0x1<PROT_READ>,0x40002<MAP_PRIVATE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34907983872/0x820ad9000
  2708 fcdm-jail CALL  mmap(0,0x8000,0<PROT_NONE>,0x2000<MAP_GUARD>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 34915778560/0x821248000
  2708 fcdm-jail CALL  mmap(0x821248000,0x2000,0x1<PROT_READ>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34915778560/0x821248000
  2708 fcdm-jail CALL  mmap(0x82124a000,0x4000,0x5<PROT_READ|PROT_EXEC>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0x1000)
  2708 fcdm-jail RET   mmap 34915786752/0x82124a000
  2708 fcdm-jail CALL  mmap(0x82124e000,0x1000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x4000)
  2708 fcdm-jail RET   mmap 34915803136/0x82124e000
  2708 fcdm-jail CALL  mmap(0x82124f000,0x1000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x4000)
  2708 fcdm-jail RET   mmap 34915807232/0x82124f000
  2708 fcdm-jail CALL  munmap(0x820ad9000,0x1000)
  2708 fcdm-jail RET   munmap 0
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0xb33f5609008,0x300000<O_RDONLY|O_CLOEXEC|O_VERIFY>)
  2708 fcdm-jail NAMI  "/lib/libutil.so.9"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  fstat(0x3,0x820482380)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=688521, mode=0100444, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1700225794.990163000, mtime=1698746903.997320000, ctime=1698746903.997420000, birthtime=1698746903.989794000, size=80800, blksize=80896, blocks=102, flags=0x800 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  mmap(0,0x1000,0x1<PROT_READ>,0x40002<MAP_PRIVATE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34926297088/0x821c50000
  2708 fcdm-jail CALL  mmap(0,0x19000,0<PROT_NONE>,0x2000<MAP_GUARD>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 34929762304/0x821f9e000
  2708 fcdm-jail CALL  mmap(0x821f9e000,0x8000,0x1<PROT_READ>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34929762304/0x821f9e000
  2708 fcdm-jail CALL  mmap(0x821fa6000,0xc000,0x5<PROT_READ|PROT_EXEC>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0x7000)
  2708 fcdm-jail RET   mmap 34929795072/0x821fa6000
  2708 fcdm-jail CALL  mmap(0x821fb2000,0x1000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x12000)
  2708 fcdm-jail RET   mmap 34929844224/0x821fb2000
  2708 fcdm-jail CALL  mmap(0x821fb3000,0x2000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x12000)
  2708 fcdm-jail RET   mmap 34929848320/0x821fb3000
  2708 fcdm-jail CALL  mmap(0x821fb5000,0x2000,0x3<PROT_READ|PROT_WRITE>,0x1012<MAP_PRIVATE|MAP_FIXED|MAP_ANON>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 34929856512/0x821fb5000
  2708 fcdm-jail CALL  munmap(0x821c50000,0x1000)
  2708 fcdm-jail RET   munmap 0
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  open(0xb33f5609008,0x300000<O_RDONLY|O_CLOEXEC|O_VERIFY>)
  2708 fcdm-jail NAMI  "/lib/libc.so.7"
  2708 fcdm-jail RET   open 3
  2708 fcdm-jail CALL  fstat(0x3,0x820482380)
  2708 fcdm-jail STRU  struct stat {dev=7055066794989372921, ino=262472, mode=0100444, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1701177673.179988000, mtime=1699876619.861937000, ctime=1699876619.870784000, birthtime=1699876619.855000000, size=1946744, blksize=131072, blocks=2272, flags=0x20000 }
  2708 fcdm-jail RET   fstat 0
  2708 fcdm-jail CALL  mmap(0,0x1000,0x1<PROT_READ>,0x40002<MAP_PRIVATE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34952933376/0x8235b7000
  2708 fcdm-jail CALL  mmap(0,0x400000,0<PROT_NONE>,0x2000<MAP_GUARD>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 34945732608/0x822ed9000
  2708 fcdm-jail CALL  mmap(0x822ed9000,0x84000,0x1<PROT_READ>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0)
  2708 fcdm-jail RET   mmap 34945732608/0x822ed9000
  2708 fcdm-jail CALL  mmap(0x822f5d000,0x149000,0x5<PROT_READ|PROT_EXEC>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0x83000)
  2708 fcdm-jail RET   mmap 34946273280/0x822f5d000
  2708 fcdm-jail CALL  mmap(0x8230a6000,0xa000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x1cb000)
  2708 fcdm-jail RET   mmap 34947620864/0x8230a6000
  2708 fcdm-jail CALL  mmap(0x8230b0000,0x7000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x1d4000)
  2708 fcdm-jail RET   mmap 34947661824/0x8230b0000
  2708 fcdm-jail CALL  mmap(0x8230b7000,0x222000,0x3<PROT_READ|PROT_WRITE>,0x1012<MAP_PRIVATE|MAP_FIXED|MAP_ANON>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 34947690496/0x8230b7000
  2708 fcdm-jail CALL  munmap(0x8235b7000,0x1000)
  2708 fcdm-jail RET   munmap 0
  2708 fcdm-jail CALL  close(0x3)
  2708 fcdm-jail RET   close 0
  2708 fcdm-jail CALL  mprotect(0x8230a6000,0x9000,0x1<PROT_READ>)
  2708 fcdm-jail RET   mprotect 0
  2708 fcdm-jail CALL  mprotect(0x8230a6000,0x9000,0x3<PROT_READ|PROT_WRITE>)
  2708 fcdm-jail RET   mprotect 0
  2708 fcdm-jail CALL  mprotect(0x8230a6000,0x9000,0x1<PROT_READ>)
  2708 fcdm-jail RET   mprotect 0
  2708 fcdm-jail CALL  readlink(0x822f21849,0x8204824d0,0x400)
  2708 fcdm-jail NAMI  "/etc/malloc.conf"
  2708 fcdm-jail RET   readlink -1 errno 2 No such file or directory
  2708 fcdm-jail CALL  issetugid
  2708 fcdm-jail RET   issetugid 1
  2708 fcdm-jail CALL  mmap(0,0x200000,0x3<PROT_READ|PROT_WRITE>,0x15001002<MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21)>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 12317790044160/0xb33f5800000
  2708 fcdm-jail CALL  mmap(0,0x200000,0x3<PROT_READ|PROT_WRITE>,0xc001002<MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12)>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 12317792141312/0xb33f5a00000
  2708 fcdm-jail CALL  mmap(0,0x400000,0x3<PROT_READ|PROT_WRITE>,0x15001002<MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21)>,0xffffffff,0)
  2708 fcdm-jail RET   mmap 12317794238464/0xb33f5c00000
  2708 fcdm-jail CALL  geteuid
  2708 fcdm-jail RET   geteuid 0
  2708 fcdm-jail CALL  access(0x8204840b9,0x7<X_OK|W_OK|R_OK>)
  2708 fcdm-jail NAMI  "/var/run/user/1001"
  2708 fcdm-jail RET   access 0
  2708 fcdm-jail CALL  chdir(0x8204840b9)
  2708 fcdm-jail NAMI  "/var/run/user/1001"
  2708 fcdm-jail RET   chdir 0
  2708 fcdm-jail CALL  openat(AT_FDCWD,0x20131f,0x200<O_RDONLY|O_CREAT>,0444<S_IRUSR|S_IRGRP|S_IROTH>)
  2708 fcdm-jail NAMI  ".fcdm-lock"
  2708 fcdm-jail RET   openat 3
  2708 fcdm-jail CALL  flock(0x3,0x2<LOCK_EX>)
  2708 fcdm-jail RET   flock RESTART
  2708 fcdm-jail PSIG  SIGKILL SIG_DFL code=SI_NOINFO
elgrande@elfreebsdo1:~ %

Maybe it actually _is_ related to Wayland, it gets lost somewhere in XDG_RUNTIME_DIR which is tmpfs.

Code:
elgrande@elfreebsdo1:/var/run/user/1001 % mount
root on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
/dev/diskid/DISK-S69ENF0R212341Fp1 on /boot/efi (msdosfs, local)
tmpfs on /var/run (tmpfs, local)
fdescfs on /dev/fd (fdescfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
tmpfs on /var/run/user/1001/.fcdm-jail (tmpfs, local, read-only)
/compat/linux/bin on /var/run/user/1001/.fcdm-jail/bin (nullfs, local, nosuid, read-only, nfsv4acls)
/compat/linux/etc on /var/run/user/1001/.fcdm-jail/etc (nullfs, local, nosuid, read-only, nfsv4acls)
/compat/linux/lib on /var/run/user/1001/.fcdm-jail/lib (nullfs, local, nosuid, read-only, nfsv4acls)
/compat/linux/lib64 on /var/run/user/1001/.fcdm-jail/lib64 (nullfs, local, nosuid, read-only, nfsv4acls)
/compat/linux/usr on /var/run/user/1001/.fcdm-jail/usr (nullfs, local, nosuid, read-only, nfsv4acls)
devfs on /var/run/user/1001/.fcdm-jail/dev (devfs)
linprocfs on /var/run/user/1001/.fcdm-jail/proc (linprocfs, local)
linsysfs on /var/run/user/1001/.fcdm-jail/sys (linsysfs, local)
/usr/local/lib/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so on /var/run/user/1001/.fcdm-jail/opt/cdm.so (nullfs, local, nosuid, read-only, nfsv4acls)
/usr/local/libexec/fcdm-worker on /var/run/user/1001/.fcdm-jail/opt/worker (nullfs, local, nosuid, read-only, nfsv4acls)
elgrande@elfreebsdo1:/var/run/user/1001 % ls -alG
total 1
drwxr-xr-x   7 elgrande elgrande 512 28 Nov. 14:23 .
drwxr-xr-x   3 root     wheel     64 28 Nov. 14:22 ..
dr-xr-xr-x  11 elgrande elgrande 640 28 Nov. 14:23 .fcdm-jail
-r--r--r--   1 elgrande elgrande   0 28 Nov. 14:23 .fcdm-lock
drwx------   2 elgrande elgrande  64 28 Nov. 14:22 at-spi
drwx------   3 elgrande elgrande  64 28 Nov. 14:22 dbus-1
drwx------   2 elgrande elgrande  64 28 Nov. 14:22 dconf
drwx------   2 elgrande elgrande 128 28 Nov. 14:22 pulse
srwxr-xr-x   1 elgrande elgrande   0 28 Nov. 14:22 wayland-0
-rw-r-----   1 elgrande elgrande   0 28 Nov. 14:22 wayland-0.lock
elgrande@elfreebsdo1:/var/run/user/1001 %
 
Status update:
It actually _is_ a Wayland issue. In Xorg I can play Spotify without problems.
I will investigate and share the solution, if I make it work under Wayland.
Any hints appreciated.
 
I got it working in Wayland, too.
I replaced
setenv XDG_RUNTIME_DIR /var/run/user/`id -u` (taken from FreeBSD handbook)
with
setenv XDG_RUNTIME_DIR /home/elgrande
in my Wayland launch script.

Extremely happy to have Spotify on my FreeBSD box now ?
 
I got it working in Wayland, too.
I replaced
setenv XDG_RUNTIME_DIR /var/run/user/`id -u` (taken from FreeBSD handbook)
with
setenv XDG_RUNTIME_DIR /home/elgrande
in my Wayland launch script.

Extremely happy to have Spotify on my FreeBSD box now ?
Is this the actual Spotify client, or just the web player?

I've been happy enough using spotifyd for quite a while now, trying to decide if I want to go the extra effort.
 
Yeah I saw that, wonder if it will now inspire Spotify to build a client for FreeBSD, seeing as it's an Electron app n'all.
Reading the Spotify for Linux downloads page gives me little hope there will be a FreeBSD version:
"Here you can find different ways of installing Spotify for Linux. Spotify for Linux is a labor of love from our engineers that wanted to listen to Spotify on their Linux development machines. They work on it in their spare time and it is currently not a platform that we actively support"
 
Today, after installing 14.0-p1, Spotify in Chromium suddently stopped working. I tested in Wayland and X, but no success.

EDIT: The 2 test links from OP still work fine, only Spotify doesn't. Strange.
 
I am having similar issue with spotify and udemy not working with chromium and widevine using xorg. Chromium loads the spotify web player but clicking to start playing a song does not respond with music playing. I know it worked a while ago when i first tried it but it seems to have stopped working recently.

The first test link from OP works for me. The second test link from OP won't play.

uname -v of my system is below:

FreeBSD 14.0-STABLE #100 stable/14-n265864-c9ceff3c1fa6: Fri Dec 1 06:59:51 EST 2023
 
The first test link from OP works for me.
Bitmovin for some reason recently decided to implement the transparent no-DRM fallback for the DRM playback demo (yes, you read that right), so it only works properly if you see "using Widevine" text.

You could also try "Multi-Key DRM" demo from https://demo.castlabs.com/#/player/demo or the demo labeled "Sintel" from https://shaka-player-demo.appspot.com/demo/.

uname -v of my system is below:

FreeBSD 14.0-STABLE #100 stable/14-n265864-c9ceff3c1fa6: Fri Dec 1 06:59:51 EST 2023
I'm interested in the terminal output from the browser, as usual.
 
Bitmovin for some reason recently decided to implement the transparent no-DRM fallback for the DRM playback demo (yes, you read that right), so it only works properly if you see "using Widevine" text.

You could also try "Multi-Key DRM" demo from https://demo.castlabs.com/#/player/demo or the demo labeled "Sintel" from https://shaka-player-demo.appspot.com/demo/.


I'm interested in the terminal output from the browser, as usual.
The "Multi-Key DRM demo does not seem to play for me. I get the following error:

FATAL Clpp-Error [Category 6 - Code 6001] Caused by NotSupportedError: Unsupported keySystem or supportedConfigurations.

The Sintel video shows as not available to play for me.

This is the terminal output I get when i try playing a udemy video:

(chrome:2616): Gtk-WARNING **: 18:22:40.547: Theme parsing error: gtk.css:2:33: Failed to import: Error
opening file /home/rob/.config/gtk-3.0/window_decorations.css: No such file or directory
[2616:1015104256:1201/182240.579462:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579485:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579495:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579503:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587266:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587300:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd5 (isEnabled)
[2616:1015095296:1201/182240.587366:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587379:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwal
letd5
[2616:1015095296:1201/182240.587405:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587412:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd5 (close)
[2616:1015095296:1201/182240.587704:ERROR:policy_logger.cc(157)] :components/enterprise/browser/control
ler/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization abort
ed as CBCM is not enabled.
[2616:1015104256:1201/182240.601980:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.602041:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.635418:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.635443:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
lib.cpp:620: info: GetCdmVersion
lib.cpp:562: info: started process; pid = 2652
Warning: Couldn't get proc vkCmdBeginDebugUtilsLabelEXT
at LoadInstanceProcs (../../third_party/dawn/src/dawn/native/vulkan/VulkanFunctions.cpp:126)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:347)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)


This is the output i get from the terminal with spotify web player:

chrome:2812): Gtk-WARNING **: 18:30:02.139: Theme parsing error: gtk.css:2:33: Failed to import: Error
opening file /home/rob/.config/gtk-3.0/window_decorations.css: No such file or directory
[2812:-972995840:1201/183002.170879:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170912:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170929:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170943:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.178932:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.178969:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd5 (isEnabled)
[2812:-973004800:1201/183002.179022:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.179030:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwal
letd5
[2812:-973004800:1201/183002.179052:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.179057:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd5 (close)
[2812:-973004800:1201/183002.179339:ERROR:policy_logger.cc(157)] :components/enterprise/browser/control
ler/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization abort
ed as CBCM is not enabled.
[2812:-972995840:1201/183002.193600:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.193662:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.231040:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.231073:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
lib.cpp:620: info: GetCdmVersion
lib.cpp:562: info: started process; pid = 2841
Warning: Couldn't get proc vkCmdBeginDebugUtilsLabelEXT
at LoadInstanceProcs (../../third_party/dawn/src/dawn/native/vulkan/VulkanFunctions.cpp:126)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:347)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521
 
Code:
% sudo pkg install chromium # 117.0.5938.149_2 or higher

% sudo pkg install foreign-cdm
% sudo sysrc linux_enable="YES"
% sudo service linux start

% git clone --depth 1 https://github.com/freebsd/freebsd-ports
% cd freebsd-ports/www/linux-widevine-cdm
% make
% sudo make install
This is gold. Thankyou so much. :)
I've been waiting for months to have the time to get this working so I can watch https://iview.abc.net.au
 
What is the point of this? Just because it can be done? Say you're a C developer, are you going to do web development only in C just because you like it and know it? Scrap the HTML, CSS, PHP, Ruby, whatever, but do everything in C. Is that what this exercise is?

Whatever happened to using the best tool for the job?
 
Today, after installing 14.0-p1, Spotify in Chromium suddently stopped working. I tested in Wayland and X, but no success.

EDIT: The 2 test links from OP still work fine, only Spotify doesn't. Strange.
Ok I got it working again by adding the following to /etc/fstab:
Code:
devfs           /compat/linux/dev      devfs           rw,late                      0       0
tmpfs           /compat/linux/dev/shm  tmpfs           rw,late,size=1g,mode=1777    0       0
fdescfs         /compat/linux/dev/fd   fdescfs         rw,late,linrdlnk             0       0
linprocfs       /compat/linux/proc     linprocfs       rw,late                      0       0
linsysfs        /compat/linux/sys      linsysfs        rw,late                      0       0
followed by mount -a
 
The "Multi-Key DRM demo does not seem to play for me. I get the following error:

FATAL Clpp-Error [Category 6 - Code 6001] Caused by NotSupportedError: Unsupported keySystem or supportedConfigurations.

The Sintel video shows as not available to play for me.

This is the terminal output I get when i try playing a udemy video:

(chrome:2616): Gtk-WARNING **: 18:22:40.547: Theme parsing error: gtk.css:2:33: Failed to import: Error
opening file /home/rob/.config/gtk-3.0/window_decorations.css: No such file or directory
[2616:1015104256:1201/182240.579462:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579485:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579495:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.579503:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587266:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587300:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd5 (isEnabled)
[2616:1015095296:1201/182240.587366:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587379:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwal
letd5
[2616:1015095296:1201/182240.587405:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015095296:1201/182240.587412:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd5 (close)
[2616:1015095296:1201/182240.587704:ERROR:policy_logger.cc(157)] :components/enterprise/browser/control
ler/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization abort
ed as CBCM is not enabled.
[2616:1015104256:1201/182240.601980:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.602041:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.635418:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2616:1015104256:1201/182240.635443:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
lib.cpp:620: info: GetCdmVersion
lib.cpp:562: info: started process; pid = 2652
Warning: Couldn't get proc vkCmdBeginDebugUtilsLabelEXT
at LoadInstanceProcs (../../third_party/dawn/src/dawn/native/vulkan/VulkanFunctions.cpp:126)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:347)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)


This is the output i get from the terminal with spotify web player:

chrome:2812): Gtk-WARNING **: 18:30:02.139: Theme parsing error: gtk.css:2:33: Failed to import: Error
opening file /home/rob/.config/gtk-3.0/window_decorations.css: No such file or directory
[2812:-972995840:1201/183002.170879:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170912:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170929:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.170943:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.178932:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.178969:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd5 (isEnabled)
[2812:-973004800:1201/183002.179022:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.179030:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwal
letd5
[2812:-973004800:1201/183002.179052:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-973004800:1201/183002.179057:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd5 (close)
[2812:-973004800:1201/183002.179339:ERROR:policy_logger.cc(157)] :components/enterprise/browser/control
ler/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization abort
ed as CBCM is not enabled.
[2812:-972995840:1201/183002.193600:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.193662:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.231040:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2812:-972995840:1201/183002.231073:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse se
rver address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
lib.cpp:620: info: GetCdmVersion
lib.cpp:562: info: started process; pid = 2841
Warning: Couldn't get proc vkCmdBeginDebugUtilsLabelEXT
at LoadInstanceProcs (../../third_party/dawn/src/dawn/native/vulkan/VulkanFunctions.cpp:126)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:347)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521
This may indicate you need to mount proc in /compat/linux, see my post https://forums.freebsd.org/threads/...istening-to-netflix-in-2023.90695/post-631489 .
 
No, that is not relevant. It also didn't help you, the reboot likely did.
That mounts seemed to help, at least one of them. I did not even reboot. Just mount -a and browser restart (which I had tried 10 times before). It may be a coincidence though, i might check out of curiosity later...
 
Back
Top