Bug#628080: xserver-xorg-video-radeon: Low performance after a period of inactivity

dayer dayer3 at gmail.com
Sat Jun 4 08:34:29 PDT 2011


El mié, 01-06-2011 a las 09:14 +0200, Michel Dänzer escribió: 
> On Fre, 2011-05-27 at 01:30 +0200, dayer wrote:

> Are you using an OpenGL compositing manager such as gnome-shell or compiz?

Now I'm using Metacity. However I've had the same problem with Mutter.

> 
> When the problem occurs, do the radeon numbers in /proc/interrupts increase?

Yes. "/proc/interrupts" contains:

           CPU0       
  0:         44   IO-APIC-edge      timer
  1:          4   IO-APIC-edge      i8042
  6:          3   IO-APIC-edge      floppy
  7:          1   IO-APIC-edge      parport0
  8:          0   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 12:          6   IO-APIC-edge      i8042
 14:      13995   IO-APIC-edge      pata_via
 15:          0   IO-APIC-edge      pata_via
 16:     400001   IO-APIC-fasteoi   radeon
 17:  556661064   IO-APIC-fasteoi   skge at pci:0000:00:0a.0, hda_intel
 20:      33647   IO-APIC-fasteoi   sata_via
 21:      32145   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5
 22:         63   IO-APIC-fasteoi   VIA8237
NMI:         40   Non-maskable interrupts
LOC:    1981218   Local timer interrupts
SPU:          0   Spurious interrupts
PMI:         40   Performance monitoring interrupts
IWI:          0   IRQ work interrupts
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:         16   Machine check polls
ERR:          1
MIS:          0

The radeon numbers are increasing and the end this causes these lines in
dmesg (and the system begins to run slow):

[ 1679.754669] irq 16: nobody cared (try booting with the "irqpoll"
option)
[ 1679.754682] Pid: 0, comm: swapper Tainted: G           O
2.6.39-1-amd64 #1
[ 1679.754688] Call Trace:
[ 1679.754692]  <IRQ>  [<ffffffff81092520>] ? __report_bad_irq+0x3a/0xa2
[ 1679.754715]  [<ffffffff810926f0>] ? note_interrupt+0x168/0x1da
[ 1679.754724]  [<ffffffff81090e20>] ? handle_irq_event_percpu
+0x171/0x18f
[ 1679.754733]  [<ffffffff8104b547>] ? __do_softirq+0x13b/0x19e
[ 1679.754743]  [<ffffffff8106618b>] ? timekeeping_get_ns+0xe/0x2e
[ 1679.754750]  [<ffffffff81090e72>] ? handle_irq_event+0x34/0x52
[ 1679.754759]  [<ffffffff81063ffb>] ? sched_clock_idle_wakeup_event
+0x12/0x1c
[ 1679.754767]  [<ffffffff81092e3e>] ? handle_fasteoi_irq+0x82/0xa4
[ 1679.754775]  [<ffffffff8100aadb>] ? handle_irq+0x1a/0x23
[ 1679.754781]  [<ffffffff8100a384>] ? do_IRQ+0x45/0xaa
[ 1679.754790]  [<ffffffff81332ad3>] ? common_interrupt+0x13/0x13
[ 1679.754794]  <EOI>  [<ffffffff81026800>] ? native_safe_halt+0x2/0x3
[ 1679.754810]  [<ffffffff8100f70d>] ? default_idle+0x4b/0x85
[ 1679.754817]  [<ffffffff81008dd2>] ? cpu_idle+0xab/0xe1
[ 1679.754826]  [<ffffffff8169fc60>] ? start_kernel+0x3e0/0x3eb
[ 1679.754835]  [<ffffffff8169f3c8>] ? x86_64_start_kernel+0x102/0x10f
[ 1679.754839] handlers:
[ 1679.754843] [<ffffffffa0370ee0>] (radeon_driver_irq_handler_kms
+0x0/0x1c [radeon])
[ 1679.754896] Disabling IRQ #16
[ 1679.754896] Disabling IRQ #16

And another messages appear later also in dmesg:

[ 4984.745387] irq 17: nobody cared (try booting with the "irqpoll"
option)
[ 4984.745396] Pid: 2358, comm: firefox-bin Tainted: G           O
2.6.39-1-amd64 #1
[ 4984.745398] Call Trace:
[ 4984.745401]  <IRQ>  [<ffffffff81092520>] ? __report_bad_irq+0x3a/0xa2
[ 4984.745414]  [<ffffffff810926f0>] ? note_interrupt+0x168/0x1da
[ 4984.745419]  [<ffffffff81090e20>] ? handle_irq_event_percpu
+0x171/0x18f
[ 4984.745423]  [<ffffffff8104b547>] ? __do_softirq+0x13b/0x19e
[ 4984.745426]  [<ffffffff81090e72>] ? handle_irq_event+0x34/0x52
[ 4984.745430]  [<ffffffff81092e3e>] ? handle_fasteoi_irq+0x82/0xa4
[ 4984.745433]  [<ffffffff8100aadb>] ? handle_irq+0x1a/0x23
[ 4984.745436]  [<ffffffff8100a384>] ? do_IRQ+0x45/0xaa
[ 4984.745440]  [<ffffffff81332ad3>] ? common_interrupt+0x13/0x13
[ 4984.745442]  <EOI>  [<ffffffff81338c12>] ? system_call_fastpath
+0x16/0x1b
[ 4984.745447] handlers:
[ 4984.745448] [<ffffffffa001c289>] (skge_intr+0x0/0x3e9 [skge])
[ 4984.745474] [<ffffffffa032f34e>] (azx_interrupt+0x0/0x13c
[snd_hda_intel])
[ 4984.745479] Disabling IRQ #17

I'm thinking about try booting with the "irqpoll". What do you think?

> 
> 

> It's a long shot, but maybe you could try if a 2.6.39 kernel helps.

It's the same.

> 
> 
> 
> Does booting with radeon.agpmode=-1 on the kernel command line help?
> 
Yes, it helps! The performance doesn't fall already, although...

With it in /var/log/Xorg.0.log appears a new warning in addition to previous:

(WW) RADEON(0): Direct rendering disabled

And I can't run empathy due to:

failed to create drawable
Unable to select the newly created GLX context
Run 'empathy --help' to see a full list of available command line options.
(empathy:17688): empathy-WARNING **: Error in empathy init: Unable to select the newly created GLX context


But the solution is better than the previous situation.

-- 
http://elhistorias.com








More information about the xorg-driver-ati mailing list