• Content Count

  • 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. 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 install their desktop environment on my tablet to try it and.... yes, it is possible! And it is surprisingly easy to do. So, if someone would like also to try their desktop environment, i make a "guide" on how to install it. Like any wayland desktop environment, there is a compositor (called phoc) and a graphical shell (called phosh). On the git they state that to run phosh should run on any compositor that implement wlr-layer-shell, so maybe you could try other compositors! First clone the git of phoc with: git clone https://source.puri.sm/Librem5/phoc Change the directory on the just downloaded folder: cd phoc Then, since they provide the file needed for debian packaging, i suggest to generate the deb package and install it instead of generating the binary directly with meson. In this way you can uninstall the program simply with apt like any other program. From the control file, i can see the needed dependencies, but i suggest to get directly from the build command below. If some package is missing, the packaging tool will tell you which. Then you can simply do "sudo apt install [all the missing dependencies]" To create the debian package run: debuild -i -us -uc -b When the command finish, it should create a debian package inside the upper folder called "phoc_0.4.0_[architecture].deb" You can install it with "sudo apt install /path to the file/phoc_0.4.0_[architecture].deb" Once phoc is installed, it's time to install phosh. Go to the previous folder with: cd .. Clone the phosh git with: git clone https://source.puri.sm/Librem5/phosh Change the directory on the just downloaded folder: cd phosh Dependencies should be these, but like before, i suggest to get them directly from the build command and install them as the same way as phoc: To create the debian package run: debuild -i -us -uc -b At the end of the compilation, you should find the package inside the upper folder and like before you can install it with "sudo apt install /path to the file/phosh_0.4.0_[architecture].deb" That's it. Reboot and on you favourite login manager should appear the entry "Phosh" that can be started like any other desktop environment. During the debian packaging compilation it will generate some other packages, like the debugging symbols, but they are not needed to make phosh work. Hope someone could find this "guide" useful. Have fun!
  2. 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.
  3. Thx, opening the alsamixer device like you said and setting AIU_HDMI to I2S and AIU_SPDI to SPDIF solve the problem (even if i have no idea what these setting means ). Regarding the monitor, i have no controls over the monitor. I use a Raspad Kit and the monitor is like "integrated" into the chassis. The only settings that i can adjust are volume and brightness. Surely the problem is related to the strange monitor, no doubt about this. But i got the same problem a with previous kernel and it was fixed with a newer one. Maybe when the kernel 5.7 will become available, the problem will "self-fix". Anyway thanks a lot for the support, now i can listen music again
  4. Hi, after the installation of the new kernel version (5.6.15-meson64) on my board (Le Potato), the display have ~1cm offset on the top of the monitor and ~1cm of non-visible element on the bottom. It is basically moved down by ~1cm from the center. I have already had this problem, but it "self solved" by updating the kernel, so i have no hint to solve the problem, only that it is very likely caused by something in the kernel. For the display i use an HDMI connector. I have attached the armbianmonitor log, if some more info are needed, you have only to ask. Thanks in advance for the time and dedicated effort. Have a good day! Edit: Wow, i don't know how i missed it. It seems that also the audio through HDMI does not work. Pulseaudio report that the audio is produced, but nothing come out from the speakers. If i'm not wrong i have had also this problem in the past at the same time with the monitor problem, but this was fixed by a patch from @lanefu: https://github.com/armbian/build/pull/1805 .
  5. Yeah, if glxinfo report "lima" you are using hardware acceleration. As @ning says, there is no way that you get smooth 4K on mali 450, it is simply not enough powerful. Every gpu have an optimal resolution that the rendering is optimized for. Generally is the same of it's framebuffer resolution, if it has one (i don't know if mali450 have an hardware framebuffer). It's like a painting canvas. It have a physical size and shape and generally you cannot render at a resolution greater than you framebuffer size (or maybe you can, but with a very high performance drop because it is compensated using software). I have very good performance on my tablet like monitor, that is a 1280x800 resolution. I know it's not a desktop like monitor, but in general mali450 was designed for phones (of old generations with low resolution displays, not the ones like the modern generation that have 5K resolution on 6" display).
  6. Gdm3 need hardware acceleration to work smoothly. If it is missing... yeah, it lag a lot. check that hardware acceleration is working.
  7. I'm using debian buster and lima works well on wayland. Running glmark2-es2-wayland i got (this is only the beginning of the test, if you need the full test i can make it): Unfortunatly hardware decoding is not working yet. The mpv acceleration, from what i know, have nothing to do with lima, but with meson_vdec (for amlogic sbcs) or cedrus (for allwinner sbcs), so the problem should not be related with hardware deconding. Lima only provide 3D acceleration for applications, like games, desktop environment ecc. Can't wait to have hardware decoding available, so i can watch movies on my board
  8. oh, ok sorry, i'm not expert, i was just thinking about. I would like a lot to get hardware decoding, so i'm trying all possible ways
  9. I have had cursor flashing too. Basically the gdm3 login manager cannot display it's content correctly. If i'm not wrong it was fixed by updating the mesa driver. Mine is v20.0.6-3, but keep in mind that i have a much updated package by debian sid.
  10. What mean you can't login? It does not appear on the list of available desktop environment on the display manager you are using? If yes, probably the package miss to install the "x.desktop" file, where x is the desktop environment name, that is needed to the display manager to keep track of the available desktop environment in the system. If is that the case, you can start manually the desktop environment, at least to try if it work, then i will explain how to create and place them. You have to move on a different TTY (using ctrl+alt+*a number from 0 to 9*, login, and run the appropriate launch command: -"sway" to run sway -"weston-launch" to run weston -"gnome-session" to run gnome (i'm not very sure, it does not work for me) Like i said i have not made strange steps to run these desktop environment, i simply installed them from apt and they worked. If you give me some more information about errors and problems you get, i will help as i can
  11. From what i know, SDL can render without X if during the compilation, you specify "--enable-video-kmsdrm" in the configuration process. This will build the drm-kms backend and make possible to run application directly on tty. From a little search on the net: https://discourse.libsdl.org/t/can-we-now-use-sdl2-without-x11/23421
  12. If i'm not wrong pinephone run on a standard Pine64 board, so probably https://www.armbian.com/pine64/ will boot. Making all other components working is another story, but could be possible since their components have open source code. Anyway i'm not an expert, so wait for a more reliable opinion
  13. Goodmorning, i would like to ask if someone have ever tried to use musl libc with Armbian. From some research appear that using it instead of glibc make programs consume a lot less ram and less space on disk. I never tried personally, but i'm curious about that because it could be especially useful for single board computer with less than 2gb of ram (like mine ). Since, from what i know, programs do not statically link to glibc, but dynamically link to a generic libc at runtime, could be possible to use musl as drop in replacement for libc, without rebuild everything? From what i know there could be some incompatibilities because glibc does not fully respect the standards of libc, but i would like to know some opinions and experiences. Thanks for listening, have a good day
  14. Sure, there are no strange steps. I tried a lot of desktop environment installed simply from apt. The only thing that i have changed on my system is that i get packages from Debian Sid, transforming my system from stable updates to rolling release, so i get more updated packages compared to stable debian . You can switch adding some lines on apt edit-sources, but this will make your system unstable and unsecure (Sid is also called Debian Unstable) and the procedure will be, mostly, irreversible without breaking the apt system. If you can use your system without update to unstable, don't do it. I suggest before to test some of the following desktop environment , then if you want, i can guide you (it is not complicated, but it is IRREVERSIBLE, so you have to know what you are doing). The desktop environment that i have tested: - Weston v8.0.0-1: around 200fps, it is the wayland reference compositor, so it is the slowest. You can install directly from apt using "sudo apt install weston" -Gnome(Wayland) v1:3.30+2: around 300-350fps. You can install directly from apt using "sudo apt install gnome-core" (gnome-core is for minimal gnome installation, for full installation of gnome and applications use "gnome"). Be sure to run this on wayland since it have also xorg version. You can check using "weston-info" command. If it gives you some infos, you are on wayland. -Sway v1.4-2: around 500-600fps. You can install directly from apt using "sudo apt install sway". I have noticed that Debian Stable does not have Sway package, only Debian Sid have it. You can get a precompiled from debian packages (https://packages.debian.org/sid/sway) or from their git (https://github.com/swaywm/sway/releases/tag/1.4). Since differences on packages versions, sway could not be possible to install from debian package without upgrading to Sid, but you could try. Installing the package in this way should not mess up your system since dependancies are untouched: if dependancies are satisfied, apt will install it, otherwise not. Sway is a bit different from others. It is a tiling window manager, so windows behave differently from the others that are stacking window manager. -Wayfire v0.4.0: around 600-700fps. I have compiled and installed this from the git repository (probably that the reason for that fps count, it is much optimized for my system). It is composed by 3 programs: Window Manager(wayfire),Shell (that include panel and background) (wf-shell) and Config Manager(wcm). They can be retrieved from the repository pool with all build instructions: https://github.com/WayfireWM. You could also use wf-install that they provide. It is a script that directly download and compile the 3 component mentioned before. If you want i can guide you to install wayfire, but i would suggest to try at least one among the other, just to see if you get better performance that xorg, the other desktop environment are simply plug and play. Have fun on testing
  15. I tried to apply your same configuration regarding device, server flags and output class to my xorg config to see if could work and.... it did! After some research on the wiki page of lima, the developers says explicitly that lima runs on xorg using modesetting and glamor, so that explain why my xorg does not start. Anyway the performance are not very good, that is normal, it is experimental, but i have noticed that using Sway (a wayland compositor) in XWayland mode, glmark2 give much much better result. In some tests, where on xorg i get 110 fps, on Sway i get 580fps, so probably there is something that hurt performance on xorg. On start glmark2 report "Lima MALI 450" on both wayland and xorg, so i'm sure to be using the lima driver (well, it is also pretty much impossible to get that performance on software rendering). So if someone would like to try some wayland compositor, could get some nice performance boot using lima. Have Fun and thanks @Tommy21 for sharing your configuration, now i have xorg at least, working! PS: glmark2 on drm mode give also very smooth performance, but the framerate is synchronized with screen refesh rate, so i don't know its maximum performance. Anyway is much smoother then xorg, even if xorg do 110fps and drm only 60 (my monitor refresh rate)