NVIDIA Optimus fan is constantly ON. (LEAP 42.3)

Hello,
I recently upgraded from Leap 42.2 to 42.3 and I am using the latest KDE (KDE Plasma: 5.11.4, KDE Frameworks: 5.40.0, Qt Version: 5.10.0). After the upgrade, my NVIDIA graphics card fan is constantly ON, even when I am just browsing. I did not have this problem in Leap 42.2 so I uninstalled NVIDIA driver and currently using Nouveau with Bumblebee. I followed this link https://en.opensuse.org/SDB:NVIDIA_Bumblebee and changed the following line
in /etc/bumblebee/bumblebee.conf:

[bumblebeed]
Driver=nouveau

and restarted Bumblebeed

sudo systemctl restart bumblebeed

The fan is still on. Here are some information


raaj-Laptop:/home/raaj # rpm -qa | grep nvidia
raaj-Laptop:/home/raaj # lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev ff)
raaj-Laptop:/home/raaj # lsmod | grep nouveau
raaj@raaj-Laptop:~> cat /proc/acpi/bbswitch 
0000:01:00.0 OFF
raaj-Laptop:/home/raaj # modprobe thermal
raaj-Laptop:/home/raaj # modprobe fan
raaj-Laptop:/home/raaj # hwinfo | grep fan
        acpi-fan: module = fan
        acpi-fan: module = fan
  fan 16384 0 - Live 0xffffffffa0da1000
    Driver Status: thermal,fan are active
    Driver Activation Cmd: "modprobe thermal; modprobe fan"
raaj-Laptop:/home/raaj # sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +37.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:         +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:         +35.0°C  (high = +100.0°C, crit = +100.0°C)

raaj-Laptop:/home/raaj # systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2017-12-25 14:39:00 EST; 14min ago
 Main PID: 1112 (bumblebeed)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/bumblebeed.service
           └─1112 /usr/sbin/bumblebeed

Dec 25 14:39:00 raaj-Laptop systemd[1]: Started Bumblebee C Daemon.
Dec 25 14:39:02 raaj-Laptop bumblebeed[1112]:    36.609351] [INFO]/usr/sbin/bumblebeed 3.2.1 started

raaj@raaj-Laptop:~>  lspci -nnk | grep -A3 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake Integrated Graphics [8086:1916] (rev 07)
        Subsystem: Hewlett-Packard Company Device [103c:80a4]
        Kernel driver in use: i915
        Kernel modules: i915
raaj@raaj-Laptop:~> cat /etc/modprobe.d/50-bbswitch.conf
options bbswitch load_state=0 unload_state=1

Your help is appreciated. The constant fan noise is annoying !

Hello Again,

I was looking through the forum and came across this thread (https://forums.opensuse.org/showthread.php/521297-Noisy-fan-graphic-cards), the user has similar problem. The discrete card is off according to this output.

raaj@raaj-Laptop:~> optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

But the fan is till running, Could someone please help me in resolving this issue ?

Is there anything more I could do to solve this problem ?