Jump to content

Recommended Posts

Posted

Hi all

 

Just give a test run for Armbian_5.25_Orangepipc2_Ubuntu_xenial_dev_4.10.0_desktop

 

Regarding DVFS - see more "1296 MhZ" in armbianmonitor output. 28-Jan image showed it not so often. Cannot say anything here, since don't know what was chaged :). Anyway, it works _perfect_.

 

Honestly, I expected "fbturbo" as X.Org driver, but it was standard "fbdev". May be some "apt-get" will help here, but I build/installed one using those instructions:

 

https://github.com/ssvb/xf86-video-fbturbo/wiki/Installation

 

Worked fine, loaded ok in XOrg log, however complained about "no 3d acceleration, no ump, bla bla".

 

And, _to my mind_, system worked slightly better. Even YouTube in 480p mode was watchable, unfortunately I had no sound, since analog audio is not connected on my test setup. 

But glxgears level showed the almost same FPS (deviation is too big during test, so cannot judge), may be +5 only :)

 

So for me - personally only one issue acts as showstopper - powerdown problem.

 

"shutdown -h now" still does not shutdown the board - Ethernet indicator is on with some activity, and "usbdoctor" shows about 600ma consumption (and system without load goes not higher then 480ma). Honestly, I hope for the best, since legacy kernel/uboot(?) shutdowns board correctly.

Posted

Have latest Armbian daily orange Pi PC2 running. Looks good.

 

Samba worked straight away so I could connect to my network drives.

Would play x264 video with MPV player but no sound.

VLC crashed on trying to play video.

 

But what delighted me was it straight away ran GQRX Ham Radio software and also autodetected the RTL-SDR dongle I installed.

Posted

It would be great, if usb otg would be enabled as host. And possibly RTL8188ETV drivers included in the kernel. Sux to have board without wifi (even though it's pretty crappy when it works)

Posted

Hmm... please keep in mind that stock Samba settings on any SBC show not the best performance results. A quick web search for 'smb.conf performance tuning arm' or something like that should show how to tune settings to achieve better performance.

 

In case you re-test please think about using Helios LanTest instead (unlike most other benchmarks used at least some information what this tool does is available: http://www.helios.de/web/EN/support/TI/157.html )

 

Ok, so before performance config it looks like;

 

 

eUNqieN.png

 

After performance testing:

 

aeX2kPs.png

 

so yes :D, its much more faster =)

Posted

It would be great, if usb otg would be enabled as host.

Will be done eventually. We already have a pretty big DT patch for this board.

 

And possibly RTL8188ETV drivers included in the kernel. Sux to have board without wifi (even though it's pretty crappy when it works)

Last time I edited the kernel config I enabled almost all Realtek wireless drivers that were available.

Posted

Will be done eventually. We already have a pretty big DT patch for this board.

 

Last time I edited the kernel config I enabled almost all Realtek wireless drivers that were available.

 

Will give a go again to see if it works.

Posted

Hi all

 

Just give a test run for Armbian_5.25_Orangepipc2_Ubuntu_xenial_dev_4.10.0_desktop

 

Regarding DVFS - see more "1296 MhZ" in armbianmonitor output. 28-Jan image showed it not so often. Cannot say anything here, since don't know what was chaged :). Anyway, it works _perfect_.

 

Honestly, I expected "fbturbo" as X.Org driver, but it was standard "fbdev". May be some "apt-get" will help here, but I build/installed one using those instructions:

 

https://github.com/ssvb/xf86-video-fbturbo/wiki/Installation

 

Worked fine, loaded ok in XOrg log, however complained about "no 3d acceleration, no ump, bla bla".

 

And, _to my mind_, system worked slightly better. Even YouTube in 480p mode was watchable, unfortunately I had no sound, since analog audio is not connected on my test setup. 

But glxgears level showed the almost same FPS (deviation is too big during test, so cannot judge), may be +5 only :)

 

So for me - personally only one issue acts as showstopper - powerdown problem.

 

"shutdown -h now" still does not shutdown the board - Ethernet indicator is on with some activity, and "usbdoctor" shows about 600ma consumption (and system without load goes not higher then 480ma). Honestly, I hope for the best, since legacy kernel/uboot(?) shutdowns board correctly.

 

@znoxx

does the kernel support fbdev? -- I see no /dev/fb0 here.

Posted

@think nice things,

driver used here is simplefb, which doesn't offer much - no power management, no double buffering, no resolution changes. It is used because there is no proper DRM driver available yet.

Posted

@think nice things,

driver used here is simplefb, which doesn't offer much - no power management, no double buffering, no resolution changes. It is used because there is no proper DRM driver available yet.

 

thanks. Mind sharing your xorg.conf?

Posted

I don't use PC2 currently. I know limitations because I wrote U-Boot HDMI driver which is indirectly used by simplefb driver. You see, simplefb is generic fbdev driver which don't know anything about HW, it can just reuse existing framebuffer, which is in this case set up by U-Boot.

 

However, I got impression that desktop works (based on previous posts). Does it work for you? If you don't see boot logo during boot, then issue is in U-Boot driver.

Posted

@znoxx

does the kernel support fbdev? -- I see no /dev/fb0 here.

I just used xorg.conf bundled with github repo of fbturbo and it worked.

Posted

:D  Finally had time to test nightly build (06/02); Its summer here in Brazil (Ambient temp 30 Celsius) 

 

Boot problems initally if any usb keyboard/mouse was connected.  

 

Successfully CPU decode 10bit, 720p files at fullscreen, but with scaler disabled (--video-unscaled);

But strange thing: idle 1344MHz then as soon as 10s in video , throttle 1296MHz with temps at 42C;

Htop usage never went above 320% so the 4 cores at ~75% utilization!

 

Then temps never raised above 75C per armbianmonitor and a infrared meter at hand.

 

StabilityTester script crashes at 1248MHz, tried 120Mhz cooling and 45C target, with no problems in rapid swing.

Here, frequency above 1152Mhz sometimes went 86C;

    Also there is a problem with throttle, in which high temps lower the freq but the script increases the voltage.

Even if the lower freq had passed the tests succesfully with good residuals. So a bigger voltage in a bigger freq brings too much heat and the processes loops or crashes.    

Detected throttle with "watch -n 1 cpufreq-info" look for frequency range change!

There is a big change in achievable frequency in exercising float code paths or integer paths like my video decode workload. 

 

Manual 1368MHz crashed at loads > 0.9, even at 40C; 

 

My 2 cents are:

  There is a problem with idle states or cpuidle driver!!! add idle-states example: https://lkml.org/lkml/2016/7/6/148

  Temps were too high at default;  So i lowered min to 120MHz, pretty much usable and the governor correctly ramps up and lower without lag.  (other people 240MHz recomendation) Also disable the desktop composition!!!

  •   Pulseaudio is broken!  the pacmd list-sinks shows buffers to change when you tweak the daemon.conf buffer frag size;
  •   Best behavior was pura ALSA but even so, many bugs if i try to seek video.  buffer errors a lot! 
  •   dmesg show sun4i_codec has error with card registration. 
  •  
  •   1080 videos also slow even at 1296MHz;  TV edid 1080p@50hz
  •   SWS scaler doesn't have NEON accel. so the scaler is too slow.

 

For the DVFS, what is the step size on the voltage regulator?,  maybe min regulator 940mV is too high!

Also, for some frequencies just a 48MHz increment had 100mV++ as well.  

EDIT: 920mV  lowers ~5% leakage

 

I think the problem with the script could have increased some voltages at higher temp.  Maybe a  10~25mV or 50mV increase per case.

Of course if you are testing at 50C+, the noise is a problem and undervolt can crash, but is usually at (flip-flop) register hold-up times, not really setup-times.   Thats why noise is a problem!img002.gif

Posted

I tested the latest nightly armbian build for orange pi pc2 (H5) but it does not boot my board. No lights are flashing and no ethernet led does light up. At first I thought my unit is broken but the xunlong image boots. Am I missing something or is the nightly build broken?

Posted
 Am I missing something or is the nightly build broken?

 

- it's an automated build,

- it's built from development kernel 4.x., 

- it's building for testing purposes, for developers.

 

All this is written at download page in big red box, so that it's hard to miss. I think we need to add more warnings, a popup window or similar, ...

 

Yes, testing image could be broken.

Posted

Just tried build:

 

Armbian_5.25.170211_Orangepipc2_Ubuntu_xenial_dev_4.10.0

 

Working again :)

 

Issue with high consumption after shutdown is still here, but I made a small cheat:

 

 

# cpufreq-set -d 120000 -u 120000

 

And cpufreq-info showed me:

 

 

current policy: frequency should be within 120 MHz and 120 MHz

 

 

After this system showed about 0.27A consumption. I sent a shutdown command, green light went off, and, well consumption has not raised. It is 2-2.5 times lower, than it was without setting CPU speed.

 

Also I tried to 

 

 

echo 0 >/sys/devices/system/cpu/cpu3/online

 

But, system just freezed. Not sure cpu hotplug is supported here.

 

So my idea to make a custom shutdown hook temporary (until this shutdown issue fixed someday) to force cpu to 120 Mhz.

 

Also I'd like to turn off ethernet completely with this hook also, but not sure about correct way of doing this. Any tips here ?

This can be done for USB ports also, but I guess something mounted will suffer. Never did this before.

 

And one more question - is it possible to force cpu to lower speed than 120 Mhz, or even disable particular kernel (I failed as described above, but may be I did it wrong ?)

 

Thanks in advance.

Posted

So my idea to make a custom shutdown hook temporary (until this shutdown issue fixed someday) to force cpu to 120 Mhz.

 

A good place for such a shutdown hook is the stop case in /etc/init.d/armhwinfo. Cpufreq can also be adjusted directly through sysfs and in case you build all relevant hardware drivers as modules you could also try to unload them and then measure again (but then to get USB/Ethernet on boot the module's names might need to be added to /etc/modules or a DT modification might be necessary -- I'm pretty clueless here, same with CPU hotplug support in mainline kernel)

Posted

I added experimental shutdown support for the PC2, numbers from power meter for the next nightly (12.02) are welcome.

Also please note that the only way to restart after power down is and will be the power cycle. This board doesn't have the PMIC, so it's either full shutdown or different kinds of suspend with "power button" support.

Posted

I added experimental shutdown support for the PC2, numbers from power meter for the next nightly (12.02) are welcome.

 

Sounds great! Will do a test run most likely on monday (too far from the board right now), will share results.

Posted

I added experimental shutdown support for the PC2, numbers from power meter for the next nightly (12.02) are welcome.

Also please note that the only way to restart after power down is and will be the power cycle. This board doesn't have the PMIC, so it's either full shutdown or different kinds of suspend with "power button" support.

 

I'm getting reboots when i shutdown. Should i change something or is straight up upgrade from repo enough ?

Posted
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping Accounts Service...
[  OK  ] Unmounted /run/user/1000/gvfs.
[  OK  ] Stopped Regular background program processing daPassword:
ce.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped Accounts Service.
[  OK  ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped User Manager for UID 1000.
[  OK  ] Stopped Disk Manager.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped Session c1 of user benjamin.
[  OK  ] Stopped Session 2 of user root.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped LSB: No Display Manager.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Stopped LSB: Starts LIRC daemon..
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Removed slice User Slice of root.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Removed slice User Slice of benjamin.
         Stopping Login Service...
         Stopping Permit User Sessions...
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
         Stopping Network Manager...
         Stopping WPA supplicant...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped target User and Group Name Lookups.
[  OK  ] Stopped WPA supplicant.
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped Network Manager.
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Re
Login incorrect
moved slice User and Session Slice.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Entropy daemon using the HAVEGEorangepipc2 login:  algorithm...
[  OK  ] Stopped target Encrypted Volumes.
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped target Swap.
         Deactivating swap /var/swap...
         Stopping Restore / save the current clock...
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Deactivated swap /var/swap.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/user/0...
         Unmounting /var/log.hdd...
         Starting Unattended Upgrades Shutdown...
         Unmounting /run/user/1000...
         Unmounting /var/log...
         Unmounting /tmp...
         Stopping Load/Save Random Seed...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Unmounted /run/user/1000.
[FAILED] Failed unmounting /var/log.
[FAILED] Failed unmounting /tmp.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[  265.282833] reboot: Power down
INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State ON
INFO:      AffInst: Level 0, MPID 0x2, State ON
INFO­áJZ   AffInst: Level 0, MPID 0x3, State ON

This is what i get when i issue poweroff command. Board then reboots, instead of shutting down.

Posted

I get this and a proper shutdown:

 

 

root@orangepipc2:~# poweroff
[  OK  ] Stopped target Timers.
         Stopping User Manager for UID 0...
         Stopping Save/Restore         Stopping Session 3 of user root.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
         Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: Armbian gathering hardware information...
         Stopping OpenBSD Secure Shell server...
         Stopping LSB: Start NTP daemon...
         Stopping Regular background program processing daemon...
         Stopping System Logging Service...
         Stopping LSB: disk temperature monitoring daemon...
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped target Login Prompts.
         Stopping Serial Getty on ttyS0...
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Stopped Daily apt activities.
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Stopped target Sound Card.
         Stopping Getty on tty1...
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped Session 3 of user root.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Starts LIRC daemon..
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Removed slice User Slice of root.
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping Permit User Sessions...
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
[  OK  ] Stopped Network Manager Wait Online.
         Stopping Network Manager...
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped Armbian first run tasks.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped Network Manager.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped target Encrypted Volumes.
[  OK  ] Stopped Apply Kernel Variables.
         Stopping Entropy daemon using the HAVEGE algorithm...
[  OK  ] Stopped target Swap.
         Deactivating swap /var/swap...
         Stopping Update UTMP about System Boot/Shutdown...
         Stopping Restore / save the current clock...
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Deactivated swap /var/swap.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Starting Unattended Upgrades Shutdown...
         Unmounting /var/log.hdd...
         Unmounting /run/user/0...
         Unmounting /var/log...
         Stopping Load/Save Random Seed...
         Unmounting /tmp...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Unmounted /run/user/0.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Unmounted /var/log.
[  OK  ] Unmounted /tmp.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Reached target Shutdown.
[  215.847007] reboot: Power down
INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State ON
INFO:      AffInst: Level 0, MPID 0x2, State ON
INFO:      AffInst: Level 0, MPID 0x3, State ON

 

 

What do you have connected to the board? USB, OTG, HDMI or any other devices that can in theory provide parasite power to the board?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines