Summary: | KMS pageflip support in kernel 2.6.38 causes heavy screen corruption with radeon RV730 (HD 4670) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dark_mail |
Component: | [OLD] Core system | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugs.freedesktop.org/show_bug.cgi?id=35452 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
glitched firefox window with compositing enabled
command line rendered instead of normal background, compositing enabled logout screen with glitching, compositing enabled |
Description
dark_mail
2011-03-19 22:36:10 UTC
It would be interesting to see if you could work around the problem by downgrading (for instance, the kernel). Sorry, I forgot to mention that page flipping for R700 ASICS was only included with 2.6.38, so older versions basically run without page flipping anyway. I tried to reproduce the issue today (after updating a few Xorg related packages that went stable since the last sync) with a camera on hand, but was only partially successful. I used some youtube videos and rapidly maximized/unmaximized them. I can reproduce that turning off page flipping makes all the mentioned problems go away. But now I tend to get more of a lockup instead of glitching. When compositing is off (via kwinrc and xorg.conf) I get a screen similar to a kernel panic (without the keyboard LEDs blinking, though) with some backtrace information. The computer locks up completely and has to be rebooted hard. I have photos of a few lockup events, the text of the backtrace is rather blurry and cut off in some instances, but I can upload the images if someone can make use of them. With compositing enabled, I sometimes get a straight lockup like without compositing, but in other instances I get an amalgam of several windows (plus command line). I'll either attach screen photos or upload and link them here. I did find some bug reports on the X.org bug tracker that look kinda similar, so they may or may not be related. So maybe taking my problem to them is the way to go. In any case, aynone who can make something of this is welcome to say so. Created attachment 266901 [details]
glitched firefox window with compositing enabled
firefox window with command line rendered in place of the flash video and gkrellm (at left margin)
Created attachment 266903 [details]
command line rendered instead of normal background, compositing enabled
after switching from the command line back to X, this is rendered; note the cursor (still responsive) and the corruption near the top after the cursor moved there
Created attachment 266905 [details]
logout screen with glitching, compositing enabled
gkrellm (left margin) and panel (bottom) overlap the K menu.
There was no flickering to be seen like at the time of my initial posting, however.
I have same effect here with Radeon HD3200. When playing video fullscreen via some GUI API (mplayer from command-line works without problems), any attempt to exit fullscreen results in black screen with just mouse cursor and no possibility to do anything. How should I disable "EnablePageFlip" in xorg.conf? I have no Device section right now for graphics, as it was not needed since some time. I will test with it disabled gladly. My device section looks like this (I played a bit with Color tiling, but that didn't do any good anyway). Don't exactly know if all the bits are necessary nowadays, I could try running X without the xorg.conf (probably not before sunday). Section "Device" Identifier "HD4670" Driver "radeon" Option "AccelMethod" "EXA" Option "ColorTiling" "off" Option "EnablePageFlip" "off" # Option "EnablePageFlip" "on" BusID "PCI:1:0:0" EndSection I confirm - disabling pageflip here solved all the issues. running without xorg.conf enables it - I had no xorg.conf before, and problems were as I've described. With: gentoo-sources-2.6.38-r1 mesa-9999 (overlay) libdrm-9999 (overlay) xorg-server-1.10.0.901 (overlay) (don't know if those overlayed ones are important). the problem disappears. Fixed upstream than? Problem still persists for me. With the versions mentioned in Comment #9 I still get corruption on flash videos. I didn't check mplayer with earlier versions, but currently I see no issues using it (smplayer in my case). Actually, display corruption already occurs during startup of firefox. In the top left corner a square with the background image of kdm is visible for a moment. On another note, Newerwinter Nights also does a good job of crashing X. It hangs on the level loading screen (monitor going to standby every few seconds) and has to be killed. The display recovers after the first time, but generally after the second time the machine locks up completely, no reaction to input. If additional debugging info is needed, I can go and set up an ssh server to try and access the system remotely after it crashes. But it would be nice to know what info is needed/useful. Please open a bug at freedesktop.org and post the url back here My problems hits again. So my assumptions in last comment were wrong - not fixed for me either. It looks like I've found a solution on the xorg bugtracker. The attachment ( https://bugs.freedesktop.org/attachment.cgi?id=44749 ) mentioned in https://bugs.freedesktop.org/show_bug.cgi?id=35452 seems to solve my issues as far as I can see, applied against xorg-server-1.10.0.901. I still have some small glitches, but they are only short-lived and probably a different issue, anyway. I haven't found the proposed patch in the freedesktop git repository. Maybe we need to cherry-pick the patch until it or an equivalent replacement is incorporated? Also, sorry for taking so long to respond, was busy with non-computer stuff ... :-) Added the bug report from freedesktop bugzilla to URL. CCing x11 herd, since the patch regards xorg-xserver. Reassigning Looks like this was fixed years ago. |