my start_myHD.log is by following
Run only after boot / reboot / update of myHD
No modules to load
ENABLE ... asportal is Enable
NO myHD don't run no more with systemd or with bash
ENABLE ... asportal is Enable
myHD start ... requested Sun Nov 20 13:29:32 CST 2022
get keys from Asportal / get sound def.
myHD astr user exist ...
==== Check installation method
Now start jchroot in background
Start jinit (systemd) ... Sun Nov 20 13:29:33 CST 2022
remove (if needed) getty.target from multi-user.target.wants
remove (if needed pulseaudio.service from chroot /usr/lib/systemd/user/
add (if needed) rc.local service to systemd
add (if needed) dropbear service to systemd
now start in background a survey to manage a clean exit
myHD wait-for_clean ... started Sun Nov 20 13:29:43 CST 2022
time to do extra works in myHD
keys for sshfs / ssh already generated for root
keys for sshfs / ssh already generated for astr
create or verify authorized_keys for ADM root user
keys for myHD root user is already installed
keys for myHD astr user is already installed
Background interface to solve some launch problems (like AppImage)
Init alsa
alsa-lib main.c(snd_use_case_mgr_open) error: failed to import hw:0 (empty configuration)
Found hardware: "HDA-Intel" "Intel Geminilake HDMI" "HDA:8086280d,80860101,00100000" "0x0000" "0x0000"
Hardware is initialized using a generic method
xbindkeys already installed
crudini already installed
gmrun already installed
parcellite already installed
Start autorun (for Asportal) if defined
Star applying Xkeyboard with : us
set X keyboard layout/variant using myHD tools
myHD start ... finished Sun Nov 20 13:29:49 CST 2022
myHD wait-for_clean ... end loop stop requested Tue Nov 22 18:27:53 CST 2022
myHD wait-for_clean ... end Tue Nov 22 18:27:53 CST 2022
[MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
-
- Posts: 9
- youtube meble na wymiar Warszawa
- Joined: Tue Nov 22, 2022 2:16 pm
- father.mande
- Posts: 1819
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
Hi,
All seems correct ... so, please do :
Post here result of commands (use if you prefer to put it directly in message) : command [arg] | tee -a /tmp/out.log ... this show you result and copy result (-a append) in file /tmp/out.log, so you can compress and put the file in the response ... )
Open a terminal as root/your_admin_password
free
myHD_root "vainfo"
myHD_root "ps -eaf"
... now just start kodi in asportal (don't run anything)
free
myHD_root "aplay -L"
myHD_root "ps -fu astr"
... now on Kodi (get screen shot when you are in page ... photo or better install Xvnc_server APKG, start vnc server : vnc_mngt start (and use any vnc client))
go to settings (second button top left)/system/audio/audio output device
TAKE a screenshot
go to settings/player/videos and verify that "allow hardware acceleration" is set
Play a video with a codec supported by your IGP and use "o" to get information on used of hardware acceleration and CPU usage.
Video Encoder must be like (here it's x264) : ff-h264-vaapi (HW) ... if not it's (SW) and software decoder used
ex. on my AS5002T (so old and low compare to your CPU even with 8GB memory) for a video 1920x1090, 24 Fps memory is less than 15% CPU 0 30% to 60% CPU 1 : 30% to 60% but the system is running woth users and syncthing task ...
but if software is used the CPU can be higter or some time at 100% depends of the codec (none with divx but some other plus and plus.
For the sound problem ... stop kodi, enter in myHD as root
myHD_root
then do aplay -l (to get all couple of card number / device number for each HDMI output
connect speaker if it's not done to the HDMI screen
use test to test each HDMI
/myHD_scripts/bin/test_pulse_Intel_config.sh
... this list HDMI playback, select couple to test each and listen for some text entry is like 0,1 for ex. card 0, device 1
... test all device up you get sound.
it's the sound card you must select in kodi to get sound
the pulse audio change is not for asportal but for idesk mode (idesk an asportal replacement)
Philippe.
All seems correct ... so, please do :
Post here result of commands (use if you prefer to put it directly in message) : command [arg] | tee -a /tmp/out.log ... this show you result and copy result (-a append) in file /tmp/out.log, so you can compress and put the file in the response ... )
Open a terminal as root/your_admin_password
free
myHD_root "vainfo"
myHD_root "ps -eaf"
... now just start kodi in asportal (don't run anything)
free
myHD_root "aplay -L"
myHD_root "ps -fu astr"
... now on Kodi (get screen shot when you are in page ... photo or better install Xvnc_server APKG, start vnc server : vnc_mngt start (and use any vnc client))
go to settings (second button top left)/system/audio/audio output device
TAKE a screenshot
go to settings/player/videos and verify that "allow hardware acceleration" is set
Play a video with a codec supported by your IGP and use "o" to get information on used of hardware acceleration and CPU usage.
Video Encoder must be like (here it's x264) : ff-h264-vaapi (HW) ... if not it's (SW) and software decoder used
ex. on my AS5002T (so old and low compare to your CPU even with 8GB memory) for a video 1920x1090, 24 Fps memory is less than 15% CPU 0 30% to 60% CPU 1 : 30% to 60% but the system is running woth users and syncthing task ...
but if software is used the CPU can be higter or some time at 100% depends of the codec (none with divx but some other plus and plus.
For the sound problem ... stop kodi, enter in myHD as root
myHD_root
then do aplay -l (to get all couple of card number / device number for each HDMI output
connect speaker if it's not done to the HDMI screen
use test to test each HDMI
/myHD_scripts/bin/test_pulse_Intel_config.sh
... this list HDMI playback, select couple to test each and listen for some text entry is like 0,1 for ex. card 0, device 1
... test all device up you get sound.
it's the sound card you must select in kodi to get sound
the pulse audio change is not for asportal but for idesk mode (idesk an asportal replacement)
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 9
- Joined: Tue Nov 22, 2022 2:16 pm
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
I got a permission denied message for the following command
myHD_root "vainfo" | tee -a /share/MyNas/out.log
nsenter: cannot open /proc/6658/ns/ipc: Permission denied
myHD_root "vainfo" | tee -a /share/MyNas/out.log
nsenter: cannot open /proc/6658/ns/ipc: Permission denied
- father.mande
- Posts: 1819
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
Hi,
I have add a switch to be able to run myHD command in any administrators it's not yet the case for myHD_root or myHD_astr command (sorry for the inconvenience)
Philippe.
Which user did you used to connect you to open terminal ? is it root ? (because only root can get control of a namespace).fielding wrote:I got a permission denied message for the following command
myHD_root "vainfo" | tee -a /share/MyNas/out.log
nsenter: cannot open /proc/6658/ns/ipc: Permission denied
I have add a switch to be able to run myHD command in any administrators it's not yet the case for myHD_root or myHD_astr command (sorry for the inconvenience)
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 9
- Joined: Tue Nov 22, 2022 2:16 pm
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
my monitor is the brand of asus called XG27UQR
maybe there is a problem for this kind of monitor
https://www.amazon.com/ASUS-Strix-Gamin ... B09B8WLYGD
maybe there is a problem for this kind of monitor
https://www.amazon.com/ASUS-Strix-Gamin ... B09B8WLYGD
- father.mande
- Posts: 1819
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
Hi,
Kodi change resolution and refresh rate for each movie ... so except for 4K without video acceleration ... I think it can be used even in lower 1920x1080 resolution.
you can use xrandr (from xorg provide by Asustor or in myHD) to see how NAS identify the screen
Is this screen have sound include ?
Philippe.
Not sure it's a problem ...fielding wrote:my monitor is the brand of asus called XG27UQR
maybe there is a problem for this kind of monitor
https://www.amazon.com/ASUS-Strix-Gamin ... B09B8WLYGD
Kodi change resolution and refresh rate for each movie ... so except for 4K without video acceleration ... I think it can be used even in lower 1920x1080 resolution.
you can use xrandr (from xorg provide by Asustor or in myHD) to see how NAS identify the screen
Is this screen have sound include ?
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 9
- Joined: Tue Nov 22, 2022 2:16 pm
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
I still have no sound from the screen
but if I use the app called Plex install from the app center , I can hear the sound
I don't know how to use myHD_root as well as myHD_scripts/bin/test_pulse_Intel_config.sh
but now I'll use my smartphone app called vic to cast the movie file from the NAS to my asus display with a chromecast plugged in.
but if I use the app called Plex install from the app center , I can hear the sound
I don't know how to use myHD_root as well as myHD_scripts/bin/test_pulse_Intel_config.sh
but now I'll use my smartphone app called vic to cast the movie file from the NAS to my asus display with a chromecast plugged in.
Last edited by fielding on Fri Nov 25, 2022 1:18 pm, edited 1 time in total.
-
- Posts: 9
- Joined: Tue Nov 22, 2022 2:16 pm
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
corrections
Plex app is played on the computer
,so I can hear the sound
but when I use browsers like chrome or firefox on asustor portal,I cannot hear the sound when browsing youtube
Plex app is played on the computer
,so I can hear the sound
but when I use browsers like chrome or firefox on asustor portal,I cannot hear the sound when browsing youtube
-
- Posts: 9
- Joined: Tue Nov 22, 2022 2:16 pm
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
Finally I can hear the sound on the screen and no lag found any more!
I chose the second device output #1 from the audio of the system setting
device output #1 ==> HDA Intel PCH,GSV GSV2x2 DEMO on HDMI #1
I chose the second device output #1 from the audio of the system setting
device output #1 ==> HDA Intel PCH,GSV GSV2x2 DEMO on HDMI #1
- father.mande
- Posts: 1819
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: [MH-kodi19 / MH-kodi18 / MH-kodi17] for myHD (16.04 & 18.04 env.)
Hi,
Due to the lack of udev ... it's difficult for each series to get the correct choice for output
If in the future, you test Idesk (asportal replacement) ... idesk use pulse audio, so with a reduce enter to select.
Thanks again.
Philippe.
Thanks for returning your result ... I am happy for you, but also for me ... I will be anxious and run lot of test (even without the same hardware) to search ...fielding wrote:Finally I can hear the sound on the screen and no lag found any more!
I chose the second device output #1 from the audio of the system setting
device output #1 ==> HDA Intel PCH,GSV GSV2x2 DEMO on HDMI #1
Due to the lack of udev ... it's difficult for each series to get the correct choice for output
If in the future, you test Idesk (asportal replacement) ... idesk use pulse audio, so with a reduce enter to select.
Thanks again.
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T