I recently installed Nvidia graphics card on my laptop. However even after installation the machine is still using the Intel graphic chip. I tried running prime-select nvidia
, the output being nvidia profile is already set
but whenever I try checking which graphic card I am using, by,
lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
the output is still
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07) (prog-if 00 [VGA controller])
I also tried
optirun glxinfo|egrep "OpenGL vendor|OpenGL renderer"
output
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 256 bits)
but still no effect. I tried going to the nvidia-setting
to configure the prime profile through the GUI, but the prime profile
tab is not displayed.
NOTE: I installed nvidia-prime through a deb file, apt install nvidia-prime
didn't seem to work.
UPDATE
The output from sudo lspci -nnk | grep -i vga -A3&&sudo lshw -c display
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07)
Subsystem: Hewlett-Packard Company Skylake GT2 [HD Graphics 520] [103c:820c]
Kernel driver in use: i915
Kernel modules: i915
*-display
description: VGA compatible controller
product: HD Graphics 520
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:131 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940MX]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=nvidia latency=0
resources: irq:134 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128)
sudo lspci -nnk | grep -i vga -A3&&sudo lshw -c display
to your question? – L. D. James Apr 11 '18 at 06:39