Gd day all,
Been using Leap 42.1 for about 2 months - been trying to keep it as standard as possible since this is my daily system. All has been all OK except suspend/resume has been unreliable and systemlog reported Nouveau errors when these problems occurred. Considering that Virtualbox wouldn’t do 3d accel either using Nouveau I decided to install the proprietary Nvidia driver. I followed this: https://en.opensuse.org/SDB:NVIDIA_drivers .After installing the extras with Yast as per the instruction I also ran sudo zypper inr which reported ‘nothing to do’. So all seemed fine. However on reboot, I get the “ oh no something has gone wrong…” message and have to hard reset. Numerous retries give same result…and the systemd boot message which flashes up on the screen shows the boot process stopping at “starting graphical interface”…
I can however boot using advanced options and selecting the previous kernel 4.1.20, then every thing runs as normal and the system uses Nvidia’s driver without problems:
tiberiust@M5A97:~> lsmod | grep nvidia
nvidia_drm 49152 1
nvidia_modeset 765952 5 nvidia_drm
nvidia_uvm 679936 0
nvidia 11091968 82 nvidia_modeset,nvidia_uvm
drm_kms_helper 139264 1 nvidia_drm
drm 385024 4 drm_kms_helper,nvidia_drm
tiberiust@M5A97:~> uname -a
Linux M5A97 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 2016 (0a392b2) x86_64 x86_64 x86_64 GNU/Linux
So, it seems that something went wrong when the install process put the nvidia module in the latest kernel 4.1.21 ….how can I fix this considering I can’t boot into that kernel? Maybe I should just leave it, set grub to default to 4.1.20 and hope that the next kernel upgrade (4.1.22?) builds OK?
System is as foll, but I note that inxi reports “ Distro: /etc/SuSE-release corrupted, use -% to override” - what’s that all about?
tiberiust@M5A97:~> inxi -b
System: Host: M5A97 Kernel: 4.1.20-11-default x86_64 (64 bit)
Desktop Gnome Distro: /etc/SuSE-release corrupted, use -% to override
Machine: Mobo: ASUSTeK model: M5A97 R2.0 version: Rev 1.xx Bios: American Megatrends version: 2601 date: 03/24/2015
CPU: Octa core AMD FX-8350 Eight-Core (-MCP-) clocked at 1400.00 MHz
Graphics: Card: NVIDIA GF114 [GeForce GTX 560 Ti]
X.Org: 1.17.2 drivers: nvidia (unloaded: fbdev,nv,vesa,nouveau) Resolution: 1920x1080@60.0hz, 1680x1050@59.9hz
GLX Renderer: GeForce GTX 560 Ti/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.27
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives: HDD Total Size: 2540.5GB (12.3% used)
Info: Processes: 285 Uptime: 0:52 Memory: 2571.0/19817.6MB Client: Shell inxi: 1.7.24
Tks in advance anyone
T
How do you install the Nvidia Driver? 1-Klick or manually adding the Repo?
Post:
zypper se -si nvidia
zypper lr -uP
Also put your /var/log/Xorg.0.log to a Pasteserver such as http://paste.opensuse.org/
Tks:)
I used Yast gui as per instructions in SDB:NVIDIA drivers - openSUSE Wiki . Added the repo, installed the driver, then added the extras. I then also ran sudo zypper inr just to be safe but it reported nothing to do.
Post:
zypper se -si nvidia
M5A97:/home/tiberiust # zypper se -si nvidia
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+---------------------------+---------+-----------------------+--------+------------------------
i | nvidia-computeG04 | package | 367.27-24.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-gfxG04-kmp-default | package | 367.27_k4.1.12_1-24.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG04 | package | 367.27-24.1 | x86_64 | nVidia Graphics Drivers
i | x11-video-nvidiaG04 | package | 367.27-24.1 | x86_64 | nVidia Graphics Drivers
M5A97:/home/tiberiust #
zypper lr -uP
M5A97:/home/tiberiust # zypper lr -uP# | Alias | Name | Enabled | GPG Check | Refresh | Priority | URI
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------------------------
1 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | http://download.nvidia.com/opensuse/leap/42.1
2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/
3 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/leap/42.1/non-oss/
4 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/
5 | download.opensuse.org-oss_1 | Main Update Repository | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/leap/42.1/oss
6 | ftp.gwdg.de-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/
7 | http-download.opensuse.org-1f41a5af | systemsmanagement:chef:10 | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/systemsmanagement:/chef:/10/openSUSE_Leap_42.1/
8 | http-download.opensuse.org-2f186e7c | home:paolorotolo:numix | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/home:/paolorotolo:/numix/openSUSE_13.1/
9 | http-download.opensuse.org-45430fe4 | X11:RemoteDesktop:x2go | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/openSUSE_Leap_42.1/
10 | http-download.opensuse.org-491a78e2 | devel:languages:ruby:extensions | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_Leap_42.1/
11 | http-download.opensuse.org-4a14c3de | devel:languages:ruby | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_42.1/
12 | http-download.opensuse.org-5f741024 | devel:languages:ruby:extensions | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_Leap_42.1/
13 | http-download.opensuse.org-91acf48a | graphics | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.1/
14 | http-download.opensuse.org-c2b3e327 | filesystems | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/filesystems/openSUSE_Leap_42.1/
15 | http-download.opensuse.org-e6706a99 | home:DarkSS | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/home:/DarkSS/openSUSE_Leap_42.1/
16 | http-opensuse-guide.org-fd629752 | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/
17 | http-packman.inode.at-cfe1fa3d | Packman Repository | Yes | (r ) Yes | Yes | 99 | http://packman.inode.at/suse/openSUSE_Leap_42.1/
18 | packman | packman | Yes | (r ) Yes | Yes | 99 | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/
19 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/
20 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/
21 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | http://download.opensuse.org/debug/update/leap/42.1/oss
22 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | http://download.opensuse.org/debug/update/leap/42.1/non-oss/
23 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/
24 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/leap/42.1/oss/
M5A97:/home/tiberiust #
Also put your /var/log/Xorg.0.log to a Pasteserver such as http://paste.opensuse.org/
Seems the boot doesn’t get far enough to generate an Xorg.log for the failed boot. I deleted all the Xorg*.log files in /var/log before rebooting and the only new one generated was from the successful 4.1.20 boot. However here’s the journalctl log for both the failed 4.1.21 boot and the subsequent restart and successful 4.1.20 boot. I turned on the machine at 07:03 hrs and grub tried to autoboot into 4.1.21 with the resulting fail. At 07:05 hrs I hit the logout button on the "Oh No…page. I then left it for several minutes (to easily separate the log entries) then hard reset at 07:13 hrs (line 1565 in the pastebin) into kernel 4.1.20 which was successful. journalctl - Pastebin.com
Just seems like putting the NVidia kernel module into 4.1.21 messed it up somehow…
tks
T
Deinstall the virtualbox-guest-kmp package and install the nvidia drivers once more…
Jun 19 07:03:19 M5A97 kernel: vboxguest: PCI device not found, probably running on physical hardware.
There is a problem with the virtualbox-guest-kmp and nvidia.
Hurrah! It worked :).
I uninstalled virtualbox-guest-kmp. Then I followed the uninstall procedure in https://en.opensuse.org/SDB:NVIDIA_drivers except I did not delete the NVidia repo at the end. I rebooted and I was back on Nouveau with 4.1.21
I then just ran* sudo *zypper inr **which reinstalled the NVidia driver and rebuilt the kernel modules. However it also reinstalled virtualbox-guest-kmp at the same time. Maybe it installed the NVidia module first and this made a difference? Or maybe the first build was just duff? Or maybe it’s better to do this with *sudo zypper inr *rather than installing all the extras via YaST. Whatever, I have NVidia and virtualbox-guest-kmp and 3D accel works. Let’s hope my suspend/resume is more reliable now.
Over my years of Linuxing, I have tried really hard to use Nouveau, but there always seems to be something that requires the NVidia blob…or something on Nouveau that is just broken. I raise a glass to the Nouveau team though, reverse engineering a video driver is not a lunchtime task. Let’s hope they keep making progress.
Thanks a lot Sauerland, you are indeed a ‘wise penguin’
Rgds/T