0
hanguofu

How to apply amlogic firmware ?

Recommended Posts

just install the firmware package, amlogic vdec firmware will be used automatically.

Share this post


Link to post
Share on other sites

After the firmware installed , I tried mpv with option "vo=gpu gpu-context=drm hwdec=auto" , but it failed to start

 

 

[cplayer] v: Waiting for scripts...
[ytdl_hook] v: script-opts/ytdl_hook.conf not found. 
[ytdl_hook] v: lua-settings/ytdl_hook.conf not found. 
[stats] v: script-opts/stats.conf not found. 
[stats] v: lua-settings/stats.conf not found. 
[cplayer] v: Done loading scripts.
event: start-file
[cplayer] info: Playing: http://www.justfortest.com/videoclip.mp4
[cplayer] v: Running hook: ytdl_hook/on_load
[ytdl_hook] v: ytdl:// hook 
[ytdl_hook] v: not a ytdl:// url 
[stream_callback] v: Opening http://www.justfortest.com/videoclip.mp4
[demux] v: Trying demuxers for level=normal.
[lavf] v: Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[ffmpeg/demuxer] v: mov,mp4,m4a,3gp,3g2,mj2: Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[demux] v: Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] v: Opening done: http://www.justfortest.com/videoclip.mp4
event: tracks-changed
event: tracks-changed
[cplayer] v: Running hook: ytdl_hook/on_preloaded
[lavf] v: select track 0
[lavf] v: select track 1
[cplayer] info:  (+) Video --vid=1 (*) (h264 800x480 25.000fps)
[cplayer] info:  (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
event: metadata-update
[vo/gpu/opengl] v: Initializing GPU context 'drm'
[vo/gpu] error: VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] warn: Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/opengl] v: Initializing KMS
[vo/gpu/opengl/kms] v: Connector 32 currently connected to encoder 31
[vo/gpu/opengl/kms] v: Selected Encoder 31 with CRTC 40
[vo/gpu/opengl] v: DRM Atomic support found
[vo/gpu/opengl/kms] v: Using default plane 34 for OSD
[vo/gpu/opengl/kms] v: Using default plane 37 for video
[vo/gpu] v: GBM_FORMAT_ARGB8888 supported by OSD plane.
[vo/gpu] v: Creating GBM device
[vo/gpu] v: Initializing GBM surface (1920 x 1080)
[vo/gpu/opengl] v: Initializing EGL
[vo/gpu/opengl] v: EGL_VERSION=1.4
[vo/gpu/opengl] v: EGL_VENDOR=Mesa Project
[vo/gpu/opengl] v: EGL_CLIENT_APIS=OpenGL OpenGL_ES 
[vo/gpu/opengl] v: Trying to create Desktop OpenGL context.
[vo/gpu/opengl] v: Attempting to find EGLConfig matching GBM_FORMAT_ARGB8888
[vo/gpu/opengl] v: Found matching EGLConfig for GBM_FORMAT_ARGB8888
[vo/gpu/opengl] v: Initializing EGL surface
[vo/gpu] v: GL_VERSION='2.1 Mesa 19.2.1'
[vo/gpu] v: Detected desktop OpenGL 2.1.
[vo/gpu] v: GL_VENDOR='lima'
[vo/gpu] v: GL_RENDERER='Mali450'
[vo/gpu] v: GL_SHADING_LANGUAGE_VERSION='1.20'
[vo/gpu] v: Loaded extension GL_ARB_map_buffer_range.
[vo/gpu] v: Loaded extension GL_ARB_vertex_array_object.
[vo/gpu] v: Loaded extension GL_ARB_sync.
[vo/gpu] v: Loaded extension GL_ARB_get_program_binary.
[vo/gpu] v: Loaded extension GL_ARB_debug_output.
[vo/gpu/opengl] v: Preparing framebuffer
[vo/gpu] error: Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] error: Failed to set CRTC for connector 32: Permission denied
[vo/gpu] error: Failed initializing any suitable GPU context!
[cplayer] fatal: Error opening/initializing the selected video_out (--vo) device.
event: track-switched
event: audio-reconfig
[lavf] v: deselect track 0
[cplayer] info: Video: no video
[ad] v: Codec list:
[ad] v:     aac - AAC (Advanced Audio Coding)
[ad] v:     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] v: Opening decoder aac
[ad] v: Requesting 1 threads for decoding.
[ad] v: Selected codec: aac (AAC (Advanced Audio Coding))
[af] v: User filter list:
[af] v:   (empty)
event: audio-reconfig
event: file-loaded
[cplayer] v: Starting playback...
[cplayer] v: EOF code: 6  
event: audio-reconfig
[ad] v: Uninit decoder.
event: tracks-changed
event: end-file
event: idle

 

===============================================================================================================

Do you have any idea on it ?

 

Regards !

 

Guofu Han

Share this post


Link to post
Share on other sites

gpu-context=drm that means you are not in a X or Wayland environment.

 

once again, make sure you have updated lima driver from upstream mesa.

Share this post


Link to post
Share on other sites

Thanks for the tip. I tried to build the latest mesa 20.0.2 on my armbian Eoan with Linux 5.5.0-rc6-aml-s9xxx  but failed . After the installation , the keyboard and mouse are very sluggish . Could you please tell me how to build it on armbian ?

 

Regards !

 

Share this post


Link to post
Share on other sites

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...
0