Bug 91992

Summary: [NV4C] computer hangs after few minutes of use
Product: Mesa Reporter: Laurent Riffard <laurent.riffard+freedesktop>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Nouveau Project <nouveau>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 99968    
Attachments: dmesg (ArchLinux)
Xorg.log (ArchLinux)
vbios.rom

Description Laurent Riffard 2015-09-13 14:50:30 UTC
Created attachment 118238 [details]
dmesg (ArchLinux)

Hello,

After few minutes (3 to 15) of use, the display freezes. 
1 or 2 seconds later, the screen is filled at once with repeated noise small pattern. Then, display is frozen, no reaction at all to key presses or mouse. NumLock etc. keyboard lights do not react. Ssh-connection dies. Machine does not respond to ping. SysRq-keys cannot sync disks. Logs are not written to disk. SysRq-keys (SysRq-reboot) do not work at all. Have to press reset button. 

The video card is NVIDIA Corporation C61 [GeForce 7025 / nForce 630a].

It does happen with 2 distros : ArchLinux and Ubuntu 15.04. The freeze is best triggered by lauching LibreOffice or Firefox.

Adding nouveau.config=NvMSI=0 kernel parameter does not help.

Thanks
~~
laurent
Comment 1 Laurent Riffard 2015-09-13 14:51:10 UTC
Created attachment 118239 [details]
Xorg.log (ArchLinux)
Comment 2 Laurent Riffard 2015-09-13 14:53:17 UTC
Created attachment 118240 [details]
vbios.rom
Comment 3 Hans de Goede 2015-09-13 15:09:08 UTC
Hi,

What desktop environment are you using ?

I've a feeling this may be caused by us running out of video-mem. Can you see if you can change the amount of memory assigned to the gpu in the BIOS, and if making that larger helps ?

Regards,

Hans
Comment 4 Laurent Riffard 2015-09-14 17:31:39 UTC
Hi,

I’m using Xfce or Cinnamon.

As you suggested, I increased the amount of RAM assigned to the video card, from 32 Gb to 64 Gb, and I didn’t encounter any new problem.

Shouldn’t this short-memory condition be nicely handled by the driver ?

Regards,
Laurent
Comment 5 Hans de Goede 2015-09-15 04:18:31 UTC
Hi,

(In reply to Laurent Riffard from comment #4)
> Hi,
> 
> I’m using Xfce or Cinnamon.
> 
> As you suggested, I increased the amount of RAM assigned to the video card,
> from 32 Gb to 64 Gb, and I didn’t encounter any new problem.

I assume you mean MB not GB ? Yes 32MB is a very low setting, so this explains the original problem quite nicely.

> Shouldn’t this short-memory condition be nicely handled by the driver ?

In an ideal world it would at least be handled better then crashing, but our oom handling currently is rather poor (as you've noticed) . Fixing this unfortunately is quite difficult and currently no one is working on this.

Since changing the setting in the BIOS fixes things, I'm closing this bug.

Regards,

Hans
Comment 6 Laurent Riffard 2015-09-15 19:47:50 UTC
Hi,

(In reply to Hans de Goede from comment #5)
[...]
> > As you suggested, I increased the amount of RAM assigned to the video card,
> > from 32 Gb to 64 Gb, and I didn’t encounter any new problem.
> 
> I assume you mean MB not GB ? Yes 32MB is a very low setting, so this
> explains the original problem quite nicely.

Yes, I mean Mb...


> > Shouldn’t this short-memory condition be nicely handled by the driver ?
> 
> In an ideal world it would at least be handled better then crashing, but our
> oom handling currently is rather poor (as you've noticed) . Fixing this
> unfortunately is quite difficult and currently no one is working on this.
> 
> Since changing the setting in the BIOS fixes things, I'm closing this bug.

Ok, thanks for your help

Regards,
Laurent

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.