Announcement

Collapse
No announcement yet.

A Video To Show Off X.Org's Multi-Touch Support

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

  • #21
    Yes, that is a proble. But why does is happen?
    You have to understand how composition works.

    Originally with Linux, Windows XP, and MacOS 9 application windows were rendered directly on the screen. This allowed easy 2D acceleration with the hardware of the day.


    However modern systems use 'compositing'; Starting with Mac OS 10. That is the application windows are rendered off the screen in their own private area. Then the image of the window is taken with other rendered images and put together to form one big image for your desktop.

    That is why it's called 'compositing' because it's taking little graphics and compositing them together into one big one.

    This allows fancy special effects. Like 'Compiz' which takes the rendered window images and uses them as textures on a 3D object. Then that object can be twisted and deformed or shaped like any 3D object.

    The reason why moving windows around is fast and resizing windows is slow is because when you move a window around in a composited desktop you don't have to re-render it. It's just you moving a texture around on a screen. No need to make a new texture, you just use the one you already have. However when you re-size a image you have to re-render the entire window... As you resize all the elements in the window need to re-arrange themselves. You have to make a new texture. When you are trying to do a smooth resize that may require dozens and dozens of rendered textures to try to do a smooth transition.

    The reason it was really slow in this video was because its probably just a very low-end machine. Probably a netbook or something like that.


    This is a problem on all composited desktops. Windows Vista/Windows 7 Areo, Mac OS Aqua, Linux Compiz, or Linux Gnome 3.0's gnome-shell. If you watch carefully when people do demos to show off their fancy 3D desktops they usually avoid resizing windows.


    ---------------------------------------


    To make this fast it just requires better drivers.

    Currently with most Linux stuff, for example, the 2D and 3D drivers are separate drivers. So when you need to render a window to a 3D desktop you first do a 2D render, then you take that image and render that image to a texture, then you render that texture to a 3D primitive. If the 2D and 3D was rendered with the same unified driver then you can cut out the middle man and use the 2D rendered texture directly in 3D cutting down on a lot of cpu usage and texture copying.


    Stuff like that is what it'll take, but it can only mask the issue with quicker and quicker render times so that you just stop noticing the problem. It won't make the fundamental part go away.


    ------------------------------------------


    By The Way:

    Touch screens kick-ass. Totally love them. I wish all my laptops had touch screens.

    With multitouch it should be possible to do actually good onscreen keyboards....

    Comment


    • #22
      Perfect, just in time for me to pick up a nice shiny new ASUS T91MT (MT is for multi-touch) tablet/netbook.

      Comment


      • #23
        Originally posted by droidhacker View Post
        Perfect, just in time for me to pick up a nice shiny new ASUS T91MT (MT is for multi-touch) tablet/netbook.
        That 8,9 inch EeePC with that flippable screen? Big Fat Warning: Doesn't fully work under Linux. Google around!

        Comment


        • #24
          Interesting, thanks for your explanation, drag!

          With Kwin in my Intel 865G it doesn't work such bad anymore. With and w/o composition it is almost the same.

          Comment


          • #25
            Originally posted by V!NCENT View Post
            That 8,9 inch EeePC with that flippable screen? Big Fat Warning: Doesn't fully work under Linux. Google around!
            Big fat reply:
            Works fine in linux as long as you don't care about video acceleration.

            Its a netbook!! The hell you need video acceleration on a netbook for?

            Comment


            • #26
              Originally posted by droidhacker View Post
              Its a netbook!! The hell you need video acceleration on a netbook for?
              Heh... Since my eeePC 701 serves as a net surfing tool, ebook reader, and portable movie player, it's sort of useless to me if it's not got decent 2D and Video playback. I'd presume there's other people with the same desires- but I wouldn't say that it's not for everyone. If you're okay with those limitations, knock yourself out.

              Please, don't presume YOUR goals and needs are the same as everyone else's.

              Comment


              • #27
                Originally posted by droidhacker View Post
                Big fat reply:
                Works fine in linux as long as you don't care about video acceleration.

                Its a netbook!! The hell you need video acceleration on a netbook for?
                Let's see... There is no open source driver to begin with and the proprietary WiFi driver crashes the entire system...

                Still interested? And let's not even talk about the 3G driver... Yes that's right... your netbook will be as portable as the radius of the nearest ethernet cable...

                Have a nice T91 experience

                Comment


                • #28
                  Originally posted by V!NCENT View Post
                  There is no open source driver to begin with and the proprietary WiFi driver crashes the entire system...
                  In what distro?

                  Comment


                  • #29
                    Originally posted by Apopas View Post
                    In what distro?
                    In Linux? ndiswrapper is needed. Or at least it was half a year ago. Maybe you're lucky...

                    Comment


                    • #30
                      Originally posted by V!NCENT View Post
                      In Linux? ndiswrapper is needed. Or at least it was half a year ago. Maybe you're lucky...
                      Whenever you use ndiswrapper your system crashes?

                      Comment

                      Working...
                      X