Discussion:
Bug 889660 - nVidia proprietary driver does not consistently resume from sleep/suspend.
(too old to reply)
Gordon Dickens
2014-08-13 17:57:14 UTC
Permalink
Raw Message
Hello everybody,

I am inquiring about this bug:
https://bugzilla.novell.com/show_bug.cgi?id=889660

In summary, when resuming from suspend, the proprietary nVidia driver
fails to resume 25% to 50% of the timeand the screen becomes distorted
and unusable.

This has been an outstanding issue that has been reported in the
OpenSUSE forum, KDE forum and other forums for over 6 months as noted in
the aformentioned bug. The OpenSUSE kernel folks seem to think that its
an nVidia bug. So, I filedabug report with nVidia who subsequently
replied via email verbatim as follows:

"there is not any error related to nvidia driver in log. I think this is
issue with kernel other component."

This email from nVidia, along with a log dump is included in comments
6, 7 and 8 in the OpenSUSE bug 889660 mentioned above.

So, it appears that we arein an infinite loop with nVidia blaming the
kernel folks and the kernel folks blaming nVidia.

Another Arch Linux user reported that the failure to resume can be
rectified in KDE by issuing "kwin --replace" via a hot key. I have found
that worksfor me too. I believe that the fact that "Kwin --replace"
rectifies the problem could be a very significant clue as to what is
causing this problem. However, as a side note, after a few resumes with
kwin--replace, /var/log/messages and /var/log/warn become HUGE with each
growing by as much as 3GB per day.

In any event, I have no idea if this is an nVidia problem, a kernel
problem, a KDE problem or something else. Doesany of the OpenSUSE kernel
developers have any ideasas to what is going on here and what can be
done to fix this? At the very least,if the kernel developers believe
that its an nVidia problem, then I respectfully request that a dialog be
started with the nVidia Linux developers to solve this problem ASAP.
nVidia is very popular graphics hardware and the opensource driver,
Nouveau, has its own set of problems, primarily that it doesn't always
redraw the screen properly when scrolling within a window. Therefore,
some type of resolution needs to be attained especially prior to the
release of OpenSUSE 13.2.

Thanks for your consideration!

Gordon
Oliver Neukum
2014-08-13 18:20:11 UTC
Permalink
Raw Message
Post by Gordon Dickens
In any event, I have no idea if this is an nVidia problem, a kernel
problem, a KDE problem or something else. Doesany of the OpenSUSE kernel
developers have any ideasas to what is going on here and what can be
done to fix this? At the very least,if the kernel developers believe
Hard to say. An interaction of the components is most likely but that's
not a useful observation.
Post by Gordon Dickens
that its an nVidia problem, then I respectfully request that a dialog be
started with the nVidia Linux developers to solve this problem ASAP.
nVidia is very popular graphics hardware and the opensource driver,
Nouveau, has its own set of problems, primarily that it doesn't always
redraw the screen properly when scrolling within a window.
Therefore,
some type of resolution needs to be attained especially prior to the
release of OpenSUSE 13.2.
Generally, if you have a working kernel and a later broken kernel
the answer is "git bisect"

HTH
Oliver
Gordon Dickens
2014-08-13 20:05:59 UTC
Permalink
Raw Message
Generally, if you have a working kernel and a later broken kernel the
answer is "git bisect" HTH Oliver
I don't have any experience in kernel developement and/or bisecting the
kernel although I would be happy to test anything that you send to me.
Matwey V. Kornilov
2014-08-14 08:59:23 UTC
Permalink
Raw Message
Post by Gordon Dickens
I don't have any experience in kernel developement and/or bisecting the
kernel
It is good chance to learn, isn't it?
Linda A. Walsh
2014-08-16 11:39:48 UTC
Permalink
Raw Message
Post by Gordon Dickens
Generally, if you have a working kernel and a later broken kernel the
answer is "git bisect" HTH Oliver
I don't have any experience in kernel developement and/or bisecting the
kernel although I would be happy to test anything that you send to me.
I know it sounds daunting, but if you type "git bisect" into google
you'll find tons
of stuff on how to do it...

I think there are scripts that automate much of it .
If you get disparate enough it's worth a shot...
Linda A. Walsh
2014-08-17 22:35:26 UTC
Permalink
Raw Message
Post by Linda A. Walsh
I think there are scripts that automate much of it .
If you get disparate enough it's worth a shot...
---
p.s. desperately seeking a good spell checker! ;-)

Dominik Kopp
2014-08-16 18:24:20 UTC
Permalink
Raw Message
Post by Gordon Dickens
I don't have any experience in kernel developement and/or bisecting the
kernel although I would be happy to test anything that you send to me.
there might be better ways to do this, but I used these commands for my
first kernel bisect.
(I miss a cool how-to on the opensuse wiki pages...)

cd ~
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
cd linux
git bisect start
git bisect good v3.14
git bisect bad v3.15
cp /boot/config-3.15.6-41.gede5ddf-desktop .config (<<< use correct file)
then change the line "CONFIG_LOCALVERSION" in that .config file
to a better value like "-git"
make localmodconfig
make -j 2 bzImage modules (<<< use 4 or more for more CPU cores)
sudo make modules_install install

reboot
do the tests

cd ~
git bisect <good|bad>
make localmodconfig
make -j 2 bzImage modules
sudo make modules_install install

and repeat with reboot, tests, ...



PS: Be aware that I don't know how to delete the installed kernels in a
proper way.
Matwey V. Kornilov
2014-08-16 19:21:02 UTC
Permalink
Raw Message
Post by Dominik Kopp
cd ~
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
git clone git://kernel.opensuse.org/kernel-source.git -b master
Post by Dominik Kopp
sudo make modules_install install
the is is needed to make initrd and update bootloader (to find the new
kernel)
Post by Dominik Kopp
reboot
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe-***@public.gmane.org
To contact the owner, e-mail: opensuse-kernel+owner-***@public.gmane.org
Matwey V. Kornilov
2014-08-16 19:22:25 UTC
Permalink
Raw Message
Post by Matwey V. Kornilov
Post by Dominik Kopp
cd ~
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
git clone git://kernel.opensuse.org/kernel-source.git -b master
This one:

git clone git://kernel.opensuse.org/kernel.git -b master

=)
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe-***@public.gmane.org
To contact the owner, e-mail: opensuse-kernel+owner-***@public.gmane.org
Loading...