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. 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.
  2. SEE: fellow member @mcerveny efforts 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)
  3. Hello! Does anyone, and by anyone I probably really mean @balbes150 :D, know what I need to do when building official Mesa for it to be recognized in the experimental 6.x kernel environment? There's a panfrost focused dev/staging branch that the panfrost devs are using that I would love to try and be able to build for OPi5 but when I do it I always just get llvm. balbes, you are managing to get the GPU recognized would you be able to share how that's done in the building? I'm not asking for you to provide a build I would just love to know how you do it so I can as well and test the new versions as they happen. This is the branch and commits btw that I read on 'the internet' that its the bleeding edge for rk3588/Mali g610 mesa. https://gitlab.freedesktop.org/panfrost/mesa/-/commits/panfrost/v10-wip Iv'e successfully built that mesa branch and took the latest commits but the gpu is still not recognized so there must be a trick I'm missing. Does anyone have any suggestions? Cheers!
  4. I am also experiencing the same issue - after reading through many previous forum posts regarding graphics & driver issues with the OPi3LTS I wasn't able to turn anything up. I've been trying to troubleshoot as best as possible over the last week or so and I haven't had any success - I don't have a lot of experience in this space so I'm pretty much starting from scratch myself. Any assistance at all would be appreciated, even a nudge toward some documentation for the Panfrost driver that might have further info regarding this error code.
  5. Hello, I have a problem on my orange pi 3 lts. Namely, I have armbian 23.03 Jammy Xfce installed and on some screens it shows normally, on others the image does not appear. I also tried using the Uart converter and it loads everything normally, but then the following message starts appearing every second. [ 161.905394] panfrost 1800000.gpu: js fault, js=0, status=INSTR_INVALID_PC, head=0xa005bc0, tail=0xa005bc0
  6. Found a simple way to disable video hardware acceleration. The ppa:liujianfeng1994/rockchip-multimedia installs a MPPE capable version of these codec libraries and they need to be downgraded. VLC does not respect the HW Acceleration checkboxes in this setup. It might also work to skip this repository when setting up the hardware and only do the panfrost part. The following should not remove half your packages. If you stumble on this later on, you can update the version numbers from https://packages.ubuntu.com/jammy/libavcodec58 sudo apt-get install libavcodec58=7:4.4.2-0ubuntu0.22.04.1 libavutil56=7:4.4.2-0ubuntu0.22.04.1 libswresample3=7:4.4.2-0ubuntu0.22.04.1 libavformat58=7:4.4.2-0ubuntu0.22.04.1 libpostproc55=7:4.4.2-0ubuntu0.22.04.1 libswscale5=7:4.4.2-0ubuntu0.22.04.1 Armbian is not the only distro I have tried. All the "official" distributions had these two problems, but cannot confirm they had wayland enabled. I can't understand why google finds so little for the above DMA error messages.
  7. @Kuu Tirronen Nice found that hack, but I'm questioning if you've followed the right steps, so which steps did you follow? Wayland will probably give better results, for hardware video decoding you'll need software that will make use of mpp. Amazingfate made a repo for jammy with panfork mesa and a repo with software build with rkmpp hw acceleration there are a few topics about this, also don't forget to install malirun from his repo, this will set the udev rules that's needed for hw acceleration. For Panfrost this option should be disabled: cat /boot/config* | grep CONFIG_DRM_IGNORE_IOTCL_PERMIT For mali blob you'll need the right driver and is not compatible with panfork mesa and not every driver supports X11.
  8. Hey, I'm experiencing graphics failures, accelerated decoding problems, flickering window decorations and shell hangups in Plasma. All events are associated with syslog entries: dma-pl330 fea30000.dma-controller: pl330_submit_req:1738 Try increasing mcbufsz (258/256) dma-pl330 fea30000.dma-controller: fill_queue:2264 Bad Desc(2) I've attached the whole system log in case someone is interested. Running Armbian 23.02.2 Jammy Linux orange 5.10.110-rockchip-rk3588 #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 aarch64 Panfrost-mesa updated to HEAD. A very similar problem occurs with Orange Pi 5 Debian ready distro images, but the kernel version is very similar. What to do here? Build a Arduino TTL repeater and go to town with a kernel debugger on an unfamiliar architecture? Is my DMA controller broken? Armbian_OrangePI5_syslog.txt Xorg.0.log
  9. Ohhhh with that one I now do get the GPU detected with glxinfo -B ! Nice one! [ I kept updating this maybe skip to the end for the success part? ] There are some very cool and strong graphical artifacts in some areas now and then and there's a error message from the glxinfo. Is there a device file I need to flip some permission on or something maybe? Using gnome+wayland. fred@orangepi5:~$ glxinfo -B name of display: :0 DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create scanout resource display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa (0xffffffff) Device: Mali-G610 (Panfrost) (0xffffffff) Version: 23.0.0 Accelerated: yes Video memory: 7695MB 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: Mesa OpenGL renderer string: Mali-G610 (Panfrost) OpenGL version string: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) OpenGL shading language version string: 1.30 OpenGL context flags: (none) DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create scanout resource OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 Trying this but it doesn't help, sudo chmod a+rw /dev/dri/* I'll google around a bit! Don't worry if this is eating up your time and you'd rather spend that on other things. If that's the case I'll just leave this until its more mature. If not I'm happy to keep trying stuff. UPDATE: trying glmark2-es2-wayland but it doesn't find the GPU it is running with llvm. Both these ways of running: > glmark2-es2-wayland and > LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu" glmark2-es2-wayland libEGL warning: egl: failed to create dri2 screen libEGL warning: failed to get driver name for fd 0 libEGL warning: MESA-LOADER: failed to retrieve device information libEGL warning: failed to get driver name for fd 0 glxgears also not happy: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create scanout resource Segmentation fault Checking dmesg for drm: [just the tail of output] [ 2.449518] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable [rockchipdrm]] dclk_out0 div: 0 dclk_core0 div: 2 [ 2.449565] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable [rockchipdrm]] set dclk_vop0 to 148500000, get 148500000 [ 2.861015] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 2.878911] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 1 [ 3.117857] [drm:rockchip_drm_fault_handler [rockchipdrm]] *ERROR* iommu fault handler flags: 0x0 [ 3.243729] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.244607] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.245466] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.246323] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.247183] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.248039] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.248895] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 3.249757] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 [ 4.753891] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 4.802028] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 4.803050] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 24.800483] [drm:rockchip_drm_fault_handler [rockchipdrm]] *ERROR* iommu fault handler flags: 0x0 [ 24.801159] rockchip-vop2 fdd90000.vop: [drm:vop2_isr [rockchipdrm]] *ERROR* POST_BUF_EMPTY irq err at vp0 UPDATE 2: Waaiiit a minute. It seems my custom build Mesa was interfering even after I had reset the ld conf files + sudo ldconfig. Now I was able to run, > LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu" glmark2-es2-wayland and without changing the default governor I got: glmark2 Score: 2189 Success!! There were still some strong glitching in the following, [jellyfish] [terrain] [refract] but maybe something in my own Mesa install still interefered. I still also get the DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied from glxinfo. UPDATE 3: After sticking the governor to performance glmark2-es2-wayland returns: glmark2 Score: 3455 A new record for me on this board! The other issues mentioned above are still there but maybe I'll have to re-run on a clean flashed SD card and see what goes away. That'll be for later because now I'm itching to try Dolphin again on this setup!
  10. Version 20230401 with kernel 6.2 (pancsf-midstream). With HDMI USB support. https://disk.yandex.ru/d/W8pOOhizVjq91A To enable HW acceleration, install the mesa package with the forced overwrite option or an archive to enable acceleration for wayland. To enable wayland acceleration, you need to replace the files in the /usr/lib/aarch64-linux-gnu directory with the contents of the archive (with file replacement). After that, acceleration will work with wayland. X11 and wayland acceleration works the same way on Debian Sid (the images are the same as Ubuntu). After starting the system and initial configuration, replace the files from the archive in the same way and acceleration will work. The results of running in Debian Sid Gnome for x11 and wayland. dpkg -i --force-overwrite mesa_23.0.0-dev-2_arm64.deb After installation and reboot, HW acceleration will work in x11 and wayland. Please note, this is a test version of mesa for the initial evaluation of the work, some of the functions do not work in it and there may be bugs. With x11, the system works more stably, but the test results are lower than in gnome+wayland. deb\archive https://disk.yandex.ru/d/h8c-Y2FfAvx76g
  11. fix https://disk.yandex.ru/d/IJgrWsME_WSLOg work glmark2-wayland (image 20230329-current gnome3 + fix dtb) ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 2942 FrameTime: 0.340 ms [build] use-vbo=true: FPS: 3167 FrameTime: 0.316 ms [texture] texture-filter=nearest: FPS: 4085 FrameTime: 0.245 ms [texture] texture-filter=linear: FPS: 4252 FrameTime: 0.235 ms [texture] texture-filter=mipmap: FPS: 4242 FrameTime: 0.236 ms [shading] shading=gouraud: FPS: 2461 FrameTime: 0.406 ms [shading] shading=blinn-phong-inf: FPS: 2502 FrameTime: 0.400 ms [shading] shading=phong: FPS: 2162 FrameTime: 0.463 ms [shading] shading=cel: FPS: 2046 FrameTime: 0.489 ms [bump] bump-render=high-poly: FPS: 910 FrameTime: 1.099 ms [bump] bump-render=normals: FPS: 4070 FrameTime: 0.246 ms [bump] bump-render=height: FPS: 3596 FrameTime: 0.278 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1688 FrameTime: 0.592 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 613 FrameTime: 1.631 ms [pulsar] light=false:quads=5:texture=false: FPS: 3664 FrameTime: 0.273 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 545 FrameTime: 1.835 ms [desktop] effect=shadow:windows=4: FPS: 2067 FrameTime: 0.484 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 575 FrameTime: 1.739 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 553 FrameTime: 1.808 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 642 FrameTime: 1.558 ms [ideas] speed=duration: FPS: 1576 FrameTime: 0.635 ms [jellyfish] <default>: FPS: 2294 FrameTime: 0.436 ms [terrain] <default>: FPS: 102 FrameTime: 9.804 ms [shadow] <default>: FPS: 1424 FrameTime: 0.702 ms [refract] <default>: FPS: 114 FrameTime: 8.772 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3475 FrameTime: 0.288 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2528 FrameTime: 0.396 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3543 FrameTime: 0.282 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3128 FrameTime: 0.320 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2540 FrameTime: 0.394 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3121 FrameTime: 0.320 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3237 FrameTime: 0.309 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2505 FrameTime: 0.399 ms ======================================================= glmark2 Score: 2314 ======================================================= glmark2-es-wayland ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 3079 FrameTime: 0.325 ms [build] use-vbo=true: FPS: 2924 FrameTime: 0.342 ms [texture] texture-filter=nearest: FPS: 4044 FrameTime: 0.247 ms [texture] texture-filter=linear: FPS: 3891 FrameTime: 0.257 ms [texture] texture-filter=mipmap: FPS: 3785 FrameTime: 0.264 ms [shading] shading=gouraud: FPS: 2432 FrameTime: 0.411 ms [shading] shading=blinn-phong-inf: FPS: 2502 FrameTime: 0.400 ms [shading] shading=phong: FPS: 2138 FrameTime: 0.468 ms [shading] shading=cel: FPS: 2088 FrameTime: 0.479 ms [bump] bump-render=high-poly: FPS: 922 FrameTime: 1.085 ms [bump] bump-render=normals: FPS: 4238 FrameTime: 0.236 ms [bump] bump-render=height: FPS: 4150 FrameTime: 0.241 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2675 FrameTime: 0.374 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1078 FrameTime: 0.928 ms [pulsar] light=false:quads=5:texture=false: FPS: 3510 FrameTime: 0.285 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 649 FrameTime: 1.541 ms [desktop] effect=shadow:windows=4: FPS: 2211 FrameTime: 0.452 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 570 FrameTime: 1.754 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 551 FrameTime: 1.815 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 671 FrameTime: 1.490 ms [ideas] speed=duration: FPS: 1656 FrameTime: 0.604 ms [jellyfish] <default>: FPS: 2159 FrameTime: 0.463 ms [terrain] <default>: FPS: 109 FrameTime: 9.174 ms [shadow] <default>: FPS: 1427 FrameTime: 0.701 ms [refract] <default>: FPS: 113 FrameTime: 8.850 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3398 FrameTime: 0.294 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2840 FrameTime: 0.352 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3337 FrameTime: 0.300 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3065 FrameTime: 0.326 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2532 FrameTime: 0.395 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3289 FrameTime: 0.304 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2811 FrameTime: 0.356 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2459 FrameTime: 0.407 ms ======================================================= glmark2 Score: 2342 ======================================================= x11 ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 965 FrameTime: 1.036 ms [build] use-vbo=true: FPS: 979 FrameTime: 1.021 ms [texture] texture-filter=nearest: FPS: 1032 FrameTime: 0.969 ms [texture] texture-filter=linear: FPS: 1020 FrameTime: 0.980 ms [texture] texture-filter=mipmap: FPS: 1022 FrameTime: 0.978 ms [shading] shading=gouraud: FPS: 833 FrameTime: 1.200 ms [shading] shading=blinn-phong-inf: FPS: 831 FrameTime: 1.203 ms [shading] shading=phong: FPS: 769 FrameTime: 1.300 ms [shading] shading=cel: FPS: 740 FrameTime: 1.351 ms [bump] bump-render=high-poly: FPS: 352 FrameTime: 2.841 ms [bump] bump-render=normals: FPS: 1110 FrameTime: 0.901 ms [bump] bump-render=height: FPS: 1085 FrameTime: 0.922 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 791 FrameTime: 1.264 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 432 FrameTime: 2.315 ms [pulsar] light=false:quads=5:texture=false: FPS: 979 FrameTime: 1.021 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 370 FrameTime: 2.703 ms [desktop] effect=shadow:windows=4: FPS: 842 FrameTime: 1.188 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 588 FrameTime: 1.701 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 585 FrameTime: 1.709 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 668 FrameTime: 1.497 ms [ideas] speed=duration: FPS: 726 FrameTime: 1.377 ms [jellyfish] <default>: FPS: 944 FrameTime: 1.059 ms [terrain] <default>: FPS: 93 FrameTime: 10.753 ms [shadow] <default>: FPS: 679 FrameTime: 1.473 ms [refract] <default>: FPS: 91 FrameTime: 10.989 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 930 FrameTime: 1.075 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 879 FrameTime: 1.138 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 914 FrameTime: 1.094 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 919 FrameTime: 1.088 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 875 FrameTime: 1.143 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 935 FrameTime: 1.070 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 925 FrameTime: 1.081 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 872 FrameTime: 1.147 ms ======================================================= glmark2 Score: 781 ======================================================= x11 es2 ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 1017 FrameTime: 0.983 ms [build] use-vbo=true: FPS: 1021 FrameTime: 0.979 ms [texture] texture-filter=nearest: FPS: 1130 FrameTime: 0.885 ms [texture] texture-filter=linear: FPS: 1120 FrameTime: 0.893 ms [texture] texture-filter=mipmap: FPS: 1115 FrameTime: 0.897 ms [shading] shading=gouraud: FPS: 832 FrameTime: 1.202 ms [shading] shading=blinn-phong-inf: FPS: 819 FrameTime: 1.221 ms [shading] shading=phong: FPS: 771 FrameTime: 1.297 ms [shading] shading=cel: FPS: 814 FrameTime: 1.229 ms [bump] bump-render=high-poly: FPS: 356 FrameTime: 2.809 ms [bump] bump-render=normals: FPS: 1130 FrameTime: 0.885 ms [bump] bump-render=height: FPS: 1099 FrameTime: 0.910 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 961 FrameTime: 1.041 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 632 FrameTime: 1.582 ms [pulsar] light=false:quads=5:texture=false: FPS: 1058 FrameTime: 0.945 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 419 FrameTime: 2.387 ms [desktop] effect=shadow:windows=4: FPS: 883 FrameTime: 1.133 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 573 FrameTime: 1.745 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 587 FrameTime: 1.704 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 681 FrameTime: 1.468 ms [ideas] speed=duration: FPS: 728 FrameTime: 1.374 ms [jellyfish] <default>: FPS: 978 FrameTime: 1.022 ms [terrain] <default>: FPS: 99 FrameTime: 10.101 ms [shadow] <default>: FPS: 700 FrameTime: 1.429 ms [refract] <default>: FPS: 95 FrameTime: 10.526 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 1026 FrameTime: 0.975 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 930 FrameTime: 1.075 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 1009 FrameTime: 0.991 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 989 FrameTime: 1.011 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 886 FrameTime: 1.129 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 994 FrameTime: 1.006 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 989 FrameTime: 1.011 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 892 FrameTime: 1.121 ms ======================================================= glmark2 Score: 828 =======================================================
  12. Hi I'm excited to try mesa Panfrost (not panfork) with this kernel and have managed to get a build. But I keep getting llvm instead of the GPU and was wondering if anyone know what I need to do? I'm using this config command: meson --prefix /usr --libdir lib -Dvulkan-drivers= -Dlibunwind=false -Dgallium-drivers=panfrost,kmsro,swrast -Dplatforms=x11,wayland -Dbuildtype=release -Degl=true -Dgles1=true -Dgles2=true build I'm also adding the /usr/lib and /usr/lib/dri paths to ld conf files and it seems they are found. But glxinfo still gives me just llvm. Cheers!
  13. Description Jira reference number [AR-1641](https://armbian.atlassian.net/browse/AR-1641) How Has This Been Tested? I run the segment of the bash script into test.sh to check it locally cp /boot/armbianEnv.txt armbianEnv2.txt BLACKLIST_SIMPLEDRM="module_blacklist=simpledrm" if grep -q "meson64" /etc/armbian-release; then echo "extraargs=${BLACKLIST_SIMPLEDRM}" >> armbianEnv2.txt fi #Line extraargs should appear cat armbianEnv2.txt bash test.sh outputs: verbosity=1 console=both overlay_prefix=meson bootlogo=true rootdev=UUID=f9f9535f-bd89-4be4-9ef4-1f1e312cc20a rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x0730:u extraargs=module_blacklist=simpledrm In the practice instead of having with lsmod | grep drm_shmem drm_shmem_helper 24576 1 panfrost simpledrm we have now with lsmod | grep drm_shmem drm_shmem_helper 24576 1 panfrost and the warning without hardware acceleration dissapeared. thus glxinfo -B | grep Device was no more llvmpipe but the wished Device: Mali-G31 (Panfrost) (0xffffffff) View the full article
  14. Hi, I would like to use my usb wifi adapter from my old Raspi 3. `lsusb` shows: `Bus 007 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter` `ip a` shows: ``` 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 76:ac:9a:1c:50:76 brd ff:ff:ff:ff:ff:ff inet 192.168.18.213/24 brd 192.168.18.255 scope global dynamic noprefixroute eth0 valid_lft 1953sec preferred_lft 1953sec inet6 fe80::4450:f4d8:e15a:12c/64 scope link noprefixroute valid_lft forever preferred_lft forever ``` and `lsmod` shows: ``` Module Size Used by bnep 24576 2 zstd 16384 8 sch_fq_codel 20480 3 fuse 110592 1 ip_tables 28672 0 ipv6 434176 82 panfrost 57344 0 gpu_sched 28672 1 panfrost ```
  15. Added new versions of the mesa package and an archive to enable acceleration for wayland. To enable wayland acceleration, you need to replace the files in the /usr/lib/aarch64-linux-gnu directory with the contents of the archive (with file replacement). After that, acceleration will work with wayland. X11 and wayland acceleration works the same way on Debian Sid (the images are the same as Ubuntu). After starting the system and initial configuration, replace the files from the archive in the same way and acceleration will work. The results of running in Debian Sid Gnome for x11 and wayland. x11 ======================================================= glmark2 2023.01 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 Surface Size: 800x600 windowed ======================================================= [build] use-vbo=false: FPS: 959 FrameTime: 1.044 ms [build] use-vbo=true: FPS: 987 FrameTime: 1.014 ms [texture] texture-filter=nearest: FPS: 1064 FrameTime: 0.940 ms [texture] texture-filter=linear: FPS: 1053 FrameTime: 0.950 ms [texture] texture-filter=mipmap: FPS: 1054 FrameTime: 0.949 ms [shading] shading=gouraud: FPS: 832 FrameTime: 1.203 ms [shading] shading=blinn-phong-inf: FPS: 839 FrameTime: 1.193 ms [shading] shading=phong: FPS: 770 FrameTime: 1.299 ms [shading] shading=cel: FPS: 747 FrameTime: 1.339 ms [bump] bump-render=high-poly: FPS: 353 FrameTime: 2.839 ms [bump] bump-render=normals: FPS: 1084 FrameTime: 0.923 ms [bump] bump-render=height: FPS: 1077 FrameTime: 0.929 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 794 FrameTime: 1.260 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 429 FrameTime: 2.334 ms [pulsar] light=false:quads=5:texture=false: FPS: 964 FrameTime: 1.038 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 375 FrameTime: 2.668 ms [desktop] effect=shadow:windows=4: FPS: 836 FrameTime: 1.196 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 564 FrameTime: 1.775 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 567 FrameTime: 1.765 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 656 FrameTime: 1.526 ms [ideas] speed=duration: FPS: 697 FrameTime: 1.437 ms [jellyfish] <default>: FPS: 858 FrameTime: 1.166 ms [terrain] <default>: FPS: 95 FrameTime: 10.550 ms [shadow] <default>: FPS: 672 FrameTime: 1.490 ms [refract] <default>: FPS: 92 FrameTime: 10.925 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 914 FrameTime: 1.095 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 881 FrameTime: 1.135 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 928 FrameTime: 1.079 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 941 FrameTime: 1.063 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 875 FrameTime: 1.143 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 921 FrameTime: 1.086 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 927 FrameTime: 1.079 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 873 FrameTime: 1.146 ms ======================================================= glmark2 Score: 777 ======================================================= x1 ======================================================= glmark2 2023.01 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 Surface Size: 800x600 windowed ======================================================= [build] use-vbo=false: FPS: 1007 FrameTime: 0.994 ms [build] use-vbo=true: FPS: 1028 FrameTime: 0.973 ms [texture] texture-filter=nearest: FPS: 1132 FrameTime: 0.884 ms [texture] texture-filter=linear: FPS: 1132 FrameTime: 0.884 ms [texture] texture-filter=mipmap: FPS: 1133 FrameTime: 0.883 ms [shading] shading=gouraud: FPS: 854 FrameTime: 1.171 ms [shading] shading=blinn-phong-inf: FPS: 851 FrameTime: 1.176 ms [shading] shading=phong: FPS: 789 FrameTime: 1.269 ms [shading] shading=cel: FPS: 777 FrameTime: 1.287 ms [bump] bump-render=high-poly: FPS: 364 FrameTime: 2.751 ms [bump] bump-render=normals: FPS: 1137 FrameTime: 0.880 ms [bump] bump-render=height: FPS: 1119 FrameTime: 0.894 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 969 FrameTime: 1.033 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 632 FrameTime: 1.582 ms [pulsar] light=false:quads=5:texture=false: FPS: 1059 FrameTime: 0.944 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 418 FrameTime: 2.395 ms [desktop] effect=shadow:windows=4: FPS: 877 FrameTime: 1.141 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 567 FrameTime: 1.766 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 574 FrameTime: 1.744 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 672 FrameTime: 1.488 ms [ideas] speed=duration: FPS: 713 FrameTime: 1.403 ms [jellyfish] <default>: FPS: 973 FrameTime: 1.029 ms [terrain] <default>: FPS: 99 FrameTime: 10.118 ms [shadow] <default>: FPS: 698 FrameTime: 1.434 ms [refract] <default>: FPS: 94 FrameTime: 10.717 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 1024 FrameTime: 0.977 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 925 FrameTime: 1.081 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 1004 FrameTime: 0.996 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 982 FrameTime: 1.019 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 879 FrameTime: 1.139 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 980 FrameTime: 1.021 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 975 FrameTime: 1.026 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 880 FrameTime: 1.137 ms ======================================================= glmark2 Score: 826 ======================================================= wayland ======================================================= glmark2 2023.01 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 Surface Size: 800x600 windowed ======================================================= [build] use-vbo=false: FPS: 2861 FrameTime: 0.350 ms [build] use-vbo=true: FPS: 2930 FrameTime: 0.341 ms [texture] texture-filter=nearest: FPS: 3996 FrameTime: 0.250 ms [texture] texture-filter=linear: FPS: 3723 FrameTime: 0.269 ms [texture] texture-filter=mipmap: FPS: 4000 FrameTime: 0.250 ms [shading] shading=gouraud: FPS: 2493 FrameTime: 0.401 ms [shading] shading=blinn-phong-inf: FPS: 2503 FrameTime: 0.400 ms [shading] shading=phong: FPS: 2161 FrameTime: 0.463 ms [shading] shading=cel: FPS: 2070 FrameTime: 0.483 ms [bump] bump-render=high-poly: FPS: 914 FrameTime: 1.095 ms [bump] bump-render=normals: FPS: 3745 FrameTime: 0.267 ms [bump] bump-render=height: FPS: 3623 FrameTime: 0.276 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1689 FrameTime: 0.592 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 614 FrameTime: 1.630 ms [pulsar] light=false:quads=5:texture=false: FPS: 3701 FrameTime: 0.270 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 544 FrameTime: 1.840 ms [desktop] effect=shadow:windows=4: FPS: 2049 FrameTime: 0.488 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 562 FrameTime: 1.780 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 559 FrameTime: 1.790 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 678 FrameTime: 1.475 ms [ideas] speed=duration: FPS: 967 FrameTime: 1.035 ms [jellyfish] <default>: FPS: 1789 FrameTime: 0.559 ms [terrain] <default>: FPS: 105 FrameTime: 9.615 ms [shadow] <default>: FPS: 1426 FrameTime: 0.701 ms [refract] <default>: FPS: 114 FrameTime: 8.840 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3466 FrameTime: 0.289 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2542 FrameTime: 0.394 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 2909 FrameTime: 0.344 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3255 FrameTime: 0.307 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2526 FrameTime: 0.396 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2842 FrameTime: 0.352 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3201 FrameTime: 0.312 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2370 FrameTime: 0.422 ms ======================================================= glmark2 Score: 2208 ======================================================= wayland ======================================================= glmark2 2023.01 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 Surface Size: 800x600 windowed ======================================================= [build] use-vbo=false: FPS: 2853 FrameTime: 0.351 ms [build] use-vbo=true: FPS: 3340 FrameTime: 0.299 ms [texture] texture-filter=nearest: FPS: 3925 FrameTime: 0.255 ms [texture] texture-filter=linear: FPS: 3949 FrameTime: 0.253 ms [texture] texture-filter=mipmap: FPS: 3254 FrameTime: 0.307 ms [shading] shading=gouraud: FPS: 2346 FrameTime: 0.426 ms [shading] shading=blinn-phong-inf: FPS: 2421 FrameTime: 0.413 ms [shading] shading=phong: FPS: 2135 FrameTime: 0.469 ms [shading] shading=cel: FPS: 2116 FrameTime: 0.473 ms [bump] bump-render=high-poly: FPS: 920 FrameTime: 1.088 ms [bump] bump-render=normals: FPS: 3952 FrameTime: 0.253 ms [bump] bump-render=height: FPS: 3578 FrameTime: 0.280 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2555 FrameTime: 0.391 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1076 FrameTime: 0.930 ms [pulsar] light=false:quads=5:texture=false: FPS: 3472 FrameTime: 0.288 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 651 FrameTime: 1.537 ms [desktop] effect=shadow:windows=4: FPS: 2136 FrameTime: 0.468 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 579 FrameTime: 1.729 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 590 FrameTime: 1.696 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 673 FrameTime: 1.487 ms [ideas] speed=duration: FPS: 987 FrameTime: 1.013 ms [jellyfish] <default>: FPS: 2130 FrameTime: 0.470 ms [terrain] <default>: FPS: 111 FrameTime: 9.079 ms [shadow] <default>: FPS: 1428 FrameTime: 0.701 ms [refract] <default>: FPS: 112 FrameTime: 9.005 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3321 FrameTime: 0.301 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2740 FrameTime: 0.365 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3589 FrameTime: 0.279 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 2917 FrameTime: 0.343 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2444 FrameTime: 0.409 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2941 FrameTime: 0.340 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3246 FrameTime: 0.308 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2532 FrameTime: 0.395 ms ======================================================= glmark2 Score: 2272 =======================================================
  16. Спасибо за помощь. glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= glmark2 Score: 760
  17. Awesome is this Panfrost-Panfrost, ie not Panfork? Id'e love to try it but do not have experience trying out different kernels. Ive seen the/a 'midstream' kernel and that it includes the wip/new pancsf. Could you make some 1-2-3 steps instruction for making an install that has this? I would really love to try it.
  18. I have been running Armbian on a Pinebook Pro without issues. I use the stable distribution, but after an update about a week ago (I think) the Panfrost driver has stopped working. When logging into the desktop environment (Cinnamon) the symptom is a black screen with a cursor visible but nothing else. Checking the logs I see a bunch of lines like: > Mar 20 09:29:05 pine kernel: [ 534.502108] panfrost ff9a0000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0xb9f2b40, tail=0xb9f2b40 If I log in by disabling hardware rendering (choosing "Cinnamon (Software Rendering)") then the desktop does display and work (albeit very slowly). After things broke I enabled the unstable updates, but this didn't seem to fix the problem. Unfortunately I can't remember exactly which software I updated but I assume it was either the kernel or a user space program that works with Panfrost. Has anyone else seen this issue? I'm happy to provide any more details or try other steps if it would help debug the issue. Thanks!
  19. Kernel pancsf-midstream (6.2) + mesa dev 23.0.0 user@rock-5b:~$ glmark2-wayland ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 3016 FrameTime: 0.332 ms [build] use-vbo=true: FPS: 3332 FrameTime: 0.300 ms [texture] texture-filter=nearest: FPS: 4108 FrameTime: 0.243 ms [texture] texture-filter=linear: FPS: 4244 FrameTime: 0.236 ms [texture] texture-filter=mipmap: FPS: 3846 FrameTime: 0.260 ms [shading] shading=gouraud: FPS: 2442 FrameTime: 0.410 ms [shading] shading=blinn-phong-inf: FPS: 2412 FrameTime: 0.415 ms [shading] shading=phong: FPS: 2168 FrameTime: 0.461 ms [shading] shading=cel: FPS: 2061 FrameTime: 0.485 ms [bump] bump-render=high-poly: FPS: 907 FrameTime: 1.103 ms [bump] bump-render=normals: FPS: 3534 FrameTime: 0.283 ms [bump] bump-render=height: FPS: 3930 FrameTime: 0.254 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1688 FrameTime: 0.592 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 611 FrameTime: 1.637 ms [pulsar] light=false:quads=5:texture=false: FPS: 3574 FrameTime: 0.280 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 544 FrameTime: 1.838 ms [desktop] effect=shadow:windows=4: FPS: 2041 FrameTime: 0.490 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 528 FrameTime: 1.894 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 515 FrameTime: 1.942 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 628 FrameTime: 1.592 ms [ideas] speed=duration: FPS: 1522 FrameTime: 0.657 ms [jellyfish] <default>: FPS: 2001 FrameTime: 0.500 ms [terrain] <default>: FPS: 107 FrameTime: 9.346 ms [shadow] <default>: FPS: 1412 FrameTime: 0.708 ms [refract] <default>: FPS: 119 FrameTime: 8.403 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3830 FrameTime: 0.261 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2578 FrameTime: 0.388 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3247 FrameTime: 0.308 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3020 FrameTime: 0.331 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2516 FrameTime: 0.397 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3061 FrameTime: 0.327 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3276 FrameTime: 0.305 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2567 FrameTime: 0.390 ms ======================================================= glmark2 Score: 2284 =======================================================
  20. I installed panfrost but glxinfo still lists the device as llvmpipe. I'm using Armbian_23.02.2_Rockpi-4cplus_jammy_current_5.15.93_gnome_desktop running wayland. This is how I built panfrost meson . build/ -Dvulkan-drivers= -Dgallium-drivers=panfrost -Dllvm=disabled ninja -C build/ ninja -C build/ install i have no idea what to do next because there is no errors that I can find and I was under the impression that with a kernel 5.1> it is supposed to work. Any help is appreciated
  21. I tested with kernel 5.19.16, @Igor solution does not work maybe for kernels >= 6. [EDIT tried with 6.11 it gives low resolution 720 X 576. You need extra xorg config file like below, for now Impossible to make glamouregl / panfrost Mali G31recognized like in 5.19.16 pi@bananapim5:/usr/lib/aarch64-linux-gnu/dri$ glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa (0xffffffff) Device: Mali-G31 (Panfrost) (0xffffffff) Version: 23.1.0 Accelerated: yes Video memory: 3785MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 3.1 Max compat profile version: 3.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 OpenGL vendor string: Mesa OpenGL renderer string: Mali-G31 (Panfrost) OpenGL core profile version string: 3.1 Mesa 23.1.0-devel (git-60ae5b1 2023-03-04 jammy-oibaf-ppa) OpenGL core profile shading language version string: 1.40 OpenGL core profile context flags: (none) OpenGL version string: 3.1 Mesa 23.1.0-devel (git-60ae5b1 2023-03-04 jammy-oibaf-ppa) OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.1.0-devel (git-60ae5b1 2023-03-04 jammy-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 ], Dummy driver solution works remotely but sometimes did not show the desktop (black screen with blinking cursor at first line) if an HDMI monitor is connected depending on kernel or xorg I assume! and without hardware acceleration. I converged to this completing the /etc/X11/xorg.conf.d/01-armbian_defaults.conf # This xorg configuration file is meant to be used by xpra # to start a dummy X11 server. # For details, please see: # https://xpra.org/Xdummy.html Section "ServerFlags" #Option "DontVTSwitch" "true" #Option "AllowMouseOpenFail" "true" Option "PciForceNone" "true" #Option "AutoEnableDevices" "false" #Option "AutoAddDevices" "false" EndSection Section "InputDevice" Identifier "dummy_mouse" Option "CorePointer" "true" Driver "void" EndSection Section "InputDevice" Identifier "dummy_keyboard" Option "CoreKeyboard" "true" Driver "void" EndSection Section "Device" Identifier "dummy_videocard" #If you uncomment you will have llvmpipe (LLVM 15.0.6, 128 bits), loosing hardware accel Mali G-31 (panfrost). #Driver "dummy" Option "ConstantDPI" "true" #VideoRam 4096000 #VideoRam 256000 VideoRam 192000 EndSection Section "Monitor" Identifier "dummy_monitor" HorizSync 5.0 - 1000.0 VertRefresh 5.0 - 200.0 #This can be used to get a specific DPI, but only for the default resolution: #DisplaySize 508 317 #NOTE: the highest modes will not work without increasing the VideoRam # for the dummy video card. #Modeline "32768x32768" 15226.50 32768 35800 39488 46208 32768 32771 32781 32953 #Modeline "32768x16384" 7516.25 32768 35544 39192 45616 16384 16387 16397 16478 #Modeline "16384x8192" 2101.93 16384 16416 24400 24432 8192 8390 8403 8602 Modeline "8192x4096" 424.46 8192 8224 9832 9864 4096 4195 4202 4301 Modeline "5496x1200" 199.13 5496 5528 6280 6312 1200 1228 1233 1261 Modeline "5280x1080" 169.96 5280 5312 5952 5984 1080 1105 1110 1135 Modeline "5280x1200" 191.40 5280 5312 6032 6064 1200 1228 1233 1261 Modeline "5120x3200" 199.75 5120 5152 5904 5936 3200 3277 3283 3361 Modeline "4800x1200" 64.42 4800 4832 5072 5104 1200 1229 1231 1261 Modeline "3840x2880" 133.43 3840 3872 4376 4408 2880 2950 2955 3025 Modeline "3840x2560" 116.93 3840 3872 4312 4344 2560 2622 2627 2689 Modeline "3840x2048" 91.45 3840 3872 4216 4248 2048 2097 2101 2151 Modeline "3840x1080" 100.38 3840 3848 4216 4592 1080 1081 1084 1093 Modeline "3600x1200" 106.06 3600 3632 3984 4368 1200 1201 1204 1214 Modeline "3288x1080" 39.76 3288 3320 3464 3496 1080 1106 1108 1135 Modeline "2048x2048" 49.47 2048 2080 2264 2296 2048 2097 2101 2151 Modeline "2048x1536" 80.06 2048 2104 2312 2576 1536 1537 1540 1554 Modeline "2560x1600" 47.12 2560 2592 2768 2800 1600 1639 1642 1681 Modeline "2560x1440" 42.12 2560 2592 2752 2784 1440 1475 1478 1513 Modeline "1920x1440" 69.47 1920 1960 2152 2384 1440 1441 1444 1457 Modeline "1920x1200" 26.28 1920 1952 2048 2080 1200 1229 1231 1261 Modeline "1920x1080" 23.53 1920 1952 2040 2072 1080 1106 1108 1135 Modeline "1680x1050" 20.08 1680 1712 1784 1816 1050 1075 1077 1103 Modeline "1600x1200" 22.04 1600 1632 1712 1744 1200 1229 1231 1261 Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946 Modeline "1440x900" 30.66 1440 1472 1584 1616 900 921 924 946 ModeLine "1366x768" 72.00 1366 1414 1446 1494 768 771 777 803 Modeline "1280x1024" 31.50 1280 1312 1424 1456 1024 1048 1052 1076 Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841 Modeline "1280x768" 23.11 1280 1312 1392 1424 768 786 789 807 Modeline "1360x768" 24.49 1360 1392 1480 1512 768 786 789 807 Modeline "1024x768" 18.71 1024 1056 1120 1152 768 786 789 807 Modeline "768x1024" 19.50 768 800 872 904 1024 1048 1052 1076 #common resolutions for android devices (both orientations): Modeline "800x1280" 25.89 800 832 928 960 1280 1310 1315 1345 Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841 Modeline "720x1280" 30.22 720 752 864 896 1280 1309 1315 1345 Modeline "1280x720" 27.41 1280 1312 1416 1448 720 737 740 757 Modeline "768x1024" 24.93 768 800 888 920 1024 1047 1052 1076 Modeline "1024x768" 23.77 1024 1056 1144 1176 768 785 789 807 Modeline "600x1024" 19.90 600 632 704 736 1024 1047 1052 1076 Modeline "1024x600" 18.26 1024 1056 1120 1152 600 614 617 631 Modeline "536x960" 16.74 536 568 624 656 960 982 986 1009 Modeline "960x536" 15.23 960 992 1048 1080 536 548 551 563 Modeline "600x800" 15.17 600 632 688 720 800 818 822 841 Modeline "800x600" 14.50 800 832 880 912 600 614 617 631 Modeline "480x854" 13.34 480 512 560 592 854 873 877 897 Modeline "848x480" 12.09 848 880 920 952 480 491 493 505 Modeline "480x800" 12.43 480 512 552 584 800 818 822 841 Modeline "800x480" 11.46 800 832 872 904 480 491 493 505 #resolutions for android devices (both orientations) #minus the status bar #38px status bar (and width rounded up) Modeline "800x1242" 25.03 800 832 920 952 1242 1271 1275 1305 Modeline "1280x762" 22.93 1280 1312 1392 1424 762 780 783 801 Modeline "720x1242" 29.20 720 752 856 888 1242 1271 1276 1305 Modeline "1280x682" 25.85 1280 1312 1408 1440 682 698 701 717 Modeline "768x986" 23.90 768 800 888 920 986 1009 1013 1036 Modeline "1024x730" 22.50 1024 1056 1136 1168 730 747 750 767 Modeline "600x986" 19.07 600 632 704 736 986 1009 1013 1036 Modeline "1024x562" 17.03 1024 1056 1120 1152 562 575 578 591 Modeline "536x922" 16.01 536 568 624 656 922 943 947 969 Modeline "960x498" 14.09 960 992 1040 1072 498 509 511 523 Modeline "600x762" 14.39 600 632 680 712 762 779 783 801 Modeline "800x562" 13.52 800 832 880 912 562 575 578 591 Modeline "480x810" 12.59 480 512 552 584 810 828 832 851 Modeline "848x442" 11.09 848 880 920 952 442 452 454 465 Modeline "480x762" 11.79 480 512 552 584 762 779 783 801 #This works with panfrost driver handled by glamouregl, default resolution #that can not be changed in headless mode, only when monitor HDMI-1 is here #replacing the Composite-1 Monitor Option "PreferredMode" "1280x720" EndSection Section "Screen" Identifier "dummy_screen" Device "dummy_videocard" Monitor "dummy_monitor" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 #Modes "32768x32768" "32768x16384" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200" Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200" #Virtual 32000 32000 #Virtual 16384 8192 #Virtual 8192 4096 #Set your Max resolution here with dummy driver, can match with default resolution #you can switch to lower resol with arandr os xrandr Virtual 1920 1080 EndSubSection EndSection Section "ServerLayout" Identifier "dummy_layout" Screen "dummy_screen" InputDevice "dummy_mouse" InputDevice "dummy_keyboard" EndSection
  22. I was wondering if the Armbian 11 Bullseye release would get a release candidate for the following ppa's for Panfrost: ppa:liujianfeng1994/panfork-mesa ppa:liujianfeng1994/rockchip-multimedia Because I was really hoping to use Debian over Ubuntu for my purposes of familiarizing myself with the distro, but only Jammy so far has a candidate for these. I also tried manually installing the Panfrost/Panfork drivers on Bullseye and only got it working once before borking my entire system, and I cannot replicate it. Any help or information would be greatly appreciated, as the GPU acceleration on Jammy is simply amazing!
  23. Awesome I installed those kernel patches and they do actually work!! I'll make another Dolphin video some time later today but it makes a significant difference to fps. glmark2-es2 now scores 1244 whereas before I think it was 8-900 something like that. (its insane that the vendor blob drivers had ~3700) Here's what you can do if you want to also try those kernel patches(?): Download the three .deb files from https://github.com/ChisBread/linux-orangepi/releases/tag/v1.06.002 cd to where they are. You need to install old python (python2) I'm sure there's a correct way to do the following but I did, sudo apt install python2 sudo ln -s /usr/bin/python2 /usr/bin/python sudo dpkg -i ./linux-dtb-legacy-rockchip-rk3588_1.0.6_arm64.deb sudo dpkg -i ./linux-headers-legacy-rockchip-rk3588_1.0.6_arm64.deb sudo dpkg -i ./linux-image-legacy-rockchip-rk3588_1.0.6_arm64.deb I then also did the following as it was mentioned. I haven't tested before-after so not sure if its actually neccessary, PAN_MESA_DEBUG=gofaster export PAN_MESA_DEBUG=gofaster glmark2 Score: 1244 UPDATE: I just redid the benchmark test but this time with that governor set to 'performance' and got even higher score! Also I used the wayland version of the benchmark app not sure if that makes much difference as I think the rendering is done off screen anyway. su - echo performance > /sys/devices/platform/fb000000.gpu/devfreq/fb000000.gpu/governor echo performance > /sys/devices/platform/dmc/devfreq/dmc/governor glmark2-es2-wayland glmark2 Score: 1730 I can't notice any big difference in Dolphin fps so maybe the governor thing mostly helps with the benchmark? And warning that the governor settings will set your opi to run these constantly at full throttle so it'll get hotter and draw more power. You can easily reverse this when you don't want them any longer. It would be amazing if someone was able to try out the official Panfrost driver with that new 'pancsf' thinghy. As they mention, "Glmark2 improves from ~500 to ~1700 with performance governor." (though I have no idea what hardware that is, I think it might be some rk3588 though)
  24. Cool thanks I think Iv'e missed that message from ChrisBread so will definitely see if that kernel patch works with the current Armbian images. Or if I can find a setup that works. I'm not so so sharp with kernel hacking patching but I can probably figure it out. UPDATE: Just found this on the panfork issues page relating to the same kernel patch, https://gitlab.com/panfork/mesa/-/issues/12 I have tried the 'governor' trick as iv'e come across it in a few threads. There's a few discussions on the *cough* radxa *cough* Rock 5 forums. For just the governor setting I saw no noticable fps increase. Maybe because once an app start doing gpu work it should request 100% effort by the gpu? Or it might be because the drivers are not efficient enough the way they work so there's already a different type of performance ceiling? UPDATE2: There's also some currently ongoing work by collabora with some 'pancsf' driver that *might* help the sitation I'm not 100% clear but I belive it might improve gl task scheduling amongs things. Something which if I understand correctly is one of the things that are not great with the current panfork driver, even according to 'icecream95' himself. If someone is good with kernel hacking you might try this which seems to have an early version of that new collabora driver, NOTE though that this work is done for the main 'Panfrost' driver. (Not the rockchip panfork one) https://github.com/Googulator/linux-rk3588-midstream https://github.com/Googulator/linux-rk3588-midstream/commit/f563c09394db72ff99e18fd038c78abd46228a77
  25. Today I found this in the "panfrost" irc channel: Looks like there is some progress. However, sounds still rather experimental to me.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines