Re: [linux-sunxi] Lima with glxgears Allwinner A64
Which desktop environment do you recommend for most lightweight application? Our intention is to have X11 or wayland and we would like to display a QT application on top of it. Or do you recommend to run QT app without a display server, such as eglfs-kms? Also I shared two video and two image below the link. You can see cursor in 1.mp4. Cursor works very smoothly. And result of "screenfetch" command in 1.jpg. Everything works very smoothly. In the other video there is the cursor problem I mentioned earlier. Mouse slow. I think that Mali-400 is working properly if it is run correctly. https://drive.google.com/drive/folders/1nWZu32ZmxWX6iAa4qmzSeTdkuFM8lRuR?usp=sharing Thanks Icenowy Zheng , 24 Tem 2020 Cum, 11:22 tarihinde şunu yazdı: > 在 2020-07-23星期四的 01:49 -0700,Faruk KILAVUZ写道: > > Hello > > > > > > > > I am using Armbian_20.05.4_Lime- > > a64_focal_current_5.4.45_desktop.img.xz and I try run glxgears on > > Olinuxino-A64 with Lima. When I running glxgears I see 117 frames in > > 5.0 second = 23.313FPS. Also mouse response so slow on desktop. It is > > understood from here Olinuxino-A64 doing software render. Please > > correct me if I am wrong. I am new at this job and I have difficulty > > in fully understanding the problem. Is there a way I can get high FPS > > in glxgears using Lima? What exactly is problem here? Sorry if I ask > > silly question. Thanks. Below are some outputs for the board I use. > > What desktop environment do you use? Have you enabled composition? > > When doing composition, the graphics will go through the GPU twice, and > Mali-400 is very weak. > > > > > > > > > dmesg greg | "lima" output: > > > > > > > > [ 8.579828] lima 1c4.gpu: IRQ ppmmu2 not found > > [ 8.584705] lima 1c4.gpu: IRQ ppmmu3 not found > > [ 8.589554] lima 1c4.gpu: gp - mali400 version major 1 minor 1 > > [ 8.589626] lima 1c4.gpu: pp0 - mali400 version major 1 minor 1 > > [ 8.589670] lima 1c4.gpu: pp1 - mali400 version major 1 minor 1 > > [ 8.589694] lima 1c4.gpu: IRQ pp2 not found > > [ 8.594298] lima 1c4.gpu: IRQ pp3 not found > > [ 8.598869] lima 1c4.gpu: l2 cache 64K, 4-way, 64byte cache line, > > 64bit external bus > > [ 8.606923] lima 1c4.gpu: bus rate = 2 > > [ 8.606932] lima 1c4.gpu: mod rate = 29700 > > [ 8.607264] [drm] Initialized lima 1.0.0 20190217 for 1c4.gpu on > > minor 0 > > > > > > > > > > gpu node on sun50i-a64-olinuxoni.dts: > > > > gpu@1c4 { > > compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; > > reg = <0x1c4 0x1>; > > interrupts = <0x0 0x61 0x4 0x0 0x62 0x4 0x0 0x63 0x4 0x0 0x64 0x4 > > 0x0 0x66 0x4 0x0 0x67 0x4 0x0 0x65 0x4>; > > interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", "ppmmu1", > > "pmu"; > > clocks = <0x2 0x35 0x2 0x72>; > > clock-names = "bus", "core"; > > resets = <0x2 0x1f>; > > phandle = <0x83>; > > }; > > > > > > glxinfo: > > > > name of display: :0 > > display: :0 screen: 0 > > direct rendering: Yes > > server glx vendor string: SGI > > server glx version string: 1.4 > > server glx extensions: > > GLX_ARB_context_flush_control, GLX_ARB_create_context, > > GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, > > GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, > > GLX_ARB_multisample, > > GLX_EXT_create_context_es2_profile, > > GLX_EXT_create_context_es_profile, > > GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, > > GLX_EXT_import_context, GLX_EXT_libglvnd, > > GLX_EXT_no_config_context, > > GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, > > GLX_EXT_visual_rating, > > GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, > > GLX_SGIS_multisample, > > GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, > > GLX_SGI_make_current_read > > client glx vendor string: Mesa Project and SGI > > client glx version string: 1.4 > > client glx extensions: > > GLX_ARB_context_flush_control, GLX_ARB_create_context, > > GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, > > GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, > > GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, > > GLX_ARB_multisample, > > GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, > > GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, > > GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, > > GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, > > GLX_EXT_visual_rating, > > GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, > > GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, > > GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, > > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, > > GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, > > GLX_SGI_swap_control, GLX_SGI_video_sync > > GLX version: 1.4 > > GLX extensions: > > GLX_ARB_create_context, GLX_ARB_create_context_no_error, > > GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, > > GLX_ARB_framebuffer_sRGB,
Re: [linux-sunxi] Lima with glxgears Allwinner A64
On Sun, Jul 26, 2020 at 11:05 PM Faruk KILAVUZ wrote: > > I upgraded to 20.0.2-devel. Don't drop mailing list from CC. Updating to 20.0.2 won't help, we don't backport any lima patches into stable branches since we don't have enough man power. All development is going on git master. 20.0 is way to old. You need at least 20.1 or better git master (it has some optimizations for PP compiler) > > Vasily Khoruzhick , 24 Tem 2020 Cum, 22:05 tarihinde şunu > yazdı: >> >> On Thu, Jul 23, 2020 at 4:34 AM Faruk KILAVUZ >> wrote: >> >> Hi >> >> > OpenGL version string: 2.1 Mesa 20.0.8 >> >> Mesa 20.0 is way too old for lima and doesn't have important fixes and >> optimizations. Update to at least 20.1 or better use mesa from git >> master. >> >> Contact your distro maintainers for instructions on how to update mesa. >> >> Regards, >> Vasily -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CA%2BE%3DqVdJ%3Ddd0OTnSumyt_ByDG_i8F-jZDraQpbbWCLC6xh_18w%40mail.gmail.com.
Re: [linux-sunxi] Lima with glxgears Allwinner A64
On Fri, Jul 24, 2020 at 1:22 AM Icenowy Zheng wrote: > What desktop environment do you use? Have you enabled composition? > > When doing composition, the graphics will go through the GPU twice, and > Mali-400 is very weak. Actually glamor is smoother when compositing is enabled since for non-compositing case it hit a fallback that uses CPU to copying data to root window. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CA%2BE%3DqVfbkOex78_E7GoNyhb2hdHi6-GqaKHRvu6irapYcoAD%3Dg%40mail.gmail.com.
Re: [linux-sunxi] Lima with glxgears Allwinner A64
On Thu, Jul 23, 2020 at 4:34 AM Faruk KILAVUZ wrote: Hi > OpenGL version string: 2.1 Mesa 20.0.8 Mesa 20.0 is way too old for lima and doesn't have important fixes and optimizations. Update to at least 20.1 or better use mesa from git master. Contact your distro maintainers for instructions on how to update mesa. Regards, Vasily -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CA%2BE%3DqVdM7Mwo9kinQmxbQ2MWghRsAJZvAkm6S96eeRSu%2BYVA7w%40mail.gmail.com.
Re: [linux-sunxi] Lima with glxgears Allwinner A64
在 2020-07-23星期四的 01:49 -0700,Faruk KILAVUZ写道: > Hello > > > > I am using Armbian_20.05.4_Lime- > a64_focal_current_5.4.45_desktop.img.xz and I try run glxgears on > Olinuxino-A64 with Lima. When I running glxgears I see 117 frames in > 5.0 second = 23.313FPS. Also mouse response so slow on desktop. It is > understood from here Olinuxino-A64 doing software render. Please > correct me if I am wrong. I am new at this job and I have difficulty > in fully understanding the problem. Is there a way I can get high FPS > in glxgears using Lima? What exactly is problem here? Sorry if I ask > silly question. Thanks. Below are some outputs for the board I use. What desktop environment do you use? Have you enabled composition? When doing composition, the graphics will go through the GPU twice, and Mali-400 is very weak. > > > > dmesg greg | "lima" output: > > > > [ 8.579828] lima 1c4.gpu: IRQ ppmmu2 not found > [ 8.584705] lima 1c4.gpu: IRQ ppmmu3 not found > [ 8.589554] lima 1c4.gpu: gp - mali400 version major 1 minor 1 > [ 8.589626] lima 1c4.gpu: pp0 - mali400 version major 1 minor 1 > [ 8.589670] lima 1c4.gpu: pp1 - mali400 version major 1 minor 1 > [ 8.589694] lima 1c4.gpu: IRQ pp2 not found > [ 8.594298] lima 1c4.gpu: IRQ pp3 not found > [ 8.598869] lima 1c4.gpu: l2 cache 64K, 4-way, 64byte cache line, > 64bit external bus > [ 8.606923] lima 1c4.gpu: bus rate = 2 > [ 8.606932] lima 1c4.gpu: mod rate = 29700 > [ 8.607264] [drm] Initialized lima 1.0.0 20190217 for 1c4.gpu on > minor 0 > > > > > gpu node on sun50i-a64-olinuxoni.dts: > > gpu@1c4 { > compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; > reg = <0x1c4 0x1>; > interrupts = <0x0 0x61 0x4 0x0 0x62 0x4 0x0 0x63 0x4 0x0 0x64 0x4 > 0x0 0x66 0x4 0x0 0x67 0x4 0x0 0x65 0x4>; > interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", "ppmmu1", > "pmu"; > clocks = <0x2 0x35 0x2 0x72>; > clock-names = "bus", "core"; > resets = <0x2 0x1f>; > phandle = <0x83>; > }; > > > glxinfo: > > name of display: :0 > display: :0 screen: 0 > direct rendering: Yes > server glx vendor string: SGI > server glx version string: 1.4 > server glx extensions: > GLX_ARB_context_flush_control, GLX_ARB_create_context, > GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, > GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, > GLX_ARB_multisample, > GLX_EXT_create_context_es2_profile, > GLX_EXT_create_context_es_profile, > GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, > GLX_EXT_import_context, GLX_EXT_libglvnd, > GLX_EXT_no_config_context, > GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, > GLX_EXT_visual_rating, > GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, > GLX_SGIS_multisample, > GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, > GLX_SGI_make_current_read > client glx vendor string: Mesa Project and SGI > client glx version string: 1.4 > client glx extensions: > GLX_ARB_context_flush_control, GLX_ARB_create_context, > GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, > GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, > GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, > GLX_ARB_multisample, > GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, > GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, > GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, > GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, > GLX_EXT_visual_rating, > GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, > GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, > GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, > GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, > GLX_SGI_swap_control, GLX_SGI_video_sync > GLX version: 1.4 > GLX extensions: > GLX_ARB_create_context, GLX_ARB_create_context_no_error, > GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, > GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, > GLX_ARB_multisample, > GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, > GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, > GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, > GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, > GLX_EXT_visual_rating, > GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, > GLX_MESA_swap_control, > GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, > GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, > GLX_SGI_make_current_read, GLX_SGI_video_sync > Extended renderer info (GLX_MESA_query_renderer): > Vendor: lima (0x13b5) > Device: Mali400 (0x) > Version: 20.0.8 > Accelerated: yes > Video memory: 0MB > Unified memory: yes > Preferred profile: compat (0x2) > Max core profile version: 0.0 > Max compat profile version: 2.1 > Max GLES1 profile version: 1.1 > Max
Re: [linux-sunxi] Lima with glxgears Allwinner A64
> If I'm not mistaken is the Mali400 an OpenGL ES 2.0 GPU without > support for regular OpenGL. Glxgears, however, is an OpenGL tool. So > regardless of if the Lima driver is working or not, you'll never see > a performance boost in Glxgears. Same for most Desktop Enviroments > which are (when packaged by the distro's) by default compiled with > only OpenGL support. Regarding you mouse cursor; I'm not sure if Lima > contains any sort of 2D acceleration. The sunxi-mali drivers for > mainline didn't. This does look like there is at least some compatibility support with OpenGL 2.1 in Mesa: >> Max core profile version: 0.0 >> Max compat profile version: 2.1 >> Max GLES1 profile version: 1.1 >> Max GLES[23] profile version: 2.0 >> OpenGL version string: 2.1 Mesa 20.0.8 OpenGL shading language >> version string: 1.20 I would expect that Mesa does some work behind the scenes to emulate OpenGL 2.1 compat profile on top of the available accelerated profile (ES3). But that emulation may not be very good. FWIW, glxgears is a terrible benchmark and not really suited for modern GPUs, because it relies on the fixed-functionality pipeline of OpenGL 1.1. This needs some sort of emulation on nearly *every* modern GPU - and that emulation may or may not be good. > You can however try the 'es2gears' demo from mesa/demos That sounds like a good starting point. There is also https://github.com/glmark2/glmark2 which specifically targets OpenGL 2 and ES2. Try both, maybe? -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/78bb2c12-4aad-673b-b17a-c687ae8306f8%40gmail.com.
Re: [linux-sunxi] Lima with glxgears Allwinner A64
On 2020-07-23 10:49, Faruk KILAVUZ wrote: Hello I am using Armbian_20.05.4_Lime-a64_focal_current_5.4.45_desktop.img.xz and I try run glxgears on Olinuxino-A64 with Lima. When I running glxgears I see 117 frames in 5.0 second = 23.313FPS. Also mouse response so slow on desktop. It is understood from here Olinuxino-A64 doing software render. Please correct me if I am wrong. I am new at this job and I have difficulty in fully understanding the problem. Is there a way I can get high FPS in glxgears using Lima? What exactly is problem here? Sorry if I ask silly question. Thanks. Below are some outputs for the board I use. dmesg greg | "lima" output: __ [ 8.579828] lima 1c4.gpu: IRQ ppmmu2 not found [ 8.584705] lima 1c4.gpu: IRQ ppmmu3 not found [ 8.589554] lima 1c4.gpu: gp - mali400 version major 1 minor 1 [ 8.589626] lima 1c4.gpu: pp0 - mali400 version major 1 minor 1 [ 8.589670] lima 1c4.gpu: pp1 - mali400 version major 1 minor 1 [ 8.589694] lima 1c4.gpu: IRQ pp2 not found [ 8.594298] lima 1c4.gpu: IRQ pp3 not found [ 8.598869] lima 1c4.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus [ 8.606923] lima 1c4.gpu: bus rate = 2 [ 8.606932] lima 1c4.gpu: mod rate = 29700 [ 8.607264] [drm] Initialized lima 1.0.0 20190217 for 1c4.gpu on minor 0 gpu node on sun50i-a64-olinuxoni.dts: gpu@1c4 { compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; reg = <0x1c4 0x1>; interrupts = <0x0 0x61 0x4 0x0 0x62 0x4 0x0 0x63 0x4 0x0 0x64 0x4 0x0 0x66 0x4 0x0 0x67 0x4 0x0 0x65 0x4>; interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", "ppmmu1", "pmu"; clocks = <0x2 0x35 0x2 0x72>; clock-names = "bus", "core"; resets = <0x2 0x1f>; phandle = <0x83>; }; glxinfo: name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GLX_ARB_context_flush_control, GLX_ARB_create_context, GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_no_config_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_context_flush_control, GLX_ARB_create_context, GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync GLX version: 1.4 GLX extensions: GLX_ARB_create_context, GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, GLX_SGI_video_sync Extended renderer info (GLX_MESA_query_renderer): Vendor: lima (0x13b5) Device: Mali400 (0x) Version: 20.0.8 Accelerated: yes Video memory: 0MB Unified memory: yes Preferred profile: compat (0x2) Max core profile version: 0.0 Max compat profile version: 2.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 2.0 OpenGL vendor string: lima OpenGL renderer string: Mali400 OpenGL version string: 2.1 Mesa 20.0.8 OpenGL shading language version string: 1.20 OpenGL extensions: GL_AMD_shader_trinary_minmax, GL_APPLE_packed_pixels, GL_ARB_ES2_compatibility, GL_ARB_clear_buffer_object, GL_ARB_compressed_texture_pixel_storage, GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_texture, GL_ARB_draw_buffers,