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#21035 - Xorg-server excessive CPU usage through a 32-bit chroot - bug?

Attached to Project: Arch Linux
Opened by John (graysky) - Saturday, 02 October 2010, 17:25 GMT
Last edited by Jan de Groot (JGC) - Monday, 04 October 2010, 06:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Xorg goes crazy tapping my cpu usage when I compile via makepkg on my Arch x86_64 box inside a 32-bit chroot. For example, >60 % of the total CPU is going to Xorg rather than to gcc (running Gnome if that matters). The htop screenshot below shows X and gdm using it. I know that if I start gnome from init 3 without gdm the same problem occurs except htop just shows X as the culprit.

Further, packages fail to build when I run makepkg through X (again in the 32-bit chroot). If I run makepkg when I'm in init 3 without X at all, the very same package successfully builds. If I leave myself logged into Gnome and open tty1 and enter the 32-bit chroot there, it builds just fine.

Any thoughts why? That has to be a bug in Xorg given the conditions I explained above, but what I don't know if it's something unique to the Arch pacakges or if it's in upstream.

Screenshot of htop:
http://img440.imageshack.us/img440/4202/wtfwh.jpg

I entered the 32-bit chroot via: linux32 chroot /opt/arch32 /bin/bash

Additional info:
* package version(s) --> xorg-server-1.9
* config and/or log files etc. --> Xorg.0.log contains nothing relevant but I can post it upon request. Nothing in dmesg either.


Steps to reproduce:

*Setup a 32-bit chroot on Arch 86_64 in Gnome as described above.
*From within the chroot, attempt to build the kernel26-ck package from the AUR.
*Look at your htop readings to see if X is taking up the CPU cycles and wait as the build fails.
*You may repeat from a tty outside of X and will see that it builds successfully.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 04 October 2010, 06:52 GMT
Reason for closing:  Upstream
Additional comments about closing:  Nvidia driver bug. Can't fix.
Comment by John (graysky) - Sunday, 03 October 2010, 09:34 GMT
UPDATE: the same problems occur OUTSIDE of the chroot entirely!
Comment by Ionut Biru (wonder) - Sunday, 03 October 2010, 17:39 GMT
do you have nvidia?
Comment by John (graysky) - Sunday, 03 October 2010, 17:46 GMT
Hi wonder - yes, running the latest nvidia package from the repos.
Comment by Ionut Biru (wonder) - Sunday, 03 October 2010, 17:49 GMT
the current nvidia has performance regressions when it comes to text scrolling in gtk. I bet that's the cause of your high cpu usage.

try nvidia-beta
Comment by John (graysky) - Sunday, 03 October 2010, 18:14 GMT
Thanks... compiling now and will report back to see if that is indeed the problem.
Comment by John (graysky) - Sunday, 03 October 2010, 18:40 GMT
It would seem that that is indeed the problem! I'll request that this report gets closed since it is not a bug!

For those who want more details, see the following discussion thread: https://bbs.archlinux.org/viewtopic.php?pid=835349

Thanks again, wonder!

Loading...