I have just started to use GNU/Linux in my computer. I am currently using Fedore 34 and here are my specs.
7.5 GiB
Intel® Core™ i5-7200U CPU @ 2.50GHz x 4
NVIDIA Corporation GM108M [GeForce 940MX] / Mesa Intel(R) HD Graphics 620 (KBL GT2)
When I first started to using Fedora I was using
Nouveau drivers. However, I guess later on I have enabled the Nvidia drivers. The reason why I am not sure as follows.
At the booting time there was an error saying Nvidia kernel module missing, falling back to nouveau.
Now this error is gone.
Try to get better info using inxi. (you may need to install inxi.)
inxi -Fxx would tell you exactly what is contained in your machine.
The output of lsmod says the nvidia drivers are installed and active. Those drivers would not even load (nor would the nouveau driver) if the GPU were not nvidia
I suspect (though you do not say) that you are using a laptop with a dual GPU setup which has an intel IGP and an nvidia discrete GPU. The inxi output will tell us for sure.
My laptop has an Intel integrated GPU and a discrete AMD GPU. I’m using the default open source amdgpu driver.
I can make screenfetch report my AMD discrete GPU by invoking screenfetch like this DRI_PRIME=1 screenfetch. That is, by setting the DRI_PRIME environment variable.
This reddit discussion suggests doing something similar would work to use the proprietary nvidea driver:
That inxi output shows that you do indeed have intel IGP and nvidia GPU.
The system by default uses the IGP unless it is needed or explicitly requested to use the discrete GPU, and that is what was shown by screenfetch on your earlier post. Selecting to use the discrete GPU for an app in gnome is as simple as right click on the app icon and select “Launch using Discrete Graphics Card”
You can continue to use the default config which will mostly use the intel IGP, or if you choose you can select to use the nvidia GPU, including selecting it for full time use on all video output if you wish.
There is a file, /usr/share/X11/xorg.conf.d/nvidia.conf, that can be copied into /etc/X11/xorg.conf.d/nvidia.conf and it will make the nvidia GPU capable of handling both the built-in screen output and the HDMI output at the same time. Without the config in that file I don’t think the nvidia GPU handles the built-in screen when both are in use.
Also, if you wish to make the nvidia GPU your primary GPU so it handles all video output all the time you can add this to both stanzas in that file and nvidia will become the primary GPU.
Thanks for the answers. Just one last question. Is it worth changing Intel to Nvidia in terms of performance-wise or maybe in general? I am not a computer geek, so I don’t want to mess with the GPU much unless it will worth it.
As you have pointed out, I launched the terminal via a discrete graphics card, and the GPU has changed.