Summary: | [RV350] Viewing some (latexbeamer generated) PDFs in Okular in Presentation Mode causes massive, persistent screen corruption | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | mrsteven | ||||||||||
Component: | Driver/Radeon | Assignee: | xf86-video-ati maintainers <xorg-driver-ati> | ||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||
Severity: | major | ||||||||||||
Priority: | medium | ||||||||||||
Version: | unspecified | ||||||||||||
Hardware: | x86 (IA32) | ||||||||||||
OS: | Linux (All) | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Attachments: |
|
Description
mrsteven
2011-12-21 06:37:51 UTC
Created attachment 54638 [details]
Screenshot showing the corruption
This was taken directly after I quit from Okular's presentation mode.
Please attach your xorg log, dmesg output, and glxinfo output. Created attachment 54639 [details]
Xorg.0.log
Nothing special here
Created attachment 54640 [details]
dmesg output after the corruption occurs
Again, nothing special
Created attachment 54675 [details]
glxinfo output
And here the output of glxinfo, taken while running fluxbox.
I played around a little bit with the options of the kernel and the X driver: radeon.agpmode=-1 in the kernel command line makes the problem disappear. I also tried following options for the X driver, none of them did help: EXANoComposite EXANoUploadToScreen So I guess this is (yet another) AGP problem. btw. EXANoUploadToScreen gives me a black screen, so I couldn't really test that. (In reply to comment #6) > I played around a little bit with the options of the kernel and the X driver: > radeon.agpmode=-1 in the kernel command line makes the problem disappear. > > So I guess this is (yet another) AGP problem. You can try different AGP modes: radeon.agpmode=x where x = 1,2,4,8,-1 (In reply to comment #7) > btw. EXANoUploadToScreen gives me a black screen, so I couldn't really test > that. UTS and DFS are required on radeon so you can't disable them. (In reply to comment #8) > You can try different AGP modes: > radeon.agpmode=x > > where x = 1,2,4,8,-1 I tried 1 and 2, but it did not help. I skipped 4 as it is the default on my hardware anyway. 8 is not supported by this notebook. > (In reply to comment #7) > > btw. EXANoUploadToScreen gives me a black screen, so I couldn't really test > > that. > > UTS and DFS are required on radeon so you can't disable them. Okay. I also tried to disable page flipping and set radeon.dynclks=0 -> Still the same problem, so only radeon.agpgart=-1 helps. Sadly this is a bit slow... (In reply to comment #9) > I tried 1 and 2, but it did not help. I skipped 4 as it is the default on my > hardware anyway. 8 is not supported by this notebook. You might try 4 anyway in case the bios sets up a lower mode by default. radeon.agpmode=4 does not help, either. I now noticed that I also get some corruption when I don't use presentation mode. It just takes longer to trigger the problem (by opening several PDFs and scrolling in them) and the screen is not that much garbled. Last time it happened only some icons in KDE were painted badly when the mouse hovered over them. Compositing was enabled (only XRender, not AIGLX) at this time. I don't know much about GPU programming but to me it looks like something goes wrong when transferring textures from GPU memory into RAM and back. Season's greetings mrsteven Two other remarks: * Viewing the same PDF as linked above with epdfview 0.1.6 (http://trac.emma-soft.com/epdfview/) works fine. * Setting "memory usage" to "low" in Okular's configure dialog seems to help, too. "Normal (default)" and Aggressive seem to trigger it, both. Maybe #28159 is related to this? As of Kernel 3.2.9, the problem still exists. xrestop shows that Okular uses huge amounts of pixmap memory in the X server (~200MB and more) after some scrolling in these PDFs. I don't know if it is related, but I also get some corruption _after_ playing FreedroidRPG for a while. So I quit from FreedroidRPG and some icons and font glyphs are garbled in other programs. Haven't seen this with newer kernels, so I think it can be closed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.