When having many programs *1) loaded, X crash *2) after resume from suspend or hibernation *3) *1) example: opera, firefox, chrome (the former with a couple pages each, the ones after this parenthesis are enough without data files for simple test:), showfoto, gwenview, scribus, libreoffice draw+writer+calc+impress. *2) i assume, nvidia logo briefly shows, then normal KDE login, then KDE loads desktop from last logout/shotdown/reboot - not as when hibernated/suspended. *3) restore from hibernation is extremely slow, bug 12706 Affected machines: Lenovo Thinkpad R61 and T61 lspci -vv from R61, se: https://bugs.mageia.org/attachment.cgi?id=4973 I set it critical as user may loose work. Any idea what to look for in what log?
Contrast: My old mga4 desktop system 4xOpteron, Radeon, resumes nicely from hibernation even with more programs running. (Can not test suspend there, probably not compatible hardware)
Created attachment 4978 [details] Xorg.0.log(.old) of crashing session Excerpt: [ 3835.638] (EE) NVIDIA(0): Failed to allocate primary buffer: out of memory. [ 3835.640] (EE) NVIDIA(0): *** Aborting ***
Source RPM: (none) => x11-server-xorg-1.14.5-2.mga4
I searched teh web for that X error and found some who solved by adding kernel parameter nopat. I tried but that did not help in my case...
cc thierry ; maybe this is a kernel bug ? Maybe some configuration for reserving enough memory? -but why should it need more memory after resume?? - is it not reusing/restoring it correctly? Any setting i could try to change? If you have time to dig into this and think cauldron is a better test bed i can make a disk available for swapping in and install cauldron as testing system. Additional info: § this happen both for noveau and nvidia proprietary driver. § most often just the X session crash and restart, but sometimes it is a full hang with mga background, sometimes black, sometimes but seldom reboot § brightness is not working - maybe related but probably not § I believe at least the R61 also had this problem om mga3, but I did not document it. § i have tried with desktops cinnamon and KDE, on mga4, same problem. § My (wifes) R61 is now running fedora 20 - same problem, but expresses itself a bit different; i do not get to KDE login instead it either reboots or hang. And seem less rare than on mga4. And brightness works. Only tried with noveau driver on fedora, with KDE. Also on fedora there are some - pretty different - bug reports on resuming. The Thinkpad T61 is still on mga4. Tell me what log or other info could be helpful to track this down.
CC: (none) => thierry.vignaudSummary: X crash on resume if many programs are running => Nvidia fail to allocate memory on resume (so X crash) if more than a couple programs are running
corresponding bug on fedora https://bugzilla.redhat.com/show_bug.cgi?id=1096989
Hurray! This problem seem gone in mga5 x86_64 , tested in fresh network install shortly after alpha 1 isos release, and also at updates until now on both thinkpad R61 and T61. Kernel 3.15.6-desktop-1.mga5 It was still a problem earlier today on fedora 20 which we have now left. mga4 have not been running lately on this hardware but i suppose nothing have changed, so I guess we can not set it as solved, but actually it works nicely on cauldron. Production systems on these laptops are now switched to mga5 :)
Now i think there is another version of hibernation problem: Bug 14392
Status: NEW => RESOLVEDResolution: (none) => FIXED