Summary: | OpenGL compositing window managers doesn't work on ATI Radon Xpress 200M (and probably other r300 cards) on xserver 1.10 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Adam Maćkowiak <Admc> | ||||||||||||||||||
Component: | Driver/Radeon | Assignee: | xf86-video-ati maintainers <xorg-driver-ati> | ||||||||||||||||||
Status: | RESOLVED INVALID | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||||||
Severity: | normal | ||||||||||||||||||||
Priority: | medium | CC: | christopher.m.penalver | ||||||||||||||||||
Version: | 7.6 (2010.12) | ||||||||||||||||||||
Hardware: | x86 (IA32) | ||||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||||
Attachments: |
|
Description
Adam Maćkowiak
2011-07-07 06:05:25 UTC
Please attach your xorg log and config and dmesg output if using KMS. Is it just the ppa code that is problematic or is the stock code a problem as well? Created attachment 48861 [details]
dmesg |grep drm
I'll attach xorg log later when I get LiveCD with xserver 1.10. This problem happens both on stock and ppa drivers. I installed driver from this PPA to get mesa dri instead of gallium 3d dri (which has much worse performance). Created attachment 48865 [details]
dmesg |grep drm (on 1.10)
Created attachment 48866 [details]
Xorg.0.log
I noticed that I broke wacom tablet support by downgrading xorg :( I need to get it work in this month. Can you bisect the xserver and track down what commit is causing the problem? I upgraded xserver to 1.10 to get wacom tablet support. It's probably OpenGL issue, because kwin with xrender works (with some rendering bugs in xul and gtk app but it works). I also upgraded compiz to 0.9 branch and it crashes (segfault) when I'm trying to run it. Sorry I don't know how to do bisect. :( Created attachment 48887 [details]
compiz --replace
(In reply to comment #3) > This problem happens both on stock and ppa drivers. I installed driver from > this PPA to get mesa dri And the problem isn't specific to that 3D driver? If not, does disabling page flipping work around the problem? > instead of gallium 3d dri (which has much worse performance). r300g is expected to perform better pretty much across the board these days. Make sure it's built with LLVM support. Also make sure you are getting interrupts. 'cat /proc/interrupts' and make sure the numbers on the radeon line are increasing. If not, you may try booting with: pci=nomsi or irqpoll on your kernel command line. (In reply to comment #10) > And the problem isn't specific to that 3D driver? Yes, It happens on stock, and ppa dri. Both gallium 3d and mesa. > If not, does disabling page flipping work around the problem? Sorry, I don't know how to do it, I googled it but I couldn't find anything interesting (I found only definition what page flipping is) > r300g is expected to perform better pretty much across the board these days. > Make sure it's built with LLVM support. It has worse performance than mesa (especially with disabled kms), I can see it in games. (In reply to comment #12) > > If not, does disabling page flipping work around the problem? > Sorry, I don't know how to do it, I googled it but I couldn't find anything > interesting (I found only definition what page flipping is) See the radeon manpage: Option "EnablePageFlip" "off" in xorg.conf. > > r300g is expected to perform better pretty much across the board these days. > > Make sure it's built with LLVM support. > It has worse performance than mesa (especially with disabled kms), [...] r300g only works with KMS. You were probably hitting software rendering with KMS disabled. (In reply to comment #11) > Also make sure you are getting interrupts Numbers on the radeon line are increasing. (In reply to comment #13) >does disabling page flipping work around the problem? No compiz and kwin OpenGl still aren't working. I attached my xorg.conf. Created attachment 48903 [details]
xorg.conf
Anyone? Please I really want compositing. Did you try pci=nomsi or irqpoll on your kernel command line in group? (In reply to comment #17) > Did you try pci=nomsi or irqpoll on your kernel command line in group? s/group/grub/ (In reply to comment #18) > (In reply to comment #17) > > Did you try pci=nomsi or irqpoll on your kernel command line in group? > > s/group/grub/ Yep, I tried it. pci=nomsi - compiz still crashes with same output irqpoll - linux doesn't even boot (it instantly restarts) pci=nomsi irqpoll - compiz still crashes with same output Many things are still unclear, e.g.: What exactly does "I couldn't get kwin to work" mean? That the same problem happens with kwin even with xserver 1.9, or something else? Did you double-check in Xorg.0.log that page flipping was really disabled? Maybe you can also attach Xorg.0.log from xserver 1.9 (with working compiz), and look for any interesting differences to the log from 1.10. (In reply to comment #20) > Many things are still unclear, e.g.: What exactly does "I couldn't get kwin to > work" mean? That the same problem happens with kwin even with xserver 1.9, or > something else? No, on 1.9 kwin OpenGL had some rendering problems (for exapmle, blinking windows on minimization and changing virtual desktop) On 1.10 kwin OpenGL won't even run. > Did you double-check in Xorg.0.log that page flipping was > really disabled? Yes, I did it. > Maybe you can also attach Xorg.0.log from xserver 1.9 (with working compiz), > and look for any interesting differences to the log from 1.10. I'll attach it today. Sorry you had wait, but I hadn't got time yesterday. I'm attaching Xorg 1.9 and 1.10 and diff between them (I removed timestamps using sed before I made diff). I hadn't found any interesting changes, but it's probably because I'm not experienced user. Created attachment 49092 [details]
1.9 Xorg log
Created attachment 49093 [details]
1.10 Xorg log
Created attachment 49094 [details]
Diff between 1.9 and 1.10 xorg logs
Does adding noapic to the kernel command line in grub help? See the last few comments in bug 37679. Disabling ACPI didn't help. (In reply to comment #27) > Disabling ACPI didn't help. Note Alex asked for "noapic", not "noacpi". (In reply to comment #28) > (In reply to comment #27) > > Disabling ACPI didn't help. > > Note Alex asked for "noapic", not "noacpi". I tried noapic, noacpi and both of them (to be sure) and they didn't helped. Adam Maćkowiak, Kubuntu 11.04 reached EOL on October 28, 2012. For more on this, please see https://wiki.ubuntu.com/Releases . If this is reproducible on a supported release, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal: ubuntu-bug xorg Also, please feel free to subscribe me to it. For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs. |
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.