Switching nvidia to intel gpu

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
JheniG
Level 1
Level 1
Posts: 2
Joined: Fri Sep 06, 2019 10:16 pm

Switching nvidia to intel gpu

Post by JheniG » Fri Sep 06, 2019 10:44 pm

So, I'm having exactly the same problem as described here. And i know that the prime options should work because a friend of mine with the same computer, but using some
version of ubuntu (I can't remember which one), has the prime options.

But i'm using the mint cinnamon 19.2 - Tina in a Dell inspiron 14 5480.
I have used linux mint for a while, but I still am a really noob to this stuff.
I already tried the things describe in this answer, but it didn't work for me.

When I tried the 6 comands show in the first answer by @roblm I get:
1:

Code: Select all

jheniffer@jheniffer-Inspiron-5480:~$ inxi -SMCGx
System:
  Host: jheniffer-Inspiron-5480 Kernel: 4.15.0-54-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.3 
  Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Dell product: Inspiron 5480 v: N/A 
  serial: <root required> 
  Mobo: Dell model: 07G539 v: A02 serial: <root required> UEFI: Dell 
  v: 2.2.0 date: 03/24/2019 
CPU:
  Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: C L2 cache: 8192 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31872 
  Speed: 800 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Dell driver: N/A 
  bus ID: 02:00.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Whiskey Lake 3x8 GT2) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
2:

Code: Select all

jheniffer@jheniffer-Inspiron-5480:~$ lspci -nnk | egrep -A3 -i "3D|VGA"
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3ea0] (rev 02)
	Subsystem: Dell Device [1028:089c]
	Kernel driver in use: i915
	Kernel modules: i915
--
02:00.0 3D controller [0302]: NVIDIA Corporation GP108M [GeForce MX150] [10de:1d10] (rev a1)
	Subsystem: Dell GP108M [GeForce MX150] [1028:089c]
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 0a)
3:

Code: Select all

jheniffer@jheniffer-Inspiron-5480:~$ ls /lib/modprobe.d
aliases.conf                            fbdev-blacklist.conf          systemd.conf
blacklist_linux_4.15.0-54-generic.conf  nvidia-graphics-drivers.conf
[\code]

4:
[code]
jheniffer@jheniffer-Inspiron-5480:~$ dpkg -l |grep -i nvidia
ii  libnvidia-cfg1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-430                       430.26-0ubuntu0.18.04.2                     all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-430:amd64                430.26-0ubuntu0.18.04.2                     amd64        NVIDIA libcompute package
ii  libnvidia-compute-430:i386                 430.26-0ubuntu0.18.04.2                     i386         NVIDIA libcompute package
ii  libnvidia-decode-430:amd64                 430.26-0ubuntu0.18.04.2                     amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-430:i386                  430.26-0ubuntu0.18.04.2                     i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-430:amd64                 430.26-0ubuntu0.18.04.2                     amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-430:i386                  430.26-0ubuntu0.18.04.2                     i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-430:i386                    430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-430:amd64                     430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-430:i386                      430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-430:i386                    430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-430                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA compute utilities
ii  nvidia-dkms-430                            430.26-0ubuntu0.18.04.2                     amd64        NVIDIA DKMS package
ii  nvidia-driver-430                          430.26-0ubuntu0.18.04.2                     amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-430                   430.26-0ubuntu0.18.04.2                     amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-430                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.8.2                                     all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                        1.0.7                                       all          An applet for NVIDIA Prime
ii  nvidia-settings                            390.77-0ubuntu0.18.04.1                     amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-430                           430.26-0ubuntu0.18.04.2                     amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-430              430.26-0ubuntu0.18.04.2                     amd64        NVIDIA binary Xorg driver
[\code]

5:
[code]
jheniffer@jheniffer-Inspiron-5480:~$ mokutil --sb-state
SecureBoot enabled
[\code]

6:
[code]
jheniffer@jheniffer-Inspiron-5480:~$ cat /var/log/Xorg.0.log | nc termbin.com 9999
https://termbin.com/hek9
[\code]

I see that somethings are different from the ones of the person that asked the question, but still don't know what it means, and how to change it.

Thanks in advance.
Last edited by Moem on Sat Sep 07, 2019 1:58 am, edited 1 time in total.
Reason: Split off into a separate topic. Every new question deserves its own topic. Old thread was https://forums.linuxmint.com/viewtopic.php?f=59&t=294384

User avatar
roblm
Level 10
Level 10
Posts: 3366
Joined: Sun Feb 24, 2013 2:41 pm

Re: Switching nvidia to intel gpu

Post by roblm » Sat Sep 07, 2019 7:11 am

Your system has Secure Boot enabled. This prevents the Nvidia driver from loading. Either disable Secure Boot in the BIOS, or if you want it enabled for an added layer of security, then the Nvidia kernel modules that were built during the Nvidia driver installation will need to be signed. Many distributions require modules to be signed with a trusted key when loaded into kernels running on UEFI systems with Secure Boot enabled.

For the instructions on how to do this, go down to the section:
How to install the Nvidia driver with Secure Boot enabled; for drivers installed using Driver Manager, apt or Synaptic in this post:

viewtopic.php?f=59&t=154932&start=20#p847465

JheniG
Level 1
Level 1
Posts: 2
Joined: Fri Sep 06, 2019 10:16 pm

Re: Switching nvidia to intel gpu

Post by JheniG » Tue Sep 10, 2019 9:37 pm

I just disabled the secure boot and now it works.
Do you know if it will work on the mate version too?
Thanks

User avatar
roblm
Level 10
Level 10
Posts: 3366
Joined: Sun Feb 24, 2013 2:41 pm

Re: Switching nvidia to intel gpu

Post by roblm » Wed Sep 11, 2019 2:11 pm

Yes.

Post Reply

Return to “Graphics Cards & Monitors”