Jump to content

Search the Community

Showing results for 'panfrost'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. The open source Panfrost driver for Arm Mali Midgard and Bifrost GPUs now provides non-conformant OpenGL ES 3.0 on Bifrost and desktop OpenGL 3.1 on Midgard (Mali T760 and newer) and Bifrost, in time for Mesa's first release of 2021. View the full article
  2. Hi Please, find below my current Armbian version in OPI5: Armbian_23.5.5_Orangepi5-plus_jammy_legacy_5.10.160_cinnamon_desktop I’m having a few issues with Orange pi 5 Plus. Wifi/Bluetooth issues: I bought this WIFI/Bluethooth model (RTL8852BE) ( Link ) Bluetooth: When I try finding a new dispositive does not find anyone. However, it’s working with Ubuntu. WIFI: I did not have any problem with SDcard but the NVME gave me wifi problems sometimes when I updated it with “apt upgrade”. Then, the wifi does not work and I have to reboot and switch off bluetooth to make the wifi work. I tried the ubuntu ( Link ) and I did not have any problem with bluetooth and neitherl WIFI. Issues initializing OPI5+ (NVME) Sometimes it’s triggers the following error when I turn on the OPI5+ from the NVME. In order to access the system again, I have to turn off and turn on the orange pi 5 plus. hardware acceleration I believe, I`m having a problem with hardware acceleration, because Youtube on Chromiun with Ubuntu ( Link ) works and now it doesn't work for me. ~:% glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Panfrost (0xffffffff) Device: Mali-G610 (Panfrost) (0xffffffff) Version: 23.0.0 Accelerated: yes Video memory: 15718MB Unified memory: yes Preferred profile: compat (0x2) Max core profile version: 0.0 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 OpenGL vendor string: Panfrost OpenGL renderer string: Mali-G610 (Panfrost) OpenGL version string: 3.0 Mesa 23.0.0-devel OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 GPIO I saw a few colleages using GPIO and when they use this command “gpio readall” it triggers the following error. "wiringPiSetup: mmap (GPIO) failed: Operation not permitted" I found this solution and it worked. ( Link ) write in the console: echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release Thank you very much and kind regards, Apologise for any silly question this is a new world for me.
  3. Panfrost instructions Armbian !!!! I made a script that does all this, check a few posts later for the script !!!!! This tutorial explains how to build an Armbian image with panfrost. And what else you need to make it work. These are early drivers. Many things don't work yet. Only OpenGL 2.1 works now. You need to build an image with kernel 5.2 or later. For this you need an x86 pc with Ubuntu 18.04 or a virtual Ubuntu 18.04 x86 image. First install git, then clone the build folder from Armbian, and enter the build directory. apt-get -y -qq install git git clone --depth 1 https://github.com/armbian/build cd build Now run the script with EXPERT=yes so you can choose to build a dev image. sudo ./compile EXPERT=yes Choose "Full OS image for flashing" Then "Show a kernel configuration menu before compilation" Choose your board. If it's not in the regular list, look in "Show SCS/WIP/EOS/TVB". Choose Development version kernel configuration -> device drivers -> graphic drivers -> panfrost Let it run until it's finished. The image will be in the /build/output/images Burn it to an SD-card/eMMC/... Now we need to install all the needed software sudo apt install flex bison python3-mako libwayland-egl-backend-dev libxcb-dri3-dev libxcb-dri2-0-dev libxcb-glx0-dev libx11-xcb-dev libxcb-present-dev libxcb-sync-dev libxxf86vm-dev libxshmfence-dev libxrandr-dev libwayland-dev libxdamage-dev libxext-dev libxfixes-dev x11proto-dri2-dev x11proto-dri3-dev x11proto-present-dev x11proto-gl-dev x11proto-xf86vidmode-dev libexpat1-dev libudev-dev gettext glmark2 glmark2-es2 mesa-utils xutils-dev libpthread-stubs0-dev ninja-build bc python-pip flex bison cmake git valgrind llvm llvm-8-dev python3-pip pkg-config zlib1g-dev wayland-protocols Download and install meson wget http://ftp.de.debian.org/debian/pool/main/m/meson/meson_0.55.3-1_all.deb sudo dpkg -i meson_0.55.3-1_all.deb Download and install mesa DRM git clone git://anongit.freedesktop.org/mesa/drm cd drm meson build --prefix=/usr ninja -C build sudo -E ninja -C build install cd .. Download and install mesa graphics git clone git://anongit.freedesktop.org/mesa/mesa cd mesa meson -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false -Dprefix=/usr build/ ninja -C build/ sudo ninja -C build/ install REBOOT Optionally, update sdl (recommended) git clone https://github.com/SDL-mirror/SDL.git cd SDL mkdir build cd build cmake ../ make -j6 sudo make install REBOOT Only thing that works ok with it is supertuxkart, to install it. sudo apt install supertuxkart Panfrost - Linux games working from repo SuperTuxKart - Works well ExtremeTuxRacer - lots of glitches AssaultCube - lots of glitches Instructions by Salvador Liébana & NicoD
  4. This is using the second ili9341 tiny drm driver (the one not named ili9341) on kernel 5.9.14, running on OrangePi One Plus. Screen seems to be shifted, colors are also off. Seems somewhere in Panfrost it requires the screen to be at least 640 wide and the color depth to be at least 24 or it requires a different set of fonts??? If I disable Panfrost the screen gets back to normal so you can see the whole terminal and the texts are in black instead of yellow and brown. The following benchmark results are from glmark2 running in full screen mode: ======================================================= glmark2 2020.04 ======================================================= OpenGL Information GL_VENDOR: Panfrost GL_RENDERER: Mali T720 (Panfrost) GL_VERSION: 2.1 Mesa 20.1.8 ======================================================= [build] use-vbo=false: FPS: 29 FrameTime: 34.483 ms [build] use-vbo=true: FPS: 40 FrameTime: 25.000 ms [texture] texture-filter=nearest: FPS: 58 FrameTime: 17.241 ms [texture] texture-filter=linear: FPS: 52 FrameTime: 19.231 ms The program crashed after this. It did display the rotating horse and cube for a while. The crash could be because of missing mipp mapping data (???) The frame rate seems slow (compared to HDMI ?) but the SPI speed is already set to 48 mhz. I dont think it can be set to any higher for this screen (non-mhs). But no issues so far from SPI or screen using this speed. Do you have any experience on this and would like to comment on how to make it work better?
  5. hello, i have the same problem, they are below. Thanks in advance for your help bilonemsi:~:% glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Panfrost (0xffffffff) Device: Mali-G610 (Panfrost) (0xffffffff) Version: 23.0.0 Accelerated: yes Video memory: 7688MB Unified memory: yes Preferred profile: compat (0x2) Max core profile version: 0.0 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 OpenGL vendor string: Panfrost OpenGL renderer string: Mali-G610 (Panfrost) OpenGL version string: 3.0 Mesa 23.0.0-devel OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
  6. Hi NicoD Yes gpu acceleration is gone. Chrome is not working well with youtube. Does anyone else have the same problem? glxinfo -B gives name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Panfrost (0xffffffff) Device: Mali-G610 (Panfrost) (0xffffffff) Version: 23.0.0 Accelerated: yes Video memory: 7689MB Unified memory: yes Preferred profile: compat (0x2) Max core profile version: 0.0 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 OpenGL vendor string: Panfrost OpenGL renderer string: Mali-G610 (Panfrost) OpenGL version string: 3.0 Mesa 23.0.0-devel OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 armbianmonitor is attached armbianmonitor
  7. Hello All, I spent mainly a week figuring out why it was a nightmare with cinnamon on debian I thought it was a matter of cinnamon version and/or mesa version of panfrost but it was a modeline detection problem from xorg. After trying my luck I finally discover where the bad duck resided on debian versions : - bullseye who was lagging , managing to use mali accel but overflowded with log errors - bookworm was loosing HDMI signal just after login in.. I will only talk about bookworm In fact, cinnamon internal xrandr, tool who detect the screen modelines, fails to access and to grab screen EDID modelines like xrandr did. it results it acts like it was in headless mode. Taking this into account I reinstalled the xorg-dummy-video pacakge and my /etc/X11/xorg.conf.d/01-armbian_defaults.conf l provided in then it succeed to login in low res. 720x480 declared in /boot/armbianEnv.txt. Fromcinnamon it is impossible to change the resolution display, the display tool did not react in cinnamon-settings, it crashes. I have to use the alternate arandr. to change the screen resolution on each reboot
  8. Since our previous update on Panfrost, the open source stack for Arm's Mali Midgard and Bifrost GPUs, we've focused on taking our driver from its reverse-engineered origins on Midgard to a mature stack. View the full article
  9. https://www.cnx-software.com/2023/07/21/arm-panfrost-is-now-the-gpu-driver-for-the-linux-community/ Sent from my 22021211RC using Tapatalk
  10. Hello. I see some progress in H616 (OPIZ2) support in mainline linux (now 6.2RC5 comes with USB) - https://linux-sunxi.org/Linux_mainlining_effort . I tried to setup/enable some other components and I am successful with upstream linux kernel 6.2RC5: - displayengine (drm, fb, mixer, tcon, hdmi) (seems to have some I2C/EDID problems) - videoengine (cedrus) (in testing now) - gpu (3d mali, panfrost) - dma, efuse, thermal ... but I am unsuccessful with - crypto (total different behavior in contrast to H616 manual) and untested - audio codecs and hdmi audio - opp power management (frequency + voltage) for CPU and GPU - SDIO wifi I was also successful with uBoot (some patches from upstream uBoot) to boot sdcard-less from SPI flash and then from network PXE+NFS. Does anyone do some work in this direction ?
  11. Hi, In Armbian 23.05.1 jammy I installed the kernel version 5.15.93 with the armbian-config: System -> Other -> I understand -> linux-image-current=5.15.93 I reboot and check the Wi-Fi interface. But when I try to connect to the Wi-Fi the kernel crashed. root@orangepi3-lts:~# nmcli dev wifi connect MY_SSID password MY_SECRET [ 103.941273] WCN_ERR: dumpmem_rx_callback open error no.-21 retry:1 [ 104.383062] sunxi-mmc 4021000.mmc: data error, sending stop command [ 104.389447] sdiohal err:dt read fail ret:-110, system_addr=0x4024f000 [ 104.397421] WCN_ERR: mdbg_dump_data dump memory error:-110 [ 104.402930] WCN_ERR: read HCI_ARM_WR_RD_MODE reg error:-1 [ 104.408340] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.413669] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.418989] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.424306] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.429624] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.434940] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.440257] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.445573] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.450890] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.456206] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 113.893472] sprdwl:sprdwl_tx_cmd err:-19 [ 119.641929] sprdwl:[WIFI_CMD_DISCONNECT]timeout [ 119.646541] sprdwl:ctx_id:0 cmd: WIFI_CMD_DISCONNECT[13] rsp timeout (mstime = 113003), num=26 [ 119.655261] sprdwl:sprdwl_atcmd_assert ctx_id:0, cmd_id:13, reason:3, cp_asserted:0 [ 119.663117] WCN_ERR: Not dump again! Error: Connection activation failed: (7) Secrets were required, but not provided. This is the dmesg full information: [ 103.900192] WCN: mdbg_assert_read:WCN Assert in connect/source/wifi/rom/mac/cmd/cmd_tx_rom.c line 5111, 0,data length 128 [ 103.900219] sdiohal:carddump flag set[1] [ 103.900295] sdiohal:disable rx int for dump [ 103.900301] sdiohal:chn8 tx push old, cmdid=25, mstime=102962, record_time=102962 [ 103.900317] chn8 tx push old: 00 00 00 00 10 19 49 00 32 92 01 00 00 00 00 00 ......I.2....... [ 103.900324] sdiohal:chn8 tx denq old, cmdid=25, mstime=102962, record_time=102962 [ 103.900335] chn8 tx denq old: 80 24 00 08 10 19 49 00 32 92 01 00 00 00 00 00 .$....I.2....... [ 103.900341] sdiohal:chn22 rx dispatch old, cmdid=25, mstime=102962, record_time=102967 [ 103.900352] chn22 rx dispatch old: 3f 06 00 0a 00 19 0c 00 32 92 01 00 00 3e 00 00 ?.......2....>.. [ 103.900359] sdiohal:chn8 tx push new, cmdid=10, mstime=102967, record_time=102967 [ 103.900370] chn8 tx push new: 00 00 00 00 10 0a 5e 00 37 92 01 00 00 00 00 00 ......^.7....... [ 103.900376] sdiohal:chn8 tx denq new, cmdid=10, mstime=102967, record_time=102967 [ 103.900387] chn8 tx denq new: 00 2f 00 08 10 0a 5e 00 37 92 01 00 00 00 00 00 ./....^.7....... [ 103.900393] sdiohal:chn22 rx dispatch new, cmdid=10, mstime=102967, record_time=102999 [ 103.900405] chn22 rx dispatch new: 3f 06 00 0a 00 0a 0c 00 37 92 01 00 00 3f 00 00 ?.......7....?.. [ 103.900507] WCN: dap_sel_btwf_lite DJTAG_DAP_SEL:0x0 [ 103.900604] WCN: dap_sel_btwf_lite DJTAG_DAP_SEL:0x2 [ 103.900699] WCN: dap_sel_btwf_lite 2:DJTAG_DAP_SEL:0x2 [ 103.900793] WCN: apb_eb_lite APB_EB:0x463 [ 103.900887] WCN: apb_eb_lite APB_EB:0x463 [ 103.900981] WCN: apb_eb_lite 2:APB_EB:0x463 [ 103.901075] WCN: check_dap_is_ok :0x24770011 [ 103.901083] WCN: btwf dap is ready [ 103.902211] WCN: read_core_reg ****R[0]: 0x0**** [ 103.902732] WCN: read_core_reg ****R[1]: 0x1a**** [ 103.903249] WCN: read_core_reg ****R[2]: 0x2040000**** [ 103.903766] WCN: read_core_reg ****R[3]: 0x1138ec**** [ 103.904281] WCN: read_core_reg ****R[4]: 0x1023c2**** [ 103.904798] WCN: read_core_reg ****R[5]: 0x10d9ec**** [ 103.905313] WCN: read_core_reg ****R[6]: 0x13f7**** [ 103.905858] WCN: read_core_reg ****R[7]: 0x2082bc**** [ 103.906379] WCN: read_core_reg ****R[8]: 0x20c554**** [ 103.906896] WCN: read_core_reg ****R[9]: 0x1997a0**** [ 103.907413] WCN: read_core_reg ****R[10]: 0x8d**** [ 103.907931] WCN: read_core_reg ****R[11]: 0x403482e8**** [ 103.908446] WCN: read_core_reg ****R[12]: 0x10a70f**** [ 103.908962] WCN: read_core_reg ****R[13]: 0x117a80**** [ 103.909479] WCN: read_core_reg ****R[14]: 0x1068a5**** [ 103.910172] WCN: read_core_reg ****R[15]: 0x1023f6**** [ 103.910677] WCN: read_core_reg ****R[16]: 0x1000000**** [ 103.911037] WCN: read_core_reg ****R[17]: 0x1a0f28**** [ 103.911395] WCN: read_core_reg ****R[18]: 0x117a80**** [ 103.911400] WCN: ------------[ ARM REG ]------------ [ 103.911402] WCN: [R0 ] = 0x00000000 [ 103.911405] WCN: [R1 ] = 0x0000001a [ 103.911408] WCN: [R2 ] = 0x02040000 [ 103.911411] WCN: [R3 ] = 0x001138ec [ 103.911414] WCN: [R4 ] = 0x001023c2 [ 103.911418] WCN: [R5 ] = 0x0010d9ec [ 103.911421] WCN: [R6 ] = 0x000013f7 [ 103.911423] WCN: [R7 ] = 0x002082bc [ 103.911426] WCN: [R8 ] = 0x0020c554 [ 103.911430] WCN: [R9 ] = 0x001997a0 [ 103.911433] WCN: [R10] = 0x0000008d [ 103.911436] WCN: [R11] = 0x403482e8 [ 103.911439] WCN: [R12] = 0x0010a70f [ 103.911442] WCN: [R13] = 0x00117a80 [ 103.911445] WCN: [R14] = 0x001068a5 [ 103.911447] WCN: [R15] = 0x001023f6 [ 103.911450] WCN: [PSR] = 0x01000000 [ 103.911453] WCN: [MSP] = 0x001a0f28 [ 103.911456] WCN: [PSP] = 0x00117a80 [ 103.911459] WCN: ------------[ ARM END ]------------ [ 103.911583] WCN: marlin_hold_cpu reset reg val:0x0 [ 103.911706] WCN: CP DCACHE ENABLE [ 103.938202] WCN: section[0] [0x100000 0x1e73ff 0x240] [ 103.938224] WCN: section[1] [0x40880000 0x40880053 0xe7640] [ 103.938237] WCN: section[2] [0x4083c000 0x4083c353 0xe7694] [ 103.938250] WCN: section[3] [0x40130000 0x401303ff 0xe79e8] [ 103.938262] WCN: section[4] [0x40088000 0x4008828b 0xe7de8] [ 103.938275] WCN: section[5] [0x40844200 0x40844343 0xe8074] [ 103.938288] WCN: section[6] [0x40844000 0x40844047 0xe81b8] [ 103.938300] WCN: section[7] [0x40140000 0x4014ffff 0xe8200] [ 103.938313] WCN: section[8] [0x400f0000 0x400f011f 0xf8200] [ 103.938325] WCN: section[9] [0x400f1000 0x400fe0ff 0xf8320] [ 103.938338] WCN: section[10] [0x40300000 0x4034a7ff 0x105420] [ 103.938350] WCN: section[11] [0x400a0000 0x400a0057 0x14fc20] [ 103.938363] WCN: section[12] [0x400b0000 0x400b0387 0x14fc78] [ 103.938376] WCN: section[13] [0x400b1000 0x400b1153 0x150000] [ 103.938389] WCN: section[14] [0x400b2000 0x400b2a8b 0x150154] [ 103.938402] WCN: section[15] [0x400b3000 0x400b30af 0x150be0] [ 103.938415] WCN: section[16] [0x400b4000 0x400b4a6f 0x150c90] [ 103.938427] WCN: section[17] [0x400b7000 0x400b7617 0x151700] [ 103.938439] WCN: section[18] [0x40240000 0x402408f3 0x151d18] [ 103.938452] WCN: section[19] [0x40246000 0x40246737 0x15260c] [ 103.938464] WCN: section[20] [0x40248000 0x4024809f 0x152d44] [ 103.938477] WCN: section[21] [0x4024a000 0x4024a21b 0x152de4] [ 103.938490] WCN: section[22] [0x4024f000 0x4024f30f 0x153000] [ 103.938503] WCN: section[23] [0x40200000 0x402001ff 0x153310] [ 103.938516] WCN: section[24] [0x40204000 0x402041ff 0x153510] [ 103.938528] WCN: section[25] [0x40208000 0x402092a3 0x153710] [ 103.938541] WCN: section[26] [0x40200c00 0x4020c343 0x1549b4] [ 103.938554] WCN: section[27] [0x40210000 0x40212fff 0x1600f8] [ 103.938566] WCN: section[28] [0x40214000 0x40216fff 0x1630f8] [ 103.938578] WCN: section[29] [0x40218000 0x402182cf 0x1660f8] [ 103.938591] WCN: section[30] [0x4021c000 0x4021c5bf 0x1663c8] [ 103.938604] WCN: section[31] [0x40241000 0x402413ff 0x166988] [ 103.938616] WCN: section[32] [0x40242000 0x402423ff 0x166d88] [ 103.938629] WCN: dumpmem_rx_callback [ 103.941255] WCN: dumpmem_rx_callback [ 103.941273] WCN_ERR: dumpmem_rx_callback open error no.-21 retry:1 [ 103.949691] WCN: dumpmem_rx_callback [ 103.951775] WCN: dumpmem_rx_callback [ 103.953852] WCN: dumpmem_rx_callback [ 103.955974] WCN: dumpmem_rx_callback [ 103.958193] WCN: dumpmem_rx_callback [ 103.960345] WCN: dumpmem_rx_callback [ 103.962501] WCN: dumpmem_rx_callback [ 103.964651] WCN: dumpmem_rx_callback [ 103.966848] WCN: dumpmem_rx_callback [ 103.969041] WCN: dumpmem_rx_callback [ 103.971346] WCN: dumpmem_rx_callback [ 103.973538] WCN: dumpmem_rx_callback [ 103.975854] WCN: dumpmem_rx_callback [ 103.978194] WCN: dumpmem_rx_callback [ 103.980388] WCN: dumpmem_rx_callback [ 103.982629] WCN: dumpmem_rx_callback [ 103.984823] WCN: dumpmem_rx_callback [ 103.987101] WCN: dumpmem_rx_callback [ 103.989293] WCN: dumpmem_rx_callback [ 103.991582] WCN: dumpmem_rx_callback [ 103.993775] WCN: dumpmem_rx_callback [ 103.996112] WCN: dumpmem_rx_callback [ 103.998338] WCN: dumpmem_rx_callback [ 104.000530] WCN: dumpmem_rx_callback [ 104.002778] WCN: dumpmem_rx_callback [ 104.004971] WCN: dumpmem_rx_callback [ 104.007252] WCN: dumpmem_rx_callback [ 104.009240] WCN: dumpmem_rx_callback [ 104.009252] WCN: mdbg dump ram 947200 ok! [ 104.009358] WCN: dumpmem_rx_callback [ 104.009365] WCN: mdbg dump aon ahb 84 ok! [ 104.009545] WCN: dumpmem_rx_callback [ 104.009552] WCN: mdbg dump aon_apb 852 ok! [ 104.009708] WCN: dumpmem_rx_callback [ 104.009715] WCN: mdbg dump btwfahb 1024 ok! [ 104.009886] WCN: dumpmem_rx_callback [ 104.009894] WCN: mdbg dump btwfapb 652 ok! [ 104.010016] WCN: dumpmem_rx_callback [ 104.010024] WCN: mdbg dump aonclk 324 ok! [ 104.010124] WCN: dumpmem_rx_callback [ 104.010132] WCN: mdbg dump predivclk 72 ok! [ 104.012475] WCN: dumpmem_rx_callback [ 104.014868] WCN: dumpmem_rx_callback [ 104.014882] WCN: mdbg dump sdio 65536 ok! [ 104.014978] WCN: enable_cp_pll rd CLK_CTRL0 reg val:0x2fdf [ 104.015276] WCN: enable_cp_pll enable CLK_CTRL0 val:0x2fdf [ 104.015658] WCN: check_wifi_power_domain_ison CHIP_SLP reg val:0xc430 [ 104.015667] WCN: WIFI MAC have power down [ 104.016575] WCN: check_wifi_power_domain_ison WIFI_ENABLE reg val:0xa023 [ 104.016591] WCN: WIFI_en and wifi_mac_en is disable [ 104.016909] WCN: dumpmem_rx_callback [ 104.019534] WCN: dumpmem_rx_callback [ 104.021184] WCN: dumpmem_rx_callback [ 104.023224] WCN: dumpmem_rx_callback [ 104.025193] WCN: dumpmem_rx_callback [ 104.027364] WCN: dumpmem_rx_callback [ 104.029538] WCN: dumpmem_rx_callback [ 104.031834] WCN: dumpmem_rx_callback [ 104.034041] WCN: dumpmem_rx_callback [ 104.036268] WCN: dumpmem_rx_callback [ 104.038441] WCN: dumpmem_rx_callback [ 104.040574] WCN: dumpmem_rx_callback [ 104.042758] WCN: dumpmem_rx_callback [ 104.044890] WCN: dumpmem_rx_callback [ 104.044898] WCN: mdbg dump wifi 360448 ok! [ 104.044998] WCN: dumpmem_rx_callback [ 104.045005] WCN: dump cp reg section[11] ok! [ 104.045171] WCN: dumpmem_rx_callback [ 104.045177] WCN: dump cp reg section[12] ok! [ 104.045288] WCN: dumpmem_rx_callback [ 104.045294] WCN: dump cp reg section[13] ok! [ 104.045613] WCN: dumpmem_rx_callback [ 104.045619] WCN: dump cp reg section[14] ok! [ 104.045718] WCN: dumpmem_rx_callback [ 104.045724] WCN: dump cp reg section[15] ok! [ 104.046059] WCN: dumpmem_rx_callback [ 104.046066] WCN: dump cp reg section[16] ok! [ 104.046314] WCN: dumpmem_rx_callback [ 104.046322] WCN: dump cp reg section[17] ok! [ 104.046687] WCN: dumpmem_rx_callback [ 104.046694] WCN: mdbg dump fm 2748 ok! [ 104.046939] WCN: dumpmem_rx_callback [ 104.046946] WCN: mdbg dump btacc 2292 ok! [ 104.047154] WCN: dumpmem_rx_callback [ 104.047160] WCN: mdbg dump btjal 1848 ok! [ 104.047255] WCN: dumpmem_rx_callback [ 104.047261] WCN: mdbg dump bthab 160 ok! [ 104.047392] WCN: dumpmem_rx_callback [ 104.047398] WCN: mdbg dump btlejal 540 ok! [ 104.383062] sunxi-mmc 4021000.mmc: data error, sending stop command [ 104.389447] sdiohal err:dt read fail ret:-110, system_addr=0x4024f000 [ 104.395926] sdiohal:sdio dump_aon_reg entry [ 104.395968] sdiohal:pmu sdio status:[0x140]:0x6b [ 104.395987] sdiohal:pmu sdio status:[0x141]:0x3c [ 104.396005] sdiohal:pmu sdio status:[0x142]:0xe1 [ 104.396023] sdiohal:pmu sdio status:[0x143]:0x0 [ 104.396040] sdiohal:pmu sdio status:[0x144]:0x0 [ 104.396057] sdiohal:pmu sdio status:[0x145]:0x0 [ 104.396074] sdiohal:pmu sdio status:[0x146]:0x0 [ 104.396091] sdiohal:pmu sdio status:[0x147]:0x0 [ 104.396109] sdiohal:pmu sdio status:[0x148]:0x60 [ 104.396126] sdiohal:pmu sdio status:[0x149]:0x0 [ 104.396143] sdiohal:pmu sdio status:[0x14a]:0x0 [ 104.396160] sdiohal:pmu sdio status:[0x14b]:0x0 [ 104.396177] sdiohal:pmu sdio status:[0x14c]:0x0 [ 104.396194] sdiohal:pmu sdio status:[0x14d]:0x0 [ 104.396211] sdiohal:pmu sdio status:[0x14e]:0x0 [ 104.396228] sdiohal:pmu sdio status:[0x14f]:0x0 [ 104.396295] sdiohal:cm4d haddr 0:[0x144]:0x0 [ 104.396315] sdiohal:cm4d haddr 0:[0x145]:0x80 [ 104.396333] sdiohal:cm4d haddr 0:[0x146]:0x19 [ 104.396351] sdiohal:cm4d haddr 0:[0x147]:0x0 [ 104.396419] sdiohal:cm4i haddr 1:[0x144]:0xe0 [ 104.396438] sdiohal:cm4i haddr 1:[0x145]:0x40 [ 104.396456] sdiohal:cm4i haddr 1:[0x146]:0x10 [ 104.396475] sdiohal:cm4i haddr 1:[0x147]:0x0 [ 104.396543] sdiohal:cm4s haddr 2:[0x144]:0x7c [ 104.396561] sdiohal:cm4s haddr 2:[0x145]:0x6 [ 104.396579] sdiohal:cm4s haddr 2:[0x146]:0x14 [ 104.396597] sdiohal:cm4s haddr 2:[0x147]:0x40 [ 104.396665] sdiohal:dmaw haddr 3:[0x144]:0x0 [ 104.396683] sdiohal:dmaw haddr 3:[0x145]:0x0 [ 104.396702] sdiohal:dmaw haddr 3:[0x146]:0x0 [ 104.396720] sdiohal:dmaw haddr 3:[0x147]:0x0 [ 104.396788] sdiohal:dmar haddr 4:[0x144]:0x0 [ 104.396807] sdiohal:dmar haddr 4:[0x145]:0x0 [ 104.396825] sdiohal:dmar haddr 4:[0x146]:0x0 [ 104.396843] sdiohal:dmar haddr 4:[0x147]:0x0 [ 104.396911] sdiohal:aon_to_ahb haddr 5:[0x144]:0x0 [ 104.396929] sdiohal:aon_to_ahb haddr 5:[0x145]:0x0 [ 104.396947] sdiohal:aon_to_ahb haddr 5:[0x146]:0x0 [ 104.396965] sdiohal:aon_to_ahb haddr 5:[0x147]:0x0 [ 104.397033] sdiohal:axi_to_ahb haddr 6:[0x144]:0x4 [ 104.397052] sdiohal:axi_to_ahb haddr 6:[0x145]:0xf0 [ 104.397070] sdiohal:axi_to_ahb haddr 6:[0x146]:0x24 [ 104.397089] sdiohal:axi_to_ahb haddr 6:[0x147]:0x40 [ 104.397157] sdiohal:hready_status haddr 7:[0x144]:0xcf [ 104.397175] sdiohal:hready_status haddr 7:[0x145]:0xff [ 104.397194] sdiohal:hready_status haddr 7:[0x146]:0xf9 [ 104.397212] sdiohal:hready_status haddr 7:[0x147]:0x70 [ 104.397217] sdiohal:val:0xc [ 104.397258] sdiohal:after reset hready status:[0x144]:0xcf [ 104.397275] sdiohal:after reset hready status:[0x145]:0xff [ 104.397292] sdiohal:after reset hready status:[0x146]:0xf9 [ 104.397309] sdiohal:after reset hready status:[0x147]:0x70 [ 104.397314] sdiohal:sdio dump_aon_reg end [ 104.397316] sdiohal:sdiohal_abort [ 104.397320] sdiohal:carddump flag set[1] [ 104.397348] sdiohal:disable rx int for dump [ 104.397351] sdiohal:chn8 tx push old, cmdid=25, mstime=102962, record_time=102962 [ 104.397362] chn8 tx push old: 00 00 00 00 10 19 49 00 32 92 01 00 00 00 00 00 ......I.2....... [ 104.397366] sdiohal:chn8 tx denq old, cmdid=25, mstime=102962, record_time=102962 [ 104.397373] chn8 tx denq old: 80 24 00 08 10 19 49 00 32 92 01 00 00 00 00 00 .$....I.2....... [ 104.397377] sdiohal:chn22 rx dispatch old, cmdid=25, mstime=102962, record_time=102967 [ 104.397384] chn22 rx dispatch old: 3f 06 00 0a 00 19 0c 00 32 92 01 00 00 3e 00 00 ?.......2....>.. [ 104.397388] sdiohal:chn8 tx push new, cmdid=10, mstime=102967, record_time=102967 [ 104.397395] chn8 tx push new: 00 00 00 00 10 0a 5e 00 37 92 01 00 00 00 00 00 ......^.7....... [ 104.397398] sdiohal:chn8 tx denq new, cmdid=10, mstime=102967, record_time=102967 [ 104.397405] chn8 tx denq new: 00 2f 00 08 10 0a 5e 00 37 92 01 00 00 00 00 00 ./....^.7....... [ 104.397409] sdiohal:chn22 rx dispatch new, cmdid=10, mstime=102967, record_time=102999 [ 104.397416] chn22 rx dispatch new: 3f 06 00 0a 00 0a 0c 00 37 92 01 00 00 3f 00 00 ?.......7....?.. [ 104.397421] WCN_ERR: mdbg_dump_data dump memory error:-110 [ 104.402925] WCN: mdbg dump bt modem 0 ok! [ 104.402930] WCN_ERR: read HCI_ARM_WR_RD_MODE reg error:-1 [ 104.408340] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.413664] WCN: mdbg dump bt_cmd buf 0 ok! [ 104.413669] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.418984] WCN: mdbg dump btevent buf 0 ok! [ 104.418989] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.424302] WCN: mdbg dump bt_lmp_tx_buf 0 ok! [ 104.424306] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.429619] WCN: mdbg dump bt_lmp_rx_buf 0 ok! [ 104.429624] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.434936] WCN: mdbg dump bt_acl_tx_buf0 ok! [ 104.434940] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.440252] WCN: mdbg dump bt_acl_rx_buf 0 ok! [ 104.440257] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.445569] WCN: mdbg dump bt_sco_tx_buf 0 ok! [ 104.445573] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.450885] WCN: mdbg dump bt_sco_rx_buf 0 ok! [ 104.450890] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.456202] WCN: mdbg dump bt_bb_tx_buf 0 ok! [ 104.456206] WCN_ERR: mdbg_dump_data dump memory error:-1 [ 104.461518] WCN: mdbg dump bt_bb_rx_buf 0 ok! [ 104.505836] WCN: dumpmem_rx_callback [ 104.505841] WCN: dump str finish! [ 104.505842] WCN: mdbg dump memory finish [ 110.681881] WCN: stop_loopcheck [ 113.893472] sprdwl:sprdwl_tx_cmd err:-19 [ 119.641929] sprdwl:[WIFI_CMD_DISCONNECT]timeout [ 119.646541] sprdwl:ctx_id:0 cmd: WIFI_CMD_DISCONNECT[13] rsp timeout (mstime = 113003), num=26 [ 119.655261] sprdwl:sprdwl_atcmd_assert ctx_id:0, cmd_id:13, reason:3, cp_asserted:0 [ 119.662995] WCN: mdbg_assert_interface:[CMD] WIFI_CMD_DISCONNECT, [REASON] CMD_RSP_TIMEOUT_ERROR [ 119.663005] sdiohal:carddump flag set[1] [ 119.663058] sdiohal:disable rx int for dump [ 119.663063] sdiohal:chn8 tx push old, cmdid=25, mstime=102962, record_time=102962 [ 119.663071] chn8 tx push old: 00 00 00 00 10 19 49 00 32 92 01 00 00 00 00 00 ......I.2....... [ 119.663075] sdiohal:chn8 tx denq old, cmdid=25, mstime=102962, record_time=102962 [ 119.663080] chn8 tx denq old: 80 24 00 08 10 19 49 00 32 92 01 00 00 00 00 00 .$....I.2....... [ 119.663083] sdiohal:chn22 rx dispatch old, cmdid=25, mstime=102962, record_time=102967 [ 119.663088] chn22 rx dispatch old: 3f 06 00 0a 00 19 0c 00 32 92 01 00 00 3e 00 00 ?.......2....>.. [ 119.663091] sdiohal:chn8 tx push new, cmdid=10, mstime=102967, record_time=102967 [ 119.663097] chn8 tx push new: 00 00 00 00 10 0a 5e 00 37 92 01 00 00 00 00 00 ......^.7....... [ 119.663100] sdiohal:chn8 tx denq new, cmdid=10, mstime=102967, record_time=102967 [ 119.663104] chn8 tx denq new: 00 2f 00 08 10 0a 5e 00 37 92 01 00 00 00 00 00 ./....^.7....... [ 119.663108] sdiohal:chn22 rx dispatch new, cmdid=10, mstime=102967, record_time=102999 [ 119.663113] chn22 rx dispatch new: 3f 06 00 0a 00 0a 0c 00 37 92 01 00 00 3f 00 00 ?.......7....?.. [ 119.663117] WCN_ERR: Not dump again! [ 119.705851] ------------[ cut here ]------------ [ 119.705867] NETDEV WATCHDOG: wlan0 (unisoc_wifi): transmit queue 0 timed out [ 119.705936] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:478 dev_watchdog+0x374/0x380 [ 119.705954] Modules linked in: algif_hash algif_skcipher af_alg bnep hci_uart btqca btrtl btbcm btintel bluetooth ecdh_generic ecc sch_fq_codel sunxi_cir snd_soc_simple_card sunxi_cedrus(C) snd_soc_simple_car d_utils rc_core sun9i_hdmi_audio videobuf2_dma_contig v4l2_mem2mem sun4i_i2s snd_soc_hdmi_codec videobuf2_memops videobuf2_v4l2 videobuf2_common videodev dump_reg mc cpufreq_dt sunrpc sprdwl_ng sunxi_addr cfg802 11 sprdbt_tty uwe5622_bsp_sdio rfkill ramoops pstore_blk reed_solomon fuse pstore_zone motorcomm dw_hdmi_i2s_audio dw_hdmi_cec dwmac_sun8i mdio_mux pwm_sun4i i2c_mv64xxx panfrost gpu_sched display_connector [ 119.706069] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G C 5.15.93-sunxi64 #23.02.2 [ 119.706075] Hardware name: OrangePi 3 LTS (DT) [ 119.706079] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 119.706085] pc : dev_watchdog+0x374/0x380 [ 119.706091] lr : dev_watchdog+0x374/0x380 [ 119.706096] sp : ffff80000953bdb0 [ 119.706098] x29: ffff80000953bdb0 x28: 0000000000000004 x27: 0000000000000140 [ 119.706107] x26: 00000000ffffffff x25: 0000000000000002 x24: 0000000000000000 [ 119.706115] x23: 0000000000000001 x22: ffff0000060dc000 x21: ffff0000060dc480 [ 119.706123] x20: ffff8000093c6000 x19: 0000000000000000 x18: 0000000000000000 [ 119.706131] x17: ffff8000769a5000 x16: ffff80000953c000 x15: 0000000000000390 [ 119.706139] x14: ffff80000953bac0 x13: 00000000ffffffea x12: ffff00007fb600e8 [ 119.706147] x11: 0000000000000003 x10: ffff00007fb5a0a8 x9 : ffff00007fb5a100 [ 119.706155] x8 : 0000000000005fe8 x7 : c0000000fffffbff x6 : ffff00007fb90890 [ 119.706163] x5 : ffff00007fb90890 x4 : 0000000000000000 x3 : 0000000000000000 [ 119.706171] x2 : 0000000000000040 x1 : dda107609d9b6100 x0 : 0000000000000000 [ 119.706180] Call trace: [ 119.706184] dev_watchdog+0x374/0x380 [ 119.706189] call_timer_fn.isra.38+0x24/0x80 [ 119.706198] run_timer_softirq+0x4b0/0x540 [ 119.706203] _stext+0x11c/0x274 [ 119.706208] irq_exit+0xb4/0xe8 [ 119.706214] handle_domain_irq+0x64/0x90 [ 119.706222] gic_handle_irq+0x6c/0xa0 [ 119.706228] call_on_irq_stack+0x28/0x50 [ 119.706233] do_interrupt_handler+0x58/0x68 [ 119.706239] el1_interrupt+0x30/0x48 [ 119.706244] el1h_64_irq_handler+0x18/0x28 [ 119.706249] el1h_64_irq+0x74/0x78 [ 119.706253] arch_cpu_idle+0x18/0x28 [ 119.706258] default_idle_call+0x24/0x5c [ 119.706264] do_idle+0x1fc/0x270 [ 119.706271] cpu_startup_entry+0x24/0x58 [ 119.706276] secondary_start_kernel+0x16c/0x180 [ 119.706283] __secondary_switched+0x90/0x94 [ 119.706289] ---[ end trace 598e062ff7c22995 ]--- I am going back to the Armbian_23.02.2_Orangepi3-lts_bullseye_current_5.15.93_minimal.img image and the Wi-Fi works successfully.
  12. Hello, I faced an issue some weeks ago with a brand new eMMC card on my RockPi 4A that is now solved. I succeeded in installing Armbian onto it from the running SD card but quickly found tons of error messages in syslog related to eMMC, of the following: Mar 2 21:53:46 rockpi1 kernel: [ 2107.590024] mmc1: running CQE recovery Mar 2 21:53:46 rockpi1 kernel: [ 2107.609557] mmc1: running CQE recovery Mar 2 21:53:46 rockpi1 kernel: [ 2107.615886] mmc1: running CQE recovery Mar 2 21:53:46 rockpi1 kernel: [ 2107.617068] blk_update_request: I/O error, dev mmcblk1, sector 17498312 op 0x1:(WRITE) flags 0x104000 p hys_seg 17 prio class 0 Mar 2 21:53:46 rockpi1 kernel: [ 2107.913182] mmc1: running CQE recovery Apr 6 15:55:26 rockpi1 kernel: [ 990.351588] mmc1: running CQE recovery Apr 6 15:55:26 rockpi1 kernel: [ 990.354503] ------------[ cut here ]------------ Apr 6 15:55:26 rockpi1 kernel: [ 990.354531] mmc1: cqhci: spurious TCN for tag 15 Apr 6 15:55:26 rockpi1 kernel: [ 990.354658] WARNING: CPU: 0 PID: 304 at drivers/mmc/host/cqhci-core.c:787 cqhci_irq+0x4b4/0x640 Apr 6 15:55:26 rockpi1 kernel: [ 990.354693] Modules linked in: sg cn snd_soc_audio_graph_card snd_soc_simple_card snd_soc_rockchip_i2s snd_soc_hdmi_codec snd_soc_es8316 snd_soc_rockchip_pcm snd_soc_simple_card_utils hantro_vpu(C) rockchip_vdec(C) rockchip_iep rockchip_rga v4l2_h264 videobuf2_dma_contig snd_soc_core snd_pcm_dmaengine v4l2_mem2mem videobuf2_dma_sg videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 snd_timer snd videobuf2_common soundcore videodev mc cpufreq_dt iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 realtek panfrost gpu_sched dw_hdmi_cec dw_hdmi_i2s_audio dwmac_rk stmmac_platform stmmac pcs_xpcs […] Mar 13 20:41:28 rockpi1 kernel: [118745.441944] blk_update_request: I/O error, dev mmcblk1, sector 1681408 op 0x1:(WRITE) flags 0x4800 phys_seg 8 prio class 0 Mar 13 20:41:28 rockpi1 kernel: [118745.449711] EXT4-fs warning (device mmcblk1p2): ext4_end_bio:348: I/O error 10 writing to inode 20 starting block 210432) Mar 13 20:41:28 rockpi1 kernel: [118745.449862] Buffer I/O error on device mmcblk1p2, logical block 140544 Mar 13 20:41:28 rockpi1 kernel: [118745.449909] Buffer I/O error on device mmcblk1p2, logical block 140545 After some time, I finally figured out using the command “mmc extcsd read /dev/mmcblk1” that the eMMC card was not able to run in the HS400 mode but only in the older HS200 one. Unfortunately, the Armbian RockPi device tree configures the eMMC port as HS400 only, which is too fast and leads to I/O errors as soon as disk throughput is to high (I checked that with rsync and bandwidth limits). The solution that I found in a DietPi bug report consists in changing the device tree source file in the following way: #mmc-hs400-1_8v; #mmc-hs400-enhanced-strobe; mmc-hs200-1_8v; As I also run an Odroid XU4 with Armbian, I told myself this could happen with it in the future but it seems its device tree is configured to avoid this issue: # dtc -I dtb -O dts -f /boot/dtb/exynos5422-odroidxu4.dtb 2>/dev/null | grep mmc-hs mmc-hs200-1_8v; mmc-hs400-1_8v; Unlike RockPi, both modes are specified in the shipping DTD. Also, despite I haven't tried to use an HS200 eMMC card onto my Odroid to be sure this works, I wonder why this would not be possible for RockPi cards to support both HS200 and HS400 as Odroid seems to do. Are there some restrictions in the hardware that would prevent specifying both HS200 and HA400 in its device tree? JM.
  13. Hello, long time ago, but still same problem. Meanwhile new setup here (eMMC formatted) and run for 2 weeks raspian from bpi-website ( kernel 4.9) with usb-storage. New setup Armbian 23.05.1 Jammy with Linux 6.1.30-meson64 , new/other USB-SATA adapter ... running uas driver. the BPI M5 freezed/stopped (?) today early in the morning after less than 2 days uptime. (USB-power loss ) how to find out the reason ? panfrost ffe40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found what does it mean ? Fred
  14. We have now integrated Mali GPU hardware counters supported by Panfrost with Perfetto's tracing SDK, unlocking all-in-one graphics-aware profiling on Panfrost systems! View the full article
  15. I am testing RK3288 with ubuntu 20.04 (gnome) btw NICE And I have some problems with panfrost and I am looking for anybody with RK3288 device that can confirm or not same behavior. Problem is that when I switch GPU to 600MHz sudo bash -c 'echo "userspace" > /sys/class/drm/card1/device/devfreq/ffa30000.gpu/governor' sudo bash -c 'echo "600000000" > /sys/class/drm/card1/device/devfreq/ffa30000.gpu/userspace/set_freq' and when I run glmark2-es2 or glmark2-es2-wayland I start to see https://pastebin.com/NuYqHdxH in kernel.log So I made bugreport(https://gitlab.freedesktop.org/mesa/mesa/-/issues/2693) for panfrost and they think that problem is in low voltage on gpu as everything is fine on 400MHz So anybody can try? just build ubuntu 20.04 for your RK3288 device sudo BETA=yes EXPERT=yes ./compile.sh server build should be fine and then apt install ubuntu-desktop ubuntu 20.04 has almost latest mesa so everything work just fine
  16. 1.Only OpenGL ES2.1 and 1.x work: chenyifei@orangepi3:~$ glxinfo|grep OpenGL OpenGL vendor string: Panfrost OpenGL renderer string: Mali T720 (Panfrost) OpenGL version string: 2.1 Mesa 20.2.0-devel OpenGL shading language version string: 1.20 OpenGL extensions: OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.2.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16 2.glx did't work with panfrost dri: chenyifei@orangepi3:~$ cat /var/log/Xorg.0.log|grep GL [ 10447.384] (II) Initializing extension GLX [ 10447.384] (EE) AIGLX error: sun4i-drm does not export required DRI extension [ 10447.395] (II) IGLX: Loaded and initialized swrast [ 10447.395] (II) GLX: Initialized DRISWRAST GL provider for screen 0 3.Some programs run slow,they report error like this: libGL: Failed load driver sun4i-drm libGL: Failed create dri screen. 4 .WebGL did't work on chromium. Why?
  17. I want to make panfrost work on H6 platform, I use linux 5.6.16 latest mesa Xorg 1.20 I install and run them. But they dispaly : DRM_IOCTL_PANFROST_MMAP_BO failed: No such file or directory What should I do?
  18. ver edk2-efi kernel 6.2 + mesa-23 (pancsf) user@firefly-itx-3588j:~$ glmark2-es2-wayland ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.2.0-devel (git-8aa5ca2f01) ======================================================= [build] use-vbo=false: FPS: 4457 FrameTime: 0.224 ms [build] use-vbo=true: FPS: 5987 FrameTime: 0.167 ms [texture] texture-filter=nearest: FPS: 6159 FrameTime: 0.162 ms [texture] texture-filter=linear: FPS: 6215 FrameTime: 0.161 ms [texture] texture-filter=mipmap: FPS: 6110 FrameTime: 0.164 ms [shading] shading=gouraud: FPS: 5176 FrameTime: 0.193 ms [shading] shading=blinn-phong-inf: FPS: 4849 FrameTime: 0.206 ms [shading] shading=phong: FPS: 4389 FrameTime: 0.228 ms [shading] shading=cel: FPS: 4431 FrameTime: 0.226 ms [bump] bump-render=high-poly: FPS: 2161 FrameTime: 0.463 ms [bump] bump-render=normals: FPS: 6730 FrameTime: 0.149 ms [bump] bump-render=height: FPS: 6675 FrameTime: 0.150 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 5899 FrameTime: 0.170 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 2946 FrameTime: 0.339 ms [pulsar] light=false:quads=5:texture=false: FPS: 6197 FrameTime: 0.161 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1584 FrameTime: 0.631 ms [desktop] effect=shadow:windows=4: FPS: 4124 FrameTime: 0.242 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 550 FrameTime: 1.818 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 563 FrameTime: 1.776 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 711 FrameTime: 1.406 ms [ideas] speed=duration: FPS: 2309 FrameTime: 0.433 ms [jellyfish] <default>: FPS: 2977 FrameTime: 0.336 ms [terrain] <default>: FPS: 195 FrameTime: 5.128 ms [shadow] <default>: FPS: 2940 FrameTime: 0.340 ms [refract] <default>: FPS: 455 FrameTime: 2.198 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 5845 FrameTime: 0.171 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 5401 FrameTime: 0.185 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 5759 FrameTime: 0.174 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 5473 FrameTime: 0.183 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 5021 FrameTime: 0.199 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 5413 FrameTime: 0.185 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 5463 FrameTime: 0.183 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 5076 FrameTime: 0.197 ms ======================================================= glmark2 Score: 4189 =======================================================
  19. The latest libgl1-mesa-dri upgrade brought with it panfrost to the desktop
  20. GPU drivers have nothing to do with Armbian. Armbian can only show how to use them. We are not driver developers. It is expected that the blob Rockchip driver runs way better than the open-source panfrost/panfork drivers. Panfrost might improve in time. N2/N2+/VIM3 at first also performed worse than RK3399 but after time it now outperforms RK3399 by a lot. Both drivers are very useful to me. You can use the blob by running in x11 and run your program with "malirun programname" Not everything will work, but for example PS2 emulation works perfect like that. Video playback has nothing to do with GPU drivers but VPU drivers. For that there is the multimedia ppa from AmazingFate.
  21. This Mekatronics box is using the rk3588 with the Mali-G610. (same gpu as Opi5) Presumably using the vendor blob drivers. glmark score: 3696 [ YouTube video showing test + result] I have been testing the Collabora new Mesa source and using Balbes test kernel builds with pancsf but I'm not getting anything near these numbers. IIRC I get around 1200-1300. I don't know what the Collabora plan is here as there doesn't seem to be much action as far as I can tell as an outside observer. Not sure how ready they think this Panfrost version ('v10') is? EDIT: Btw regarding video decoding the HW seems extremely capable. Here's a thread talking about 16 1080p streams simultaneously, https://forum.radxa.com/t/decoding-and-rendering-16-1080p-streams-with-gstreamer/16307
  22. Rock Pi-4B - Armbian_23.05.1_Rockpi-4b_jammy_current_6.1.30_gnome_desktop.img installed to emmc: logs wlan, hdmi, nvme working Rock-5B - Armbian_23.05.1_Rock-5b_jammy_legacy_5.10.160_gnome_desktop.img Took me a while to boot from SD, was using an older 23.05-trunk version. Even 'sudo dd if=zero.img of=/dev/mtdblock0' with radxa zero.img would continue to boot happily from nvme instead of sd, changed armbianEnv.txt to sd root, updated bootloaderon mtd -> worked. besides mtd being a mystical thing for me, almost anything worked: installed to mtd+nvme: logs using btrfs on nvme + mtd did not work (don't know if supported, but installer lets you pick it). performance with panfrost ppa's enabled is absolutely stunning. Btw, this time for testing I used my 45W PD PSU (+ PD C<->C Cable 60W) instead of fixed 5V@4A w/o errors and activated the max 12V PD option in armbian-config just for fun. Sensors report ed in0: 12.00 V (min = +12.00 V, max = +12.00 V) curr1: 1.50 A (max = +1.50 A) and had no reboots or whatsoever.
  23. Hi there, Recently I flashed the latest armbian on a sd card and booted OrangePi 4. Everything works smoothly except for the audio. I just see HDMI {recording,playing} devices. But OrangePi 4 has an audio jack onboard and a built-in microphone. Here are more details: root@orangepi4:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@orangepi4:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@orangepi4:~# cat /etc/issue Armbian 23.02.2 Jammy \l root@orangepi4:~# uname -a Linux orangepi4 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux root@orangepi4:~# lsmod Module Size Used by tls 106496 0 sunrpc 581632 1 lz4hc 16384 0 lz4 16384 0 dw_hdmi_cec 16384 0 snd_soc_hdmi_codec 24576 1 dw_hdmi_i2s_audio 16384 0 hantro_vpu 118784 0 rockchip_vdec 32768 0 rockchip_iep 20480 0 snd_soc_rt5651 102400 0 hci_uart 147456 0 snd_soc_simple_card 24576 1 v4l2_h264 16384 2 rockchip_vdec,hantro_vpu snd_soc_rockchip_i2s 24576 2 videobuf2_dma_contig 24576 3 rockchip_vdec,hantro_vpu,rockchip_iep snd_soc_simple_card_utils 28672 1 snd_soc_simple_card snd_soc_rl6231 20480 1 snd_soc_rt5651 v4l2_mem2mem 40960 3 rockchip_vdec,hantro_vpu,rockchip_iep snd_soc_rockchip_pcm 16384 1 snd_soc_rockchip_i2s videobuf2_vmalloc 20480 1 hantro_vpu btqca 24576 1 hci_uart videobuf2_memops 20480 2 videobuf2_vmalloc,videobuf2_dma_contig btrtl 24576 1 hci_uart videobuf2_v4l2 32768 4 rockchip_vdec,hantro_vpu,rockchip_iep,v4l2_mem2mem snd_soc_core 262144 6 snd_soc_rt5651,snd_soc_rockchip_pcm,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_rockchip_i2s,snd_soc_simple_card videobuf2_common 65536 8 rockchip_vdec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,rockchip_iep,v4l2_mem2mem,videobuf2_memops snd_pcm_dmaengine 20480 1 snd_soc_core snd_pcm 131072 4 snd_soc_rt5651,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine videodev 262144 6 rockchip_vdec,videobuf2_v4l2,hantro_vpu,videobuf2_common,rockchip_iep,v4l2_mem2mem btbcm 28672 1 hci_uart btintel 40960 1 hci_uart snd_timer 40960 1 snd_pcm fusb302 28672 0 snd 94208 6 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm tcpm 65536 1 fusb302 bluetooth 638976 6 btrtl,btqca,btintel,hci_uart,btbcm mc 61440 6 rockchip_vdec,videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem typec 65536 1 tcpm soundcore 16384 1 snd rfkill 36864 2 bluetooth cpufreq_dt 20480 0 zram 40960 3 sch_fq_codel 20480 2 ramoops 32768 0 pstore_blk 16384 0 reed_solomon 24576 1 ramoops pstore_zone 28672 1 pstore_blk ip_tables 32768 0 x_tables 49152 1 ip_tables autofs4 49152 2 panfrost 69632 0 gpu_sched 40960 1 panfrost motorcomm 24576 1 dwmac_rk 28672 0 stmmac_platform 24576 1 dwmac_rk stmmac 237568 2 stmmac_platform,dwmac_rk pcs_xpcs 24576 1 stmmac pwm_bl 20480 0 adc_keys 16384 0 Probably I need to install and load some kernel modules. Thanks in advance.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines