fredrum Posted April 4 Share Posted April 4 (edited) 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! Edited April 4 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 4 Author Share Posted April 4 5 часов назад, fredrum сказал: 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? 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. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 5 Author Share Posted April 5 Ver 20230405-edge kernel 6.3 work SD USB NVMe LAN 0 Quote Link to comment Share on other sites More sharing options...
Jean-Philippe Posted April 13 Share Posted April 13 Thank you for your hard work. Could you add support for btrfs in your images? 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 17 Author Share Posted April 17 14.04.2023 в 00:53, Jean-Philippe сказал: Could you add support for btrfs in your images? Ver 20230417-current - add btrfs 0 Quote Link to comment Share on other sites More sharing options...
threz_ Posted April 19 Share Posted April 19 I'm unable to get video out via USB-C with the current image (lunar gnome). Are there any fixes for that? 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 20 Author Share Posted April 20 13 часов назад, threz_ сказал: 'm unable to get video out via USB-C with the current image (lunar gnome). 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 20 Author Share Posted April 20 ver 20230420 mesa 23.2.0-devel for pancsf fot kernel 6.2 https://disk.yandex.ru/d/FUqgx3Zz9ZSckw 0 Quote Link to comment Share on other sites More sharing options...
threz_ Posted April 20 Share Posted April 20 I understand the Mesa drivers are development and there may be bugs. To be clear, I'm not getting any video out on USB-C at all. Even during the boot sequence, before the mesa drivers are loaded. I get output for other Armbian images, just not the one I've tested above. Would that still be due to mesa? 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 21 Author Share Posted April 21 22 часа назад, threz_ сказал: I'm not getting any video out on USB-C at all. Even during the boot sequence, before the mesa drivers are loaded. I get output for other Armbian images, just not the one I've tested above. I don't have such testing equipment. I have no idea what's wrong with him. Ver 20230421-current - update pancsf. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 21 Author Share Posted April 21 Test version 20230421-EDK2-EFI with support for system startup control on a monitor screen with a keyboard, as on a regular PC. Please note, this is a test version and bugs are possible. The process of starting the system before the image appears on the screen may take 10-30 seconds (depends on the speed of the SD card). 0 Quote Link to comment Share on other sites More sharing options...
hste Posted April 21 Share Posted April 21 Thanks Is the edk2-efi version using the 0.6 version from here? https://github.com/edk2-porting/edk2-rk35xx/releases hste 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 22 Author Share Posted April 22 20.04.2023 в 18:11, threz_ сказал: not getting any video out on USB-C Try replacing DTB with this option. https://disk.yandex.ru/d/D5Xnjz_ciB_nvQ 15 часов назад, hste сказал: Is the edk2-efi version using the 0.6 version from here? no 0 Quote Link to comment Share on other sites More sharing options...
waltercool Posted April 24 Share Posted April 24 Hi, Any way to share the source code containing the dts and changes applied into kernel 6.2? Many thanks for your efforts! 0 Quote Link to comment Share on other sites More sharing options...
TheFlash Posted April 24 Share Posted April 24 Are those the official images wrapped up with kernel 6.2? 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 25 Author Share Posted April 25 15 часов назад, waltercool сказал: Any way to share the source code containing the dts and changes applied into kernel 6.2? All the sources from which these images are assembled (including the kernel) are freely available in my git. 11 часов назад, TheFlash сказал: Are those the official images wrapped up with kernel 6.2? The images from this topic are not related to the current official build system (the new official build system is broken). 0 Quote Link to comment Share on other sites More sharing options...
TheFlash Posted April 25 Share Posted April 25 Ok, so there are unofficial armbian builds with kernel 6.2. Sorry, i`am an early linux user and OPi5 is my first SBC. I have some docker containers on an NVME. Can i install one of your images on microsd without messing with the current bootloader. Will they work with the current bootloader?. Thanky You for your hard work! 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 25 Author Share Posted April 25 21 минуту назад, TheFlash сказал: Will they work with the current bootloader?. Try. Starting from an SD card does not affect the installed system (if you yourself do not manually run special procedures for installing\replacing the system on NVMe\MTD). If you are lucky and your current u-boot is able to work with normal systems, the system will work from an SD card. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 26 Author Share Posted April 26 ver 20230426-EDK2-EFI-edge kernel 6.3 (HDMI not work) 1 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 28 Author Share Posted April 28 ver 20230427-EDK2-EFI-current kernel 6.2 ( work HDMI USB LAN etc ) 2 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 30 Author Share Posted April 30 21.04.2023 в 17:36, balbes150 сказал: Test version 20230421-EDK2-EFI add image XFCE and Gnome3 kernel 5.10.110 0 Quote Link to comment Share on other sites More sharing options...
mrbishi Posted May 20 Share Posted May 20 Thanks for the test builds balbes150, currently testing 'Armbian_23.04_Orangepi5_lunar_current_6.2.0_gnome_desktop' build, is there a way to enable/install the mali-g610-firmware & rockchip-multimedia-config packages on Lunar to enable 3D acceleration? (Could only find the repo for Jammy). Thanks. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted May 26 Author Share Posted May 26 20.05.2023 в 15:25, mrbishi сказал: on Lunar to enable 3D acceleration? 20.05.2023 в 15:25, mrbishi сказал: Armbian_23.04_Orangepi5_lunar_current_6.2.0_gnome_desktop Ver 20230526-edge kernel 6.4-rc3 (HDMI not works). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.