Update to 13.1 breaks nvidia

I downloaded and burned the DVD install for 13.1 and selected the upgrade option, as I have ever since it was available. Normally, I get video problems because I have to re-install the nvidia driver “the hard way.” I keep known working versions of the nvidia driver in case the latest doesn’t work. This time the nvidia install doesn’t work.

I drop to init 3 and run the installer and at the very end it fails with this message:

/lib/Modules/3.11.6-4-desktop/build/include/linux/version.h is missing and maybe that is because the kernel source files are missing.

I did not include kernel source files repo at the upgrade. I added it but don’t know how to fix the above problem. Also, I cannot add the nvidia repo to see if replacing nvidia files will help. I would try the nouveau driver but don’t know how to get it installed. I thought if I delete the nvidia files, the nouveau would be forced into action. But now, yast won’t start.

To further complicate things, grub shows that I am running 12.3 but everything I check says I am running 13.1 “Bottle” so I figure editing grub will fix it. Grub also doesn’t show me a console boot, so I have to drop to init 3 after boot. I am running in “failsafe” so I assume that means nomodeset. That makes the computer run so slow it is barely usable.

I ran the DVD upgrade twice, hoping that might fix things. I also have a Live DVD which I am tempted to use for a 3 install. Please help me sort this out.

Which exact version of the driver are you trying to install?
You need 331.20 or 304.116, older ones don’t work with kernel 3.11 as included in openSUSE 13.1.

I’m not sure which exact packages you need to have installed, but check that you have those:
kernel-source, kernel-devel, kernel-desktop-devel, kernel-syms, make, gcc.

Not all of them may be needed.

And there’s no special repo needed for those, they are contained in the standard OSS repo.

PS: Regarding the boot loader still saying 12.3: This is a known “problem”. Just change the Vendor string in YaST->System->Boot Loader->Boot Loader Options.

On 2013-12-16 19:06, Prexy wrote:

> I ran the DVD upgrade twice, hoping that might fix things. I also have a
> Live DVD which I am tempted to use for a 3 install. Please help me sort
> this out.

No.

As the DVD is too small, it can not contain the entire OSS repository
and the Offline System Upgrade procedure can not upgrade everything. You
have to run after it completes, this:


zypper dup
zypper up
zypper patch

Make sure you only have the 4 official repos active before running that.
Then, verify:


rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \
%{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \
%{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}
" \
| sort | cut --fields="2-" --delimiter=\; \
| tee rpmlist.csv | less -S

or

rpm -q -a --queryformat "%{INSTALLTIME}	%{INSTALLTIME:day} \
%{BUILDTIME:day} %-30{NAME}	%15{VERSION}-%-7{RELEASE}	%{arch} \
%25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}
" \
| sort | cut --fields="2-" | tee rpmlist | less -S

And after that, run “rcrpmconfigcheck” and verify the resulting list of
config files. I suggest backing up both the active and the old/new file
somewhere, and then edit both with “meld”. Choose what to keep or not of
the config.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Launch Yast, launch Software Management, search for nvidia (it is now in the OpenSUSE repositories), then choose the appropriate one for your card and install.

You should probably then be able to boot normally.

-fb

nVidia drivers are here:

ftp://download.nvidia.com/opensuse/13.1/

For most of us, they are in the i586 directory.

-fb

You should add that repo in YaST->Software Repositories (it is even listed there in the Community Repos list, just click “Add” and choose "Community Repositories).
Then install the driver with YaST, it picks the correct subdirectories itself.

Correct. That is the way I did it.

However, I threw in the link, because that repository wasn’t working/available for about a day until late (in my time-zone) last night, and it had just came back alive shortly before I posted the link.

-fb

Thank you for all the tips. I could not get online and when I did, I forgot my forum password!

I used another pc to get the only nvidia driver wolfi323 listed but couldn’t get it into the troubled computer. I was unable to get the driver from the repo until I tried again after FRASER_BELL noted the repo has just become available. I downloaded the only driver in the repo that was in wolfi’s tip. My card is a 7600 GS and is not supposed to work with the latest driver. However, installing it got me past the opensuse logo screen for the first time!

I got only a text login and startx did not work. So next I tried Robin-Lista’s advice to zypper dup. There were 384 updates! That scared me, thinking it might end up wiping my home dir. Instead, I did zypper up and got the same 384 updates. That is working its way through right now. When it finishes, I will do the zypper patch and see what I get. I’ll report when that is done.

Thanks again.

startx is depreciated. and will not work for a user anymore become root and run init 5 to start the GUI

No. There is more than one driver in that repo.
Which driver did you install?
The G03 is a bad idea, since as you say yourself it doesn’t support your card.

You need the G02 driver.

Well, you’re right about that. Now, I get no GUI at all. I am using a flat screen tv as a monitor and I get “Signal is not compatible with this input” error but nothing else. I ran the Live DVD and looked at Hardware Info. The Live DVD is running nouveau. That gave me some GUI but most of the screen doesn’t render unless I run the mouse over the part I want to see. Even that is inconsistent. Some items show up distorted, being rendered at a different resolution, probably 600x400 and barely readable.

I see no way out. If nouveau isn’t working; the only drivers for 13.1 are not compatible with my card, and I can no longer get to a terminal to try yast or nvidia hard-way changes, I guess I have to try to roll back to 12.3.

Is there any way to easily get nouveau to replace the nvidia driver? I would like to see if running nouveau from the hard drive gives different results from the Live DVD. Although, I don’t see why it would.

Also, answers to some questions. I got the 331.20 driver with GO3. After running zypper up, zypper patch said “nothing to do.”

Use the GO2 not the GO3

removing the NVIDIA driver via yast and maybe removing/rename xorg.conf should bring back the nouveau driver.

Again, the G02 driver (304.xxx) is also in that repo! And that one does support your card.

So uninstall the nvidia G03 packages and install the G02 ones instead.

To get to a working system, choose “Recovery Mode” at the boot menu (under “Advanced Options”).

Is there any way to easily get nouveau to replace the nvidia driver? I would like to see if running nouveau from the hard drive gives different results from the Live DVD. Although, I don’t see why it would.

Just uninstall the nvidia driver packages and nouveau should be used. But I also doubt that it would give different results than from the live CD. Well, there has been an update to Mesa, maybe that helps…

But again, I would suggest to try out the nvidia G02 driver.

If I boot from hd, I instantly get the error message from the monitor about compatibility. I was able to remove the nvidia files but something must be left behind. Just before I lose the monitor, there is message about grub. Is there a key combo that will let me get to grub and give a text only boot? Then what? I think the nvidia stuff is gone, I got Dolphin going through the Live DVD but couldn’t find an xorg.conf file, so I assume that is gone. I have 2 alternatives: use my 12.3 Net Install disk; or buy a new video card. I should have picked up that BLack Friday computer deal at Best Buy!

You must have set the boot screen or the default settings for grub are bad because the problem is the NVIDIA drive is not loaded at boot not until the GUI starts up.

How can I edit the grub menu? I corrected the string that said 12.3 and set the screen to the proper resolution. But I want to get the grub menu ( I think that is what I mean) to offer me the choice of a console and also to pass arguments; specifically nomodeset.

I’m typing this as root. As a regular user, none of my browsers (Chrome, Firefox, Konqueror) will work. They get non-responsive before they connect to a site. I can’t even change to full screen. They just lock up. When I get to the gui, I have a terminal widget open that always reports part of a syslog. The only thing intelligible is something about pulseaudio is tainted. My intent was to copy it here (inside code marks!) but can’t get to the forum as a regular user.

To get online, I managed to get rid of everything nvidia. But I had to switch to an old monitor. Even then, I have to start as recovery (the old failsafe?) I presume I am not running nouveau in this mode. Is it possible to start it after I get booted up? If I don’t start failsafe, I cannot get past the green bar showing something is loading and then it freezes, requiring a power-off to regain control. This happens even though I got the older GO2 nvidia driver. That’s when I ditched nvidia altogether. It also happened with the older kernel…3.07 I believe.

I did a zypper update and got 384 updates (again!); no patches. I presume these constant re-installs are what is making my hard drive keep spinning. They are a little slower and quieter as root, but still going. I killed everything I could find that did indexing but the hd still keeps moving.

Don’t give up on me. See if you can help me sort this out.

I/m confused you said it stopped before the grub screen right? If you can’t run grub how are you logged in. Maybe I just don’t understand. Exactly when doe the screen fail?

If you have a boot screen press e then find the line starting with linux and press end key o go to the end press space and 3 . This will get you too a terminal and you log as root run yast and fix things.

exactly what pixel dimensions is the screen that fails…

Did you try nvidia-setting as root to see if you can gset the equed dimensins? Do you have a /etc/X11/xorg.conf file?

How is the bad monitor connected?

On 2013-12-19 06:56, Prexy wrote:
> gogalthorp;2609653 Wrote:
>> You must have set the boot screen or the default settings for grub are
>> bad because the problem is the NVIDIA drive is not loaded at boot not
>> until the GUI starts up.
> How can I edit the grub menu? I corrected the string that said 12.3 and
> set the screen to the proper resolution. But I want to get the grub menu
> ( I think that is what I mean) to offer me the choice of a console and
> also to pass arguments; specifically nomodeset.

You could try disabling or removing plymouth:


plymouth.enable=0

in the kernel options in grub config. If you can not get to the grub
editor, try editing it from a rescue cd.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I apologize for the confusion and my lack of ability to describe clearly. I got rid of some eye-candy to get to basics, so I will describe the screens and I hope you get the picture.

When I boot, I come to a screen with 4 choices:
opensuse 13.1
opensuse 13.1 Advanced options
memtest
Windows 7 - I dual boot from a separate hd and Windows is working properly

If I select the first option, boot begins with text and eventually comes to a screen that is blank except for a progress bar and the words “opensuse 13.1” at the bottom. The progress bar runs 3 shades of green across the bottom and when it completes, it freezes. All I can do at that point is press esc to toggle back and forth between this screen and a total blank screen. I have to power off to regain control.

If I select the second option - Advanced- I come to a screen that lets me select from a long list of kernels: basically the 3.11 and 3.07 each with desktop or default options and each of those with the recovery option, which I have been calling failsafe. I select anyone of the recovery options and it brings me to a blue screen with a box. On the left is choice of either root or me and on the left is a box for user (pre-selected with my user) and a password line. Below that is a login button and a menu button. Pressing the menu button, I get
Session type
Switch user
Remote login
Console login
Shutdown

Selection Session type, I get to choose which kind of session
Default
Custom
IceWM
KDE Plasma Workspace
KDE Plasma Workspace failsafe
TWM
Failsafe

I choose the KDE failsafe. it brings me to a session that works erratically. My browsers all get non-responsive without getting online. The start menu doesn’t always respond. Yast works if it can connect to the internet for repos. I am connected here on a second computer and also on the troubled one when windows is booted. So the network is ok.
I switched to an old monitor that has a 1280x1024 resolution. That is proper and the only one I am offered. It is working properly. The tv has a res of 1368x762 or something like that. It won;t work at all.

This computer is running the nvidia 173.xxx driver with the GO1 version. I’m tempted to switch cards and see what happens… just not very tempted.

I do have a very basic xorg.conf file.

Do I need to disable Plymouth (I don’t know what that is) as Robin_Listas suggests? If so, where and when?

Thanks for your patience.

On 2013-12-19 22:16, Prexy wrote:
> Do I need to disable Plymouth (I don’t know what that is) as
> Robin_Listas suggests? If so, where and when?

Kernel option line in grub. Edit the file or trigger the editor on boot
(press e). What you have to add is on the other post.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)