X hosed after NVIDIA upgrade

I just tried OpenSuSE 42.2 on my old AMD64 PhenomII X3 computer with a NVIDIA Corporation G72 [GeForce 7300 SE/7200 GS] (rev a1) graphic card. Network installation went smooth sans any problem. When my computer booted 1st time, it showed a black blank screen. I hit CRTL+ALT+BACKSPACE 2x to logout from the black screen session. Then, I did a login with ICEWM without a problem. I did perform this Easy way to get NVIDIA drivers (I made sure steps 4-6 are done correctly) to upgrade to NVIDIA driver sans a problem. When I rebooted my computer, it booted with a blinking cursor at location 0,0 on a black screen. Then, I checked the Xorg log file, it says “Screen0” not found, IIRC. Right now, I had to boot up my computer with an old debian distro.

It looks like I am not alone here. I did see a lot of people having similar issues here.

Hi
I see they released an update to the binary blob…304.132 in the repo, 304.134 available for download and install the hard
way? https://en.opensuse.org/SDB:NVIDIA_the_hard_way

Thank you for your quick response. Just out out curiosity, when will the 304.134 be incorporated into the community repositories for the Easy way to get NVIDIA drivers installation?

It has been updated in the OBS project 3 days ago already:

I cannot tell you how long it will take until the packages are available in the repo though.
The process is that the openSUSE maintainer creates/builds the packages, then sends them to nvidia, who copy them to their server and recreate the repos.
In my experience, updates often were done on Fridays in the past (which also caused the repo to be broken for the whole weekend sometimes, there are a few threads about such occasions… :wink: ), so if you’re lucky it may be there tomorrow.

Regarding your original problem:
304.132 is broken, due to a security “fix” OpenGL does not work for non-root users.
https://bugzilla.opensuse.org/show_bug.cgi?id=1003918

I don’t know whether this will be fixed in 304.134, but 304.131 should work in any case (you’d have to install it “the hard way” though).

OK.

Regarding your original problem:
304.132 is broken, due to a security “fix” OpenGL does not work for non-root users.
1003918 – Nvidia 304.132 black screen on GeForce 6150SE nForce 430 (regression since 304.131?)

I don’t know whether this will be fixed in 304.134, but 304.131 should work in any case (you’d have to install it “the hard way” though).
OK and thank you.

I tried this approach and ended up with some error messages in compilation (don’t remember what the messages were), unfortunately.

My installation got so screwed that I had to re-install 42.2 from scratch and only found nvidia-computeG02-304.132-9.2 and not nvidia-computeG02-304.134-x.y, yet.It looks like I have to be contended with ICEWM at the moment or else revert to old debian distro.

Right now, I am facing another issue with ICEWM: the power button now works as a shutdown button, not a suspense button when revert to old debian distro. Is there a way to reconfigure the power button to act as a suspense button?

Hi
Yes it needs a patch applied, see http://forums.opensuse.org/showthread.php?t=521714 on details (not a hard thing :wink: )

Check /etc/systemd/logind.conf to override the defaults and/or set to what you want.

Thank you for the link. I guess I will have to wait until 304.134 be available for the Easy way to get NVIDIA drivers to get installed.

Hooray …, now the 304.134 is available for the Easy way to get NVIDIA drivers. Anyway, I did go ahead to install it and now my display ONLY shows the mouse pointer in the middle with a black background. It looks like this is not a solution to the problem.

According to other people, OpenGL should be working again now.

But you may have a different problem, or there may be a new one with 304.134.
And it seems you are not the only one:
http://lists.opensuse.org/opensuse-bugs/2016-12/msg02956.html

Can you please post /var/log/Xorg.0.log?

Can you reach the krunner dialog via Alt+F2? This should at least allow you to run applications.
Running plasmashell in a konsole may give some clues too, if there’s no hint in the Xorg log.

I have attached the requested /var/log/Xorg.0.log file below. It looks like the NVDIA driver Failed to load the NVIDIA kernel module

    48.930] (--) Log file renamed from "/var/log/Xorg.pid-1987.log" to "/var/log/Xorg.0.log"    48.949] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
    48.949] X Protocol Version 11, Revision 0
    48.949] Build Operating System: openSUSE SUSE LINUX
    48.949] Current Operating System: Linux linux-ackw 4.4.36-8-default #1 SMP Fri Dec 9 16:18:38 UTC 2016 (3ec5648) x86_64
    48.949] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.36-8-default root=UUID=76d67078-03c2-4037-aa75-2306769061dd
    48.949] Build Date: 15 December 2016  03:44:58PM
    48.949]  
    48.949] Current version of pixman: 0.34.0
    48.949]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    48.949] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    48.949] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 22 12:44:09 2016
    48.998] (==) Using config directory: "/etc/X11/xorg.conf.d"
    48.998] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    49.009] (==) No Layout section.  Using the first Screen section.
    49.009] (==) No screen section available. Using defaults.
    49.009] (**) |-->Screen "Default Screen Section" (0)
    49.009] (**) |   |-->Monitor "<default monitor>"
    49.010] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    49.010] (==) Automatically adding devices
    49.010] (==) Automatically enabling devices
    49.010] (==) Automatically adding GPU devices
    49.010] (==) Max clients allowed: 256, resource mask: 0x1fffff
    49.290] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    49.290]     Entry deleted from font path.
    49.344] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
    49.344] (==) ModulePath set to "/usr/lib64/xorg/modules"
    49.344] (**) Extension "XFree86-DGA" is disabled
    49.344] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    49.344] (II) Loader magic: 0x80fce0
    49.344] (II) Module ABI versions:
    49.344]     X.Org ANSI C Emulation: 0.4
    49.344]     X.Org Video Driver: 20.0
    49.344]     X.Org XInput driver : 22.1
    49.344]     X.Org Server Extension : 9.0
    49.346] (++) using VT number 7
    49.346] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    49.348] (--) PCI:*(0:1:0:0) 10de:01d3:3842:c409 rev 161, Mem @ 0xfa000000/16777216, 0xc0000000/536870912, 0xf9000000/16777216, BIOS @ 0x????????/131072
    49.348] (II) LoadModule: "glx"
    49.383] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
    51.439] (II) Module glx: vendor="NVIDIA Corporation"
    51.439]     compiled for 4.0.2, module version = 1.0.0
    51.439]     Module class: X.Org Server Extension
    51.439] (II) NVIDIA GLX Module  304.134  Fri Dec  9 11:49:54 PST 2016
    51.439] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers
    51.439] (==) Matched nvidia as autoconfigured driver 0
    51.439] (==) Matched nouveau as autoconfigured driver 1
    51.439] (==) Matched nv as autoconfigured driver 2
    51.439] (==) Matched modesetting as autoconfigured driver 3
    51.439] (==) Matched fbdev as autoconfigured driver 4
    51.439] (==) Matched vesa as autoconfigured driver 5
    51.439] (==) Assigned the driver to the xf86ConfigLayout
    51.439] (II) LoadModule: "nvidia"
    51.440] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
    51.710] (II) Module nvidia: vendor="NVIDIA Corporation"
    51.710]     compiled for 4.0.2, module version = 1.0.0
    51.710]     Module class: X.Org Video Driver
    51.891] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
    51.891] (EE) NVIDIA:     system's kernel log for additional error messages.
    51.891] (II) UnloadModule: "nvidia"
    51.891] (II) Unloading nvidia
    51.892] (EE) Failed to load module "nvidia" (module-specific error, 0)
    51.892] (II) LoadModule: "nouveau"
    51.892] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
    51.935] (II) Module nouveau: vendor="X.Org Foundation"
    51.935]     compiled for 1.18.3, module version = 1.0.12
    51.935]     Module class: X.Org Video Driver
    51.935]     ABI class: X.Org Video Driver, version 20.0
    51.935] (II) LoadModule: "nv"
    51.935] (II) Loading /usr/lib64/xorg/modules/drivers/nv_drv.so
    51.951] (II) Module nv: vendor="X.Org Foundation"
    51.951]     compiled for 1.18.3, module version = 2.1.20
    51.951]     Module class: X.Org Video Driver
    51.951]     ABI class: X.Org Video Driver, version 20.0
    51.951] (II) LoadModule: "modesetting"
    51.951] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
    51.965] (II) Module modesetting: vendor="X.Org Foundation"
    51.966]     compiled for 1.18.3, module version = 1.18.3
    51.966]     Module class: X.Org Video Driver
    51.966]     ABI class: X.Org Video Driver, version 20.0
    51.966] (II) LoadModule: "fbdev"
    51.966] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
    51.967] (II) Module fbdev: vendor="X.Org Foundation"
    51.967]     compiled for 1.18.3, module version = 0.4.4
    51.967]     Module class: X.Org Video Driver
    51.967]     ABI class: X.Org Video Driver, version 20.0
    51.967] (II) LoadModule: "vesa"
    51.967] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
    51.983] (II) Module vesa: vendor="X.Org Foundation"
    51.983]     compiled for 1.18.3, module version = 2.3.4
    51.983]     Module class: X.Org Video Driver
    51.983]     ABI class: X.Org Video Driver, version 20.0
    51.983] (II) NOUVEAU driver 
    51.983] (II) NOUVEAU driver for NVIDIA chipset families :
    51.983]     RIVA TNT        (NV04)
    51.983]     RIVA TNT2       (NV05)
    51.983]     GeForce 256     (NV10)
    51.983]     GeForce 2       (NV11, NV15)
    51.983]     GeForce 4MX     (NV17, NV18)
    51.984]     GeForce 3       (NV20)
    51.984]     GeForce 4Ti     (NV25, NV28)
    51.984]     GeForce FX      (NV3x)
    51.984]     GeForce 6       (NV4x)
    51.984]     GeForce 7       (G7x)
    51.984]     GeForce 8       (G8x)
    51.984]     GeForce GTX 200 (NVA0)
    51.984]     GeForce GTX 400 (NVC0)
    51.984] (II) NOUVEAU driver 
    51.984] (II) NOUVEAU driver for NVIDIA chipset families :
    51.984]     RIVA TNT        (NV04)
    51.984]     RIVA TNT2       (NV05)
    51.984]     GeForce 256     (NV10)
    51.984]     GeForce 2       (NV11, NV15)
    51.984]     GeForce 4MX     (NV17, NV18)
    51.984]     GeForce 3       (NV20)
    51.984]     GeForce 4Ti     (NV25, NV28)
    51.984]     GeForce FX      (NV3x)
    51.985]     GeForce 6       (NV4x)
    51.985]     GeForce 7       (G7x)
    51.985]     GeForce 8       (G8x)
    51.985]     GeForce GTX 200 (NVA0)
    51.985]     GeForce GTX 400 (NVC0)
    51.985] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    51.985] (II) FBDEV: driver for framebuffer: fbdev
    51.985] (II) VESA: driver for VESA chipsets: vesa
    52.174] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
    52.307] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
    52.307] (EE) open /dev/dri/card0: No such file or directory
    52.307] (WW) Falling back to old probe method for modesetting
    52.307] (EE) open /dev/dri/card0: No such file or directory
    52.307] (II) Loading sub module "fbdevhw"
    52.307] (II) LoadModule: "fbdevhw"
    52.391] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
    52.402] (II) Module fbdevhw: vendor="X.Org Foundation"
    52.402]     compiled for 1.18.3, module version = 0.0.2
    52.402]     ABI class: X.Org Video Driver, version 20.0
    52.402] (**) FBDEV(1): claimed PCI slot 1@0:0:0
    52.402] (II) FBDEV(1): using default device
    52.402] (WW) Falling back to old probe method for vesa
    52.402] (EE) Screen 0 deleted because of no matching config section.
    52.402] (II) UnloadModule: "modesetting"
    52.402] (II) FBDEV(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    52.402] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
    52.402] (==) FBDEV(0): RGB weight 888
    52.402] (==) FBDEV(0): Default visual is TrueColor
    52.402] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
    52.402] (II) FBDEV(0): hardware: VESA VGA (video memory: 5120kB)
    52.402] (II) FBDEV(0): checking modes against framebuffer device...
    52.402] (II) FBDEV(0): checking modes against monitor...
    52.402] (--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
    52.402] (**) FBDEV(0):  Built-in mode "current": 131.1 MHz, 80.3 kHz, 76.6 Hz
    52.402] (II) FBDEV(0): Modeline "current"x0.0  131.09  1280 1312 1472 1632  1024 1028 1032 1048 -hsync -vsync -csync (80.3 kHz b)
    52.402] (==) FBDEV(0): DPI set to (96, 96)
    52.402] (II) Loading sub module "fb"
    52.402] (II) LoadModule: "fb"
    52.403] (II) Loading /usr/lib64/xorg/modules/libfb.so
    52.415] (II) Module fb: vendor="X.Org Foundation"
    52.415]     compiled for 1.18.3, module version = 1.0.0
    52.415]     ABI class: X.Org ANSI C Emulation, version 0.4
    52.415] (**) FBDEV(0): using shadow framebuffer
    52.415] (II) Loading sub module "shadow"
    52.415] (II) LoadModule: "shadow"
    52.416] (II) Loading /usr/lib64/xorg/modules/libshadow.so
    52.439] (II) Module shadow: vendor="X.Org Foundation"
    52.439]     compiled for 1.18.3, module version = 1.1.0
    52.439]     ABI class: X.Org ANSI C Emulation, version 0.4
    52.439] (II) UnloadModule: "vesa"
    52.439] (II) Unloading vesa
    52.439] (==) Depth 24 pixmap format is 32 bpp
    52.439] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
    52.439] (==) FBDEV(0): Backing store enabled
    52.440] (==) FBDEV(0): DPMS enabled
    52.440] (==) RandR enabled
    52.451] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
    53.618] (II) config/udev: Adding input device Power Button (/dev/input/event1)
    53.618] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    53.618] (**) Power Button: Applying InputClass "system-keyboard"
    53.618] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    53.618] (**) Power Button: Applying InputClass "libinput keyboard catchall"
    53.618] (II) LoadModule: "libinput"
    53.618] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
    53.735] (II) Module libinput: vendor="X.Org Foundation"
    53.735]     compiled for 1.18.3, module version = 0.19.1
    53.735]     Module class: X.Org XInput Driver
    53.735]     ABI class: X.Org XInput driver, version 22.1
    53.735] (II) Using input driver 'libinput' for 'Power Button'
    53.735] (**) Power Button: always reports core events
    53.735] (**) Option "Device" "/dev/input/event1"
    53.735] (**) Option "_source" "server/udev"
    53.736] (II) input device 'Power Button', /dev/input/event1 is tagged by udev as: Keyboard
    53.736] (II) input device 'Power Button', /dev/input/event1 is a keyboard
    53.752] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event1"
    53.752] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    53.752] (**) Option "xkb_layout" "us"
    53.753] (II) input device 'Power Button', /dev/input/event1 is tagged by udev as: Keyboard
    53.753] (II) input device 'Power Button', /dev/input/event1 is a keyboard
    53.754] (II) config/udev: Adding input device Power Button (/dev/input/event0)
    53.754] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    53.754] (**) Power Button: Applying InputClass "system-keyboard"
    53.754] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    53.754] (**) Power Button: Applying InputClass "libinput keyboard catchall"
    53.754] (II) Using input driver 'libinput' for 'Power Button'
    53.754] (**) Power Button: always reports core events
    53.754] (**) Option "Device" "/dev/input/event0"
    53.754] (**) Option "_source" "server/udev"
    53.755] (II) input device 'Power Button', /dev/input/event0 is tagged by udev as: Keyboard
    53.755] (II) input device 'Power Button', /dev/input/event0 is a keyboard
    53.780] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event0"
    53.780] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
    53.780] (**) Option "xkb_layout" "us"
    53.781] (II) input device 'Power Button', /dev/input/event0 is tagged by udev as: Keyboard
    53.781] (II) input device 'Power Button', /dev/input/event0 is a keyboard
    53.782] (II) config/udev: Adding input device CHESEN PS2 to USB Converter (/dev/input/event2)
    53.782] (**) CHESEN PS2 to USB Converter: Applying InputClass "evdev keyboard catchall"
    53.782] (**) CHESEN PS2 to USB Converter: Applying InputClass "system-keyboard"
    53.782] (**) CHESEN PS2 to USB Converter: Applying InputClass "evdev keyboard catchall"
    53.782] (**) CHESEN PS2 to USB Converter: Applying InputClass "libinput keyboard catchall"
    53.782] (II) Using input driver 'libinput' for 'CHESEN PS2 to USB Converter'
    53.782] (**) CHESEN PS2 to USB Converter: always reports core events
    53.782] (**) Option "Device" "/dev/input/event2"
    53.783] (**) Option "_source" "server/udev"

Yes.

Probably the compilation of the kernel module failled.

Apparently a patch would be needed for the latest 4.4 kernels (and this has not been fixed by NVidia yet):
https://forums.opensuse.org/showthread.php/521714-Nvidia-304-134-legacy-Geforce-6-7-kernel-module-load-error-unknown-symbol-mtrr_del

This really is bad, especially for me trying to migrate from debian to OpenSuSE. Instead of going through the hard way with patches which I tried to avoid, I will wait for about 10 days to see if there will be a new release of the NVidia driver before I will decide to go back to install a new version of debian,. Thank you for trying to help and I appreciated it.

FYI, the patch has been added to the nvidia packages in the repo a few days ago (it is still not fixed by nvidia in their driver download).
So this should work again now.

See also 1017755 – nvidia 304.xxx uses deprecated APIs for mtrr, which are no longer exported since Kernel 4.3

Btw, this is/was not an openSUSE specific issue at all. The nvidia driver itself is broken with “newer” kernels (>= 4.3 it seems, which is not that new any more either…)
IOW, you likely would have the same problem in Debian if you use kernel 4.3 or higher (Debian is just slower to update their packages).