Jump to content

kexec

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by kexec

  1. i have also compiled 5.5 image and was not able to make mesa work. on 5.4 kernel it works but quite unstable, extremetuxracer game somehow finished to the end, but as I am lazy one i have tired of geting my as up and reboot device on each fail. even with all sysctl kernel panic parameters set to 1 , not always got device rebooted automaticly
  2. 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
  3. i have checked power consumption when device boots up and nothing is connected to it Ubuntu opi BSP 4.9 kernel 490ma ubuntu armbian 5.1.12 330ma ubuntu/debian armbian 5.3.9 360ma LibreELEC 9.80-nightly-20191108-27a5673 330ma android 7 (from opi site) 490ma
  4. no, i havent measured outside temps as have no IR thermometer. but once I am changing sd card I can feel that little difference. I guess more scientific way would be to measure power consumption. will try to do that and update BSP image from opi page generates highest temp, then goes armbian latest and then older version (for example 5.1.12) which acts like i would expect when there is no action happening on cpu
  5. does anyone know where is the trick, older image generates less heat than newer one? is this related with cpu voltage or uboot version ? for example older image: Welcome to Ubuntu Bionic with Armbian Linux 5.1.12-sunxi64 root@orangepi3:~# cat /sys/devices/virtual/thermal/thermal_zone[01]/temp 38168 39109 root@orangepi3:~# cat /sys/devices/virtual/thermal/thermal_zone[01]/type cpu_thermal gpu_thermal newer stays around 48 celsius in same environment (no load on device, room temperature same,small passive cooler on cpu) Welcome to Ubuntu Bionic with Armbian Linux 5.3.9-sunxi64 root@orangepi3:~# cat /sys/devices/virtual/thermal/thermal_zone[01]/temp 47375 48517 root@orangepi3:~# cat /sys/devices/virtual/thermal/thermal_zone[01]/type cpu-thermal gpu-thermal
  6. i have just tried latest debian build kernel 5.1.3 and CPU show 1.8Ghz. HDMI works as it should, edid bug gone. you can now enjoy full HD resolution without any nasty magic i2c device is still not showing up my devices
  7. there are still some issues with hdmi but they should be fixed in near future for now if hdmi is a problem you can try RC kernel version. i have to warn that 5.1 kernel have bare minimum stuff compiled in to it and if you want something more fancy then you will face some problems.
  8. @martinayottewould it be possible to shared git diff for anyone else who would like to start experimenting with 5.1.y branch?
  9. i guess everyone can do this, it is just time question. If you are more experienced on that subject then you do it faster. have you seen this post ?
  10. @martinayotte how to change repo? I have tried but build failed once i change branch in source config. Also while testing @megous kernel i noticed that cpu max freq was 1.49, i guess there is some patch for dtb file which needs to be applied durring compile of dbt as it had made that scale down change in freq
  11. @megi thank you, you were right, video is working as it should with your kernel. HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm 1920x1080 60.00*+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1920x1080i 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1366x768 59.79 1280x800 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08 fast and dirty way to test wget https://xff.cz/kernels/pi3-5.1-20190412.tar.gz tar -xf pi3-5.1-20190412.tar.gz cd pi3-5.1/ dd if=uboot.bin of=/dev/mmcblk0 bs=1024 seek=8 #assuming that booting from sdcard cp Image /boot/Image cp board.dtb /boot/dtb/allwinner/sun50i-h6-orangepi-3.dtb cp -r modules/lib/modules /lib reboot that was enough to get video. @megi all modules are compiled in kernel ? P.S wifi device is also present without any firmware file rename hacks
  12. ok, I didn't expected that this would work but it did on opi3 armbian build git clone https://github.com/megous/linux.git cd linux make oldconfig make -j5 make Image make modules_install mv /boot/Image /boot/Image_backup cp arch/arm64/boot/Image /boot/Image reboot ---- edid still a problem root@orangepi3:~# cat /sys/class/drm/card0-HDMI-A-1/edid root@orangepi3:~# cat /sys/class/drm/card0-HDMI-A-1/modes 1024x768 800x600 800x600 848x480 640x480 root@orangepi3:~# uname -a Linux orangepi3 5.1.0-rc4+ #1 SMP Fri Apr 12 09:34:47 UTC 2019 aarch64 GNU/Linux @megi how about those patches https://lkml.org/lkml/2019/4/5/857 ? any changes that one of those 2 branches opi3-5.1 or orange-pi-5.1 have them ? and what difference between them ?
  13. @megi i guess you compile kernel manually and put it to correct place ? i just have changed https://github.com/armbian/build/blob/master/config/sources/sun50iw6.conf to your suggested branch and fired up armbian image creation which have failed. scripts/Makefile.lib:311: recipe for target 'arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-m1-plus2.dtb' failed scripts/Makefile.build:486: recipe for target 'arch/arm64/boot/dts/allwinner' failed Makefile:1228: recipe for target 'dtbs' failed
  14. I almost started believe like in this experiment https://www.youtube.com/watch?v=2uHNSuGeTpM it took time for me to come back to my self and do some test instead
  15. on emmc U-Boot 2014.07 (Mar 14 2019 - 16:09:23) Allwinner Technology on sd card U-Boot 2019.01-armbian (Apr 11 2019 - 11:38:28 +0200) Allwinner Technology maybe u-boot works from emmc if present? i guess everyone who has reboot issue is using emmc boot ?
  16. i just downloaded https://dl.armbian.com/orangepi3/nightly/Armbian_5.78.190411_Orangepi3_Ubuntu_bionic_dev_5.0.7.7z and done same test and as I can see reboot also works without loosing eth0. ssh orangepi3 Welcome to ARMBIAN 5.78.190411 nightly Ubuntu 18.04.2 LTS 5.0.7-sunxi64 System load: 0.87 0.44 0.17 Up time: 2 min Memory usage: 5 % of 1997MB IP: 192.168.220.135 CPU temp: 39°C Usage of /: 2% of 58G Last login: Thu Apr 11 20:02:18 2019 from 192.168.220.1 root@orangepi3:~# logout Connection to orangepi3 closed. [root@slowlaris ~]# while (sleep 60);do ssh orangepi3 'uptime;reboot';done a 20:03:58 up 3 min, 0 users, load average: 0.27, 0.35, 0.16 Connection to orangepi3 closed by remote host. 20:04:58 up 0 min, 0 users, load average: 1.08, 0.33, 0.12 Connection to orangepi3 closed by remote host. 20:05:59 up 0 min, 0 users, load average: 0.51, 0.19, 0.07 Connection to orangepi3 closed by remote host. 20:06:57 up 0 min, 0 users, load average: 1.09, 0.31, 0.11 Connection to orangepi3 closed by remote host. 20:08:01 up 0 min, 0 users, load average: 0.43, 0.16, 0.06 Connection to orangepi3 closed by remote host. 20:09:02 up 0 min, 0 users, load average: 1.12, 0.33, 0.12 Connection to orangepi3 closed by remote host.
  17. I am using lan to connect to opi3 and I cant see any problems with reboot and network after that, what is quite strange thing. compiled code with armbian build script docker option and booting from sd card. ssh orangepi3 Welcome to ARMBIAN 5.78 user-built Debian GNU/Linux 9 (stretch) 5.0.7-sunxi64 System load: 2.20 0.68 0.24 Up time: 0 min Memory usage: 12 % of 1997MB IP: 192.168.220.135 CPU temp: 41°C Usage of /: 4% of 30G Last login: Thu Apr 11 19:37:32 2019 from 192.168.220.1 while (sleep 60);do ssh orangepi3 'uptime;reboot';done 19:42:13 up 4 min, 0 users, load average: 1.05, 0.85, 0.39 Connection to orangepi3 closed by remote host. 19:42:46 up 0 min, 0 users, load average: 2.60, 0.66, 0.22 Connection to orangepi3 closed by remote host. 19:43:48 up 0 min, 0 users, load average: 2.29, 0.56, 0.19 Connection to orangepi3 closed by remote host. 19:44:39 up 0 min, 0 users, load average: 1.25, 0.29, 0.10 Connection to orangepi3 closed by remote host. 19:45:39 up 0 min, 0 users, load average: 2.11, 0.51, 0.17 Connection to orangepi3 closed by remote host.
  18. reboot works. opi3 with emmc booted from sd card. image which i used
  19. No, I use apkpure package manager. To much effort needs to be put in, to get google working
  20. I agree that it is quite good deal for a money. using android works great as media player (vp8,x265) and even some games works nice. I recommended everyone to try Beach Buggy Racing as gpu demo game is quite impressive. Linux is another story but it has bright side to
  21. ----------------------------------------------------Update-------------------------------------- changing code had no results, neither edid is present nor hdmi started to work as in BSP kernel. i change code while make menuconfig was waiting for input, and then just continued image as always. i agree that is is not best way to do this maybe there is easier way for the same ? as automated build pull code each time and changes branch to master ?
  22. you were right. corrected and recompiled image. could someone to boot it and check or hdmi works any better now ? as could be that I will be late today to test this at home. cat /sys/class/drm/card0-HDMI-A-1/edid should not be empty and return some crappy output of binary http://78.157.85.46/Armbian_5.77_Orangepi3_Ubuntu_bionic_dev_5.0.5_desktop.img.gz
  23. no changes for me after suggested code fix and image build. it would be good that someone else tried to to avoid any human error factor. attaching files which i modified and hdmi still not worked after all. sun8i_dw_hdmi.c sun8i_dw_hdmi.h sun50i-h6-orangepi-3.dts
  24. modified code and compiling. Will update on results once there are any. it will take a bit of time as compiling on very small device (apu1d)
  25. thanks to @martinayotte automated build system started produce orange pi 3 images https://dl.armbian.com/orangepi3/
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines