Sunxi VDPAU does not work in 5.38 on Banana Pi


smarek
 Share

3 3

Recommended Posts

Hi,

 

we've been running 5.31 with VDPAU support for a long time now, and I've tried to "apt-get dist-upgrade" to newer version of Armbian.

 

With 5.31 VDPAU works well, with 5.38 all calls to vdp_imp_device_create_x11() fail with "Error when calling vdp_device_create_x11: 25"

 

Demonstratable on "vdpauinfo"

Spoiler

# Armbian 5.38
# DISPLAY=:0 VDPAU_TRACE=1 vdpauinfo
display: :0   screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x9c7f10, 0, -, -)
    -> 25
Error creating VDPAU device: 25

# Armbian 5.31
# DISPLAY=:0 VDPAU_TRACE=1 vdpauinfo                        
display: :0   screen: 0                                                        
VDPAU capture: Enabled                              
vdp_imp_device_create_x11(0x1aff10, 0, -, -)                                   
[VDPAU SUNXI] VE version 0x1623 opened                                         
[VDPAU SUNXI] OSD enabled, using G2D!
... and lots of output follows ...

 

The only package, which did not get updated is mali userspace binary driver ( ii  mali-sunxi-utils                1.0-1~armbian5.31+1 )

 

Also demonstratable with MPV

Spoiler

# VDPAU_TRACE=1 DISPLAY=:0 mpv -vo vdpau --hwdec vdpau --hwdec-codecs=all 4k.mp4 
Playing: 4k.mp4
 (+) Video --vid=1 (*) (h264)
VDPAU capture: Enabled
vdp_imp_device_create_x11(0xaf120948, 0, -, -)
    -> 25
[vo/vdpau] Error when calling vdp_device_create_x11: 25
Error opening/initializing the selected video_out (-vo) device.
Video: no video


Exiting... (Errors when loading file)

 

Comparing the packages available in both devices goes like this (using https://github.com/lepe/scripts/blob/master/compare_ubuntu_apt.pl )

Spoiler

# ./compare.pl installed_old installed_new                  
----------------------------------                  
 DIFFERENCES installed_old -> installed_new                                 
----------------------------------                                         
 @ a10disp : 1.0-1~armbian5.31+1 -> 1.0-1~armbian5.38+1                       
 @ armbian-firmware : 5.31 -> 5.38                                        
 @ armbian-tools-xenial : 5.31 -> 5.38
 @ bind9-host : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ binutils : 2.26.1-1ubuntu1~16.04.4 -> 2.26.1-1ubuntu1~16.04.6           
 @ ca-certificates : 20160104ubuntu1 -> 20170717~16.04.1        
 @ cpp-5 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6       
 @ curl : 7.47.0-1ubuntu2.2 -> 7.47.0-1ubuntu2.6                 
 @ distro-info-data : 0.28ubuntu0.3 -> 0.28ubuntu0.7                          
 @ dnsutils : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ dpkg : 1.18.4ubuntu1.2 -> 1.18.4ubuntu1.3                         
 @ gcc-5 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6  
 @ gcc-5-base : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6               
 @ gcj-5-jre-headless : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6
 @ gcj-5-jre-lib : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6
 @ git : 1:2.7.4-0ubuntu1.2 -> 1:2.7.4-0ubuntu1.3              
 @ git-man : 1:2.7.4-0ubuntu1.2 -> 1:2.7.4-0ubuntu1.3                          
 @ hostapd : 1:2.5~armbian5.31+1 -> 2:2.6-4~armbian5.38+1                      
 @ initramfs-tools : 0.122ubuntu8.8 -> 0.122ubuntu8.10                  
 @ initramfs-tools-bin : 0.122ubuntu8.8 -> 0.122ubuntu8.10                  
 @ initramfs-tools-core : 0.122ubuntu8.8 -> 0.122ubuntu8.10                 
 @ iproute2 : 4.3.0-1ubuntu3.16.04.1 -> 4.3.0-1ubuntu3.16.04.3               
 @ klibc-utils : 2.0.4-8ubuntu1.16.04.3 -> 2.0.4-8ubuntu1.16.04.4  
 @ libapparmor1 : 2.10.95-0ubuntu2.6 -> 2.10.95-0ubuntu2.7                  
 @ libasan2 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6                 
 @ libatomic1 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6               
 @ libbind9-140 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ libc-bin : 2.23-0ubuntu9 -> 2.23-0ubuntu10                                  
 @ libc6 : 2.23-0ubuntu9 -> 2.23-0ubuntu10                                     
 @ libcc1-0 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6                 
 @ libcedrus1 : 1.0.1~armbian5.31+1 -> 1.0.1~armbian5.38+1                 
 @ libcryptsetup4 : 2:1.6.6-5ubuntu2 -> 2:1.6.6-5ubuntu2.1                     
 @ libcups2 : 2.1.3-4 -> 2.1.3-4ubuntu0.3                           
 @ libcupsimage2 : 2.1.3-4 -> 2.1.3-4ubuntu0.3                          
 @ libcurl3-gnutls : 7.47.0-1ubuntu2.2 -> 7.47.0-1ubuntu2.6            
 @ libdb5.3 : 5.3.28-11 -> 5.3.28-11ubuntu0.1                              
 @ libdns-export162 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.
10                                                  
 @ libdns162 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ libdpkg-perl : 1.18.4ubuntu1.2 -> 1.18.4ubuntu1.3
 @ libdrm-amdgpu1 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1              
 @ libdrm-etnaviv1 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1            
 @ libdrm-freedreno1 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1             
 @ libdrm-nouveau2 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1           
 @ libdrm-radeon1 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1
 @ libdrm2 : 2.4.76-1~ubuntu16.04.1 -> 2.4.83-1~16.04.1                    
 @ libegl1-mesa : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4       
 @ libgbm1 : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4 
 @ libgcc-5-dev : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6
 @ libgcj16 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6   
 @ libgl1-mesa-dri : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4       
 @ libgl1-mesa-glx : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4  
 @ libglapi-mesa : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4
 @ libglshim : 1:0.9.2~armbian5.31+1 -> 1:0.9.2~armbian5.38+1
 @ libgnutls-openssl27 : 3.4.10-4ubuntu1.3 -> 3.4.10-4ubuntu1.4                
 @ libgnutls30 : 3.4.10-4ubuntu1.3 -> 3.4.10-4ubuntu1.4                 
 @ libgomp1 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6     
 @ libicu55 : 55.1-7ubuntu0.2 -> 55.1-7ubuntu0.3               
 @ libidn11 : 1.32-3ubuntu1.1 -> 1.32-3ubuntu1.2                               
 @ libisc-export160 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.
10                                                                      
 @ libisc160 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10  
 @ libisccc140 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ libisccfg140 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ libklibc : 2.0.4-8ubuntu1.16.04.3 -> 2.0.4-8ubuntu1.16.04.4     
 @ liblwres141 : 1:9.10.3.dfsg.P4-8ubuntu1.7 -> 1:9.10.3.dfsg.P4-8ubuntu1.10
 @ libmali-sunxi-r3p0 : 1.0-1~armbian5.31+1 -> 1.0-1~armbian5.38+1             
 @ libmirclient9 : 0.26.3+16.04.20170605-0ubuntu1 -> 0.26.3+16.04.20170605-0ubu
ntu1.1                                                                       
 @ libmircommon7 : 0.26.3+16.04.20170605-0ubuntu1 -> 0.26.3+16.04.20170605-0ubu
ntu1.1                                                                         
 @ libmircore1 : 0.26.3+16.04.20170605-0ubuntu1 -> 0.26.3+16.04.20170605-0ubunt
u1.1                                                                       
 @ libmirprotobuf3 : 0.26.3+16.04.20170605-0ubuntu1 -> 0.26.3+16.04.20170605-0u
buntu1.1                                                            
 @ libmysqlclient20 : 5.7.19-0ubuntu0.16.04.1 -> 5.7.21-0ubuntu0.16.04.1
 @ libnss-myhostname : 229-4ubuntu19 -> 229-4ubuntu21.1                
 @ libnss3 : 2:3.28.4-0ubuntu0.16.04.2 -> 2:3.28.4-0ubuntu0.16.04.3        
 @ libnss3-nssdb : 2:3.28.4-0ubuntu0.16.04.2 -> 2:3.28.4-0ubuntu0.16.04.3      
 @ libpam-systemd : 229-4ubuntu19 -> 229-4ubuntu21.1
 @ libperl5.22 : 5.22.1-9 -> 5.22.1-9ubuntu0.2                            
 @ libpulse0 : 1:8.0-0ubuntu3.3 -> 1:8.0-0ubuntu3.7 
 @ libpython2.7-minimal : 2.7.12-1ubuntu0~16.04.1 -> 2.7.12-1ubuntu0~16.04.3
 @ libpython2.7-stdlib : 2.7.12-1ubuntu0~16.04.1 -> 2.7.12-1ubuntu0~16.04.3
 @ libpython3.5 : 3.5.2-2ubuntu0~16.04.1 -> 3.5.2-2ubuntu0~16.04.4            
 @ libpython3.5-minimal : 3.5.2-2ubuntu0~16.04.1 -> 3.5.2-2ubuntu0~16.04.4
 @ libpython3.5-stdlib : 3.5.2-2ubuntu0~16.04.1 -> 3.5.2-2ubuntu0~16.04.4
 @ libseccomp2 : 2.2.3-3ubuntu3 -> 2.3.1-2.1ubuntu2~16.04.1                
 @ libssl1.0.0 : 1.0.2g-1ubuntu4.8 -> 1.0.2g-1ubuntu4.10                   
 @ libstdc++6 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6
 @ libsystemd0 : 229-4ubuntu19 -> 229-4ubuntu21.1                 
 @ libtasn1-6 : 4.7-3ubuntu0.16.04.2 -> 4.7-3ubuntu0.16.04.3     
 @ libubsan0 : 5.4.0-6ubuntu1~16.04.4 -> 5.4.0-6ubuntu1~16.04.6               
 @ libudev1 : 229-4ubuntu19 -> 229-4ubuntu21.1                           
 @ libump : 3.0-0sunxi1~armbian5.31+1 -> 3.0-0sunxi1~armbian5.38+1   
 @ libva-drm1 : 1.7.0-1 -> 1.7.0-1ubuntu0.1                  
 @ libva-wayland1 : 1.7.0-1 -> 1.7.0-1ubuntu0.1                                
 @ libva-x11-1 : 1.7.0-1 -> 1.7.0-1ubuntu0.1                            
 @ libva1 : 1.7.0-1 -> 1.7.0-1ubuntu0.1                            
 @ libvdpau-sunxi1 : 0.5.1~armbian5.31+1 -> 0.5.1~armbian5.38+1
 @ libvdpau1 : 1.1.1-10~armbian5.31+1 -> 1.1.1-10~armbian5.38+1                
 @ libwayland-client0 : 1.12.0-1~ubuntu16.04.1 -> 1.12.0-1~ubuntu16.04.2       
 @ libwayland-cursor0 : 1.12.0-1~ubuntu16.04.1 -> 1.12.0-1~ubuntu16.04.2
 @ libwayland-egl1-mesa : 17.0.7-0ubuntu0.16.04.1 -> 17.2.4-0ubuntu1~16.04.4
 @ libwayland-server0 : 1.12.0-1~ubuntu16.04.1 -> 1.12.0-1~ubuntu16.04.2    
 @ libxcursor1 : 1:1.1.14-1 -> 1:1.1.14-1ubuntu0.16.04.1                     
 @ libxfont1 : 1:1.5.1-1ubuntu0.16.04.1 -> 1:1.5.1-1ubuntu0.16.04.4
 @ libxml2 : 2.9.3+dfsg1-1ubuntu0.2 -> 2.9.3+dfsg1-1ubuntu0.5               
 @ linux-firmware : 1.157.11 -> 1.157.15                                       
 @ linux-headers-sun7i : 5.31 -> 5.38                                          
 @ linux-image-sun7i : 5.31 -> 5.38                                          
 @ linux-u-boot-bananapi-default : 5.31 -> 5.38                                
 @ linux-xenial-root-bananapi : 5.31 -> 5.38                                   
 @ locales : 2.23-0ubuntu9 -> 2.23-0ubuntu10                                   
 @ logrotate : 3.8.7-2ubuntu2.16.04.1 -> 3.8.7-2ubuntu2.16.04.2            
 @ multiarch-support : 2.23-0ubuntu9 -> 2.23-0ubuntu10                         
 @ mysql-common : 5.7.19-0ubuntu0.16.04.1 -> 5.7.21-0ubuntu0.16.04.1
 @ ntp : 1:4.2.8p4+dfsg-3ubuntu5.6 -> 1:4.2.8p4+dfsg-3ubuntu5.7         
 @ openssh-client : 1:7.2p2-4ubuntu2.2 -> 1:7.2p2-4ubuntu2.4           
 @ openssh-server : 1:7.2p2-4ubuntu2.2 -> 1:7.2p2-4ubuntu2.4               
 @ openssh-sftp-server : 1:7.2p2-4ubuntu2.2 -> 1:7.2p2-4ubuntu2.4              
 @ openssl : 1.0.2g-1ubuntu4.8 -> 1.0.2g-1ubuntu4.10
 @ perl : 5.22.1-9 -> 5.22.1-9ubuntu0.2                                   
 @ perl-base : 5.22.1-9 -> 5.22.1-9ubuntu0.2        
 @ perl-modules-5.22 : 5.22.1-9 -> 5.22.1-9ubuntu0.2                        
 @ python2.7 : 2.7.12-1ubuntu0~16.04.1 -> 2.7.12-1ubuntu0~16.04.3          
 @ python2.7-minimal : 2.7.12-1ubuntu0~16.04.1 -> 2.7.12-1ubuntu0~16.04.3     
 @ python3.5 : 3.5.2-2ubuntu0~16.04.1 -> 3.5.2-2ubuntu0~16.04.4           
 @ python3.5-minimal : 3.5.2-2ubuntu0~16.04.1 -> 3.5.2-2ubuntu0~16.04.4
 @ resolvconf : 1.78ubuntu4 -> 1.78ubuntu5                                 
 @ rsync : 3.1.1-3ubuntu1 -> 3.1.1-3ubuntu1.2                              
 @ sunxi-tools : 1.4.2-1~armbian5.31+1 -> 1.4.2-2~armbian5.38+1 
 @ sysstat : 11.2.0-1ubuntu0.1 -> 11.2.0-1ubuntu0.2               
 @ systemd : 229-4ubuntu19 -> 229-4ubuntu21.1                    
 @ systemd-sysv : 229-4ubuntu19 -> 229-4ubuntu21.1                            
 @ tzdata : 2016j-0ubuntu0.16.04 -> 2017c-0ubuntu0.16.04                 
 @ ubuntu-minimal : 1.361 -> 1.361.1                                 
 @ udev : 229-4ubuntu19 -> 229-4ubuntu21.1                   
 @ unattended-upgrades : 0.90ubuntu0.7 -> 0.90ubuntu0.9                        
 @ vainfo : 1.7.0-1 -> 1.7.0-1ubuntu0.1                                 
 @ vlan : 1.9-3.2ubuntu1.16.04.3 -> 1.9-3.2ubuntu1.16.04.4         
 @ wget : 1.17.1-1ubuntu1.2 -> 1.17.1-1ubuntu1.3               
 @ wpasupplicant : 2.4-0ubuntu6 -> 2.4-0ubuntu6.2                              
 @ xserver-common : 2:1.18.4-0ubuntu0.3 -> 2:1.18.4-0ubuntu0.7                 
 @ xserver-xorg-core : 2:1.18.4-0ubuntu0.3 -> 2:1.18.4-0ubuntu0.7       
 @ xserver-xorg-video-fbturbo : 1:0.4.4~armbian5.31+1 -> 1:0.4.4~armbian5.38+1
----------------------------------                                          
 MISSING IN installed_new                                                    
----------------------------------                                 
Use of uninitialized value $origin{"Listing...\n"} in concatenation (.) or stri
ng at ./compare.pl line 74.                                                    
 + Listing...                                                                  
 :                                                                           
 + libllvm4.0 : 1:4.0-1ubuntu1~16.04.2                                         
----------------------------------                                             
 MISSING IN installed_old                                                      
----------------------------------                                         
Use of uninitialized value $missing{"Listing...\n"} in concatenation (.) or str
ing at ./compare.pl line 82.                                        
 - Listing...                                                           
 :                                                                     
 - debsums : 2.1.2                                                         
 - iptables : 1.6.0-2ubuntu3                                                   
 - libdrm-common : 2.4.83-1~16.04.1                 
 - libfile-fnmatch-perl : 0.02-2build2                                    
 - libllvm5.0 : 1:5.0-3~16.04.1                     
 - libnfnetlink0 : 1.0.1-3                                                  
 - socat : 1.7.3.1-1                                                       
 - sshpass : 1.05-1

 

I don't really suspect added packages (debsums, iptables, socat, sshpass, etc...) of ruining the VDPAU, but I suspect the package "libdrm-common" which is linked with all the essential xserver/mali/libva-drm/libdrm/etc... packages. Removing it will want to remove all the dependencies and will essentially destroy X11 environment.

 

There is no difference in loaded kernel modules (except for its versions), arch and the hardware is the same in testing. Debsums does not show any errors. 

 

In /var/log/Xorg.0.log there are differences, but I cannot point to anything suspicious.

Armbian 5.31 Xorg.0.log http://termbin.com/sj2m

Armbian 5.38 Xorg.0.log http://termbin.com/1eh5

 

Is there anyone experiencing the same issue? Or is this known bug for now?

If I can provide more info to debug, please let me know.

Link to post
Share on other sites

Donate and support the project!

38 minutes ago, smarek said:

Or is this known bug for now?

 
Unknown to this day. It could be related to changes in upstream Ubuntu packages - kernel hasn't been changed in any possible related areas. Will see if I can find something ... I assume the problem is the same with a clean image?

Link to post
Share on other sites

Not quite, stock 5.38 image works nicely (using the Armbian_5.38_Bananapi_Ubuntu_xenial_default_3.4.113_desktop.img). VDPAU works out-of-the-box (mpv from terminal automatically uses VDPAU/SUNXI correctly)

 

Running the package comparison against stock, looks like this:

Spoiler

----------------------------------                                       
 DIFFERENCES installed_upgraded -> installed_img
----------------------------------           
 @ a10disp : 1.0-1~armbian5.38+1 -> 1.0-1~armbian5.35+1
 @ bind9-host : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ binutils : 2.26.1-1ubuntu1~16.04.6 -> 2.26.1-1ubuntu1~16.04.5                                            
 @ curl : 7.47.0-1ubuntu2.6 -> 7.47.0-1ubuntu2.5    
 @ dnsutils : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ gcj-5-jre-lib : 5.4.0-6ubuntu1~16.04.6 -> 5.4.0-6ubuntu1~16.04.5                                        
 @ iproute2 : 4.3.0-1ubuntu3.16.04.3 -> 4.3.0-1ubuntu3.16.04.2
 @ libbind9-140 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libcurl3-gnutls : 7.47.0-1ubuntu2.6 -> 7.47.0-1ubuntu2.5
 @ libdns-export162 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libdns162 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libegl1-mesa : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ libgbm1 : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ libgcj16 : 5.4.0-6ubuntu1~16.04.6 -> 5.4.0-6ubuntu1~16.04.5
 @ libgl1-mesa-dri : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ libgl1-mesa-glx : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ libglapi-mesa : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ libisc-export160 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libisc160 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libisccc140 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libisccfg140 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ liblwres141 : 1:9.10.3.dfsg.P4-8ubuntu1.10 -> 1:9.10.3.dfsg.P4-8ubuntu1.9
 @ libmysqlclient20 : 5.7.21-0ubuntu0.16.04.1 -> 5.7.20-0ubuntu0.16.04.1
 @ libnss-myhostname : 229-4ubuntu21.1 -> 229-4ubuntu21
 @ libpam-systemd : 229-4ubuntu21.1 -> 229-4ubuntu21
 @ libpython2.7 : 2.7.12-1ubuntu0~16.04.3 -> 2.7.12-1ubuntu0~16.04.2
 @ libpython2.7-minimal : 2.7.12-1ubuntu0~16.04.3 -> 2.7.12-1ubuntu0~16.04.2
 @ libpython2.7-stdlib : 2.7.12-1ubuntu0~16.04.3 -> 2.7.12-1ubuntu0~16.04.2
 @ libsystemd0 : 229-4ubuntu21.1 -> 229-4ubuntu21
 @ libtasn1-6 : 4.7-3ubuntu0.16.04.3 -> 4.7-3ubuntu0.16.04.2
 @ libudev1 : 229-4ubuntu21.1 -> 229-4ubuntu21
 @ libwayland-egl1-mesa : 17.2.4-0ubuntu1~16.04.4 -> 17.2.4-0ubuntu1~16.04.2
 @ linux-firmware : 1.157.15 -> 1.157.14        
 @ linux-libc-dev : 4.4.0-112.135 -> 4.4.0-109.132
 @ mysql-common : 5.7.21-0ubuntu0.16.04.1 -> 5.7.20-0ubuntu0.16.04.1
 @ openssh-client : 1:7.2p2-4ubuntu2.4 -> 1:7.2p2-4ubuntu2.2
 @ openssh-server : 1:7.2p2-4ubuntu2.4 -> 1:7.2p2-4ubuntu2.2
 @ openssh-sftp-server : 1:7.2p2-4ubuntu2.4 -> 1:7.2p2-4ubuntu2.2
 @ python2.7 : 2.7.12-1ubuntu0~16.04.3 -> 2.7.12-1ubuntu0~16.04.2
 @ python2.7-minimal : 2.7.12-1ubuntu0~16.04.3 -> 2.7.12-1ubuntu0~16.04.2
 @ rsync : 3.1.1-3ubuntu1.2 -> 3.1.1-3ubuntu1.1 
 @ systemd : 229-4ubuntu21.1 -> 229-4ubuntu21
 @ systemd-sysv : 229-4ubuntu21.1 -> 229-4ubuntu21     
 @ udev : 229-4ubuntu21.1 -> 229-4ubuntu21                                 
----------------------------------                                                                          
 MISSING IN installed_img                           
----------------------------------                                       
Use of uninitialized value $origin{"Listing...\n"} in concatenation (.) or string at ../compare.pl line 74.
 + Listing...                                                 
 :                                                                           
 + byobu : 5.106-0ubuntu1                                  
 + dmsetup : 2:1.02.110-1ubuntu10                                                
 + libevent-2.0-5 : 2.0.21-stable-2ubuntu0.16.04.1                        
 + libexpat1-dev : 2.1.0-7ubuntu0.16.04.3                           
 + libftdi1 : 0.20-4build1                                     
 + libglu1-mesa : 9.0.0-2.1                                   
 + liblircclient0 : 0.9.0-0ubuntu6                                     
 + libllvm4.0 : 1:4.0-1ubuntu1~16.04.2                                 
 + libportaudio2 : 19+svn20140130-1build1                            
 + libpython-dev : 2.7.11-1                                                      
 + libpython2.7-dev : 2.7.12-1ubuntu0~16.04.3                             
 + libusb-1.0-0-dev : 2:1.0.20-1                                            
 + libutempter0 : 1.1.6-3                                                   
 + linux-headers-sun7i : 5.38                                       
 + ntpstat : 0.0.0.1-1                                                      
 + python-dev : 2.7.11-1                                                   
 + python2.7-dev : 2.7.12-1ubuntu0~16.04.3       
 + python3-newt : 0.52.18-1ubuntu2                          
 + setserial : 2.17-49                        
 + socat : 1.7.3.1-1                                                        
 + tmux : 2.1-3build1                           
 + usb-modeswitch : 2.2.5+repack0-1ubuntu1        
 + usb-modeswitch-data : 20151101-1                         
 + vibrancy-colors : 2.4~trusty~Noobslab.com                     
 + xbitmaps : 1.1.1-2         
 + xterm : 322-1ubuntu1                         
----------------------------------           
 MISSING IN installed_upgraded                         
----------------------------------                                         
Use of uninitialized value $missing{"Listing...\n"} in concatenation (.) or string at ../compare.pl line 82.
 - Listing...                                       
 :                                                                       
 - accountsservice : 0.6.40-2ubuntu11.3                                                                    
 - adwaita-icon-theme : 3.18.0-2ubuntu3.1                     
 - aptdaemon : 1.1.1+bzr982-0ubuntu14                                        
 - aptdaemon-data : 1.1.1+bzr982-0ubuntu14                 
 - armbian-config : 5.38                                                         
 - aspell : 0.60.7~20110707-3build1                                       
 - aspell-en : 7.1-0-1.1                                            
 - avahi-daemon : 0.6.32~rc+dfsg-1ubuntu2                      
 - blueman : 2.0.4-1ubuntu2                                   
 - bluez : 5.37-0ubuntu5.1                                             
 - bluez-obexd : 5.37-0ubuntu5.1                                       
 - bluez-tools : 0.2.0~20140808-5                                    
 - build-essential : 12.1ubuntu2                                                 
 - chromium-browser : 63.0.3239.84-0ubuntu0.16.04.1                       
 - chromium-codecs-ffmpeg-extra : 63.0.3239.84-0ubuntu0.16.04.1             
 - command-not-found : 0.3ubuntu16.04.2                                      
 - command-not-found-data : 0.3ubuntu16.04.2                                
 - crda : 3.13-1                                                        
 - cups : 2.1.3-4ubuntu0.3                             
 - cups-client : 2.1.3-4ubuntu0.3                   
 - cups-common : 2.1.3-4ubuntu0.3                                   
 - cups-core-drivers : 2.1.3-4ubuntu0.3                                     
 - cups-daemon : 2.1.3-4ubuntu0.3                                          
 - cups-filters : 1.8.3-2ubuntu3.1               
 - cups-filters-core-drivers : 1.8.3-2ubuntu3.1             
 - cups-pk-helper : 0.2.5-2ubuntu2            
 - cups-ppdc : 2.1.3-4ubuntu0.3                                             
 - cups-server-common : 2.1.3-4ubuntu0.3        
 - dconf-gsettings-backend : 0.24.0-2             
 - dconf-service : 0.24.0-2                                         
 - desktop-file-utils : 0.22-1ubuntu5.1                     
 - dictionaries-common : 1.26.3                             
 - dnsmasq-base : 2.75-1ubuntu0.16.04.4                          
 - emacsen-common : 2.0.8
 - evolution-data-server-common : 3.18.5-1ubuntu1                        
 - exo-utils : 0.10.7-1                         
 - expect : 5.45-7                           
 - galculator : 2.1.4-1                                
 - gconf-service : 3.2.6-3ubuntu6                                          
 - gconf-service-backend : 3.2.6-3ubuntu6                                                                   
 - gconf2 : 3.2.6-3ubuntu6                          
 - gconf2-common : 3.2.6-3ubuntu6                                        
 - gcr : 3.18.0-1ubuntu1                                                                                   
 - gdebi-core : 0.9.5.7ubuntu1                                
 - gir1.2-appindicator3-0.1 : 12.10.1+16.04.20170215-0ubuntu1                
 - gir1.2-atk-1.0 : 2.18.0-1                               
 - gir1.2-freedesktop : 1.46.0-3ubuntu1                                          
 - gir1.2-gdkpixbuf-2.0 : 2.32.2-1ubuntu1.4                               
 - gir1.2-gnomekeyring-1.0 : 3.12.0-1build1                         
 - gir1.2-gtk-3.0 : 3.18.9-1ubuntu3.3                          
 - gir1.2-javascriptcoregtk-3.0 : 2.4.11-0ubuntu0.1           
 - gir1.2-notify-0.7 : 0.7.6-2svn1                                     
 - gir1.2-packagekitglib-1.0 : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2         
 - gir1.2-pango-1.0 : 1.38.1-1                                       
 - gir1.2-soup-2.4 : 2.52.2-1ubuntu0.2                                           
 - gir1.2-vte-2.91 : 0.42.5-1ubuntu1                                      
 - gir1.2-webkit-3.0 : 2.4.11-0ubuntu0.1                                    
 - gksu : 2.0.2-9ubuntu1                                                     
 - glib-networking : 2.48.2-1~ubuntu16.04.1                                 
 - glib-networking-common : 2.48.2-1~ubuntu16.04.1                      
 - glib-networking-services : 2.48.2-1~ubuntu16.04.1   
 - gnome-icon-theme : 3.12.0-1ubuntu3               
 - gnome-keyring : 3.18.3-0ubuntu2                                  
 - gsettings-desktop-schemas : 3.18.1-1ubuntu1                              
 - gtk2-engines : 1:2.20.2-3ubuntu1                                        
 - gtk2-engines-murrine : 0.98.2-0ubuntu2.2      
 - gtk2-engines-pixbuf : 2.24.30-1ubuntu1.16.04.2           
 - gtk2-engines-xfce : 3.2.0-2                
 - gvfs : 1.28.2-1ubuntu1~16.04.2                                           
 - gvfs-backends : 1.28.2-1ubuntu1~16.04.2      
 - gvfs-common : 1.28.2-1ubuntu1~16.04.2          
 - gvfs-daemons : 1.28.2-1ubuntu1~16.04.2                           
 - gvfs-fuse : 1.28.2-1ubuntu1~16.04.2                      
 - gvfs-libs : 1.28.2-1ubuntu1~16.04.2                      
 - hexchat : 2.10.2-1ubuntu3                                     
 - hexchat-common : 2.10.2-1ubuntu3
 - humanity-icon-theme : 0.6.10.1                                        
 - im-config : 0.29-1ubuntu12.4                 
 - inxi : 2.2.35-0ubuntu1                    
 - iptables : 1.6.0-2ubuntu3                           
 - iw : 3.17-1                                                             
 - language-selector-common : 0.165.4                                                                       
 - language-selector-gnome : 0.165.4                
 - libaccountsservice0 : 0.6.40-2ubuntu11.3                              
 - libappindicator3-1 : 12.10.1+16.04.20170215-0ubuntu1                                                    
 - libarchive13 : 3.1.2-11ubuntu0.16.04.3                     
 - libart-2.0-2 : 2.3.21-2                                                   
 - libaspell15 : 0.60.7~20110707-3build1                   
 - libassuan0 : 2.4.2-2                                                          
 - libatasmart4 : 0.19-3                                                  
 - libatk-bridge2.0-0 : 2.18.1-2ubuntu1                             
 - libatk1.0-0 : 2.18.0-1                                      
 - libatk1.0-data : 2.18.0-1                                  
 - libatkmm-1.6-1v5 : 2.24.2-1                                         
 - libatspi2.0-0 : 2.18.3-4ubuntu1                                     
 - libavahi-core7 : 0.6.32~rc+dfsg-1ubuntu2                          
 - libavahi-glib1 : 0.6.32~rc+dfsg-1ubuntu2                                      
 - libbluetooth3 : 5.37-0ubuntu5.1                                        
 - libbonobo2-0 : 2.32.1-3                                                  
 - libbonobo2-common : 2.32.1-3                                              
 - libbonoboui2-0 : 2.24.5-3ubuntu1                                         
 - libbonoboui2-common : 2.24.5-3ubuntu1                                
 - libboost-python1.58.0 : 1.58.0+dfsg-5ubuntu3.1      
 - libcairo-gobject2 : 1.14.6-1                     
 - libcairo-perl : 1.106-1build1                                    
 - libcairomm-1.0-1v5 : 1.12.0-1                                            
 - libcamel-1.2-54 : 3.18.5-1ubuntu1                                       
 - libcanberra-gtk0 : 0.30-2.1ubuntu1            
 - libcanberra-gtk3-0 : 0.30-2.1ubuntu1                     
 - libcanberra0 : 0.30-2.1ubuntu1             
 - libcolord2 : 1.2.12-1ubuntu1                                             
 - libcroco3 : 0.6.11-1                         
 - libcupscgi1 : 2.1.3-4ubuntu0.3                 
 - libcupsmime1 : 2.1.3-4ubuntu0.3                                  
 - libcupsppdc1 : 2.1.3-4ubuntu0.3                          
 - libdatrie1 : 0.2.10-2                                    
 - libdbusmenu-glib4 : 16.04.1+16.04.20160927-0ubuntu1           
 - libdbusmenu-gtk3-4 : 16.04.1+16.04.20160927-0ubuntu1
 - libdconf1 : 0.24.0-2                                                  
 - libebackend-1.2-10 : 3.18.5-1ubuntu1         
 - libebook-1.2-16 : 3.18.5-1ubuntu1         
 - libebook-contacts-1.2-2 : 3.18.5-1ubuntu1           
 - libedata-book-1.2-25 : 3.18.5-1ubuntu1                                  
 - libedataserver-1.2-21 : 3.18.5-1ubuntu1                                                                  
 - libenchant1c2a : 1.6.0-10.1build2                
 - libexiv2-14 : 0.25-2.1ubuntu16.04.1                                   
 - libexo-1-0 : 0.10.7-1                                                                                   
 - libexo-common : 0.10.7-1                                   
 - libexo-helpers : 0.10.7-1                                                 
 - libfftw3-single3 : 3.3.4-2ubuntu1                       
 - libfontembed1 : 1.8.3-2ubuntu3.1                                              
 - libgail18 : 2.24.30-1ubuntu1.16.04.2                                   
 - libgarcon-1-0 : 0.4.0-2                                          
 - libgarcon-common : 0.4.0-2                                  
 - libgconf-2-4 : 3.2.6-3ubuntu6                              
 - libgconfmm-2.6-1v5 : 2.28.3-0ubuntu3                                
 - libgcr-base-3-1 : 3.18.0-1ubuntu1                                   
 - libgcr-ui-3-1 : 3.18.0-1ubuntu1                                   
 - libgd3 : 2.1.1-4ubuntu0.16.04.8                                               
 - libgdata-common : 0.17.4-1                                             
 - libgdata22 : 0.17.4-1                                                    
 - libgdk-pixbuf2.0-0 : 2.32.2-1ubuntu1.4                                    
 - libgdk-pixbuf2.0-common : 2.32.2-1ubuntu1.4                              
 - libgeoclue0 : 0.12.99-4ubuntu1                                       
 - libgksu2-0 : 2.0.13~pre1-6ubuntu8                   
 - libglade2-0 : 1:2.6.4-2                          
 - libglademm-2.4-1v5 : 2.6.7-5                                     
 - libgles2-mesa : 17.2.4-0ubuntu1~16.04.2                                  
 - libglib-perl : 3:1.320-2                                                
 - libglib2.0-bin : 2.48.2-0ubuntu1              
 - libglib2.0-data : 2.48.2-0ubuntu1                        
 - libglibmm-2.4-1v5 : 2.46.3-1               
 - libgnome-2-0 : 2.32.1-5ubuntu1                                           
 - libgnome-keyring-common : 3.12.0-1build1     
 - libgnome-keyring0 : 3.12.0-1build1             
 - libgnome2-0 : 2.32.1-5ubuntu1                                    
 - libgnome2-bin : 2.32.1-5ubuntu1                          
 - libgnome2-canvas-perl : 1.002-3build2                    
 - libgnome2-common : 2.32.1-5ubuntu1                            
 - libgnome2-perl : 1.046-2build1
 - libgnome2-common : 2.32.1-5ubuntu1 
 - libgnome2-perl : 1.046-2build1                                                  
 - libgnome2-vfs-perl : 1.082-1build2                                    
 - libgnomecanvas2-0 : 2.30.3-2                 
 - libgnomecanvas2-common : 2.30.3-2         
 - libgnomeui-0 : 2.24.5-3.1                           
 - libgnomeui-common : 2.24.5-3.1                                          
 - libgnomevfs2-0 : 1:2.24.4-6.1ubuntu1                                                                     
 - libgnomevfs2-common : 1:2.24.4-6.1ubuntu1        
 - libgoa-1.0-0b : 3.18.3-1ubuntu2                                       
 - libgoa-1.0-common : 3.18.3-1ubuntu2                                                                     
 - libgphoto2-6 : 2.5.9-3                                     
 - libgphoto2-port12 : 2.5.9-3                                               
 - libgstreamer-plugins-base1.0-0 : 1.8.3-1ubuntu0.2       
 - libgstreamer1.0-0 : 1.8.3-1~ubuntu0.1                                         
 - libgtk-3-0 : 3.18.9-1ubuntu3.3                                         
 - libgtk-3-bin : 3.18.9-1ubuntu3.3                                 
 - libgtk-3-common : 3.18.9-1ubuntu3.3                         
 - libgtk2-perl : 2:1.2498-1                                  
 - libgtk2.0-0 : 2.24.30-1ubuntu1.16.04.2                              
 - libgtk2.0-bin : 2.24.30-1ubuntu1.16.04.2                            
 - libgtk2.0-common : 2.24.30-1ubuntu1.16.04.2                       
 - libgtkmm-2.4-1v5 : 1:2.24.4-2                                                 
 - libgtkmm-3.0-1v5 : 3.18.0-1                                            
 - libgtop-2.0-10 : 2.32.0-1                                                
 - libgtop2-common : 2.32.0-1                                                
 - libgudev-1.0-0 : 1:230-2                                                 
 - libical1a : 1.0.1-0ubuntu2                                           
 - libimobiledevice6 : 1.2.0+dfsg-3~ubuntu0.2          
 - libindicator3-7 : 12.10.2+16.04.20151208-0ubuntu1
 - libiw30 : 30~pre9-8ubuntu1                                       
 - libjavascriptcoregtk-3.0-0 : 2.4.11-0ubuntu0.1                           
 - libjavascriptcoregtk-4.0-18 : 2.18.5-0ubuntu0.16.04.1                   
 - libjson-glib-1.0-0 : 1.1.2-0ubuntu1           
 - libjson-glib-1.0-common : 1.1.2-0ubuntu1                 
 - libkeybinder-3.0-0 : 0.3.1-1               
 - libldb1 : 2:1.1.24-1ubuntu3                                              
 - libmate-desktop-2-17 : 1.12.1-1              
 - libmate-menu2 : 1.12.0-1                       
 - libmate-panel-applet-4-1 : 1.12.2-1                              
 - libmatedict6 : 1.12.0-1                                  
 - libmatekbd-common : 1.12.1-1                             
 - libmatekbd4 : 1.12.1-1                                        
 - libmatemixer-common : 1.12.1-1
 - libmatemixer0 : 1.12.1-1                                              
 - libmm-glib0 : 1.4.12-1ubuntu1                
 - libmtp-common : 1.1.10-2ubuntu1           
 - libmtp9 : 1.1.10-2ubuntu1                           
 - libndp0 : 1.4-2ubuntu0.16.04.1                                          
 - libnetfilter-conntrack3 : 1.0.5-1                                                                        
 - libnfnetlink0 : 1.0.1-3                          
 - libnm-glib-vpn1 : 1.2.6-0ubuntu0.16.04.2                              
 - libnm-glib4 : 1.2.6-0ubuntu0.16.04.2                                                                    
 - libnm-gtk-common : 1.2.6-0ubuntu0.16.04.4                  
 - libnm-gtk0 : 1.2.6-0ubuntu0.16.04.4                                       
 - libnm-util2 : 1.2.6-0ubuntu0.16.04.2                    
 - libnm0 : 1.2.6-0ubuntu0.16.04.2                                               
 - libnma-common : 1.2.6-0ubuntu0.16.04.4                                 
 - libnma0 : 1.2.6-0ubuntu0.16.04.4                                 
 - libnotify-bin : 0.7.6-2svn1                                 
 - libnotify4 : 0.7.6-2svn1                                   
 - liboauth0 : 1.0.3-0ubuntu2                                          
 - liborbit-2-0 : 1:2.14.19-1build1                                    
 - libpackagekit-glib2-16 : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2          
 - libpango-1.0-0 : 1.38.1-1                                                     
 - libpango-perl : 1.227-1                                                
 - libpangocairo-1.0-0 : 1.38.1-1                                           
 - libpangoft2-1.0-0 : 1.38.1-1                                              
 - libpangomm-1.4-1v5 : 2.38.1-1                                            
 - libpangoxft-1.0-0 : 1.38.1-1                                         
 - libplist3 : 1.12-3.1ubuntu0.16.04.1                 
 - libpoppler58 : 0.41.0-0ubuntu1.6                 
 - libproxy1v5 : 0.4.11-5ubuntu1                                    
 - libpulse-mainloop-glib0 : 1:8.0-0ubuntu3.7                               
 - libpulsedsp : 1:8.0-0ubuntu3.7                                          
 - libqpdf17 : 6.0.0-2                           
 - libreoffice-gtk : 1:5.1.6~rc2-0ubuntu1~xenial2           
 - librest-0.7-0 : 0.7.93-1                   
 - librsvg2-2 : 2.40.13-3                                                   
 - librsvg2-common : 2.40.13-3                  
 - libsbc1 : 1.3-1                                
 - libsecret-1-0 : 0.18.4-1ubuntu2                                  
 - libsecret-common : 0.18.4-1ubuntu2                       
 - libsmbclient : 2:4.3.11+dfsg-0ubuntu0.16.04.12           
 - libsoup-gnome2.4-1 : 2.52.2-1ubuntu0.2                        
 - libsoup2.4-1 : 2.52.2-1ubuntu0.2
 - libssl-dev : 1.0.2g-1ubuntu4.10                                       
 - libstartup-notification0 : 0.12-4build1      
 - libtalloc2 : 2.1.5-2                      
 - libtcl8.6 : 8.6.5+dfsg-2                            
 - libtdb1 : 1.3.8-2                                                       
 - libtevent0 : 0.9.28-0ubuntu0.16.04.1                                                                     
 - libthai-data : 0.1.24-2                          
 - libthai0 : 0.1.24-2                                                   
 - libthunarx-2-0 : 1.6.11-0ubuntu0.16.04.2                                                                
 - libudisks2-0 : 2.1.7-1ubuntu1                              
 - libupower-glib3 : 0.99.4-2ubuntu0.3                                       
 - libusbmuxd4 : 1.0.10-2ubuntu0.1                         
 - libvorbisfile3 : 1.3.5-3                                                      
 - libvte-2.91-0 : 0.42.5-1ubuntu1                                        
 - libvte-2.91-common : 0.42.5-1ubuntu1                             
 - libvte-common : 1:0.28.2-5ubuntu3                           
 - libvte9 : 1:0.28.2-5ubuntu3                                
 - libwbclient0 : 2:4.3.11+dfsg-0ubuntu0.16.04.12                      
 - libwebkit2gtk-4.0-37 : 2.18.5-0ubuntu0.16.04.1                      
 - libwebkitgtk-3.0-0 : 2.4.11-0ubuntu0.1                            
 - libwebkitgtk-3.0-common : 2.4.11-0ubuntu0.1                                   
 - libwebrtc-audio-processing-0 : 0.1-3ubuntu1~gcc5.1                     
 - libwnck-common : 1:2.30.7-5ubuntu1.1                                     
 - libwnck22 : 1:2.30.7-5ubuntu1.1                                           
 - libxcb-util1 : 0.4.0-0ubuntu3                                            
 - libxfce4panel-2.0-4 : 4.12.0-3ubuntu2                                
 - libxfce4ui-1-0 : 4.12.1-2                           
 - libxfce4ui-2-0 : 4.12.1-2                        
 - libxfce4ui-common : 4.12.1-2                                     
 - libxfce4ui-utils : 4.12.1-2                                              
 - libxfce4util-common : 4.12.1-2                                          
 - libxfce4util7 : 4.12.1-2                      
 - libxfconf-0-2 : 4.12.0-2                                 
 - libxklavier16 : 5.4-0ubuntu2               
 - libxres1 : 2:1.0.7-1                                                     
 - lxtask : 0.1.7-1                             
 - mate-desktop-common : 1.12.1-1                 
 - mate-menus : 1.12.0-1                                            
 - mate-settings-daemon : 1.12.1-2build1                    
 - mate-settings-daemon-common : 1.12.1-2build1             
 - mate-utils : 1.12.0-1                                         
 - mate-utils-common : 1.12.0-1
 - mate-utils : 1.12.0-1         
 - mate-utils-common : 1.12.0-1                                                    
 - mesa-utils : 8.3.0-1                                                  
 - mesa-utils-extra : 8.3.0-1                   
 - mirage : 0.9.5.2-1                        
 - network-manager : 1.2.6-0ubuntu0.16.04.2            
 - network-manager-gnome : 1.2.6-0ubuntu0.16.04.4                          
 - network-manager-openvpn : 1.1.93-1ubuntu1.1                                                              
 - network-manager-openvpn-gnome : 1.1.93-1ubuntu1.1
 - numix-gtk-theme : 2.1.2-0ubuntu1                                      
 - orage : 4.12.1-1                                                                                        
 - packagekit : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2               
 - packagekit-backend-aptcc : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2                
 - paman : 0.9.4-1ubuntu5                                  
 - paprefs : 0.9.10-2                                                            
 - pasystray : 0.4.0-1                                                    
 - pavucontrol : 3.0-3build1                                        
 - pavumeter : 0.9.3-4build1                                   
 - pinentry-gnome3 : 0.9.7-3                                  
 - policykit-1-gnome : 0.105-2ubuntu2                                  
 - poppler-utils : 0.41.0-0ubuntu1.6                                   
 - pulseaudio : 1:8.0-0ubuntu3.7                                     
 - pulseaudio-module-bluetooth : 1:8.0-0ubuntu3.7                                
 - pulseaudio-module-gconf : 1:8.0-0ubuntu3.7                             
 - pulseaudio-module-zeroconf : 1:8.0-0ubuntu3.7                            
 - pulseaudio-utils : 1:8.0-0ubuntu3.7                                       
 - python-cairo : 1.8.8-2                                                   
 - python-gobject-2 : 2.28.6-12ubuntu1                                  
 - python-gtk2 : 2.24.0-4ubuntu1                       
 - python-pyexiv2 : 0.3.2-5ubuntu4build2            
 - python-talloc : 2.1.5-2                                          
 - python3-aptdaemon : 1.1.1+bzr982-0ubuntu14                               
 - python3-aptdaemon.gtk3widgets : 1.1.1+bzr982-0ubuntu14                  
 - python3-cairo : 1.10.0+dfsg-5build1           
 - python3-chardet : 2.3.0-2                                
 - python3-commandnotfound : 0.3ubuntu16.04.2 
 - python3-cups : 1.9.73-0ubuntu2                                           
 - python3-cupshelpers : 1.5.7+20160212-0ubuntu2
 - python3-debian : 0.1.27ubuntu2                 
 - python3-defer : 1.0.6-2build1                                    
 - python3-gdbm : 3.5.1-1                                   
 - python3-gi-cairo : 3.20.0-0ubuntu1                       
 - python3-lxml : 3.5.0-1build1                                  
 - python3-packagekit : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2
 - python3-lxml : 3.5.0-1build1      
 - python3-packagekit : 0.8.17-4ubuntu6~gcc5.4ubuntu1.2                            
 - python3-pkg-resources : 20.7.0-1                                      
 - python3-polib : 1.0.7-1                      
 - python3-requests : 2.9.1-3                
 - python3-six : 1.10.0-3                              
 - python3-urllib3 : 1.13.1-2ubuntu0.16.04.1                               
 - rfkill : 0.5-1ubuntu3                                                                                    
 - samba-libs : 2:4.3.11+dfsg-0ubuntu0.16.04.12     
 - shared-mime-info : 1.5-2ubuntu0.1                                     
 - sound-theme-freedesktop : 0.8-1                                                                         
 - ssl-cert : 1.0.37                                          
 - system-config-printer-common : 1.5.7+20160212-0ubuntu2                    
 - system-config-printer-gnome : 1.5.7+20160212-0ubuntu2   
 - tcl-expect : 5.45-7                                                           
 - thunar : 1.6.11-0ubuntu0.16.04.2                                       
 - thunar-data : 1.6.11-0ubuntu0.16.04.2                            
 - thunar-volman : 0.8.1-2                                     
 - thunderbird : 1:52.5.0+build1-0ubuntu0.16.04.1             
 - ubuntu-mate-welcome : 16.04.9.1                                     
 - ubuntu-mono : 14.04+16.04.20171116-0ubuntu1                         
 - udisks2 : 2.1.7-1ubuntu1                                          
 - wireless-regdb : 2015.07.20-1ubuntu1                                          
 - wireless-tools : 30~pre9-8ubuntu1                                      
 - xdg-utils : 1.1.1-1ubuntu1.16.04.1                                       
 - xfce4 : 4.12.2                                                            
 - xfce4-appfinder : 4.12.0-2ubuntu1                                        
 - xfce4-notifyd : 0.2.4-3ubuntu1                                       
 - xfce4-panel : 4.12.0-3ubuntu2                       
 - xfce4-pulseaudio-plugin : 0.2.4-1                
 - xfce4-screenshooter : 1.8.2-2                                    
 - xfce4-session : 4.12.1-3ubuntu1                                          
 - xfce4-settings : 4.12.0-2ubuntu1                                        
 - xfce4-terminal : 0.6.3-2ubuntu1               
 - xfconf : 4.12.0-2                                        
 - xfdesktop4 : 4.12.3-2ubuntu1               
 - xfdesktop4-data : 4.12.3-2ubuntu1                                        
 - xfwm4 : 4.12.3-1ubuntu2                      
 - zenity : 3.18.1.1-1ubuntu2                     
 - zenity-common : 3.18.1.1-1ubuntu2                                
 - zlib1g-dev : 1:1.2.8.dfsg-2ubuntu4.1                     
 - zram-config : 0.5

 

We removed for production reasons a lot of "desktop" software, such as xfce, wireless tools, gtk, bluetooth, etc., which should explain, why the difference in installed packages is so extensive.

 

But what seems curious to me is the difference in APT repositories

Spoiler

# Armbian 5.38 stock image

root@bananapi:/etc/apt# cat sources.list
deb http://ports.ubuntu.com/ xenial main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
root@bananapi:/etc/apt# cat sources.list.d/armbian.list 
deb http://apt.armbian.com xenial main xenial-utils xenial-desktop



# Armbian 5.38 upgraded from 5.31

root@bananapi:~# cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ xenial main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
root@bananapi:~# cat /etc/apt/sources.list.d/armbian.list 
deb http://apt.armbian.com xenial main utils xenial-desktop

 

 

Note the "xenial main utils xenial-desktop" vs "xenial main xenial-utils xenial-desktop"

 

Running the "dist-upgrade" again, with repositories set to "image default" looks like this:

Spoiler

# apt-get dist-upgrade --autoremove --purge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  g++* g++-5* libllvm4.0* libstdc++-5-dev*
The following packages will be upgraded:
  cpp-5 gcc-5 gcc-5-base gcj-5-jre-headless hostapd libasan2 libatomic1 libcc1-0 libgcc-5-dev libgomp1 libstdc++6 libubsan0 sunxi-tools
13 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 396 kB/12.2 MB of archives.
After this operation, 61.8 MB disk space will be freed.
Do you want to continue? [Y/n]

 

I can clean up the "5.38 upgraded from 5.31" image and provide it to you, if you want to get hands on it for debugging.

 

Unfortunately from what I can see there is nothing really obvious that could explain why the dist-upgrade does not work smoothly and causes such pain.

Link to post
Share on other sites

Heads up, I've tried to completely upgrade the default 5.38 image to what repositories allow, and the video acceleration (VDPAU) did not break.

 

Strangely there is a10disp package that on 5.31->5.38 was upgraded to now non-available version, but this is clearly not the issue, just curiosity.

Spoiler

----------------------------------          
 DIFFERENCES 5_38_completely_upgraded -> 5_31_upgraded_to_5_38
----------------------------------
 @ a10disp : 1.0-1~armbian5.35+1 -> 1.0-1~armbian5.38+1

----------------------------------
 MISSING IN 5_38_completely_upgraded
----------------------------------
 - hostapd : 2:2.6-4~armbian5.38+1
 - libexpat1-dev : 2.1.0-7ubuntu0.16.04.3
 - libglu1-mesa : 9.0.0-2.1
 - libportaudio2 : 19+svn20140130-1build1
 - libpython-dev : 2.7.11-1
 - libpython2.7 : 2.7.12-1ubuntu0~16.04.3
 - libpython2.7-dev : 2.7.12-1ubuntu0~16.04.3
 - libusb-1.0-0-dev : 2:1.0.20-1
 - libvdpau-va-gl1 : 0.3.6-1
 - linux-headers-sun7i : 5.38
 - mali-sunxi-utils : 1.0-1~armbian5.31+1
 - mesa-vdpau-drivers : 17.2.4-0ubuntu1~16.04.4
 - nodm : 0.11-1.3ubuntu1
 - python-dev : 2.7.11-1
 - python2.7-dev : 2.7.12-1ubuntu0~16.04.3
 - vibrancy-colors : 2.4~trusty~Noobslab.com
 - xbitmaps : 1.1.1-2
 - xterm : 322-1ubuntu1

 

Also there appeared (in the upgraded image) file "/etc/X11/xorg.conf.d/80-armsoc-sun4i.conf" with some different Xorg configuration with Dri2 enabled, and "/etc/X11/Xsession.d/20vdpau-va-gl" with commented out contents (i suspect test installed, not purged xserver-xorg-video-armsoc-sun4i package).

 

But running the upgraded and image versions side by side, I've compared Xorg outputs, and determined, there is no difference in Xorg configuration, that is responsible.

There are also no additional or missing files in /etc configuration structure, that could cause the issues.

Comparing /boot/armbianEnv.txt and /boot/script.bin(fex) and /boot/boot.cmd(scr) and kernel cmdline, there is no difference.

 

 

So the issue must be somewhere else, and I currently don't know where to look 

Link to post
Share on other sites

ok, running from "broken 5.31 upgraded to 5.38" image

Spoiler

/boot# cat config-3.4.113-sun7i  | egrep -e "(CONFIG_CMA|CONFIG_MEMORY_ISOLATION)"
CONFIG_MEMORY_ISOLATION=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8
CONFIG_CMA_AREAS=7

 

And running from chroot in 5.38 stable image upgraded via "apt-get dist-upgrade"

Spoiler

/boot# cat config-3.4.113-sun7i  | egrep -e "(CONFIG_CMA|CONFIG_MEMORY_ISOLATION)"
CONFIG_MEMORY_ISOLATION=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8
CONFIG_CMA_AREAS=7

 

So I don't think this config is an issue, both images are identical in means of CMA config

Link to post
Share on other sites

The same issue with armbian on cubietruck, mpv was broken after the upgrade. :( Tried to compile new ffmpeg , but it no helps

 

root@cubietruck:/etc# uname -a
Linux cubietruck 3.4.113-sun7i #16 SMP PREEMPT Wed Jan 24 19:20:59 CET 2018 armv7l armv7l armv7l GNU/Linux

whoami@cubietruck:/mnt/$ vdpauinfo
display: :0.0   screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x1001f10, 0, -, -)
    -> 25
Error creating VDPAU device: 25

root@cubietruck:/usr/lib# less /proc/modules | grep sunxi
sunxi_ir 4036 0 - Live 0xbf082000

 

hmm, an only remote sunxi module is loaded.

 

 

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

3 3