Installing the Touch Display plugin

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Installing the Touch Display plugin

Postby flugger » Mon May 15 2017 00:35

*crickets*
Random avatar
flugger
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Thu Feb 02 2017 01:48

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Installing the Touch Display plugin

Postby Philippsi » Fri Mar 16 2018 15:39

Dear Friends of Volumio,

first of all I want to describe my problem: After having used a TEAC WAP AX-100 sytem for streaming music and listening to webradio I am more and more disappointed due to many interruptions of the stream. This is a well known problem to all TEAC streaming solutions and it might be the reason for not manufacturing these devices any more. After each and any interruption you are forced to switch off the device, wait for ten seconds and then switch it on again. Then it takes about two minutes before you can connect your handheld device to the TEAC streamer again. Very frustrating.

So I thought about setting up my Paspberry Pi 3 / HiFiBerry light / 7" original display as a music streaming system. After testing some other distributions I have chosen Volumio. All works fine after setting up. Only one thing is bugging me. I made a clean install of 'volumio-2.378-2018-03-13-pi' and then logged in at the Raspi by volumio/volumio. On the console I typed

sudo apt-get install keyboard-configuration (as described earlier)

and got the following message on screen:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package keyboard-configuration

So when I ignore this error and try to install the touchscreen, it hangs at the keyboard-configuration as also described before.

Please let me know what I am doing wrong. Any help is welcome!

Gunter
Random avatar
Philippsi
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Fri Mar 16 2018 15:14


Installing the Touch Display plugin

Postby DJFlyFlyMcW » Mon Apr 09 2018 05:23

Do a "sudo apt-get update" before "sudo apt-get install keyboard-configuration"
Random avatar
DJFlyFlyMcW
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Mon Apr 09 2018 02:18


Installing the Touch Display plugin

Postby dk31 » Mon Jan 07 2019 12:34

Hello,

Trying to install the Touch display plugin on a freshly install RPI3, version 2.513 (2 weeks ago). . Everythings goes fine but stops at 70%. I have not seen any error during installation.

Last messages in volumio.log are:

Code: Select all
volumio@volumio:/var/log$ tail -f volumio.log
2019-01-07T12:05:57.430Z - info:   Creating chromium kiosk start script
2019-01-07T12:05:57.438Z - info: Creating Systemd Unit for Kiosk
2019-01-07T12:05:57.442Z - info:   Allowing volumio to start an xsession
2019-01-07T12:05:57.457Z - info: Install script completed
2019-01-07T12:05:57.462Z - info: Adding reference to registry
2019-01-07T12:05:57.468Z - info: Done installing plugin.
2019-01-07T12:05:57.487Z - info: Folder /tmp/plugins removed
2019-01-07T12:05:57.488Z - info: Folder /tmp/downloaded_plugin.zip removed
2019-01-07T12:05:57.491Z - info: Disabling Kiosk Service
2019-01-07T12:05:57.527Z - info: Folder /data/temp removed


Does not seem that anything is running, but the web UI is still stuck on 70%. Should I simply reboot?

Thanks for your help
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45


Installing the Touch Display plugin

Postby dk31 » Mon Jan 07 2019 12:39

Rebootting solved the issue. Something missing in the install script?
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45


Installing the Touch Display plugin

Postby dk31 » Mon Jan 07 2019 13:34

Well, things go bad... I am not sure it is related to the Display plugin, but I used volumio for 2 weeks without this plugin and never had this problem before.

I noticed that the volume control did not work, so I rebooted again, just to be sure I had not changed something.

Now, everything hangs up after a while. The PI boots, the display come up on the touch screen but nothing happens then (I cannot see my lybrary of music). Worst, everything is frozen on the screen, the touch screen does not respond and a web client won't work either.

Ping replies work (!). I was able to connect through ssh before having the problem. Here is the result of the "top" command:

Code: Select all
Tasks: 133 total,   3 running,  83 sleeping,   0 stopped,   1 zombie
%Cpu(s):  0.0 us, 11.8 sy,  0.0 ni, 46.6 id, 41.5 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem:    994104 total,   977272 used,    16832 free,     1324 buffers
KiB Swap:        0 total,        0 used,        0 free.    71388 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                   
   44 root      20   0       0      0      0 S   9.8  0.0   0:14.14 kswapd0                                                                                                                                   
  108 root       0 -20       0      0      0 S   4.6  0.0   0:06.85 loop0                                                                                                                                     
 1015 root      20   0  509388  20760   5164 D   3.7  2.1   0:12.60 chromium-browse                                                                                                                           
  574 volumio   20   0   31380    708      0 S   3.2  0.1   0:02.90 volumio-remote-                                                                                                                           
  874 root      20   0    6612    388      0 D   3.0  0.0   0:02.74 wpa_supplicant                                                                                                                           
  711 ntp       20   0   23476   1440      0 D   2.9  0.1   0:04.02 ntpd                                                                                                                                     
  166 root      20   0    8028   1216    940 R   2.8  0.1   0:04.32 systemd-journal                                                                                                                           
    1 root      20   0    5708   1328      0 S   2.6  0.1   0:09.26 systemd                                                                                                                                   
  949 volumio   20   0  779764 649828      0 D   2.6 65.4   2:07.33 node                                                                                                                                     
  810 root      20   0   21304   1232     28 R   2.5  0.1   0:03.54 nmbd                                                                                                                                     
   91 root      20   0       0      0      0 S   2.4  0.0   0:03.93 mmcqd/0                                                                                                                                   
  984 root      19  -1  112396  10640   3000 S   2.4  1.1   0:03.72 Xorg                                                                                                                                     
 1296 volumio   20   0    5036    420      0 R   2.3  0.0   0:04.45 top                                                                                                                                       
 1100 root      20   0  426136  95388  58828 D   1.8  9.6   0:20.10 chromium-browse                                                                                                                           
 1300 root      20   0   21304   1204      0 D   1.3  0.1   0:00.77 nmbd                                                                                                                                     
  342 systemd+  20   0   30088   1248      0 S   1.2  0.1   0:02.71 systemd-timesyn                                                                                                                           
  697 root      20   0    1800     88      0 S   1.1  0.0   0:01.49 ifplugd                                                                                                                                   
  873 root      20   0   34028   1816    140 S   1.1  0.2   0:00.86 smbd                                                                                                                                     
 1014 root      20   0   19488   1572      0 D   0.9  0.2   0:00.90 openbox                                                                                                                                   
  589 root      20   0    3764    244      0 S   0.8  0.0   0:01.08 systemd-logind                                                                                                                           
 1289 volumio   20   0   26384   1664      0 S   0.8  0.2   0:01.61 sshd                                                                                                                                     
    3 root      20   0       0      0      0 I   0.7  0.0   0:01.27 kworker/0:0                                                                                                                               
 1010 root      20   0    3616    204      0 S   0.5  0.0   0:00.61 ssh-agent                                                                                                                                 
  826 root      20   0   27116   1432      0 S   0.4  0.1   0:00.50 winbindd                                                                                                                                 
  877 root      20   0   27120   1424      8 S   0.4  0.1   0:00.35 winbindd                                                                                                                                 
  878 root      20   0   27120   1436      0 S   0.3  0.1   0:00.34 winbindd                                                                                                                                 
  623 avahi     20   0    3896    264      0 S   0.3  0.0   0:00.68 avahi-daemon                                                                                                                             
   31 root      20   0       0      0      0 I   0.3  0.0   0:00.42 kworker/2:1                                                                                                                               
  879 root      20   0   34028   1684      8 S   0.3  0.2   0:00.30 smbd             


Seems to me that a lot of memory is used... Is it normal?

What can I do except flash a new fresh image?
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45


Installing the Touch Display plugin

Postby dk31 » Mon Jan 07 2019 15:46

It seems I have a power supply problem. I have installed a "ifi audio" 5V 2,5A for the device. It looks like 2,5 is not enough for the RPI + screen. I have moved to a standard 3A supply, and things are better now.
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45


Installing the Touch Display plugin

Postby damiani8 » Mon Jan 07 2019 16:57

dk31 wrote:It seems I have a power supply problem. I have installed a "ifi audio" 5V 2,5A for the device. It looks like 2,5 is not enough for the RPI + screen. I have moved to a standard 3A supply, and things are better now.


I've had a few issues with my iFi PSU too.

I have the 3B+, 7" touchscreen and an Allo DigiOne and experienced under-voltage errors on the Pi. Having read in many places about the length of cable, poor quality USB leads etc I made the 'brave' decision to cut the iFi power lead (leaving only 15cm of cable) and remove all the adaptor plugs etc and simply solder the USB A female plug on to, allowing me to choose the 'right' USB lead. I'm still not 100% happy but the iFi seems to be bedding in, the under-voltage messages are now quite rare and I haven't had one in the last 24 hours.

I've also disabled all the LEDs, disabled USB and switched off the HDMI output in a further attempt to reduce power consumption.

Setting the cpu governor to 'ondemand' will no doubt help.
Random avatar
damiani8
Sunday DIYer
Sunday DIYer
 
Posts: 21
Joined: Sat Jan 05 2019 16:19


Installing the Touch Display plugin

Postby dk31 » Mon Jan 07 2019 21:21

Thanks for the advice.

I have now splitted the RPI alone on one side (ifi audio power supply), and the screen on a separate "standard" usb plug. Seems to work fine now.
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45


Installing the Touch Display plugin

Postby dk31 » Wed Jan 09 2019 11:01

Hello all,

Yesterday night, I ran again hopelessly into the swapping issue.... I was obliged to unplug the PSU and restart. It ran OK after that

When booting, I have three cases:

- the nice one: process "node" takes almost all the CPU and RAM memory during 1 or 2 mn, and after that time, everything works OK. This is the "nice situation". When the system is ready, it takes approx 50% of the RAM memory (see below)

Code: Select all
top - 11:49:38 up 18 min,  1 user,  load average: 0.00, 0.06, 0.17
Tasks: 128 total,   1 running,  84 sleeping,   0 stopped,   1 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    994104 total,   491000 used,   503104 free,    14920 buffers
KiB Swap:        0 total,        0 used,        0 free.   128852 cached Mem


- the touchy one: while "node" is running, I can see also kswap0 (not enough memory, so swapping), but after a while (let's say another couple of minutes), everything is fine.

- the bad one: kswap0 never ends, and I can't do anything, except hard rebbot with the PSU....

Code: Select all
Tasks: 133 total,   3 running,  83 sleeping,   0 stopped,   1 zombie
%Cpu(s):  0.0 us, 11.8 sy,  0.0 ni, 46.6 id, 41.5 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem:    994104 total,   977272 used,    16832 free,     1324 buffers
KiB Swap:        0 total,        0 used,        0 free.    71388 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                   
   44 root      20   0       0      0      0 S   9.8  0.0   0:14.14 kswapd0                                                                                                                                   
  108 root       0 -20       0      0      0 S   4.6  0.0   0:06.85 loop0                                                                                                                                     
 1015 root      20   0  509388  20760   5164 D   3.7  2.1   0:12.60 chromium-browse                                                                                                                           
  574 volumio   20   0   31380    708      0 S   3.2  0.1   0:02.90 volumio-remote-                                                                                                                           
  874 root      20   0    6612    388      0 D   3.0  0.0   0:02.74 wpa_supplicant       



When this situation occurs: the touch display is frozen, I cannot open any new ssh connection. Ping works. So better open an ssh connection before to be able to see something. Anyway, the system is very slow. Is there any command I should use (apart from top) to understand what happens?

Obviously, it seems that, sometimes, "node" needs too much memory, more than available, at least. The question is: why does this happen only sometimes? Booting twice in the same conditions, sometimes it works, sometines it doesn't. This looks strange to me.

Can I reduce the memory needed for "node"? Anything in the configuration, or in the way to use volumio?

I am using the 2.513 image, installed only the display plugin on it, plus "iftop", to check network transfers, that's all. But "iftop" is not running at boot time. I don't see "extra" process running that would take some CPU/MEM while booting. So the problem seems to be on the "node" process.

I could add a swap file on an external USB stick. Would it help? Swapping on the SD card will kill it shortly, I think. I have read somewhere that Volumio manages swap when needed. Am I in this case? How could I check it?

Access to the log file is almost impossible due to the poor performance. And on reboot, the log disappears... I could put the log file on a usb stick to make it persistant?

Any help will be appreciated
Version 2.513, RPI3B+, USB Objective DAC, 7" touch screen (Audiophonics LTE Rasptouch).
Random avatar
dk31
Serious Listener
Serious Listener
 
Posts: 50
Joined: Mon Jan 07 2019 10:45

PreviousNext

Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 14 guests