Other OS

Fedora 23 Installed Successfully, how to enable hw acceleration

2 1444
Edited by cprogrammer at Mar 15, 2016 08:55

I have successfully installed Fedora 23 on Bananapi. Used https://fedoraproject.org/wiki/Architectures/ARM/F23/Installation

After installation, the first thing to do is sudo dnf -y update immediately after the initial graphical setup. Else the gdm keeps on crashing.

However, the performance is pathetic. gnome-shell consumes 40% cpu. It looks like there is no hw acceleration.

I do have kernel 3.4.103+ which has the mali and other associated drivers.
Where do I download the latest lemaker kernel source tree so that I can compile the kernel myself?

Have got good success in improving the response time.
1. Replaced workstation image with lxde image. Also tried xfce image which too is faster than the workstation image
2. Used self compiled kernel 3.4.103 for audio
3. Will install fbturbo and vdpau for hw accel - TODO
4. Compile mpv with hw acceleration - TODO
5. Install kodi - TODO

SUCCESS

compiled the kernel, vdpau driver, fbturbo, libdri2, libump and mplayer. xorg and Mplayer now works with hw acceleration.

mplayer test.720p.mp4
Warning unknown option fullscreen at line 4
MPlayer 1.3.0-5.3.1 (C) 2000-2016 MPlayer Team

Playing test.720p.mp4.
Cache fill:  0.00% (0 bytes)

libavformat version 57.25.100 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb2cf28]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
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang hin
VIDEO:  [H264]  1280x544  24bpp  23.976 fps  886.6 kbps (108.2 kbyte/s)
[VDPAU SUNXI] VE version 0x0000 opened
[VDPAU SUNXI] OSD disabled!
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.24.102 (internal)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Clip info:
major_brand: isom
minor_version: 1
compatible_brands: isom
creation_time: 2013-08-03 09:07:22
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 80.0 kbit/2.83% (ratio: 9999->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x544 => 1280x544 H.264 VDPAU acceleration
[h264 @ 0xc574c8]Hardware accelerated decoding with frame threading is known to be unstable and its use is discouraged.
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x544 => 1280x544 H.264 VDPAU acceleration

You have to log in before you can reply Login | Sign Up

Points Rules