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.


Uomo Ragno said...

Marvellous job!

Robert said...

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?

Albert Astals Cid said...

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

Peter Potrowl said...

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

and try to run it with

cd shell

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

Can you please help me with this?

Thanks in advance

Best regards

Albert Astals Cid said...

Go to the end of

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

Peter Potrowl said...

Thanks for your answer.

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

So, I have to replace





Peter Potrowl said...

Ok, it is working!

What I did was:

cmake -DCMAKE_INSTALL_PREFIX=/home/peter/test/ ..
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 ; 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!

Albert Astals Cid said...

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.