NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Display goes havoc (Radeon IRQ no handler installed)



Hi,

It happened to me several times: I use a laptop for hours, also
connecting remotely to it, and it works then suddenly the display goes
completely out of sync!
Not only in X11, but also consoles are affected. One see garbage (barely
recognizing windows, text) as with old monitors loosing the sync signal.

I'm running 9.1 on a genuine amd64.

Usually I just had to reboot (power button respons, the computer is not
locked, as proven when changing consoles). This time I was remotely
logged in. So before rebooting I checked dmesg and saw this:


[  5824.943995] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[  5824.954001] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 10303.493972] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 10303.503979] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 38899.246495] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 38899.256501] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 82921.420180] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 82921.430186] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 83667.286532] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 83667.296538] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 85715.930107] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[ 85715.940114] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed


It is not enocuraging, isn't it? The error is actually seen on boot
already, but just once.
Here my dmesg excerpt:


[     5.353875] kern.module.path=/stand/amd64/9.1/modules
[     5.353875] kern info: [drm] initializing kernel modesetting (RS480
0x1002:0x5955 0x103C:0x308B).
[     5.353875] kern info: [drm] register mmio base: 0xd0300000
[     5.353875] kern info: [drm] register mmio size: 65536
[     5.353875] kern info: [drm] Generation 2 PCI interface, using max
accessible memory
[     5.353875] radeon0: info: VRAM: 64M 0x000000007C000000 -
0x000000007FFFFFFF (64M used)
[     5.353875] radeon0: info: GTT: 512M 0x0000000080000000 -
0x000000009FFFFFFF
[     5.353875] kern info: [drm] Detected VRAM RAM=40M, BAR=128M
[     5.353875] kern info: [drm] RAM width 128bits DDR
[     5.353875] Zone  kernel: Available graphics memory: 421182 kiB
[     5.353875] kern info: [drm] radeon: 64M of VRAM memory ready
[     5.353875] kern info: [drm] radeon: 512M of GTT memory ready.
[     5.353875] kern info: [drm] GART: num cpu pages 131072, num gpu
pages 131072
[     5.363887] kern info: [drm] radeon: 1 quad pipes, 1 z pipes
initialized.
[     5.363887] kern info: [drm] PCIE GART of 512M enabled (table at
0x0000000043D78000).
[     5.363887] radeon0: info: WB enabled
[     5.363887] radeon0: info: fence driver on ring 0 use gpu addr
0x0000000080000000 and cpu addr 0x0xffffbd07b5188000
[     5.363887] kern info: [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[     5.363887] kern info: [drm] Driver supports precise vblank
timestamp query.
[     5.363887] radeon0: info: radeon: MSI limited to 32-bit
[     5.363887] radeon0: interrupting at ioapic0 pin 17 (radeon0)
[     5.363887] kern info: [drm] radeon: irq initialized.
[     5.363887] kern info: [drm] Loading R300 Microcode
[     5.423919] ubt0 at uhub0 port 2
[     5.423919] ubt0: Broadcom Corp (0x3f0) HP Integrated Module
(0x171d), rev 2.00/1.00, addr 2
[     5.423919] kern info: [drm] radeon: ring at 0x0000000080001000
[     5.564005] kern error:
[drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:3701)r100_ring_test]
*ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
[     5.564005] kern error:
[drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1232)r100_cp_init]
*ERROR* radeon: cp isn't working (-22).
[     5.564005] radeon0: autoconfiguration error: error: failed
initializing CP (-22).
[     5.564005] radeon0: autoconfiguration error: error: Disabling GPU
acceleration
[     5.694085] kern error:
[drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1252)r100_cp_fini]
*ERROR* Wait for CP idle timeout, shutting down CP.
[     5.824166] kern warning: Failed to wait GUI idle while programming
pipes. Bad things might happen.
[     5.824166] kern info: [drm] radeon: cp finalized
[     5.824166] kern info: [drm] Panel ID String: LGP                    
[     5.824166] kern info: [drm] Panel Size 1400x1050
[     5.824166] kern info: [drm] Radeon Display Connectors
[     5.824166] kern info: [drm] Connector 0:
[     5.824166] kern info: [drm]   VGA-1
[     5.824166] kern info: [drm]   DDC: 0x68 0x68 0x68 0x68 0x68 0x68
0x68 0x68
[     5.824166] kern info: [drm]   Encoders:
[     5.824166] kern info: [drm]     CRT1: INTERNAL_DAC2
[     5.824166] kern info: [drm] Connector 1:
[     5.824166] kern info: [drm]   LVDS-1
[     5.824166] kern info: [drm]   DDC: 0x198 0x198 0x19c 0x19c 0x1a0
0x1a0 0x1a4 0x1a4
[     5.824166] kern info: [drm]   Encoders:
[     5.824166] kern info: [drm]     LCD1: INTERNAL_LVDS
[     5.824166] kern info: [drm] Connector 2:
[     5.824166] kern info: [drm]   SVIDEO-1
[     5.824166] kern info: [drm]   Encoders:
[     5.824166] kern info: [drm]     TV1: INTERNAL_DAC2
[     5.874196] radeondrmkmsfb0 at radeon0
[     5.874196] radeondrmkmsfb0: framebuffer at 0xffffdc8043a10000, size
1400x1050, depth 32, stride 5632
[     5.894208] warning:
/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
enable IRQ/MSI because no handler is installed
[     5.954246] wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console
(default, vt100 emulation), using wskbd0


"Bad things might happen" and "Disabling GPU acceleration" aren't
messages that encourage me... however things reasonably work "for some
time" then breaking.

Help!

Riccardo



Home | Main Index | Thread Index | Old Index