Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 48

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

  1. #21
    Join Date
    Sep 2006
    Posts
    714

    Default

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

  2. #22
    Join Date
    Oct 2009
    Posts
    2,085

    Default

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

  3. #23
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote 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!

  4. #24
    Join Date
    Aug 2008
    Posts
    233

    Default

    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.

  5. #25
    Join Date
    Oct 2009
    Posts
    2,085

    Default

    Quote 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?

  6. #26
    Join Date
    Jun 2006
    Posts
    3,046

    Default

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

  7. #27
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote 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

  8. #28
    Join Date
    Mar 2009
    Location
    Hellas
    Posts
    1,033

    Default

    Quote 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?

  9. #29
    Join Date
    Aug 2009
    Posts
    2,264

    Default

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

  10. #30
    Join Date
    Mar 2009
    Location
    Hellas
    Posts
    1,033

    Default

    Quote 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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •