Announcement

Collapse
No announcement yet.

GNOME 3 Might Be Too Resource Hungry To Ever Run Nicely On The Raspberry Pi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Originally posted by wizard69 View Post
    ... what environment these days is lowresource and performant on such platforms? Enlightenment? ...
    Just a data point... I just set up my odroid xu3 (I also have a rpi3 and didn't try it there though, but I should some time) to work again with GPU accel + Wyaland. I used an Ubuntu 18.04 spin with the Gnome-shell based Ubuntu desktop by default. I can't say for raw out of the box Gnome 3, but memory footprint of the system was:

    Booted to text console: 80m
    Running Enlightenment (current git master) with 1 terminal up: 156m
    Running Ubuntu's Gnome shell with 1 terminal up: 701m

    Raw data:

    Code:
                  total        used        free      shared  buff/cache   available
    Mem:           1994          80        1763           6         150        1852
    Swap:          1666           0        1666
                  total        used        free      shared  buff/cache   available
    Mem:           1994         156        1608           6         229        1775
    Swap:          1666           0        1666
                  total        used        free      shared  buff/cache   available
    Mem:           1994         701         896          65         396        1171
    Swap:          1666           0        1666
    FYI both desktops have roughly similar features (file manager, launcher, virtual desktops, network controls, bluetooth controls, task switching controls, a fullscreen wallpaper etc. etc. - at least what is visible to the user).

    Comment


    • #62
      Originally posted by zoomblab View Post
      A javascript runtime will always be a resource hog in whatever thread is running.
      the issue here is not "resource hog in general", but "current cpu core resource hog", which is nicely solved by doing javascript in other thread. yes, javascript can lag, but your mouse cursor won't
      i'm not trying to defend js here, i don't consider it real language
      Originally posted by zoomblab View Post
      That is one of the technical reasons I won't touch Gnome 3 or Cinammon or any other javascript based desktop environment.
      i wonder whether you disabled js in your browser, or posting via http-smtp gw
      Last edited by pal666; 31 May 2018, 12:40 PM.

      Comment


      • #63
        Originally posted by ebassi View Post
        The problem is that if you start cramming features in, and you don't maintain the underlying toolkit, things don't get better.
        i'm confused, do you agree that unmaintained clutter became pos?

        Comment


        • #64
          Originally posted by ebassi View Post
          1. Only one thread can access the graphic subsystem; you cannot touch the GPU from multiple threads
          not sure what you mean by touching, but surely you can render from multiple threads and even multiple processes

          Comment


          • #65
            Originally posted by dos1 View Post
            Seems there are no good, well supported toolkit choices for C these days
            there are no good reasons for using c in the first place these days
            Last edited by pal666; 31 May 2018, 01:15 PM.

            Comment


            • #66
              Originally posted by wizard69 View Post
              Even a move to modern C++ would be huge but these days even bettter languages exist.
              doubtful, since you listed worse languages

              Comment


              • #67
                Originally posted by starshipeleven View Post
                I remember some guy that posted how GNOME was the Standard Linux Desktop.

                Don't mention him, or he may appear again (unlikely, since his account has been blocked). But let's not tempt fate.

                Comment


                • #68
                  Originally posted by ebassi View Post
                  you'd have to free resources asynchronously because there's IPC involved
                  asynchronously does not mean garbage collector. freeing memory is fast (and does not have to happen on the main thread, btw)
                  Originally posted by ebassi View Post
                  The language has nothing to do with it, because those things happen in any language.
                  but those things could be orders of magnitude faster in better language. and they could be controlled in non-garbage-collecting language. some languages even allow you to avoid producing garbage in the first place

                  Comment


                  • #69
                    Originally posted by ebassi View Post
                    If you think the language matters, in this case, you're clearly even less knowledgeable than you think you are.
                    Of course the language itself has nothing to do with it. You could design a proper, performant and user extensible architecture around JavaScript, it's just a bit harder due to its characteristics, but not impossible (whether JavaScript is a sensible option for that is a completely different question ;P). However, Mutter failed at it big time - its current architecture would be bad even if everything was written in carefully handcrafted assembly.

                    Also, until recently, GNOME Shell used a garbage collected language without actually garbage collecting. Tells a lot about overall quality of this JS integration.
                    Last edited by dos1; 31 May 2018, 01:23 PM.

                    Comment


                    • #70
                      Originally posted by pal666 View Post
                      not sure what you mean by touching, but surely you can render from multiple threads and even multiple processes
                      No, you can't. Only one thread, in OpenGL, can render at any given time. The whole OpenGL state machine is tied to Thread-Local storage. On Linux using multiple GL context tied to separate threads has also been historically fraught with driver issues.

                      The fact that you don't understand the difference between threads and processes also tells me you don't have the faintest clue what you're blabbering about.

                      Comment

                      Working...
                      X