Bug 109397

Summary: PGRAPH TLB flush idle timeout fail: X hangs, ssh login possible
Product: Mesa Reporter: mrtn22 <martin.okrslar>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Nouveau Project <nouveau>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description mrtn22 2019-01-20 07:57:40 UTC
Dear nouveau developers and community,

I#m using nouveau on a MacBook Pro mid 2008, with GeForce 8600M GT und Linux kernel 4.14.90 under NixOS.

After some 30 to 50 minutes of working, the X server always freezes and gives scattered image. Moving the mouse is often possible, but clicking or typing are without any effect.

Loging in with ssh is still possible. I also tried to restart the X server, but it hangs so hard, the only pressing power off button helps.

Here are the nouveau related logs from systemd.

----during boot---

Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: NVIDIA G84 (084700a2)
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: bios: version 60.84.49.03.00
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: fb: 256 MiB GDDR3

[...]

Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: VRAM: 256 MiB
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: TMDS table version 2.0
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB version 4.0
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB outp 00: 01000123 00010034
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB outp 01: 02011210 00000028
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB outp 02: 02011212 00000030
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB outp 03: 01011211 0080c070
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB conn 00: 0040
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: DCB conn 01: 1120
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: unknown connector type 20
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: failed to create encoder 0/1/0: -19

[...]

Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: MM: using CRYPT for buffer copies
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: DRM: allocated 1440x900 fb: 0x70000, bo ffff99eff1428000
Jan 20 07:00:07 hackbetz kernel: Console: switching to colour frame buffer device 180x56
Jan 20 07:00:07 hackbetz kernel: nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
Jan 20 07:00:07 hackbetz kernel: [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
Jan 20 07:00:07 hackbetz kernel: audit: type=1130 audit(1547964002.868:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-backlight@leds:smc::kbd_b>


--- on crash this message repeats over and over ---

Jan 20 07:46:51 hackbetz kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout fail
Jan 20 07:46:51 hackbetz kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 00000603 [BUSY DISPATCH VFETCH CCACHE_PREGEOM]
Jan 20 07:46:51 hackbetz kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00000009 [VFETCH CCACHE]
Jan 20 07:46:51 hackbetz kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 00000000 []
Jan 20 07:46:51 hackbetz kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 00000000 []


Any ideas?

Thanks a lot to all of you writing this software!
Comment 1 GitLab Migration User 2019-09-18 20:47:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1168.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.