Jump to content

kexec

Members
  • Posts

    31
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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 ?
×
×
  • Create New...