UniformBuffer

Members
  • Content Count

    49
  • Joined

  • Last visited

About UniformBuffer

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the info, like i said i'm not very skilled with kernel things, but thanks to your guide i was able to change cma allocation from 256M to 512M. I have also tried to set 1GB with 0x40000000, that should be aligned with 0x400000, but after setting it i got no monitor output (from leds pattern i can say it was working, sysreq magic keys also worked, so the kernel was on). Anyway, that's not foundamental, i have also tried to set the cma with the same value of the patch you linked (0x38000000) and it worked, making the cma 896MB. I have tested some h264 and vp9 vide
  2. Thanks for the answer, this explain why the using hardware decoding stutter so much. Unfortunately i'm not so skilled to recompile the kernel, i'm scared to make device unbootable (that happened a lot of time). Also i don't have a an x86 machine to use Armbian tools. Since, like you said, increasing so much the cma make the board useless for any other purpose, i will wait for some improvements. Thanks anyway for the answer! PS: I would like to ask a question for my personal curiosity: do you know if exist a board that have hardware decoding enabled on mainline kernel? As far as i k
  3. Hi, i'm making some test to make meson_vdec working. Currently i got v4l2m2m hardware decoding on both xorg and wayland, but the video stutter a lot. While playing i have noticed that on dmesg i got some errors like: From what i have read, it has something to do with cma and looking at "cat /proc/meminfo" i got: If you notice, i got only 2 mb of free cma memory, so i can suppose that the reason of bad playback performance COULD be not having enough memory, so i would like to ask, again, if someone know a way to change the cma size. Like i said in the previous pos
  4. Hi, i'm interested in this topic, but since i use wayland i would like to get it working on mpv (for example). I got vaainfo detecting the library, but when launched using mpv i got green screen and a lot of "failed to destoy surface". I also have noticed that after a some try, i got an error about failed resource allocation (i imagine because it does not free correctly buffers). Someone have managed to get mpv working? For the context, i'm not using Armbian device, but a Pinephone with PostmarketOS (it's the only Allwinner device i have), but i think a lot of people could benefit fr
  5. Hi, i have plugged a monitor with a different resolution (1920x1080) and i have noticed that i don't get hardware acceleration anymore. To get the hardware acceleration i have to run the mpv at 1280x720 resolution. If i use "mpv --hwdec=yes --ytdl-format="bestvideo[height<=?720][fps<=?60][vcodec=?vp9]+bestaudio/best" *youtube video*" to force resolution to 1280x720, i get hw acceleration again. Running "v4l2-ctl --all" i got: As you can see it reports support for vp9 1280x720, so maybe you (and now also me ) don't get hardware acceleration because your m
  6. My original image is Debian Buster, then i have added Debian Sid repository. I don't know if this could be the root of the problem, in general Ubuntu should be, as far as i know, a more updated version of Debian, but i could be wrong. Obviously there are much more differences, but i don't think some of them could make this problem. I think that a more robust reason could be packages versions, Debian Sid provide a much more cutting edge (tecnically experimental) than standard Ubuntu.
  7. Hi, i confirm that for me hardware acceleration works. I use AML-S905X-CC board on kernel 5.8.5 (updated today). Maybe a difference with my configuration is that i do not use Xorg, i use Wayland desktop environments. There are many out there and some can be even installed from apt, like Gnome,Sway and Phosh. I personally use Wayfire that i have compiled myself. Another difference (maybe) is that i have added Debian Sid to my repository list, so i got very cutting edge mesa drivers. I currently have mesa 20.1.6. When running "mpv --hwdec=yes *a youtube video*" i got
  8. I personally don't use ppa repositories, so i don't know what version they are providing. You can check what is your by simply running glxinfo | grep "OpenGL version" Mine gives "OpenGL version string: 2.1 Mesa 20.1.5" My drivers are a bit updated than standard because i set Debian Sid as additional repository, so i get very cutting edge updates. Also, just to be sure, do you have "meson_vdec" module enabled? It is the kernel module that enable the hardware decoding. By default meson_vdec should be enabled, but who knows? To check you can run "lsmod" and search amo
  9. That's strange, what is your mesa version? Mine is 20.1.5 currently. Also my kernel is the 5.7.15 that currently use Armbian by default.
  10. Hi, i don't got any particular mpv conf, i have only added "ytdl-format=bestvideo[height<=?720][fps<=?60][vcodec!=?vp9]+bestaudio/best" to get video from youtube directly with the resolution of my monitor, nothing more. Your question make me some tests: unfortunatly i don't get hardware acceleration from youtube videos (maybe i have to change something), but i'm sure to got it from local video. Running a vp9 video of my self recorded desktop i got from "mpv --hwdec=yes ./myvid.mkv": ``` (+) Video --vid=1 (*) (vp9 1280x800) [vaapi] libva: vaGetDriverNameByIndex() failed with
  11. Hi, i use a AML-S905X-CC board and since the last kernel update, something start moving on the hardware acceleration side, i got mpv hwdec working. I would like to make some tests and start using kodi for media reproduction, but i'm scared that 256M of default cma memory is not enough. I have tried to set the cma memory size from kernel parameters using armbian-config. I have tried to add "cma=350M" and "extraargs=cma=350M" to boot environment. Both commands does not work. The strange thing is that i'm sure "extraargs=cma=350M" pass the command to the kernel parameters
  12. Thanks for the hint, i will give it a try. I have never gone deep about kernel related topics because i'm scared to wreck everything .
  13. Hi, i would like to try running some Android app on Armbian. I see that Anbox is available on the repository, but i cannot get running. When starting i got Failed to start as either binder or ashmem kernel drivers are not loaded Obviously i'm not asking support for Anbox, i would like to know how to enable binder and ashmem kernel modules. When i try to modprobe them i got: modprobe: FATAL: Module binder not found in directory /lib/modules/5.6.15-meson64 modprobe: FATAL: Module ashmem not found in directory /lib/modules/5.6.15-meson64 O
  14. Hi, i'm using a Raspad tablet-like device with a aml-s905x-cc inside and i'm experimenting some mobile interface that i can use with the touchscreen, but also with mouse and keyboard. I'm simply curious about convergence desktop designs and mobile desktop environments. The obvious choice would be GNOME, but it is very heavy, both on memory and cpu usage and my board with only 2GB of ram cannot handle it if combined with other heavy programs. I knew that Librem was developing a desktop environment for their Librem 5 linux phone. Since they focus on opensource software i thought if i can in
  15. The @ning solution worked for me (kernel 5.6.15). The exact fields to change are: AIU_HDMI to I2S and AIU_SPDI to SPDIF. I don't know the exact meaning of that settings, but worked for me.