Article 5DZVS Current- Nvidia Optimus - Use Dedicated Card

Current- Nvidia Optimus - Use Dedicated Card

by
pr0xibus
from LinuxQuestions.org on (#5DZVS)
Evening folks

I have an HP Omen Laptop with the Intel GPU and a GTX 1050, for a while I was happy with having to use prime_render_offload to run an application that required me to use the dedicated card, to be honest I wasnt going to change it until today.

I have another HP Omen, and just on the off change I wanted to have a look at Fedora (something I am contemplating putting on the kids computers).

Anyway after installing Fedora, and installing the Nvidia drivers, I noticed a section "enable NVIDIA GPU of an Optimus-based laptop all the time" I couldn't see a section on the Slackware Documentation for this, so decided to just copy over the /etc/X11/xorg.conf.d/xorg.conf to slackware, surprised as the xorg was very different, it worked.

Code:bash-5.1$ glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050/PCIe/SSE2
bash-5.1$Nvidia-smi is showing load too

Code:NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P8 N/A / N/A | 212MiB / 2000MiB | 26% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1446 G /usr/libexec/Xorg 104MiB |
| 0 N/A N/A 1521 G /usr/bin/kwin_x11 78MiB |
| 0 N/A N/A 1588 G /usr/bin/plasmashell 21MiB |
| 0 N/A N/A 2129 G /usr/lib64/firefox/firefox 1MiBAnyway to the question at hand,
Apart from power saving is there any other benefit to using the Optimus technology? The intel GPU was more than capable for what I was doing, general Computer usage and some light gaming on steam

Using the Nvidia card to render everything I assume will free up the CPU to a certain extent?latest?d=yIl2AUoC8zA latest?i=3WnN-V8yD2E:Xn_yjrVqkoo:F7zBnMy latest?i=3WnN-V8yD2E:Xn_yjrVqkoo:V_sGLiP latest?d=qj6IDK7rITs latest?i=3WnN-V8yD2E:Xn_yjrVqkoo:gIN9vFw3WnN-V8yD2E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments