Unable to run integrated graphics
I am using propriety nvidia drivers and prime on my laptop. I only use my GPU for some occasional CUDA programing.
Since the battery life of my laptop is abysmal, I recently did powertop --auto-tune to tune the battery consumption of my laptop. However after running this, it seems like I am unable to switch to integrated graphics anymore.
$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
$ prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 7972 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 515.48.07
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 515.48.07
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 515.48.07
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Earlier without prime-run I used to see intel's integrated graphics as the OpenGL renderer but now it is showing as the NVIDIA card.
Where did I mess up? How can I repair this so that the NVIDIA card is not called when I am not running with prime-run?
Here is a screenshot of nvtop. Here is a screenshot of nvidia-smi. And here is a screenshot of intel_gpu_top.
Also, I've pasted the output of lspci | grep -i --color 'vga\|3d\|2d' below:
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
10000:e0:17.0 SATA controller: Intel Corporation Device 43d3 (rev 11)
##EDIT: SOLVED ## Refer to this comment.
Edited 7 Jun 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 100% up
- Kind
- Text
- ID
- v69mid