davvil / pdfpc

A presenter console with multi-monitor support for PDF files.
http://davvil.github.com/pdfpc/
GNU General Public License v2.0
210 stars 20 forks source link

Bad rendering for beamer generated images #65

Open razvancrainea opened 11 years ago

razvancrainea commented 11 years ago

It seems that the images generated by beamer (such as bullets) are not properly rendered.

2013-10-31_1600x900

AndreasBilke commented 11 years ago

Hi,

I had this issue also (this affects all transparency in the pdf and might not latex beamer related), but it seems that it isn't a direct pdfpc bug.

If you are using an Intel graphic card, you can try to change the "AccelMethod" in X11 from SNA to UXA. You may try something like this to change the driver options in your X11 config:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

This "solved" the issue for me.

I also tried to fix this in pdfpc, but that might be more work. I changed the Gdk.Pixmap usage to Cairo Contexts (as suggested in the Gdk documentation). This solved the issue also, but I was not able to convert all Pixmap usage until now (not enough time).

razvancrainea commented 11 years ago

Hi, Andreas!

Thank you for this solution, it worked for me. However, I found a presentation that was working properly, so I assumed that it has something to do with the PDF version. Unfortunately I don't have any experience with GDK so I can't argue about the second solution :).

Thank you, Răzvan

cosenal commented 10 years ago

"sna -> uxa" worked for me too. Thanks a lot @AndreasBilke