Raspberry Pi + Rune Audio ::: Một trải nghiệm nghe nhạc mới

tml3nr

Moderator
Mình không có sources đã thêm bớt gia vị của smpd mà chỉ có sources cơ bản của raspberry và chỉ gia giảm được những cái cơ bản. Smpd có tìm kiếm dev tham gia phát triển smpd ở github theo comment trên symphonic-mpd.com. link này Githubリポジトリ管理 ボランティア募集 (Tuyển dụng tình nguyện viên quản lý kho lưu trữ Github).
Nếu chui vào đó tham khảo sources code ạ.
Cái này em dốt quá đâu có theo nổi ạ. Cốt kiếc là em điếc ngắc :confused:
 

tml3nr

Moderator
@tml3nr chỉ mình các nào để đổi tên Aplayer trong mạng nếu mình muốn chạy 2 con Pi cùng 1 lúc với..Hiện tại nó hiện ra giống nhau nên chỉ nhận được 1 trong 2 thôi. Cám ơn
Không thấy option để đổi tên anh ạ. Mình có thể thử bằng cách dùng text edit như notepad++ đổi cụm từ "APlayer Media Renderer" trong file ap2renderer.

Thông thường thay thế bằng đúng số ký tự nó sẽ không sao.
 

rndce

Well-Known Member
Mạng lag quá nên giờ em mới thấy bài này của anh Quạt.

Cái Environment này quá hay luôn anh ạ. Em sẽ xài liền :rolleyes:
Của mình cài Tidal Connect lên Smpd 0.96 nó báo Failed như hỉnh:
SMPD.png

Thấy báo thiếu libflac++6v5, mình cài thêm thì ko cài được.
Mã:
sudo apt-get install libflac++6v5*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Đã stop pipe.sh rồi mà chạy
Mã:
pi@smpd:/usr/ifi $ ifi-tidal-release/pa_devs/run.sh
Báo lỗi
Mã:
pi@smpd:/usr/ifi $ sudo ifi-tidal-release/pa_devs/run.sh
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ifi-tidal-release/pa_devs/run.sh: line 6:  1196 Segmentation fault      ${SAME_DIR}/bin/ifi-pa-devs-get > ${SAME_DIR}devices
File devs trống rỗng không có device#
Mã:
pi@smpd:~ $ cat /usr/ifi/ifi-tidal-release/pa_devs
Dùng câu lệnh cài HiTide cùa Shawaj kết quả chạy:
Mã:
pi@smpd:~ $ curl -sSL https://raw.githubusercontent.com/shawaj/HiTide/main/install.sh | sudo bash
Get:1 https://deb.debian.org/debian stretch InRelease [260 B]
Ign:1 https://deb.debian.org/debian stretch InRelease
Get:2 https://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:3 http://security.debian.org/debian-security jessie/updates InRelease [44.9 kB]
Get:4 https://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Hit:6 http://archive.raspberrypi.org/debian jessieInRelease
Get:7 https://deb.debian.org/debian stretch Release.gpg [2,410 B]
Get:8 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian jessieInRelease [15.0 kB]
Err:2 https://deb.debian.org/debian stretch-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:3 http://security.debian.org/debian-security jessie/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
Err:5 http://security.debian.org/debian-security stretch/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
Ign:7 https://deb.debian.org/debian stretch Release.gpg
Get:10 http://archive.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Reading package lists... Done
W: GPG error: https://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'https://deb.debian.org/debian stretch-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security jessie/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
E: The repository 'http://security.debian.org/debian-security jessie/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
E: The repository 'http://security.debian.org/debian-security stretch/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY EF0F382A1A7B6500
E: The repository 'https://deb.debian.org/debian stretch Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libportaudio2' for glob 'libportaudio2*'
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
libavformat57 is already the newest version (7:3.2.15-0+deb9u2).
libportaudio2 is already the newest version (19.6.0-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
alsa-utils : Depends: libasound2 (>= 1.1.1)
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  850k  100  850k    0     0  3030k      0 --:--:-- --:--:-- --:--:-- 3036k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl1.0.0' instead of './libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb'
The following packages were automatically installed and are no longer required:
libplymouth4libssl-doc
Use 'apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libssl1.0.0
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  231k  100  231k    0     0  1562k      0 --:--:-- --:--:-- --:--:-- 1566k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl3' instead of './libcurl3_7.38.0-4+deb8u16_armhf.deb'
The following packages were automatically installed and are no longer required:
libidn2-0 libnghttp2-14 libplymouth4 libpsl5 libssl-doc publicsuffix
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
curlrpi-update
The following packages will be DOWNGRADED:
  libcurl3
0 upgraded, 0 newly installed, 1 downgraded, 2 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Cloning into 'ifi-tidal-release'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 64 (delta 15), reused 38 (delta 1), pack-reused 0
Unpacking objects: 100% (64/64), done.
Checking connectivity... done.
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
   Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; disabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2021-03-19 09:50:26 JST; 19ms ago
  Process: 1641 ExecStart=/usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTideRasPi Streamer --codec-mpegh true --codec-mqa false --model-name HiTideRasPi Streamer --disable-app-security false --disable-web-security false --enable-mqa-passthrough false --log-level 3 --enable-websocket-log 0 (code=exited, status=127)
Main PID: 1641 (code=exited, status=127)

Mar 19 09:50:26 smpdsystemd[1]: ifi-streamer-tidal-connect.service: main process exited, code=exited, status=127/n/a
Mar 19 09:50:26 smpdsystemd[1]: Unit ifi-streamer-tidal-connect.service entered failed state.
Có lẽ Smpd dùng rt-alsa nên khó nuốt trôi hơn Volumio 3.14. hay Moode v7.
 
Chỉnh sửa lần cuối:

pana800

Well-Known Member
Không thấy option để đổi tên anh ạ. Mình có thể thử bằng cách dùng text edit như notepad++ đổi cụm từ "APlayer Media Renderer" trong file ap2renderer.

Thông thường thay thế bằng đúng số ký tự nó sẽ không sao.
Mình đổi 1 cái. thành tên khác, nó vẫn đổi được tên. Tuy nhiên, cứ cái nào nào khởi động sau thì sẽ giành quyền và hiện ra. Đặc biệt đang phát cái trước nếu cái sau mở ra thì mình play lại bài đang chạy của cái trước thì bài đó sẽ được play trên cái sau và cả 2 cái cùng phát bài đó. Chưa hiểu cơ chế là sao luôn :)
 

tml3nr

Moderator
Của mình cài Tidal Connect lên Smpd 0.96 nó báo Failed như hỉnh:
SMPD.png

Thấy báo thiếu libflac++6v5, mình cài thêm thì ko cài được.
Mã:
sudo apt-get install libflac++6v5*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Đã stop pipe.sh rồi mà chạy
Mã:
pi@smpd:/usr/ifi $ ifi-tidal-release/pa_devs/run.sh
Báo lỗi
Mã:
pi@smpd:/usr/ifi $ sudo ifi-tidal-release/pa_devs/run.sh
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ifi-tidal-release/pa_devs/run.sh: line 6:  1196 Segmentation fault      ${SAME_DIR}/bin/ifi-pa-devs-get > ${SAME_DIR}devices
File devs trống rỗng không có device#
Mã:
pi@smpd:~ $ cat /usr/ifi/ifi-tidal-release/pa_devs
Dùng câu lệnh cài HiTide cùa Shawaj kết quả chạy:
Mã:
pi@smpd:~ $ curl -sSL https://raw.githubusercontent.com/shawaj/HiTide/main/install.sh | sudo bash
Get:1 https://deb.debian.org/debian stretch InRelease [260 B]
Ign:1 https://deb.debian.org/debian stretch InRelease
Get:2 https://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:3 http://security.debian.org/debian-security jessie/updates InRelease [44.9 kB]
Get:4 https://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Hit:6 http://archive.raspberrypi.org/debian jessieInRelease
Get:7 https://deb.debian.org/debian stretch Release.gpg [2,410 B]
Get:8 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian jessieInRelease [15.0 kB]
Err:2 https://deb.debian.org/debian stretch-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:3 http://security.debian.org/debian-security jessie/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
Err:5 http://security.debian.org/debian-security stretch/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
Ign:7 https://deb.debian.org/debian stretch Release.gpg
Get:10 http://archive.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Reading package lists... Done
W: GPG error: https://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'https://deb.debian.org/debian stretch-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security jessie/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
E: The repository 'http://security.debian.org/debian-security jessie/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
E: The repository 'http://security.debian.org/debian-security stretch/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY EF0F382A1A7B6500
E: The repository 'https://deb.debian.org/debian stretch Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libportaudio2' for glob 'libportaudio2*'
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
libavformat57 is already the newest version (7:3.2.15-0+deb9u2).
libportaudio2 is already the newest version (19.6.0-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
alsa-utils : Depends: libasound2 (>= 1.1.1)
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  850k  100  850k    0     0  3030k      0 --:--:-- --:--:-- --:--:-- 3036k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl1.0.0' instead of './libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb'
The following packages were automatically installed and are no longer required:
libplymouth4libssl-doc
Use 'apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libssl1.0.0
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  231k  100  231k    0     0  1562k      0 --:--:-- --:--:-- --:--:-- 1566k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl3' instead of './libcurl3_7.38.0-4+deb8u16_armhf.deb'
The following packages were automatically installed and are no longer required:
libidn2-0 libnghttp2-14 libplymouth4 libpsl5 libssl-doc publicsuffix
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
curlrpi-update
The following packages will be DOWNGRADED:
  libcurl3
0 upgraded, 0 newly installed, 1 downgraded, 2 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Cloning into 'ifi-tidal-release'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 64 (delta 15), reused 38 (delta 1), pack-reused 0
Unpacking objects: 100% (64/64), done.
Checking connectivity... done.
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
   Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; disabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2021-03-19 09:50:26 JST; 19ms ago
  Process: 1641 ExecStart=/usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTideRasPi Streamer --codec-mpegh true --codec-mqa false --model-name HiTideRasPi Streamer --disable-app-security false --disable-web-security false --enable-mqa-passthrough false --log-level 3 --enable-websocket-log 0 (code=exited, status=127)
Main PID: 1641 (code=exited, status=127)

Mar 19 09:50:26 smpdsystemd[1]: ifi-streamer-tidal-connect.service: main process exited, code=exited, status=127/n/a
Mar 19 09:50:26 smpdsystemd[1]: Unit ifi-streamer-tidal-connect.service entered failed state.
Có lẽ Smpd dùng rt-alsa nên khó nuốt trôi hơn Volumio 3.14. hay Moode v7.
Hôm đó em múa may quay cuồng kinh dị lắm nên khi nó chạy được em cũng hơi mơ màng. Phải làm lại vài lần nữa mới viết ra được tút chính xác anh ạ.

Cơ bản em làm theo trình tự sau:

- Disable hết tất cả các service liên quan đến audio của 0.9.6. Chỉ chừa lại OS trơn.

- Setup thủ công từng packet lần lượt theo 2 cách của 2 dev:

https://github.com/shawaj

https://github.com/seniorgod

- Trong khi setup từng package, thay đổi source list cho phù hợp.

- Nếu package nào bị lỗi, fix cho xong rồi mới đi típ.

- Sau khi xào qua xào lại hai cách của 2 ông này. Em thấy TC chạy được với git của shawaj (Có thể package 2 bên khác nhau, em chưa xem kỹ vì không có thời gian).

Sau khi Tidal chạy được. Em trả dần về các settings optimize của bản gốc (Hiện em đang làm tới đoạn này).

Hiện tại em thấy TC xuất ra alsa, không liên quan đến aplay-rt. aplay-rt chỉ đơn thuần là một app đẩy nhạc cho mpd.
 
Chỉnh sửa lần cuối:

quatmo

Well-Known Member
Của mình cài Tidal Connect lên Smpd 0.96 nó báo Failed như hỉnh:
SMPD.png

Thấy báo thiếu libflac++6v5, mình cài thêm thì ko cài được.
Mã:
sudo apt-get install libflac++6v5*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Đã stop pipe.sh rồi mà chạy
Mã:
pi@smpd:/usr/ifi $ ifi-tidal-release/pa_devs/run.sh
Báo lỗi
Mã:
pi@smpd:/usr/ifi $ sudo ifi-tidal-release/pa_devs/run.sh
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ifi-tidal-release/pa_devs/run.sh: line 6:  1196 Segmentation fault      ${SAME_DIR}/bin/ifi-pa-devs-get > ${SAME_DIR}devices
File devs trống rỗng không có device#
Mã:
pi@smpd:~ $ cat /usr/ifi/ifi-tidal-release/pa_devs
Dùng câu lệnh cài HiTide cùa Shawaj kết quả chạy:
Mã:
pi@smpd:~ $ curl -sSL https://raw.githubusercontent.com/shawaj/HiTide/main/install.sh | sudo bash
Get:1 https://deb.debian.org/debian stretch InRelease [260 B]
Ign:1 https://deb.debian.org/debian stretch InRelease
Get:2 https://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:3 http://security.debian.org/debian-security jessie/updates InRelease [44.9 kB]
Get:4 https://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Hit:6 http://archive.raspberrypi.org/debian jessieInRelease
Get:7 https://deb.debian.org/debian stretch Release.gpg [2,410 B]
Get:8 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian jessieInRelease [15.0 kB]
Err:2 https://deb.debian.org/debian stretch-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:3 http://security.debian.org/debian-security jessie/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
Err:5 http://security.debian.org/debian-security stretch/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
Ign:7 https://deb.debian.org/debian stretch Release.gpg
Get:10 http://archive.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Reading package lists... Done
W: GPG error: https://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'https://deb.debian.org/debian stretch-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security jessie/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY AA8E81B4331F7F50
E: The repository 'http://security.debian.org/debian-security jessie/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.debian.org/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
E: The repository 'http://security.debian.org/debian-security stretch/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY EF0F382A1A7B6500
E: The repository 'https://deb.debian.org/debian stretch Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libportaudio2' for glob 'libportaudio2*'
Note, selecting 'libflac++6v5' for glob 'libflac++6v5*'
libavformat57 is already the newest version (7:3.2.15-0+deb9u2).
libportaudio2 is already the newest version (19.6.0-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
alsa-utils : Depends: libasound2 (>= 1.1.1)
libflac++6v5 : Depends: libflac8 (>= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  850k  100  850k    0     0  3030k      0 --:--:-- --:--:-- --:--:-- 3036k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl1.0.0' instead of './libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb'
The following packages were automatically installed and are no longer required:
libplymouth4libssl-doc
Use 'apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libssl1.0.0
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
  % Total    % Received % Xferd  Average Speed   Time    TimeTime  Current
Dload  Upload   Total   Spent    Left  Speed
100  231k  100  231k    0     0  1562k      0 --:--:-- --:--:-- --:--:-- 1566k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl3' instead of './libcurl3_7.38.0-4+deb8u16_armhf.deb'
The following packages were automatically installed and are no longer required:
libidn2-0 libnghttp2-14 libplymouth4 libpsl5 libssl-doc publicsuffix
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
curlrpi-update
The following packages will be DOWNGRADED:
  libcurl3
0 upgraded, 0 newly installed, 1 downgraded, 2 to remove and 444 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Cloning into 'ifi-tidal-release'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 64 (delta 15), reused 38 (delta 1), pack-reused 0
Unpacking objects: 100% (64/64), done.
Checking connectivity... done.
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
   Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; disabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2021-03-19 09:50:26 JST; 19ms ago
  Process: 1641 ExecStart=/usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTideRasPi Streamer --codec-mpegh true --codec-mqa false --model-name HiTideRasPi Streamer --disable-app-security false --disable-web-security false --enable-mqa-passthrough false --log-level 3 --enable-websocket-log 0 (code=exited, status=127)
Main PID: 1641 (code=exited, status=127)

Mar 19 09:50:26 smpdsystemd[1]: ifi-streamer-tidal-connect.service: main process exited, code=exited, status=127/n/a
Mar 19 09:50:26 smpdsystemd[1]: Unit ifi-streamer-tidal-connect.service entered failed state.
Có lẽ Smpd dùng rt-alsa nên khó nuốt trôi hơn Volumio 3.14. hay Moode v7.

Bác khỏi cài chi cho mất công, cứ chờ bác Hải build IMG Smpd 0.96-mod upload lên là xài thôi.

Có rất nhiêu chi tiết quá trình cài/fix khó thể nào mà hướng dẫn chi ly, nhiều khi viết hướng dẫn còn mệt hơn là ngồi debug nó.

Như TC bản Volumio 3.14 mình build cũng vậy, không dễ nuốt như Moode, xà quần mất cả tiếng.

TC bản Volumio debian jessie 2.8x mất cả ngày trời, mà còn bị lỗi cắm DAC này hát líu lo (DSD Pure, HifiBerry Pcm5102, AudioInjetor, đưa DAC khác (RPi-DAC HiFi pcm1794a) vào tịt âm thanh dù test trong command vẫn thông tin truyền đến đủ.
 

tml3nr

Moderator
Mình đổi 1 cái. thành tên khác, nó vẫn đổi được tên. Tuy nhiên, cứ cái nào nào khởi động sau thì sẽ giành quyền và hiện ra. Đặc biệt đang phát cái trước nếu cái sau mở ra thì mình play lại bài đang chạy của cái trước thì bài đó sẽ được play trên cái sau và cả 2 cái cùng phát bài đó. Chưa hiểu cơ chế là sao luôn :)
Vậy là ngoài tên, nó còn định danh bằng một cái gì khác. Mình có thể dùng các tools upnp để xem chi tiết.

Cách nhanh nhất là anh thử đổi một version khác vào test thử.
 

HNE

Active Member
Mạch này đã thương mại chưa bạn? Giá bao nhiêu?
E chưa thương mại ạ , đợi đánh giá chất âm xem hơn nhiều bản allo digione ko , e sài full ổn áp là LT3045 và LT3042 , nếu chất âm ko hơn nhiều thì tạm dừng vì sài 3045 giá khá chát .
Bản này ngoài digione e còn mod thêm điện sạch cho chip Ethernet và chip USB 3.0 , mod thêm clock OCXO cho 2 chip này .

Đang rất kỳ vọng về chất âm .
 

chautranthanh

Well-Known Member
E chưa thương mại ạ , đợi đánh giá chất âm xem hơn nhiều bản allo digione ko , e sài full ổn áp là LT3045 và LT3042 , nếu chất âm ko hơn nhiều thì tạm dừng vì sài 3045 giá khá chát .
Bản này ngoài digione e còn mod thêm điện sạch cho chip Ethernet và chip USB 3.0 , mod thêm clock OCXO cho 2 chip này .

Đang rất kỳ vọng về chất âm .
Điện sạch và clock tốt cho ethernet và usb hi vọng bác đạt như ý muốn !
 

rndce

Well-Known Member
Hôm đó em múa may quay cuồng kinh dị lắm nên khi nó chạy được em cũng hơi mơ màng. Phải làm lại vài lần nữa mới viết ra được tút chính xác anh ạ.

Cơ bản em làm theo trình tự sau:

- Disable hết tất cả các service liên quan đến audio của 0.9.6. Chỉ chừa lại OS trơn.

- Setup thủ công từng packet lần lượt theo 2 cách của 2 dev:

https://github.com/shawaj

https://github.com/seniorgod

- Trong khi setup từng package, thay đổi source list cho phù hợp.

- Nếu package nào bị lỗi, fix cho xong rồi mới đi típ.

- Sau khi xào qua xào lại hai cách của 2 ông này. Em thấy TC chạy được với git của shawaj (Có thể package 2 bên khác nhau, em chưa xem kỹ vì không có thời gian).

Sau khi Tidal chạy được. Em trả dần về các settings optimize của bản gốc (Hiện em đang làm tới đoạn này).

Hiện tại em thấy TC xuất ra alsa, không liên quan đến aplay-rt. aplay-rt chỉ đơn thuần là một app đẩy nhạc cho mpd.
Cảm ơn bác @tml3nr, nhờ hướng dẫn của bác, mình đã cho Tidal connect chạy trên Smpd 0.96
Tidal-Connect.png
 

tml3nr

Moderator
Cảm ơn bác @tml3nr, nhờ hướng dẫn của bác, mình đã cho Tidal connect chạy trên Smpd 0.96
Tidal-Connect.png
Anh giỏi quá. Em làm vật vã hơn 5 tiếng mới chạy được.

Em đang thử áp lại rc.local sau khi start tc. Âm thanh hay hơn rất nhiều. Tiếng long lanh và thanh thoát lắm. Những setup trong đó rất tinh vi. Em chưa từng thấy trong các os khác.

Em thử dùng các tham số rt trong mpd.service áp vào tc.service. Nó đẩy tc lên rt liền. Tiếng khác hẳn luôn.

Em sẽ khảo sát và test kỹ hơn để phối hợp sao cho âm thanh ok nhất.

Rất kinh dị về về kỹ thuật xử lý của dev papalius :eek:
 

quatmo

Well-Known Member
Anh giỏi quá. Em làm vật vã hơn 5 tiếng mới chạy được.

Em đang thử áp lại rc.local sau khi start tc. Âm thanh hay hơn rất nhiều. Tiếng long lanh và thanh thoát lắm. Những setup trong đó rất tinh vi. Em chưa từng thấy trong các os khác.

Em thử dùng các tham số rt trong mpd.service áp vào tc.service. Nó đẩy tc lên rt liền. Tiếng khác hẳn luôn.

Em sẽ khảo sát và test kỹ hơn để phối hợp sao cho âm thanh ok nhất.

Rất kinh dị về về kỹ thuật xử lý của dev papalius :eek:
Mong chờ anh ra hàng quá!

Em mới mua thêm Pi 2 chỉ để chờ dùng bản Mod này.
 

rndce

Well-Known Member
Anh giỏi quá. Em làm vật vã hơn 5 tiếng mới chạy được.

Em đang thử áp lại rc.local sau khi start tc. Âm thanh hay hơn rất nhiều. Tiếng long lanh và thanh thoát lắm. Những setup trong đó rất tinh vi. Em chưa từng thấy trong các os khác.

Em thử dùng các tham số rt trong mpd.service áp vào tc.service. Nó đẩy tc lên rt liền. Tiếng khác hẳn luôn.

Em sẽ khảo sát và test kỹ hơn để phối hợp sao cho âm thanh ok nhất.

Rất kinh dị về về kỹ thuật xử lý của dev papalius :eek:
Mình chỉ chạy được sau khi reboot lại.
Nếu mà play nhạc từ NAS thì sau đó stop, play Tidal Connect từ phone qua smpd thì tịt không phát được, dù ifi-streamer-tidal-connect.service vẫn active xanh lè. (thử sudo systemctl stop pipe, rồi restart ifi-streamer-tidal-connect.service mà vẫn tịt)
Muốn xài TC chỉ có cách reboot lại Pi.
Chờ bác sửa các lỗi này.
 
Bên trên