Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-26-11, 12:26 AM   #13
aurelieng
Registered User
 
Join Date: Nov 2004
Posts: 18
Default Re: Problem after suspend to RAM

Hi,

Thanks for your suggestion. My laptop is having the same problem. Here's the initial output of cat /proc/mtrr

Quote:
reg00: base=0x000000000 ( 0MB), size= 4096MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
In the kernel boot options, I added

Quote:
enable_mtrr_cleanup mtrr_spare_reg_nr=1
The "uncachable" line remains, but it seems that "more memory is taken into account" (I have 8Go on this machine).

Quote:
reg00: base=0x000000000 ( 0MB), size= 4096MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg02: base=0x100000000 ( 4096MB), size= 4096MB, count=1: write-back
reg03: base=0x200000000 ( 8192MB), size= 8192MB, count=1: write-back
reg04: base=0x400000000 (16384MB), size=16384MB, count=1: write-back
The random 2-5 sec freeze remains, both with the latest production version 260.19.36 and the beta 270.29. I'll tell you more about its frequency in a few days (even though it's not solved, I hope the symptoms are quieter).

Please find attached the nvidia-bug-report I generated with 270.29.

Any other idea ?

Cheers,
Attached Files
File Type: gz nvidia-bug-report.log.gz (50.1 KB, 58 views)
aurelieng is offline   Reply With Quote
Old 03-01-11, 03:03 AM   #14
aurelieng
Registered User
 
Join Date: Nov 2004
Posts: 18
Default Re: Problem after suspend to RAM

Hi all,

It seems that most freezes are gone with:
- 270.29 beta driver
- MTRR enabled by appending enable_mtrr_cleanup mtrr_spare_reg_nr=1 to the list of kernel options (see http://www.nvnews.net/vbulletin/show...8&postcount=39)

I didn't investigate further to know if both the driver and the MTRR trick are required.

Thanks a lot,

Aurel.
aurelieng is offline   Reply With Quote
Old 03-01-11, 10:04 AM   #15
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Problem after suspend to RAM

see this post too: http://www.nvnews.net/vbulletin/show...04#post2398504 as you have a Logitech USB device and you Xorg.0.log shows [mi] overflow errors
Licaon is offline   Reply With Quote
Old 03-01-11, 12:28 PM   #16
augegr
Registered User
 
Join Date: Sep 2009
Posts: 12
Default Re: Problem after suspend to RAM

For me using the beta driver has no effect.

Enabling mtrr from grub has no effect either but I noticed that there are still uncachable entries in /proc/mtrr so I probably have to compile the kernel with mtrr enabled. I don't have the time to try this right now though..
augegr is offline   Reply With Quote
Old 03-01-11, 03:06 PM   #17
augegr
Registered User
 
Join Date: Sep 2009
Posts: 12
Default Re: Problem after suspend to RAM

Nevermind I didn't do it right the first time.

Now, after reboot I see write-back on every line, however after suspend the symptoms are still there.

I do see an improvement but the problem persists so it's not totally fixed.

Also, I noticed something strange. After the suspend, when I "cat /proc/mtrr" the results are not constant. Sometimes all the lines have write-back, sometimes uncachable.
augegr is offline   Reply With Quote
Old 03-02-11, 12:18 AM   #18
aurelieng
Registered User
 
Join Date: Nov 2004
Posts: 18
Default Re: Problem after suspend to RAM

I agree: it's an improvement, but the problem persists. It may be related to the following line, which is always present in the output of cat /proc/mtrr:

Quote:
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
Any other ideas?
aurelieng is offline   Reply With Quote
Old 03-02-11, 04:26 AM   #19
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Problem after suspend to RAM

just leave it as it is, there are plenty of contrary opinions on MTRR anyway
did you read my previous post?
Licaon is offline   Reply With Quote
Old 03-02-11, 04:31 AM   #20
aurelieng
Registered User
 
Join Date: Nov 2004
Posts: 18
Default Re: Problem after suspend to RAM

OK.

I read your previous post but I can't recompile my xserver right now. Perhaps augegr can investigate further ?
aurelieng is offline   Reply With Quote

Old 03-02-11, 04:44 AM   #21
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Problem after suspend to RAM

Quote:
Originally Posted by aurelieng View Post
I read your previous post but I can't recompile my xserver right now. Perhaps augegr can investigate further ?
No need to recompile, but maybe test without using any Logitech USB devices and such.
Licaon is offline   Reply With Quote
Old 03-02-11, 06:35 AM   #22
augegr
Registered User
 
Join Date: Sep 2009
Posts: 12
Default Re: Problem after suspend to RAM

I would but both my mouse and keyboard are logitech and I don't have others aroung..

Will try to buy/borrow a keyboard tomorrow and post back.

Btw, thank you very much for your trouble Licaon. Right now, you should be the one getting paid from nVidia.
augegr is offline   Reply With Quote
Old 04-12-11, 02:34 PM   #23
epsilon72
Gentoo User
 
Join Date: Mar 2007
Posts: 65
Exclamation Re: Problem after suspend to RAM

This is a BIG problem for me. I've tried even the 270.18 driver in Gentoo and the problems still persist.

Basically, it prevents me from using any kernel newer than 2.6.34 or so, because the later ones all suffer from this with nvidia drivers 260 and greater.
epsilon72 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.