Jump to content

Recommended Posts

Posted
1 hour ago, Igor said:


Don't open new topics and read the topic which yours was merged to. You will find all answers here.

I read from beginning and I see people with same problem but they don't answer if sound works using armbian, but answer for lireleec. Are there people suing armbian and sound is working?

Posted
2 hours ago, Belgrado said:

I see people with same problem


... I also didn't get any sound when I did testings but it was a quick test without any research so I can't conclude nothing out of that. If people report its not working, then its not working and if sound is working in Librelec means that it can be fixed without extensive work. But its still work and since development is amateur ... its done when its done. One is for sure - only HDMI sound can be brought up, while there are no drivers for analogue.

Posted

Hi,

 

I tried Orange Pi One Plus H6 version of LibreElec from here: https://test.libreelec.tv, sound is working through HDMI, also detects resolution with HDMI-VGA converter and in both cases  i have sound and hardware accelerated graphics, youtube at full fps with audio sync.

 

I disabled 2 cores with

echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online

echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online

 

and works perfect without heatsink.

 

But sadly this is not what I want, I need X11 with hardware acceleration and chrome browser, I tested in Armbian and works ok, but without sound.

 

Also I tested recent Xunlong orange pi mainline kernel and I have audio but no graphics acceleration and no thermal sensors, I tried to recompile kernel myself several times with different settings without good results.

 

I'm struggling with this for several days, perhaps with mainline version in Xunlong OrangePi repositories plus LibreElec dtb/dts, and https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-5.4/files patches someone like Igor can enable sound, I'm years away of knowledge needed, I dedicated about 12 days (almost full-time)  trying to have a distro working with sound and video, I purchased 3 different sd cards, I downloaded and built All Oficial repositories  images of OrangePi with kernel 4.9 and mainline and I failed every time to get all working together, I tried several versions of Ubuntu, Debian, I debootstraped rootfs of debian and also of course I tried Armbian, for me this last one is perfect, stable and great, so if anyone can make sound via HDMI working will be great for all newbies like me.

 

Thanks!
 

 

 

 

Posted
15 hours ago, jernej said:

Yes, LibreELEC is already using mesa on H6. However, Kodi is not a demanding app for GPU, so ymmv.

Nice to see Mali T720 with Mesa working, I would test it but as I already mentioned in another post I'm having issues with the HDMI PHY using HDMI to VGA adapter. Is there any way to analize that kind of problems?

Posted

Is anybody else seeing the issue that the CPU is constantly at around 80°C causing the CPU to be throttled down to 1.08Ghz maximum speed? I added a heatsink to the H6 CPU and switched the governor to conservative but that didn't really help.

Posted
13 minutes ago, Flole said:

Is anybody else seeing the issue that the CPU is constantly at around 80°C causing the CPU to be throttled down to 1.08Ghz maximum speed? I added a heatsink to the H6 CPU and switched the governor to conservative but that didn't really help.


What about setting max speed to 1.6?

Posted

1.6 is not low enough to keep it under 80°C, 1.32 keeps it barely on or below 80°C, that's not with all cores completely used though, I'm at about 50% on 3 cores and 90% on one core.

Posted

Heatsink may not help much if the air is not moving. Place a 12cm fan next to the board and you should not have any throttling even on 1.8GHz and 100% load on all cores. (no need for a heatsink in this case) I have my fan undervolted so that it doesn't make noise. Not much airflow is needed to keep Opi3 from throttling. Otherwise you need a bigger heatsink with larger area.

Posted

The air should be moving upwards by itself but anyways, now that I know that this is a known problem I prepared a 40mm fan with a USB plug that I can just mount on my enclosure and it will blow straight onto the heatsink. That should be enough cooling to keep it under 80°C.

 

Another thing I noticed: I have a 5.2V 3A Power supply connected to the Micro USB connector. On the USB3 Ports I have a HDD connected and that HDD just gets 4.7V, so either some rails are a little too thin on the board or the Micro USB connector adds quite some resistance. Has someone seen that before? Is it better to use the DC Jack than the Micro USB connector? At the moment I used a second power supply with an USB-A/USB-A cable to provide additional power to the USB Port but that's obviously not a good solution (but it works at the moment).

Posted

Micro USB connector current rating is ~2A continuous current. Contact resistance ~2x30mOhm. I don't use it, mostly because most USB cables are usually too thin and not designed for power delivery to SBCs. (your mobile phone will not care when VBUS voltage drops to 4.5V at the end of the cable during charging, but your SBC will)

 

Anyway, even with custom made low resistance cabling, I was able to achieve SSD stability only when routing 5V directly to the drive. Maybe SSDs have high peak current consumption, I don't know.

 

So yeah, similar experience here.

Posted

Hello and thanks for all the effort.

 

I just wanted to inform you that today with kernel 5.5.0-rc6-sunxi64 I've got sound through hdmi  out of my OPi3 for first time ever.

Youtube seems to be working fine out of the box. VLC still doesn't work - system hunged with a mkv file I tried (I didn't have time to check with other files).

 

That's a huge step forward for me!

Kudos to the developers.

 

Posted

Unfortunately my Orange Pi 3 is still very unstable, even with the latest version. I get a maximum uptime of 4 days, and sometimes like now it won't even reboot automatically when it crashes. I'll try to see if it's possible to setup kdump tomorrow to see if this is caused by a panic (and what causes it) or the CPU simply goes into reset. I am running Armbian from a USB Drive, I need to check if maybe USB initialization fails and that causes the reboot to fail.

Has anybody else experienced something like this?

Posted
25 minutes ago, Flole said:

Unfortunately my Orange Pi 3 is still very unstable,

Make sure you are using a decent PSU. Voltage drops due to load spikes can quickly cause instability.

Posted

As you can read (some posts) above I am using 2 Power supplies and the voltage should be stable at the board. I'll try to run a stresstest though once I rebooted the board to see if that could be the issue.

Just to confirm: For you this board is running stable?

Posted

My bad. The posts above are a bit older so I did not notice they are related. Probably overtired and coffee keeping me alive.

Anyway. I do not own an OPi3. Tough I have to OPi One Plus which come with the Allwinner H6 as well and they are running decent. Even with 1.8GHz with an older image.

Posted

I think this board has quite some issues though, even when I go in with 5V on the Micro USB it's not enough to power a HDD on the USB Ports (and I'm not the only one with that issue), so I was wondering if this might be another issue this board has.... I guess I need a 5.5V Power Supply to account for whatever losses happen on the board.

Is it better to go in through the DC Jack? I read about issues with that some time ago aswell and as I would have to cut my USB Cable I want to be absolutely sure that it's better before I try it.

Posted

It is general advised by armbian to used barrel plug to power a board if possible.

It is true that there is quite some voltage drop across the board. Though I guess they are not designed to let pass lots of current through anyways.

 

For example have two different 2,5'' hdd drives that I wanted to connect to my OPi1+ through a S-ATA-USB adapter. One drive could spin up, the other could not through the voltage drop across the board (just a click-click-click noise and voltage dropped to about 4,3 volts). After applying a second cable and provide more power through the microUSB connector as well it worked.

 

You do not need to kill a usb cable for that. You can get USB to DC jack 4,0x1,7 cables for cheap on aliexpress or similar.

Posted

My Power Supply has a micro usb plug attached, so if I want to use the dc jack I would have to remove that one first ;) Every connector adds additional resistance so I try to avoid it whenever it's possible.

Posted
On 12/13/2019 at 9:10 PM, Jan Gregor said:

Anyone caught this one?

https://www.phoronix.com/scan.php?page=news_item&px=Mali-T720-Stable-Mesa-20.0

 

It is present in mesa git master, going to try to compile it.

 

i have compiled mesa from https://gitlab.freedesktop.org/mesa/mesa and looks like hw acceleration is working, but it very unstable, once linux OS crashed on startup of glxgears and next time on exit of glxgears

 

mau@orangepi3:~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
311 frames in 5.0 seconds = 62.068 FPS
301 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.001 FPS
300 frames in 5.0 seconds = 60.000 FPS
^C
mau@orangepi3:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
4895 frames in 5.0 seconds = 978.931 FPS
5087 frames in 5.0 seconds = 1017.374 FPS
5076 frames in 5.0 seconds = 1015.115 FPS
^C
mau@orangepi3:~$  <== crashed straight after exit, no more

 

 

any one else tried same ?

 

compile instructions of mesa https://www.mesa3d.org/install.html

image used for compile https://dl.armbian.com/orangepi3/archive/Armbian_20.02.0-rc1_Orangepi3_buster_current_5.4.14.7z
 

vi /etc/apt/sources.list

cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian buster main contrib non-free
deb-src http://httpredir.debian.org/debian buster main contrib non-free

deb http://httpredir.debian.org/debian buster-updates main contrib non-free
deb-src http://httpredir.debian.org/debian buster-updates main contrib non-free

deb http://httpredir.debian.org/debian buster-backports main contrib non-free
deb-src http://httpredir.debian.org/debian buster-backports main contrib non-free

deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free

apt update
apt-get build-dep mesa

su - mau

mkdir compile
cd compile/

git clone https://gitlab.freedesktop.org/mesa/mesa.git
meson mesa/

ninja

sudo ninja install

apt install mesa-utils

Xorg can be installed using armbian-config -> system -> last choise

 

Posted
On 1/27/2020 at 5:41 AM, Flole said:

I think this board has quite some issues though, even when I go in with 5V on the Micro USB it's not enough to power a HDD on the USB Ports (and I'm not the only one with that issue), so I was wondering if this might be another issue this board has.... I guess I need a 5.5V Power Supply to account for whatever losses happen on the board.

Is it better to go in through the DC Jack? I read about issues with that some time ago aswell and as I would have to cut my USB Cable I want to be absolutely sure that it's better before I try it.

I believe powering the board through the DC jack is better. I have a WD My Passport attached and running permanently without any issues. FYI the adapter that came with the board I ordered had coil whine which may or may not be a problem for you.

This is the adapter I use now. It can supply up to 3A when set for 5V output.

Posted

Hi Guys,

 

i am using this XL6009 board step down module together with a 2Tb Thosiba 2,5" usb 3 HDD and arduino nano with networking shield and 2.4Ghz Radio connected to this Board and a 12V Ultra silent Fan, i am feeding 12v to the stepdown and the output is tuned to 5.12V. i recommend puting small head sinks on the step down while using the opi3 with a HDD and additinal stuff. i am powering the opi3 directly via PIN Header and not the DC Jack.

 

https://de.aliexpress.com/wholesale?catId=0&initiative_id=SB_20200130133936&origin=y&SearchText=DC-DC+XL6009

 

Model Specification:DSN6000AUD Automatic Buck module
Module Properties:Non- isolated boost (BOOST)
Rectification:Non- Synchronous Rectification
Input Range:3.8V - 32V
Output Range:1.25V - 35V
Input Current:3A ( max ) , no-load 18mA (5V input , 8V output , no-load is less than 18mA. Higher the voltage , the greater the load current . )
Conversion efficiency:<94% ( greater the pressure , the lower the efficiency )
Switching frequency:400KHz
Output Ripple:50mV ( the higher the voltage , the greater the current , the greater the ripple )
Load Regulation:± 0.5%
Voltage Regulation:± 0.5%
Operating Temperature:-40  - +85

 

for the 12V 1,5A i am using a generic power supply.

 

runns pretty nice for mor then a year

 

Posted

Hello, can somebody help me.

 

I have OrangePi3 (Linux orangepi3 5.4.14-sunxi64 #rc1 SMP Sat Jan 25 15:46:08 CET 2020 aarch64 GNU/Linux ) running

Armbian_20.02.0-rc1_Orangepi3_buster_current_5.4.14

This is the board with 26-pin header.

 

There is no /dev/spi0.0

 

This is my /boot/armbianEnv.txt file

 

verbosity=1
console=both
overlay_prefix=sun50i-h6
rootdev=UUID=0b94dc1e-9162-435e-86d6-8a870add3ae5
rootfstype=ext4
overlays=spi-spidev
param_spidev_spi_bus=0
param_spidev_spi_cs=0
param_spidev_max_freq=1000000
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

What else I can try to get /dev/spi

 

Thanks

 

 

Posted
2 hours ago, Aleksandar said:

I have OrangePi3 (Linux orangepi3 5.4.14-sunxi64 #rc1 SMP Sat Jan 25 15:46:08 CET 2020 aarch64 GNU/Linux ) running

Armbian_20.02.0-rc1_Orangepi3_buster_current_5.4.14

This is the board with 26-pin header.

 

There is no /dev/spi0.0

 

This is my /boot/armbianEnv.txt file

 

[...]

overlays=spi-spidev
param_spidev_spi_bus=0
param_spidev_spi_cs=0
param_spidev_max_freq=1000000

 

What else I can try to get /dev/spi

 

The SPI on the header is actually SPI1, so you need:

overlays=spi-spidev1
param_spidev_spi_bus=1

That should get you /dev/spidev1.0.

Posted

Just upgraded to the latest Armbian 20.05 with kernel 5.5.0 final. It seems to be working well, however I'm still having issues with Panfrost/T720, just wondering if it's just me (messed up compilation or configuration somewhere) or if others have the same issue.

jc@orangepi3:~$ glmark2 --validate
=======================================================
    glmark2 2017.07
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali T720 (Panfrost)
    GL_VERSION:    2.1 Mesa 20.0.0-devel (git-f09c466732)
=======================================================
[build] use-vbo=false:[  570.822429] Purging 8519680 bytes
 Validation: Failure
[build] use-vbo=true: Validation: Success
[texture] texture-filter=nearest: Validation: Failure
[texture] texture-filter=linear: Validation: Success
Segmentation fault

jc@orangepi3:~$ glmark2-es2 --validate
=======================================================
    glmark2 2017.07
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali T720 (Panfrost)
    GL_VERSION:    OpenGL ES 2.0 Mesa 20.0.0-devel (git-f09c466732)
=======================================================
[build] use-vbo=false: Validation: Failure
[build] use-vbo=true: Validation: Success
[texture] texture-filter=nearest: Validation: Failure
[texture] texture-filter=linear: Validation: Success
[texture] texture-filter=mipmap: Validation: Failure
[shading] shading=gouraud: Validation: Failure
[shading] shading=blinn-phong-inf: Validation: Failure
[shading] shading=phong: Validation: Failure
[shading] shading=cel: Validation: Unknown
[bump] bump-render=high-poly: Validation: Failure
[bump] bump-render=normals: Validation: Failure
[bump] bump-render=height: Validation: Failure
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: Validation: Failure
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: Validation: Failure
[pulsar] light=false:quads=5:texture=false: Validation: Failure
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: Validation: Failure
[desktop] effect=shadow:windows=4: Validation: Failure
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: Validation: Failure
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: Validation: Success
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: Validation: Success
[ideas] speed=duration: Validation: Unknown
[jellyfish] <default>: Validation: Unknown
[terrain] <default>: Validation: Unknown
[shadow] <default>: Validation: Unknown
[refract] <default>: Validation: Unknown
[conditionals] fragment-steps=0:vertex-steps=0: Validation: Failure
[conditionals] fragment-steps=5:vertex-steps=0: Validation: Failure
[conditionals] fragment-steps=0:vertex-steps=5: Validation: Failure
[function] fragment-complexity=low:fragment-steps=5: Validation: Failure
[function] fragment-complexity=medium:fragment-steps=5: Validation: Success
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: Validation: Success
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: Validation: Success
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: Validation: Success

 

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