Hi everyone,
First of all, sorry for my bad English.
I’m a newbie who decided to learn something about Linux. So I decided to install Leap 42.1 on my Lenovo Z50-70 in dualboot with Windows 10. I loved it, but I had troubles with closing lid, it freezed everytime and I had to force shutdown. I searched a bit on the Internet and I thought I found a possible solution installing NVIDIA proprietary drivers (because my laptop integrates dual graphics and some people seemed to had solved that problem in this way). However something probably went wrong, and now I can’t even have access to the GUI: everytime I start Opensuse there’s only a big full-screen terminal, and I can use my PC only from that.
So my question is: is there a way to restore Nouveau drivers from terminal and be able again to use GUI or should I overwrite the partition with a new installation of OpenSuse?
Thanks!
remove the nvidia driver
If this is a laptop then it is probably Intel+NVIDIA hybrid graphics this requires special treatment using a program called bumblebee
From the terminal you get log in as root and run yast (need to use tab and spaces and arrows to navigate) in Software management section search for NVIDIA remove all that have nvidia in the package name
accept to remove then quit yast and reboot
follow instructions for bumblebee here exactly
https://en.opensuse.org/SDB:NVIDIA_Bumblebee
You must remove the regular NVIDIA driver first
Thank you for the answer.
I followed what you told me, but it seems I’m not connected to WiFi, so I can’t download either Bumblebee and Nouveau drivers (uninstalling NVIDIA ones I found out I don’t have them installed anymore, maybe this was the problem).
Is there a way to connect?
Actually I solved the wifi problem using “nmtui”, so I installed back Nouveau and Bumblebee, rebooted, but still don’t work, I can login only in text mode. What else could I do?
Hi, please check if the nvidia uninstall left behind a file named /etc/modprobe.d/nvidia.conf
If so, please remove it and reboot:
sudo rm /etc/modprobe.d/nvidia.conf
Hi,
I’ve checked it out, but there wasn’t any nvidia.conf file. However I solved removing “xorg.conf” file in /etc/X11, because I opened it and saw it was all set up on Nvidia Drivers. Now I don’t have it anymore (is that file important?) and everything seems ok, the GUI now works.
I didn’t solved the problem of the closing lid that bring my PC to a freeze status (only with suspend-to-ram enabled, though), but I think I’ll open a new thread because it is quite a different question.
Thanks a lot to both of you, your help was fundamental, because I’m just starting learning about this new world, so I was a bit lost!
Nice job, xorg.conf is just another leftover of the nvidia install, you don’t need it.
As to the freeze after resume from suspend, it might be that the nvidia chip resumes in an undetermined state.
You might try to add the following to your boot command line:
nouveau.ignorelid=1
and if it works, you might add a file named, for instance, /etc/modprobe.d/50-nouveau.conf with the following contents:
options ignorelid=1
Otherwise please open a new thread in the Hardware subforum.
On 09/21/2016 09:06 AM, OrsoBruno wrote:
>
> teotheboss;2793356 Wrote:
>> Hi,
>> I’ve checked it out, but there wasn’t any nvidia.conf file. However I
>> solved removing “xorg.conf” file in /etc/X11, because I opened it and
>> saw it was all set up on Nvidia Drivers. Now I don’t have it anymore (is
>> that file important?) and everything seems ok, the GUI now works.
>> I didn’t solved the problem of the closing lid that bring my PC to a
>> freeze status (only with suspend-to-ram enabled, though), but I think
>> I’ll open a new thread because it is quite a different question.
>> Thanks a lot to both of you, your help was fundamental, because I’m just
>> starting learning about this new world, so I was a bit lost!
>
> Nice job, xorg.conf is just another leftover of the nvidia install, you
> don’t need it.
> As to the freeze after resume from suspend, it might be that the nvidia
> chip resumes in an undetermined state.
> You might try to add the following to your boot command line:
>
> Code:
> --------------------
>
> nouveau.ignorelid=1
>
> --------------------
>
> and if it works, you might add a file named, for instance,
> /etc/modprobe.d/50-nouveau.conf with the following contents:
>
> Code:
> --------------------
>
> options ignorelid=1
>
> --------------------
>
> Otherwise please open a new thread in the Hardware subforum.
>
>
Could the problem possibly be that there is not enough swap space to
handle the hibernate sequence?
–
Ken
linux since 1994
S.u.S.E./openSUSE since 1996
How much memory and how much swap?? Swap should be at least as large as memory a bit larger is good.
Ok, thank you again, later I’ll try this!
My laptop has 8 GB of ram, swap is 7.89 GB, I think this was the default setting when I installed Leap. How could I enlarge it?
Probably enough. To enlarge you would need to adjust partition sizes. The memory image is compressed so even if some swap is in use when you hibernate then there should still be plenty of room unless you truly are loading things up.
I tried this, but it doesn’t work.
However I opened a new thread here (https://forums.opensuse.org/showthread.php/520050-Problem-with-suspend-to-ram-option?p=2793432#post2793432) for this problem
It’s been a few months since I’ve done it,
but If I remember correctly,
your first problem was probably because you didn’t run mkinitrd.
- run the driver
- exit when it talks about having ran a script (blacklisting nouveau)
- run mkinitrd
- reboot
- run the driver completely this time
I went back to the nouveau driver, and live with its tearing issues.
The nvidia drivers seem to break ctrl+alt+f2 / ctrl+alt+f7
and cause shutdowns to take like 3-5 minutes.
And with tumbleweed you have to reinstall after every zypper dup.