On Mon, Apr 8, 2013 at 7:01 AM, Alex Deucher <alexdeucher@xxxxxxxxx> wrote: > On Fri, Apr 5, 2013 at 5:11 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote: >> Every day or so, I'll click something and my screens go blank for a >> second or two. dmesg complains about a lockup, and afterwards >> everything is painfully slow. (Even switching focus to other emacs >> windows takes a second or two.) Once this happens, if I restart X, I >> get a blank screen, although the mouse still works and I can switch >> VTs and use the console. > > Try disabling hyperZ. Set env var R600_HYPERZ=0 (mesa 9.1) or > R600_DEBUG=nohyperz (mesa git). It lasted longer. I have both of those environment variables set on the Xorg process but not on clients. Do I need it everywhere? The failure was: [847785.776441] radeon 0000:08:00.0: GPU lockup CP stall for more than 10654msec [847785.776449] radeon 0000:08:00.0: GPU lockup (waiting for 0x00000000000090f8 last fence id 0x00000000000090f7) [847785.777542] radeon 0000:08:00.0: Saved 71 dwords of commands on ring 0. [847785.777548] radeon 0000:08:00.0: GPU softreset: 0x00000007 [847785.789844] radeon 0000:08:00.0: GRBM_STATUS = 0xA0003828 [847785.789847] radeon 0000:08:00.0: GRBM_STATUS_SE0 = 0x00000007 [847785.789850] radeon 0000:08:00.0: GRBM_STATUS_SE1 = 0x00000007 [847785.789852] radeon 0000:08:00.0: SRBM_STATUS = 0x200080C0 [847785.789855] radeon 0000:08:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [847785.789857] radeon 0000:08:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000 [847785.789860] radeon 0000:08:00.0: R_00867C_CP_BUSY_STAT = 0x00000004 [847785.789862] radeon 0000:08:00.0: R_008680_CP_STAT = 0x80008647 [847785.789864] radeon 0000:08:00.0: GRBM_SOFT_RESET=0x00007F6B [847785.789919] radeon 0000:08:00.0: GRBM_STATUS = 0x00003828 [847785.789922] radeon 0000:08:00.0: GRBM_STATUS_SE0 = 0x00000007 [847785.789924] radeon 0000:08:00.0: GRBM_STATUS_SE1 = 0x00000007 [847785.789927] radeon 0000:08:00.0: SRBM_STATUS = 0x200080C0 [847785.789929] radeon 0000:08:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [847785.789932] radeon 0000:08:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000 [847785.789934] radeon 0000:08:00.0: R_00867C_CP_BUSY_STAT = 0x00000000 [847785.789937] radeon 0000:08:00.0: R_008680_CP_STAT = 0x00000000 [847785.789941] radeon 0000:08:00.0: R_00D034_DMA_STATUS_REG = 0x04483106 [847785.789997] radeon 0000:08:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57 [847785.807356] radeon 0000:08:00.0: GPU reset succeeded, trying to resume [847785.825791] [drm] probing gen 2 caps for device 8086:1d1a = 2/0 [847785.825797] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0 [847785.832851] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). [847785.832993] radeon 0000:08:00.0: WB enabled [847785.832996] radeon 0000:08:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88044295bc00 [847785.832997] radeon 0000:08:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88044295bc0c [847785.849454] [drm] ring test on 0 succeeded in 2 usecs [847785.849523] [drm] ring test on 3 succeeded in 1 usecs [847785.849604] [drm] ib test on ring 0 succeeded in 0 usecs [847785.849681] [drm] ib test on ring 3 succeeded in 1 usecs --Andy _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel