NVIDIA settings don't work

I installed openSUSE Leap 15(KDE) today and installed NVIDIA drivers by following the steps given here: https://en.opensuse.org/SDB:NVIDIA_drivers#Easy_way_to_get_NVIDIA_drivers
I used the YaST method to install the drivers and the installation finished without any errors. But after rebooting whenever I open NVIDIA X Server Settings it shows the error “You do not appear to be using the NVIDIA X driver”.

Please refer to the attached screenshot. I tried uninstalling and installing the drivers again but it didn’t help.
Also there’s flickering on VLC and Dolphin whenever I adjust the volume or brightness.
I have a Dell Inspiron 15 7537 laptop with NVIDIA GT750M gpu. Please help.
https://i.imgur.com/v6I0GzK.png

Please post:

/sbin/lspci -nnk | grep -EiA3 'vga|3d|display'

The above should show what’s what but if you have a laptop then you almost certainly have hybrid graphics (ie Intel+NVIDIA) also know as Optimus. This requires special handling and the bumblebee packages.

https://en.opensuse.org/SDB:NVIDIA_Bumblebee

Output:

00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
        Subsystem: Dell Device [1028:05fa]
        Kernel driver in use: i915
        Kernel modules: i915
--
04:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 750M] [10de:0fe4] (rev a1)
        Subsystem: Dell Device [1028:05fa]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

But flickering on Dolphin and VLC exists even without installing NVIDIA drivers.

Show us the output of

inxi -Gxx
xrandr --listproviders
glxinfo | grep "OpenGL renderer"

]inxi -Gxx output:

Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:0a16
           Card-2: NVIDIA GK107M [GeForce GT 750M] bus-ID: 04:00.0 chip-ID: 10de:0fe4
           Display Server: x11 (X.Org 1.19.6 ) drivers: (unloaded: fbdev,vesa) FAILED: modesetting
           Resolution: 1920x1080@60.02hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile
           version: 4.5 Mesa 18.0.2 (compat-v: 3.0) Direct Render: Yes

xrandr --listproviders output:

Providers: number : 1
Provider 0: id: 0x44; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 2; associated providers: 0; name: modesetting
    output eDP-1
    output HDMI-1

glxinfo | grep “OpenGL renderer” output:

OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

Note: This is after installing Bumblebee

Do you deinstall the Nvidia Drivers?
Please post:

zypper se -si nvidia kernel
zypper lr -d
cat /proc/cmdline
grep -i 'blacklist nouveau' /etc/modprobe.d/*
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

Note: This is after installing Bumblebee

Okay, so it is the Intel card that is active currently. Not sure why the modesetting driver failed though. You might need to examine /var/log/Xorg.0.log for more details.

No, they are installed. Didn’t alter anything except installing Bumblebee.

zypper se -si nvidia kernel output:

Loading repository data...
Reading installed packages...

S  | Name                      | Type    | Version                             | Arch   | Repository               
---+---------------------------+---------+-------------------------------------+--------+--------------------------
i+ | kernel-default            | package | 4.12.14-lp150.12.16.1               | x86_64 | openSUSE-Leap-15.0-Update
i+ | kernel-default            | package | 4.12.14-lp150.11.4                  | x86_64 | openSUSE-Leap-15.0-Oss   
i  | kernel-default-devel      | package | 4.12.14-lp150.12.16.1               | x86_64 | openSUSE-Leap-15.0-Update
i  | kernel-devel              | package | 4.12.14-lp150.12.16.1               | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-firmware           | package | 20180525-lp150.2.3.1                | noarch | openSUSE-Leap-15.0-Update
i  | kernel-macros             | package | 4.12.14-lp150.12.16.1               | noarch | openSUSE-Leap-15.0-Update
i  | nvidia-computeG04         | package | 390.87-lp150.10.1                   | x86_64 | NVIDIA                   
i  | nvidia-gfxG04-kmp-default | package | 390.87_k4.12.14_lp150.11-lp150.10.1 | x86_64 | NVIDIA                   
i  | nvidia-glG04              | package | 390.87-lp150.10.1                   | x86_64 | NVIDIA                   
i+ | x11-video-nvidiaG04       | package | 390.87-lp150.10.1                   | x86_64 | NVIDIA 

zypper lr -d output:


Repository priorities are without effect. All enabled repositories share the same priority.                                                                                                                       
                                                                                                                                                                                                                  
#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                | Service                                                                                                                                                                                                         
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------                                                                                                                                                                                                         
 1 | NVIDIA                    | NVIDIA                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/15.0                                     |                                                                                                                                                                                                                 
 2 | openSUSE-Leap-15.0-1      | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-SanDisk_SanDisk_Ultra_A200455114054575-0:0-part2 |                                                                                                                                                                                                                 
 3 | packman.inode.at-suse     | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/                                   |                                                                                                                                                                                                                 
 4 | repo-debug                | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                |                                                                                                                                                                                                                 
 5 | repo-debug-non-oss        | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/            |                                                                                                                                                                                                                 
 6 | repo-debug-update         | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                           |                                                                                                                                                                                                                 
 7 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                       |                                                                                                                                                                                                                 
 8 | repo-non-oss              | openSUSE-Leap-15.0-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                  |                                                                                                                                                                                                                 
 9 | repo-oss                  | openSUSE-Leap-15.0-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                      |                                                                                                                                                                                                                 
10 | repo-source               | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/               |                                                                                                                                                                                                                 
11 | repo-source-non-oss       | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/           |                                                                                                                                                                                                                 
12 | repo-update               | openSUSE-Leap-15.0-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                                 |        
13 | repo-update-non-oss       | openSUSE-Leap-15.0-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                             |        

cat /proc/cmdline output:

BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.16-default root=UUID=506c051b-7274-4dbf-a6d2-ad659e4333fc resume=/dev/disk/by-id/ata-WDC_WD10JPVX-75JC3T0_WX41A1397344-part4 splash=silent quiet showopts

grep -i ‘blacklist nouveau’ /etc/modprobe.d/* output:

/etc/modprobe.d/99-local.conf:blacklist nouveau
/etc/modprobe.d/nvidia-default.conf:blacklist nouveau

Some more information

Running optirun --status

Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

Running optirun glxspheres

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
failed to create drawable
[VGL] ERROR: in OGLDrawable--
[VGL]    82: Could not create Pbuffer

bumblebee does not work with the Nvidia drivers from Repo…

So deinstall them and delete the Repo…

And install bumblebee once more…

I don’t know what to check. Can you have a look here http://s000.tinyupload.com/?file_id=62281339449270679536

I will do that. But what about the flickering in Dolphin and VLC when using hardware keys to adjust brightness and volume? Is this driver related?

I couldn’t find any obvious issues. BTW, in future please use https://susepaste.org/ or https://pastebin.com/ when posting/sharing lengthy output, rather than requiring us to download a file.

Sorry about that.

Did this. Installed bumblebee again.
Running “optirun --status” gives:

Bumblebee status: Error (3.2.1): [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied