Since I always had problems with the nVidia drivers, I quit triyng to install these drivers and keep using Nouveau. After some time using Leap 42.3 I noticed a very poor graphics performance, mainly while watching videos. I thought it could be a setup problem and tried to find the cause, but to no avail. I could not find a way to enable the nouveau drivers, I am asking for help to fix this problem.
In the code frames bellow (sorry for the huge amount of text) I present the information I though could help to find the source of the problem and its solution.
The hardware information shows that the nouveau driver is not active:
> sudo hwinfo --gfxcard
20: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.378]
Unique ID: VCu0.SBJFpfSu2N2
Parent ID: vSkL.3rEhpzAE0V6
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia GM204 [GeForce GTX 970]"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x13c2 "GM204 [GeForce GTX 970]"
SubVendor: pci 0x196e
SubDevice: pci 0x1131
Revision: 0xa1
Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable)
I/O Ports: 0xe000-0xefff (rw)
Memory Range: 0xf7000000-0xf707ffff (ro,non-prefetchable,disabled)
IRQ: 11 (no events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v000010DEd000013C2sv0000196Esd00001131bc03sc00i00"
Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #8 (PCI bridge)
Primary display adapter: #20
> sudo modprobe nouveau
modprobe: ERROR: could not insert 'nouveau': No such device
The installed video driver packages are:
Mesa-dri-nouveau-17.0.5-176.1.x86_64
libvdpau_nouveau-17.0.5-176.1.x86_64
libdrm_nouveau2-2.4.76-1.2.x86_64
xf86-video-nouveau-1.0.15-1.3.x86_64
libdrm_nouveau2-2.4.76-1.2.x86_64
drm-kmp-default-4.9.33_k4.4.126_48-13.3.x86_64
Because of characters limitations I am sending only the parts of the Xorg.0.log file I though relevant for the problem.
39.233] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 25 10:14:18 2018
39.382] (II) LoadModule: "glx"
39.391] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
39.563] (II) Module glx: vendor="X.Org Foundation"
39.563] (==) AIGLX enabled
39.563] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers
39.583] (==) Matched nvidia as autoconfigured driver 0
39.583] (==) Matched nouveau as autoconfigured driver 1
39.583] (==) Matched nv as autoconfigured driver 2
39.583] (==) Matched modesetting as autoconfigured driver 3
39.583] (==) Matched fbdev as autoconfigured driver 4
39.583] (==) Matched vesa as autoconfigured driver 5
39.583] (==) Assigned the driver to the xf86ConfigLayout
39.583] (II) LoadModule: "nvidia"
39.583] (WW) Warning, couldn't open module nvidia
39.583] (II) UnloadModule: "nvidia"
39.583] (II) Unloading nvidia
39.583] (EE) Failed to load module "nvidia" (module does not exist, 0)
39.583] (II) LoadModule: "nouveau"
39.583] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
39.632] (II) Module nouveau: vendor="X.Org Foundation"
39.632] compiled for 1.18.3, module version = 1.0.15
39.632] Module class: X.Org Video Driver
39.632] ABI class: X.Org Video Driver, version 20.0
39.632] (II) LoadModule: "nv"
39.632] (WW) Warning, couldn't open module nv
39.632] (II) UnloadModule: "nv"
39.632] (II) Unloading nv
39.633] (EE) Failed to load module "nv" (module does not exist, 0)
39.633] (II) LoadModule: "modesetting"
39.633] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
39.660] (II) Module modesetting: vendor="X.Org Foundation"
39.660] compiled for 1.18.3, module version = 1.18.3
39.660] Module class: X.Org Video Driver
39.660] ABI class: X.Org Video Driver, version 20.0
39.660] (II) LoadModule: "fbdev"
39.660] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
39.670] (II) Module fbdev: vendor="X.Org Foundation"
39.670] compiled for 1.18.3, module version = 0.4.4
39.670] Module class: X.Org Video Driver
39.670] ABI class: X.Org Video Driver, version 20.0
39.670] (II) LoadModule: "vesa"
39.670] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
39.670] (II) Module vesa: vendor="X.Org Foundation"
39.670] compiled for 1.18.3, module version = 2.3.4
39.670] Module class: X.Org Video Driver
39.670] ABI class: X.Org Video Driver, version 20.0
39.670] (II) NOUVEAU driver
39.670] (II) NOUVEAU driver for NVIDIA chipset families :
39.670] RIVA TNT (NV04)
39.670] RIVA TNT2 (NV05)
39.670] GeForce 256 (NV10)
39.670] GeForce 2 (NV11, NV15)
39.670] GeForce 4MX (NV17, NV18)
39.670] GeForce 3 (NV20)
39.670] GeForce 4Ti (NV25, NV28)
39.670] GeForce FX (NV3x)
39.670] GeForce 6 (NV4x)
39.670] GeForce 7 (G7x)
39.670] GeForce 8 (G8x)
39.670] GeForce GTX 200 (NVA0)
39.670] GeForce GTX 400 (NVC0)
39.670] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
39.670] (II) FBDEV: driver for framebuffer: fbdev
39.670] (II) VESA: driver for VESA chipsets: vesa
46.368] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
46.368] (EE) open /dev/dri/card0: No such file or directory
46.368] (WW) Falling back to old probe method for modesetting
46.368] (EE) open /dev/dri/card0: No such file or directory
46.368] (II) Loading sub module "fbdevhw"
46.368] (II) LoadModule: "fbdevhw"
46.368] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
46.400] (II) AIGLX: Screen 0 is not DRI2 capable
46.400] (EE) AIGLX: reverting to software rendering
47.137] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
47.137] (II) AIGLX: Loaded and initialized swrast
47.137] (II) GLX: Initialized DRISWRAST GL provider for screen 0
47.517] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
47.517] (II) No input driver specified, ignoring this device.
47.517] (II) This device may have been added with another device file.
47.517] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
47.517] (II) No input driver specified, ignoring this device.
47.517] (II) This device may have been added with another device file.
47.517] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
47.517] (II) No input driver specified, ignoring this device.
47.517] (II) This device may have been added with another device file.
47.517] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event18)
47.517] (II) No input driver specified, ignoring this device.
47.517] (II) This device may have been added with another device file.
Thanks for your help!