Trying to reenable Nouveau after failed nVidia install

I attempted to install the appropriate nVidia proprietary drive “the hard way” and failed (running kernel 3.9/Tumbleweed on an HP Mini 311 - Ion graphics). Rather than beat my head against that wall, I decided to reverse my changes and return to the Nouveau driver. I have removed the “blacklist nouveau” line from 50-blacklist.conf, used the YaST /etc/sysconfig editor to change the NO_KMS_IN_INITRD to “no”, ran “mkinitrd” in terminal, and edited the GRUB2 command line. I end up with a standard 640x480 screen. (I also tried to uninstall the nVidia driver just in case, but it had not installed.)

What step did I miss?

Thanks!
Cork

Maybe you have a file /etc/X11/xorg.conf? If so, remove that as well.

Otherwise, please post /var/log/Xorg.0.log…

No xorg.conf file. Here’s the log file:

    22.863] 
X.Org X Server 1.13.2
Release Date: 2013-01-24
    22.863] X Protocol Version 11, Revision 0
    22.863] Build Operating System: openSUSE SUSE LINUX
    22.863] Current Operating System: Linux linux-ezw2.site 3.9.0-6-desktop #1 SMP PREEMPT Tue Apr 30 07:09:32 UTC 2013 (457cceb) i686
    22.863] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.9.0-6-desktop root=UUID=7fdf7ea3-3874-43ba-85b5-f31af25d6f83 resume=/dev/disk/by-id/ata-TOSHIBA_MQ01ABD032_Y2OPT57MT-part1 splash=silent quiet showopts elevator=deadline acpi_osi=linux drm.vblankoffdelay=1
    22.863] Build Date: 30 April 2013  08:23:18AM
    22.863]  
    22.864] Current version of pixman: 0.28.2
    22.864]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    22.864] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    22.873] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 29 10:25:35 2013
    22.880] (==) Using config directory: "/etc/X11/xorg.conf.d"
    22.880] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    22.886] (==) No Layout section.  Using the first Screen section.
    22.886] (==) No screen section available. Using defaults.
    22.886] (**) |-->Screen "Default Screen Section" (0)
    22.886] (**) |   |-->Monitor "<default monitor>"
    22.898] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    22.898] (==) Automatically adding devices
    22.898] (==) Automatically enabling devices
    22.898] (==) Automatically adding GPU devices
    22.898] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    22.898]     Entry deleted from font path.
    22.898] (==) 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
    22.898] (==) ModulePath set to "/usr/lib/xorg/modules/updates,/usr/lib/xorg/modules"
    22.898] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    22.898] (II) Loader magic: 0x8261620
    22.898] (II) Module ABI versions:
    22.899]     X.Org ANSI C Emulation: 0.4
    22.899]     X.Org Video Driver: 13.1
    22.899]     X.Org XInput driver : 18.0
    22.899]     X.Org Server Extension : 7.0
    22.928] (--) PCI:*(0:2:0:0) 10de:0876:103c:3651 rev 177, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128
    22.933] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    22.933] Initializing built-in extension Generic Event Extension
    22.933] Initializing built-in extension SHAPE
    22.933] Initializing built-in extension MIT-SHM
    22.933] Initializing built-in extension XInputExtension
    22.943] Initializing built-in extension XTEST
    22.943] Initializing built-in extension BIG-REQUESTS
    22.943] Initializing built-in extension SYNC
    22.943] Initializing built-in extension XKEYBOARD
    22.943] Initializing built-in extension XC-MISC
    22.943] Initializing built-in extension SECURITY
    22.943] Initializing built-in extension XINERAMA
    22.943] Initializing built-in extension XFIXES
    22.943] Initializing built-in extension RENDER
    22.943] Initializing built-in extension RANDR
    22.944] Initializing built-in extension COMPOSITE
    22.944] Initializing built-in extension DAMAGE
    22.944] Initializing built-in extension MIT-SCREEN-SAVER
    22.944] Initializing built-in extension DOUBLE-BUFFER
    22.944] Initializing built-in extension RECORD
    22.944] Initializing built-in extension DPMS
    22.944] Initializing built-in extension X-Resource
    22.944] Initializing built-in extension XVideo
    22.944] Initializing built-in extension XVideo-MotionCompensation
    22.944] Initializing built-in extension XFree86-VidModeExtension
    22.944] Initializing built-in extension XFree86-DGA
    22.944] Initializing built-in extension XFree86-DRI
    22.944] Initializing built-in extension DRI2
    22.944] (II) "glx" will be loaded by default.
    22.945] (II) LoadModule: "dri2"
    22.945] (II) Module "dri2" already built-in
    22.945] (II) LoadModule: "glamoregl"
    22.989] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    22.998] (II) Module glamoregl: vendor="X.Org Foundation"
    22.998]     compiled for 1.13.2, module version = 0.5.0
    22.998]     ABI class: X.Org ANSI C Emulation, version 0.4
    22.998] (II) LoadModule: "glx"
    23.007] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    23.007] (II) Module glx: vendor="X.Org Foundation"
    23.017]     compiled for 1.13.2, module version = 1.0.0
    23.017]     ABI class: X.Org Server Extension, version 7.0
    23.017] (==) AIGLX enabled
    23.018] Loading extension GLX
    23.018] (==) Matched nvidia as autoconfigured driver 0
    23.018] (==) Matched nouveau as autoconfigured driver 1
    23.018] (==) Matched nv as autoconfigured driver 2
    23.018] (==) Matched modesetting as autoconfigured driver 3
    23.018] (==) Matched fbdev as autoconfigured driver 4
    23.018] (==) Matched vesa as autoconfigured driver 5
    23.018] (==) Assigned the driver to the xf86ConfigLayout
    23.018] (II) LoadModule: "nvidia"
    23.034] (WW) Warning, couldn't open module nvidia
    23.034] (II) UnloadModule: "nvidia"
    23.034] (II) Unloading nvidia
    23.034] (EE) Failed to load module "nvidia" (module does not exist, 0)
    23.034] (II) LoadModule: "nouveau"
    23.039] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
    23.046] (II) Module nouveau: vendor="X.Org Foundation"
    23.046]     compiled for 1.13.1, module version = 1.0.6
    23.046]     Module class: X.Org Video Driver
    23.046]     ABI class: X.Org Video Driver, version 13.1
    23.046] (II) LoadModule: "nv"
    23.061] (II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
    23.068] (II) Module nv: vendor="X.Org Foundation"
    23.068]     compiled for 1.13.1, module version = 2.1.20
    23.068]     Module class: X.Org Video Driver
    23.068]     ABI class: X.Org Video Driver, version 13.1
    23.068] (II) LoadModule: "modesetting"
    23.071] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    23.071] (II) Module modesetting: vendor="X.Org Foundation"
    23.071]     compiled for 1.13.1, module version = 0.6.0
    23.071]     Module class: X.Org Video Driver
    23.071]     ABI class: X.Org Video Driver, version 13.1
    23.071] (II) LoadModule: "fbdev"
    23.088] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    23.094] (II) Module fbdev: vendor="X.Org Foundation"
    23.094]     compiled for 1.13.1, module version = 0.4.3
    23.094]     Module class: X.Org Video Driver
    23.094]     ABI class: X.Org Video Driver, version 13.1
    23.094] (II) LoadModule: "vesa"
    23.095] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    23.096] (II) Module vesa: vendor="X.Org Foundation"
    23.096]     compiled for 1.13.1, module version = 2.3.2
    23.096]     Module class: X.Org Video Driver
    23.096]     ABI class: X.Org Video Driver, version 13.1
    23.096] (II) NOUVEAU driver 
    23.096] (II) NOUVEAU driver for NVIDIA chipset families :
    23.096]     RIVA TNT        (NV04)
    23.096]     RIVA TNT2       (NV05)
    23.096]     GeForce 256     (NV10)
    23.096]     GeForce 2       (NV11, NV15)
    23.104]     GeForce 4MX     (NV17, NV18)
    23.106]     GeForce 3       (NV20)
    23.106]     GeForce 4Ti     (NV25, NV28)
    23.106]     GeForce FX      (NV3x)
    23.110]     GeForce 6       (NV4x)
    23.110]     GeForce 7       (G7x)
    23.110]     GeForce 8       (G8x)
    23.110]     GeForce GTX 200 (NVA0)
    23.110]     GeForce GTX 400 (NVC0)
    23.110] (II) NOUVEAU driver 
    23.110] (II) NOUVEAU driver for NVIDIA chipset families :
    23.110]     RIVA TNT        (NV04)
    23.111]     RIVA TNT2       (NV05)
    23.111]     GeForce 256     (NV10)
    23.111]     GeForce 2       (NV11, NV15)
    23.111]     GeForce 4MX     (NV17, NV18)
    23.111]     GeForce 3       (NV20)
    23.117]     GeForce 4Ti     (NV25, NV28)
    23.117]     GeForce FX      (NV3x)
    23.117]     GeForce 6       (NV4x)
    23.117]     GeForce 7       (G7x)
    23.117]     GeForce 8       (G8x)
    23.121]     GeForce GTX 200 (NVA0)
    23.121]     GeForce GTX 400 (NVC0)
    23.121] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    23.121] (II) FBDEV: driver for framebuffer: fbdev
    23.121] (II) VESA: driver for VESA chipsets: vesa
    23.121] (++) using VT number 7

    23.122] (EE) [drm] KMS not enabled
    23.122] (EE) [drm] KMS not enabled
    23.122] (EE) open /dev/dri/card0: No such file or directory
    23.122] (WW) Falling back to old probe method for modesetting
    23.122] (EE) open /dev/dri/card0: No such file or directory
    23.122] (II) Loading sub module "fbdevhw"
    23.122] (II) LoadModule: "fbdevhw"
    23.140] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    23.140] (II) Module fbdevhw: vendor="X.Org Foundation"
    23.140]     compiled for 1.13.2, module version = 0.0.2
    23.140]     ABI class: X.Org Video Driver, version 13.1
    23.140] (**) FBDEV(1): claimed PCI slot 2@0:0:0
    23.140] (II) FBDEV(1): using default device
    23.140] (WW) Falling back to old probe method for vesa
    23.141] (EE) Screen 0 deleted because of no matching config section.
    23.141] (II) UnloadModule: "modesetting"
    23.141] (II) FBDEV(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    23.141] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
    23.141] (==) FBDEV(0): RGB weight 888
    23.141] (==) FBDEV(0): Default visual is TrueColor
    23.141] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
    23.141] (II) FBDEV(0): hardware: VESA VGA (video memory: 1216kB)
    23.141] (II) FBDEV(0): checking modes against framebuffer device...
    23.141] (II) FBDEV(0): checking modes against monitor...
    23.148] (--) FBDEV(0): Virtual size is 640x480 (pitch 640)
    23.148] (**) FBDEV(0):  Built-in mode "current": 30.7 MHz, 36.9 kHz, 73.3 Hz
    23.148] (II) FBDEV(0): Modeline "current"x0.0   30.72  640 672 752 832  480 484 488 504 -hsync -vsync -csync (36.9 kHz b)
    23.148] (==) FBDEV(0): DPI set to (96, 96)
    23.148] (II) Loading sub module "fb"
    23.148] (II) LoadModule: "fb"
    23.151] (II) Loading /usr/lib/xorg/modules/libfb.so
    23.152] (II) Module fb: vendor="X.Org Foundation"
    23.152]     compiled for 1.13.2, module version = 1.0.0
    23.152]     ABI class: X.Org ANSI C Emulation, version 0.4
    23.152] (**) FBDEV(0): using shadow framebuffer
    23.152] (II) Loading sub module "shadow"
    23.152] (II) LoadModule: "shadow"
    23.159] (II) Loading /usr/lib/xorg/modules/libshadow.so
    23.160] (II) Module shadow: vendor="X.Org Foundation"
    23.160]     compiled for 1.13.2, module version = 1.1.0
    23.161]     ABI class: X.Org ANSI C Emulation, version 0.4
    23.161] (II) UnloadModule: "vesa"
    23.161] (II) Unloading vesa
    23.161] (==) Depth 24 pixmap format is 32 bpp
    23.161] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
    23.162] (==) FBDEV(0): Backing store disabled
    23.163] (==) FBDEV(0): DPMS enabled
    23.163] (==) RandR enabled
    23.247] (II) AIGLX: Screen 0 is not DRI2 capable
    23.247] (II) AIGLX: Screen 0 is not DRI capable
    23.510] (II) AIGLX: Loaded and initialized swrast
    23.510] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    24.162] (II) config/udev: Adding input device Power Button (/dev/input/event6)
    24.162] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    24.162] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    24.162] (**) Power Button: Applying InputClass "LocalKeyboard"
    24.162] (II) LoadModule: "evdev"
    24.165] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    24.166] (II) Module evdev: vendor="X.Org Foundation"
    24.166]     compiled for 1.13.1, module version = 2.7.3
    24.166]     Module class: X.Org XInput Driver
    24.166]     ABI class: X.Org XInput driver, version 18.0
    24.166] (II) Using input driver 'evdev' for 'Power Button'
    24.166] (**) Power Button: always reports core events
    24.167] (**) evdev: Power Button: Device: "/dev/input/event6"
    24.167] (--) evdev: Power Button: Vendor 0 Product 0x1
    24.167] (--) evdev: Power Button: Found keys
    24.167] (II) evdev: Power Button: Configuring as keyboard
    24.167] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event6"
    24.167] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    24.167] (**) Option "xkb_rules" "evdev"
    24.167] (**) Option "xkb_model" "evdev"
    24.171] (**) Option "xkb_layout" "us"
    24.489] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
    24.489] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    24.489] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    24.489] (**) Video Bus: Applying InputClass "LocalKeyboard"
    24.489] (II) Using input driver 'evdev' for 'Video Bus'
    24.489] (**) Video Bus: always reports core events
    24.489] (**) evdev: Video Bus: Device: "/dev/input/event7"
    24.489] (--) evdev: Video Bus: Vendor 0 Product 0x6
    24.489] (--) evdev: Video Bus: Found keys
    24.489] (II) evdev: Video Bus: Configuring as keyboard
    24.489] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:2d/LNXVIDEO:00/input/input7/event7"

I had to edit the log file to get the length of the post down to a permissible level - I don’t think the stuff I removed from the bottom of the log file was apropos, but let me know if you need it as well!

Many thanks,
Cork

You somehow still have disabled KMS or the nouveau kernel module. That’s why nouveau can’t be loaded.
The kernel command line shows you’re not booting with “nomodeset”, so that can’t be the problem either. And I don’t think the other boot options are causing this…

Well, maybe you have another blacklist file?
Please post the output of:

grep nouveau /etc/modprobe.d/*

Are


xorg-x11-driver-video-nouveau
libdrm_nouveau2

installed?

Is all commented out in /etc/xorg.conf.d/50-device.conf?

Oh, now THAT is interesting:

linux-ezw2:/home/cork # grep nouveau /etc/modprobe.d/*
/etc/modprobe.d/nvidia.conf:blacklist nouveau
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf:blacklist nouveau
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf:options nouveau modeset=0

Shall I delete all of those?

Yes, both are installed, and the 50-device.conf file is completely commented out.

I would delete the nvidia-installer-disable-nouveau.conf, and comment the line containing the “blacklist nouveau” in nvidia.conf. Wondering though how it got there. On my laptop these files all begin with a numeric, like 50-nvidia.conf etc etc.

That turned the trick! Many thanks to you both!

I suspect those files were created when the nVidia driver installation ran. The only contents of the nvidia.conf is the blacklist line so I’ll make a backup and delete the file to see what happens.

Again, thank you both for the rapid solution!

Best,
Cork

That turned the trick! Many thanks to you both!

I suspect those files were created when the nVidia driver installation ran. The only contents of the nvidia.conf is the blacklist line so I’ll make a backup and delete the file to see what happens.

Again, thank you both for the rapid solution!

Best,
Cork

Dumb question, but how do I mark the thread as solved?

There’s no such thing as dumb questions. You can adjust the title of your post. A brief explanation: others may find this thread very useful, yet it may not solve their specific issue with nvida/nouveau. That would mean we’d have to change it to “SOLVED for some, not for others” and so on.

Makes perfect sense.

Well, now I’m off to break something else so I can learn more.

Glad that it works now for you!:slight_smile:

Yes, you can delete both /etc/modprobe.d/nvidia.conf and /etc/modprobe.d/nvidia-installer-disable-nouveau.conf .

AFAIK the nvidia installer creates some blacklist file if it finds that nouveau is running.
I guess /etc/modprobe.d/nvidia.conf is a left over from a failed try to install the nvidia driver RPMs?

Regarding your original problem of failing to install the nvidia driver:
It should work, but maybe you were missing some packages to compile the kernel module. I can’t tell you right now which one you would need but I could have a look if you want to try again.
But I guess that would be stuff for a new thread…:wink:

Actually, I went back through my actions and I’m pretty sure I know what I screwed up on the nVidia install. I may try it again today! Again, thanks for the help in getting this operational again.