How to check which GPU card is in use? Now in the about page in settings under the graphics field is Software rendering / Software rendering, which is a little laggy. One time was AMD Radeon™ Graphics / Software Rendering, which was amazingly fast. I don’t know if is that important. One card is integrated AMD and another one is nvidia. i don’t want rpmfusion only to use AMD as I don’t play games on Fedora. Thank you
# Check video drivers in use
lspci -n -n -k | grep -A 2 -e VGA -e 3D
# Check active GPU driver
glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer
# List available and default GPU
switcherooctl list
hardware - How to check which GPU is active in Linux? - Unix & Linux Stack Exchange
lspci -n -n -k | grep -A 2 -e VGA -e 3D
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1)
Subsystem: Hewlett-Packard Company Device [103c:88d4]
Kernel driver in use: nouveau
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8)
DeviceName: OnBoard IGD
Subsystem: Hewlett-Packard Company Device [103c:8906]
glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
You want to use the Nvidia 3060Ti
If it works badly it’s because you have the open source drivers, you need to change them for Nvidia’s proprietary drivers.
That’s the pain of using Nvidia on Linux.
This is not compatible with Secure Boot and you probably want to run X11 instead of Wayland.
Edit: Okay, if you don’t want to play games or computing with the Nvidia card just skip this if you want
switcherooctl list
Device: 0
Name: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate]
Default: yes
Environment: DRI_PRIME=pci-0000_01_00_0
Device: 1
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Cezanne
Default: no
Environment: DRI_PRIME=pci-0000_0d_00_0
for GPU_ID in $(switcherooctl list
| sed -n -r -e “s/^\S+\s+//p”)
do switcherooctl launch -g ${GPU_ID} glxinfo
| grep -e OpenGL.vendor -e OpenGL.renderer
done
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
First of all, thank you for your help! Do you know how to set AMD as default in my case ( I suppose you do know
I already had Nvidia’s proprietary drivers and after the last update, it was stuck at the boot. I was having problems even reaching CLI (in the end it was something that Nvidia.powerd service didn’t want to start). I’m not that technically good, don’t have time and am too old for that sh… and also my experience was not that great then. Now sometimes my computer is amazingly fast and sometimes not but I don’t know the reason. But thank you for your advice.
To tell the truth, I’m not sure as my default GPU is Intel, but you can try the following:
sudo tee /etc/profile.d/custom.sh << "EOF" > /dev/null
export DRI_PRIME="1"
EOF
Or try disabling the NVIDIA GPU in the BIOS/EFI settings.