Jump to content

Tommy21

Members
  • Posts

    86
  • Joined

  • Last visited

Posts posted by Tommy21

  1. Now i have display compositing enabled with compton, using xfce default compositing makes text and some other stuff look foggy, i don't know if i did use the right word, but hope you understand me.

    But all the other stuff is more or less the same, glmark2 shows very low score, desktop feels accelerated and it runs very well.

    I could live with that, but when i play video, it doesn't run well, the same thing is probably with games.

    Good thing with chromium that it now works without using terminal command, but you can see that it needs more time to open the ui.

    Is there any tweak or some app, that could make desktop to run without any glitches, but it doesn't affect playing videos or other stuff that is needed for the system?

    Can someone explain, is this because the gpu is too slow, or is it just because lima is not mature enough, and things will probably get better, or is it maybe this way with xfce, you win some but you lose some?

  2. But do you have hardware video acceleration with mpv?
    I tried ubuntu focal with lima, but I felt it was heavy, and had a lot o crashes so I'm going to change to debian buster an see how will go

    I didn't check video info, but i believe it is accelerated, i didn't see anything weird when playing it, but all this was just a short test.

    What crashes do you have on Ubuntu?

    Tbh i feel like Debian buster works better than Ubuntu, but i can't seem to enable lima driver on it.


  3. I will try tonight with debian kernel 5.7 r6 with lima hardware acelleration. Just a question did you manage to have hardware video acelleration with kodi?
    Kodi gui was accelerated in all these images i've tried recently, but i didn't check the videos, this was the first time i wanted to try it, i was happy with mpv so far.

    I would like to discover what other configuration i need to change with lima, because i feel i am missing something.

    I was checking manjaro xfce last week, and it worked better than these armbian images, mpv and kodi both worked, didn't have app window drawing over the screen when moving, but i don't have wifi driver so i gave up for now.


  4. I now have a strange issue, i am not sure if it's connected to lima or not, but i believe it probably is lima.

    Text is missing from Kodi 18.6 ui menu, i can only see icons, nothing else, i've tried to reinstall it, but nothing has changed.

    I am running Ubuntu focal kernel 5.7 rc6.

  5. Does anyone else have issues when booting from usb flash drive, everything is ok when booting from sd, but when trying with usb, it boots as server and with some dependencies failed, and when it boots i get no desktop?
     
    Device is kvim1, image is ubuntu focal desktop, kernel 5.7 rc4.

    Is there anything special that needs to be done when using usb, maybe i missed something?



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


    I have changed display manager from ldm to lxdm, i think gdm was installed too, now i have options on login screen.

    I did install gnome core, wayland and weston, and i have gnome on xorg(x2 probably because mutter is preinstalled when installing gnome core?) and gnome classic to choose.

    Gnome on xorg is slow, gnome classic is decent.

    I have installed sway, but i don't know how to run it, i didn't get any option about it.

    About wayfire, judging by the pictures, it really looks beautiful, it looks highly customizable and attractive, but i have some install.sh script error, judging by github, i am not the only one with it. There is some patch that should work, but i don't know how to apply it.

    I would build it myself if i knew how, sometimes i really need detailed instructions from start to end, without skipping any step, and i can't find them every time, i am using windows my whole life, sometimes Linux is just hard.



    I am using Ubuntu instead of Debian.


  7. 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 [mention=3841]Tommy21[/mention] 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)



    Now i'm interested to see your configuration, part where you get these big glmark2 numbers, what packages are needed, can you share installation steps?

    If display compositing is enabled with lima, i get pretty low glmark2 score, but the overall system feels a little smoother, not faster but with less glitches.

    I broke my system a lot of times in the past, when i tried to make bigger changes in armbian, so step by step instruction would be appreciated.



  8. One more thing, is it possible for app window not to draw over desktop when moving it, can i do something about it without disabling lima driver?

     

    Nevermind, i figured it out, display compositing was disabled, now it's quite smooth, this is now a really nice lightweight desktop.

  9. I find out the problem. Because I use remote desktop. If I use a monitor, every thing woks well. 

    Yeah, on Bionic all should run well, i also switched back to Bionic, Focal still has some bugs that annoy me.

    Chromium on Lima doesn't work, but lima dev helped me with solution, add this line on chromium command line --use-gl=egl., it's not a real solution, but at least you can run chromium.

  10. I did try Debian buster 5.7 image last night, it looks like there is a big difference with these two distros, i must say it works better than Ubuntu, i can really feel that it is accelerated.

     

    When you move app windows, there is no app drawing over the desktop, desktop really feels smooth, don't know if i used the right words, i am not so good with english technical terms.

     

    Maybe i am missing something, or maybe there is something else that needs to be configured, but in those few minutes of testing, it's a big difference.

     

    @UniformBuffer, yeah, i was pretty sure that it will look the same, unfortunately that isn't the case.

     

    But thanks anyway for helping!

  11.  

     

     

    This config force Xorg to use fbdev driver. To get lima working you should only comment these lines (adding # before each of them), or by removing the file itself. At this point, Xorg should pick lima as driver. To have a confirm, you can use the command "glxinfo" to see what opengl (tecnically glx) driver xorg is using. If it say "LLVM Pipe", it is using software opengl driver; if it say "Mesa Lima" you are using lima driver.

    On my system (Le Potato, mesa 20.0.4-2, kernel 5.4.35-meson64), if i enable lima, xorg stop working. I suggest to comment the lines, so if you have some trouble you can easily uncomment the lines to re-enable the fbdev. If it is working on your system, please share your system info, so maybe i could get lima working with xorg too default_rolleyes.gif.

    For who interested, i recently tried lima with sway and work really well. Probably work better with compositors that does not require a lot of opengl features that the lima driver could not support yet.

     

    Hi, my file looks different, look at the picture.

     

    I have added oibaf ppa, installed mesa, set the 3d acceleration from none to glamor, that is all i have done, and that's the only conf file in the folder.

     

    Glmark2 says that i have 2.1 mesa 20.1.0-devel, gl renderer mali 450, gl vendor lima, so it looks like it is already using lima?

     

    That is one of the reasons i asked, first time i have set acceleration to glamor, glmark2 reported it was no longer using llvm pipe?

     

    I will check with glxinfo just in case, but i don't see a reason why it should report anything else.

     

     

     

  12. @ning thank you, but you must be more precise, i don't know how to configure x for lima and remove all x config files preinstalled, i've been looking from the freedesktp site, but i can't find precise instructions, and i don't want to experiment because a lot of stuff is working fine on my system.

    About mesa, glmark2 says 2.1 mesa 20.1.0-devel, 29.04.2020 is the date on it, so probably this is up to date?

    Sorry, but i am a noob when it comes to Linux, so if you can help me out?



  13.  
    Thanks Tommy21,
    You gave me the necessary input to start experince with lima.
    Let me just ask one thing, you are using a vanilla ubuntu arm64 image, not using armbian bionic?
    Did you install kodi from apt-get?
     
     
    Thank you


    I'm using universal balbes150 images for aml rk aw, the latest 20.05.03 Ubuntu focal, kernel 5.7 rc2, i am always using a synaptic to install software, i prefer gui.

    Synaptic has a bug in Ubuntu focal for now, it won't start under start menu, i must use terminal and sudo synaptic to start.


  14.  
    Hi, I have an odroid c2, 
    I allways have used the HK ubuntu image, but I'm thinking trying to use armbian with the lima driver.
    I want a full desktop, so I have some questions, does the armbian image have gnome with wayland environment ?
    Where can you set acceleration (what file should I use).
    Finaly, its possible to compile Kodi with lima driver (to use full acelleration)? , if is how is the kodi with lima performance?
    Thanks in advance
    Pedro



    Sorry, i just saw your post, but i am not the one you should need to ask, i believe a lot of your questions are answered in posts above.

    About lima, i have found answers under comments of this video https://youtu.be/nuZgdatQkqo, author of the video explained where you will find conf file, in that file i just changed acceleration from none to glamor.

    I can definitely tell you that Kodi 18 gui is accelerated, i didn't watch any video on it.

    Chromium has an issue when using lima, firefox works ok, i do have few strange issues with ubuntu 20.04, but maybe this is an OS issue, i don't even know is this the final release of Ubuntu focal arm?

    I won't suggest you things i haven't tried, so it's better to ask someone who knows better than me, but a lot of stuff was explained in recent posts.
  15. Thank you all for your answers, judging by your answers it looks i have done everything right.

     

    I didn't use kvim1 Armbian for a long time, i've been using it with Android, i forgot how well Linux on s905/x is supported, and there always has to be an issue with arm boards:)

    [mention=3989]ning[/mention], thank you for your clarification, i will do that, that is fantastic.

     

    One more question about Gnome (x is ok if wayland has issues) on it, do i need to perform any special steps or configuration when Mali is enabled, or is it just enough to install gnome desktop on current image (although you said it's probably better on Debian, i prefer Ubuntu)?

     

    As i remember before, i would get an option to pick between gdm and ldm, i must choose gdm if i want to use gnome?

     

    Is there anything else that i need to install if i want to run Gnome on kvim1?

     

    I am not so technically skilled with all these expressions, so sometimes you need to draw me something for me to be able to understand it:), i do know a lot about technology, but Linux is still a mystery to me.

     

     

     

     

     

     

     

  16. Something strange happened, i don't have any sound now, and chromium browser starts with blank page, it looks like a white window, with no options or anything.

     

    I have reverted acceleration to none, chromium now starts, but sound is still not coming.

     

    I am using armbian 20.05.03., ubuntu 20.04, kernel 5.7 rc2.

     

    Was this video even the right way to install and run lima, or did i need to edit some other line except the one that adds acceleration?

  17. Hi, i am using khadas vim1 pro, i've seen a video about lima driver on youtube, there is a reply about adding oibaf ppa for installation of lima driver, i added it, installed, but now i need to edit armbian-defaults.conf file.

     

    Does someone know how does it need to look like, if so i need help, first time i've edited it, after it i couldn't boot to desktop anymore, so i've probably done something wrong?

     

    Nevermind, i just set acceleration from none to glamor, did test glmark2 and got a 196 score.

     

     

     

     

     

     

  18. ver 20.02.0-rc1 20200129
     
    The sound works on all models S9xxx, rk3399 , rk3328 , aw h6.
    Please note that to enable audio on g12 chips s922x s905x2 (models Ugoos AM6, Ugoos x2, Odroid N2 etc), you must follow the instructions specified in the first message.

    I can't boot this image, it shows khadas logo and reboots few seconds after, device is khadas vim3 2/16.

    I did change dtb, do i need to delete those lines starting with allwinner and rockchip in uenv.ini file?

    I did even try to change u-boot with the one for amlogic g12 you provided on yandex, same thing is happening, can you help?

    Btw i am using android pie on emmc, if that can help?
  19. Hi, i do not understand how to boot latest image, do i need to delete all the options in uenv.ini and leave only amlogic lines with correct dtb, in my case khadas vim3 dtb?

     

    I did those steps, and the board only shows khadas logo and reboots after few seconds, nothing is wrong with the board, Android works normally.

     

    Is there maybe something specific with g12-b boarda that doesn't allow the board to boot armbian.

     

    I did a search, but don't really understand what am i doing wrong, as far as i understood, this u-boot fix is already included in the last image?

     

     

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines