Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5408 - Xorg 7.1 lockups with open sourced ATI driver

Attached to Project: Arch Linux
Opened by Kurt Basil Cox (basilburn) - Saturday, 16 September 2006, 03:23 GMT
Last edited by Alexander Baldeck (kth5) - Saturday, 07 July 2007, 05:39 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture All
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I am getting random lockups with the open-sourced ati driver in xorg 7.1 since xorg-server-1.1.1-2. I observed X occasionally using > 50% cpu for sustained periods e.g 10 mins at a time. This happens even after closing all the windows that I may have open.

Also menus raise slowly and appear garbled for a split second before they display correctly.

I didn't have these problems with xorg-server-1.1.1-1 so I removed a bunch of patches that were put in xorg-server-1.1.1-2 and now the lockups have gone and cpu usage and menus are normal.

Please note that the original xorg-server-1.1.1-1 was compiled against mesa-6.5.1rc1-1 but my modified PKGUILD is compiled against mesa-6.5.1rc2-1 so I don't think the mesa change caused it. It must be one of the xorg-server patches.

I haven't been able to isolate the patch that causes this just yet as i have been running xorg-server for 2 days so far w/o lockups. Just trying to go for some uptime to see if the changes really work.
This task depends upon

Closed by  Alexander Baldeck (kth5)
Saturday, 07 July 2007, 05:39 GMT
Reason for closing:  Deferred
Comment by Jan de Groot (JGC) - Saturday, 16 September 2006, 09:22 GMT
Could you try to build -2 without the pci-scan-fixes patch applied?
What card do you have? I couldn't reproduce this with my Radeon 8500LE.
Comment by Kurt Basil Cox (basilburn) - Sunday, 17 September 2006, 06:26 GMT
I am using radeon 9250. Its recognized by X as:

(II) ATI: Candidate "Device" section "Card2".
(--) Chipset ATI Radeon Mobility 9200 (M9+) 5C61 (AGP) found

It doesn't appear to be the pci-scan-fixes.

I have attached a new PKGBUILD that I built today where I enabled the following patches:

xorg-x11-server-1.1.0-pci-scan-fixes.patch
1.1.1-fix-xrandr-zoom-keys.patch

No lockups or high cpu usage so far. I will enable a few more and let you know how its going.
(application/octet-stream)    PKGBUILD (5.3 KiB)
Comment by Kurt Basil Cox (basilburn) - Monday, 18 September 2006, 17:16 GMT
Update on this one. It may just be the pci-scan-fixes patch. I have 2 packages with and w/o the patch. Once I switch back and forth I eventually start to see the sustained high CPU usage. The cpu will hover at 3%, then once I put for e.g opera into the fg and then minimize opera, it goes to 20% usage and stays there for the next 15 - 20 mins. Shown by both top and htop.

I still have the other -2 patches disabled.
Comment by Jan de Groot (JGC) - Monday, 18 September 2006, 19:10 GMT
That would be very nice, as it's the only patch in there which doesn't have much use. It scans PCI a bit faster and saves some logging in Xorg.0.log, but apart from that, it has no improvements. As you don't look in Xorg.0.log everyday and you don't start X every 10 minutes, the patch could be removed for -3, if the patch is really the cause of the problems actually.
Comment by Jan de Groot (JGC) - Tuesday, 19 September 2006, 18:29 GMT
xorg-server-1.1.1-3 has been built without the offended patch. Please try the package and report if the problem has been solved or not.
Comment by Kurt Basil Cox (basilburn) - Thursday, 21 September 2006, 00:34 GMT
You the man, Jan.

Running -3 from current. No lockups (knock on wood) or sustained high CPU so far.

The only bugs remaining are the display glitches. With xfce4-svn, whenever I go into the menu then follow one of the menu categories e.g Network or System , the menu changes to black momentarily before it displays correctly. Nothing serious but -1 didn't do it so I don't know.

It should be safe to close this off this bug.
Comment by Kurt Basil Cox (basilburn) - Thursday, 21 September 2006, 04:17 GMT
On further testing, the CPU over usage is definitely gone but I am definitely getting lockups every 1 hour or so. I am gonna go thru the patches 1 by 1.

When the system is idle, it appears to be fine but when I am actually doing some work like web browsing reading document etc. I eventually get lockups.

I will eventually drill down to the problem patches and post my results.
Comment by Kurt Basil Cox (basilburn) - Sunday, 24 September 2006, 04:10 GMT
I found the source of the display glitches. I hope that its also the patch that causes the lockups as well.

xorg-x11-server-1.1.0-dont-backfill-bg-none.patch

I still have a lot commented out. With some more painstaking re-enabling patches, I should have this one sorted out.
(application/octet-stream)    PKGBUILD (4.4 KiB)
Comment by Kurt Basil Cox (basilburn) - Wednesday, 04 October 2006, 08:16 GMT
Final test results. Attached is the current PKGBUILD that I am using and I seem to have found the source of the display glitches and spurious lockups as well.

The problem patches seemed to have been

xorg-x11-server-1.1.0-dont-backfill-bg-none.patch and
(application/octet-stream)    PKGBUILD (4.4 KiB)
Comment by Jan de Groot (JGC) - Wednesday, 30 May 2007, 21:59 GMT
Is this still an issue with xorg-server 1.2.0?
Comment by Alexander Baldeck (kth5) - Saturday, 07 July 2007, 05:39 GMT
doesn't look like it, closing

Loading...