I have installed the nvidia driver but want to use the nouveau driver. I followed the guide in this article: https://en.opensuse.org/SDB:NVIDIA_drivers, but it seems the nivida did not get completely deleted.
The kernel driver is ok, but the kernel modules seems to show nvidia prop modules is loaded as well. Most things works in plasma, but wobbly when scrolling webpages. I don’t like that. If anybody can give me some advice how to fix this I will be very happy.
First,
Did you install your nVidia driver using one of the methods described in a SDB?
Then,
Did you search for NVIDIA packages as described in the “Uninstall - Zypper” section of the SDB you referenced?
I installed nvidia driver (the hard way) on an older computer, for openSUSE 12.3. Then I changed my mind, and decided to go back to the nouveau driver. So I uninstalled the nvidia driver.
It didn’t work. Things were broken. So I went back to the nvidia driver.
Later, with openSUSE 13.2 (same computer), I installed nvidia driver. This time I was smart, and installed from the repo. It had problems, so I decided to go back to nouveau.
I uninstalled nvidia. Since I had installed from the repo, I expected that to work. No such luck. The system was still broken.
So I did a forced reinstall of mesa. I searched for “mesa” in Yast Software Manager, and reinstalled everything that was already installed that was part of mesa.
That fixed it. Now nouveau worked as it should.
That was a while ago, with an older nvidia card. It might not apply to your situation. But it might be worth trying.
I understand that you are not using proprietary Nvidia drivers, is it a desktop or laptop?
Can you know the characteristics of this computer?
The Geforce Gtx 970 is well supported, and there should be no problems, the system is updated, sometimes an upgrade is needed even after installation to work properly
I used the yast method of adding the repository, finding the right nvidia version for my card and install it. When I uninstalled it I filtered on the nvidia repository and removed the packages. All in accordance with the article. I dobbel checked this today, and no pakages from the nvidia prop driver was there.
This suggests to me the initrd may not have been rebuilt when the NVidia driver was removed.
Note that lspci reports nothing directly to do with X. That output is all about the kernel. OTOH, X has two FOSS drivers to choose between, both of which depend on proper unencumbered nouveau kernel module function. These are the (upstream default) modesetting DDX provided by the server package, and the reverse-engineered, optional, nouveau DDX, provided by the xf86-video-nouveau package.
Assuming the initrd has been rebuilt to exclude the nvidia modules, but the failure remains, I agree with nrickert’s recommendation.
I made a forced upgrade of the mesa packages, but i didn’t change anything. The output of sudo lspci -nnk | grep -iA3 VGA is the same, and the web scrolling is the same.
Looking at your original command,
I haven’t inspected if the nVidia code is actually compiled into the initrd or as a LKM.
If the nVidia module is built as a LKM and not into the initrd,
The following is appropriate,
Note that LKM can be loaded by your system any time whether during boot or later, only feature is that it shouldn’t require something like a mkinitrd.
See the Wiki page I wrote on listing all modules and installed modules.
Recommend:
Viewing all modules first to verify that your proprietary nVidia module still exists (I suspect it should be)
Then
Viewing only installed modules (nVidia should not be listed, I don’t know if nouveau would be listed if it’s built into the initrd) but the nVidia driver should not be displayed.
It didn’t give any output. I have also checked /etc/modprobe.d/50-blacklist.conf and it’s not any mention of nouveau there. I did the forced update of mesa, and this action rebuild the initrd?
Since my last post I did a little more digging (i know it’s bad form to post before you have everything but…)
Of course, Malcolm’s suggestion to check whether nouveau is blacklisted is important
I think descriptions say that only a small piece of the nVidia installation requires adding to the initrd, drm_nvidia. To me, this appears to be a kind of shim to the main nVidia module which appears to be a LKM. Note that his is purely based on reading articles about the installation and not close inspection of an install itself.
Bottom line,
If Malcolm’s suggestion isn’t the reason, then my post about inspecting LKMs properly should probably apply. If I’m right, then removing the part that was installed into the initrd should not be critical, but it looks like the SDB “Installing nVidia the Hard Way” does include instructions should it be necessary.
My question is why the nouveau driver is not working properly (wobbly webpages), and my thesis is that maybe not all of the proprietary nVidia driver is purged. Maybe it is something else wrong. I only try to avoid reinstalling the whole system.
My understanding of how things are supposed to work is that there is supposed to be a kind of switch… For a particular display device you would switch between one module and another, if the switch is written correctly, then you can’t experience a mixing and matching… the code for the two drivers just aren’t written in a way that anything from the other can be accessed even accidentally.
So,
Assuming things are working as they should, your speculation can’t happen.
But,
As I noted,
the SDB I referenced seems to describe how to fix problems I think you described in your original post(s) were your reasons for even installing the nVidia driver in the first place.
So, unless you originally ran nouveau before installing the nVidia driver so you know that the nouveau driver won’t cause those problems and you agree those problems are described in the SDB, I’d think you should consider re-installing the nVidia driver and trying those configuration changes described in the SDB