Sunday, November 11, 2012

Okular tiled rendering merged to master

Okular tiled rendering (more info) has been merged into master and is scheduled to be released with 4.10 KDE Applications release. There are a few open issues that Mailson and Fabio are working like crazy to get fixed for the upcoming Beta 1 release this thursday. It would be great if you can give it a try anyway and report any issue you might find.

8 comments:

  1. That page linked to (from the previous blog entry) is some of the best code documentation I've ever read. But it didn't tell me whether it's able to do multithreaded rendering. I assume so because I assume that was half the point - right?

    ReplyDelete
  2. We have been doing multithreaded rendering forever, so yes :-)

    ReplyDelete
  3. Dear Albert,

    Thank you so much for this feature!

    I would like to try it without installing Okular, in order not to break my current configuration.

    So, I compile Okular with

    md build
    cd build
    cmake ..
    make

    and try to run it with

    cd shell
    ./okular

    But I get this error: "Unable to find the Okular component."

    Can you please help me with this?

    Thanks in advance

    Best regards

    ReplyDelete
  4. Go to the end of http://okular.kde.org/download.php

    In short, you need to install it somewhere and you need to define KDEDIRS to that somewhere

    ReplyDelete
  5. Thanks for your answer.

    It is unclear to me whether this can break or not my current installation.

    So, I have to replace

    /path/to/your/kde4/install/dir

    with

    /path/where/I/want/Okular

    right?

    ReplyDelete
  6. Ok, it is working!

    What I did was:

    cmake -DCMAKE_INSTALL_PREFIX=/home/peter/test/ ..
    make
    make install
    cd /home/peter/test/bin
    KDEDIRS=/home/peter/test:$(kde4-config --prefix) ./okular


    Thank you for your excellent work!

    The rendering speed is good on my 1.73 GHz Pentium M (2005) with a "normal" document, generated with LaTeX. It is very pleasant to use, especially with the zoom tool.

    When using this zoom tool, it sometimes happen that another part of the document is displayed for a brief moment just before the requested part is displayed...

    Also, it should be possible to zoom more than 1600%: it is still hard to read, for example in http://www.abc.net.au/catalyst/stories/img/mammalST_A4.pdf ; the rendering is much slower with this document (~2 seconds to see the tile appear), but still acceptable given the size of the document.

    Thanks again for your work!

    ReplyDelete
  7. Peter, can you please open a bug about that "another part of the document is displayed for a brief moment"? If you could include a video that'd be amazing to try to understand what's going on.

    ReplyDelete