Jump to content

Recommended Posts

Posted
Armbianmonitor:

Hello


I downloaded Armbian for a CuBox i4P from https://redirect.armbian.com/region/EU/cubox-i/Bionic_current_desktop.

 

uname -a reports: 

Linux cubox-i 5.10.12-imx6 #21.02.1 SMP Wed Feb 3 21:02:35 CET 2021 armv7l armv7l armv7l GNU/Linux


However this image is working really fine, for a 7yo hardware. Thank you, Developers :) 2D software rendering is fast, Desktop windows are transparent. Great work!

I tried Armbian Focal desktop mainline first, but it didnt show the desktop never again after first reboot, so i was happy with Bionic!

 

Found similar problem here 

and i think i just need the correct xorg driver. Thanks for any hints, maybe the solid-run repo can help?

 

I would love to use RetroArch there or play Videos with mpv, i would die for hardware support 

 (+) Video --vid=1 (*) (h264 1280x720 49.866fps)
 (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
libEGL warning: DRI2: failed to authenticate
[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] Suspected software renderer or indirect context.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vo/sdl] Using opengl
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vaapi] libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
AO: [pulse] 44100Hz stereo 2ch float
VO: [sdl] 1280x720 yuv420p
AV: 00:00:00 / 01:29:07 (0%) A-V:  0.031 Dropped: 1

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:01 / 01:29:07 (0%) A-V:  5.800 Dropped: 82

 

In /var/log/Xorg.0.log I read:

[  2510.968] (II) AIGLX: Screen 0 is not DRI2 capable
[  2510.968] (EE) AIGLX: reverting to software rendering
[  2511.333] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[  2511.340] (II) IGLX: Loaded and initialized swrast
[  2511.340] (II) GLX: Initialized DRISWRAST GL provider for screen 0

 

LIBGL_DEBUG=verbose glxgears  -info says:

libGL: screen 0 does not appear to be DRI2 capable
libGL: MESA-LOADER: dlopen(/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/nimda/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/nimda/.drirc: No such file or directory.
GL_RENDERER   = llvmpipe (LLVM 10.0.0, 128 bits)
GL_VERSION    = 3.1 Mesa 20.0.8
GL_VENDOR     = VMware, Inc.
GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_viewport_array GL_EXT_direct_state_access GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_texture_sRGB_R8 GL_EXT_EGL_sync
VisualID 471, 0x1d7
135 frames in 5.0 seconds = 26.971 FPS
188 frames in 5.0 seconds = 37.301 FPS
188 frames in 5.0 seconds = 37.476 FPS
213 frames in 5.0 seconds = 42.545 FPS
206 frames in 5.0 seconds = 41.120 FPS
209 frames in 5.0 seconds = 41.777 FPS
211 frames in 5.0 seconds = 41.999 FPS
212 frames in 5.0 seconds = 42.257 FPS
211 frames in 5.0 seconds = 42.183 FPS

 

 

dmesg shows kernel support:

[    9.153996] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops [imxdrm])
[    9.154250] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops [imxdrm])
[    9.154457] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops [imxdrm])
[    9.154652] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops [imxdrm])
[    9.156540] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops [dw_hdmi_imx])
[    9.163648] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[    9.491734] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[    9.586462] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv])
[    9.606796] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv])
[    9.612502] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops [etnaviv])
[    9.612523] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    9.617660] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    9.617784] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    9.617796] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    9.655944] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 1

 

Posted

This is about i.MX6 SOC and the device it is equipped on does not matter. Since not many Armbian i.MX6 SOC users, even you  till now not, contribute much to the Armbiban project, you can imagine why few improvements happen.

The same responses from "No gpu support on Udoo?" apply here, so I'll leave it to a moderator to possibly close this topic as a dublicate. To begin with, you can provide a PR to add the pointed out xorg driver to the Armbian build system.

Posted

Hey usual user, thank you for your fast reply. 

 

I was so happy thats there is some current software for my old hardware available. If i can help, i can try to. I m not a dev, just a admin.

 

i tried to compile the code of xserver-xorg-video-imx-viv_6.2.2.p0+1.tar.xz, but i failed at missing depencies out of default ubuntu sources yet.
 

What do you mean with PR?

 

Regards,

Posted
3 hours ago, nocrash said:

I was so happy thats there is some current software for my old hardware available.

i.MX6 support is feature complete since long time in mainline, I'm running fully flagged fedora on my i.MX6 devices for years. Not running current releases will missing bugfixes and latest features.

 

3 hours ago, nocrash said:

I m not a dev, just a admin.

No i.MX6 development is required, only an administrator who knows how to integrate software in his system. So you are fully qualified.

 

3 hours ago, nocrash said:

i tried to compile the code of xserver-xorg-video-imx-viv_6.2.2.p0+1.tar.xz

You want the xf86-video-armada driver as referenced in the other thread.

If you want to know how it fits together, see buffer-flow.pdf

 

3 hours ago, nocrash said:

What do you mean with PR?

Armbian manages their build system with git. So you issue a pull request (PR) to get your modification discussed and hopefully finaly applied.

Posted

Hi,

 I just wanted to confirm that I see the same issue on recent builds of both Focal and Buster desktops for the Cubox-i (specifically, I'm using a Hummingboard Edge). On first boot, the HDMI display comes up and prompts me to set the root password and create a new user. After doing this, the XFCE GUI comes up on the HDMI display. However, after rebooting, I see some messages from U-Boot, but then the display goes blank and stays that way. I'm not a Linux expert by any means, but I would think if this was caused by a missing driver the desktop GUI would not load at all. However, it does come up after the first boot (and only on the first boot).

 

Does anyone have any ideas of what I can do to help troubleshoot what's causing the HDMI display to remain blank after a reboot? Thanks in advance for your help, I really appreciate it.

 

Thanks,

Dale

Posted

Hi @dalekuhn, I am having the same issue after reboot of a fresh install of rk322x-box current legacy image. The X does not start after the first reboot.

 

Could you help me telling what you changed on the image?

 

Regards,

 

Charles Bauer

Posted

Hi Charles,

 I must have used the wrong image because I noticed later that fresh builds of focal were still having the same issue. However, the issue seemed to be fixed in Hirsute.

 

Thanks,

Dale

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines