I know Nvidia is out but out of Intel and amd, which is the best? I don't play games much.
I do not know of a direct equivalent, but lshw should give you the info you want, try:
sudo lshw -C display
(it also works without sudo but the info may be less complete/accurate)
You can also install the package lshw-gtk to get a GUI.
That type of information is non-standard, and the tools you will use to gather it vary widely.
The command glxinfo will give you all available OpenGL information for the graphics processor, including its vendor name, if the drivers are correctly installed.
To get clock speed information, there is no standard tool.
- For ATI/AMD GPUs running the old Catalyst driver,
aticonfig --odgcshould fetch the clock rates, andaticonfig --odgtshould fetch the temperature data. I'm not familiar with AMDGPU-Pro, but a similar tool should exist. - For NVIDIA GPUs, the
nvidia-smitool will show all of the information you could want, including clock speeds and usage statistics.
I am not aware of an equivalent tool for the open source drivers or for Intel or other GPUs, but other information on the hardware can be fetched from the lspci and lshw tools.
hardware - How to check which GPU is active in Linux? - Unix & Linux Stack Exchange
Best graphics card for Linux ?
Recommendation for a first time AMD GPU Linux buyer?
The only AMD card that will can potentially be an upgrade over a 1080 is a Vega 64, and you probably can't get one at a reasonable price. The install process is basically just getting the latest kernel (you need 4.15, due to be out later today, for Vega cards to work out of the box) and Mesa (will probably have to install from a PPA if you're actually using 16.04 LTS). Why are you switching teams like that?
More on reddit.comThe NVIDIA/AMD Linux GPU Gaming Benchmarks & Performance-Per-Dollar For July 2018
some remarks:
rx 580 continues to deliver strong performance and heavily outperform gtx 1060
vega still gives poor results on linux
rx 560 is one of the best value gpu for linux gaming
Videos
I've just gone through a hell of a time
trying to get my discrete graphics to work in Ubuntu,
and answering this question was constantly a challenge,
since the lspci method mentioned earlier
can sometimes say that both are [VGA controller].
I think the following command should give you an indication of your active chip:
$ glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
For me, this is telling me that my Intel graphics are running the show.
glxinfo is available from the mesa-utils package,
so you will need to install it if you haven't already.
On Ubuntu 22.04, for example, run:
sudo apt-get install mesa-utils
If you're using an NVIDIA chip, and you're using the bumblebee package,
you can put optirun in front of that line,
and it should tell you that you're running the NVIDIA chip
(optirun is basically telling the computer
to use the discrete chip to run whatever command follows,
but everything else is still using the integrated chip).
$ optirun glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 555M/PCIe/SSE2
glxheads is another helpful command from mesa-utils that tells you
some useful information about which graphics card is in use
(mostly repeats glxinfo in a more compact and easy-to-read form, though),
and it gives you a nice rendering of a rotating triangle.
To check which GPU is currently in command (that means which is an active VGA controller) type in
lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
Any controller with [VGA controller] at the end is your currently active GPU. The others are switched off. In the following example the Intel card is active while the nVidia one is not in use:
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor
Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA
controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce
GT 540M] [10de:0df4] (rev ff) (prog-if ff)
Hi, soon I'll probably start building new pc, I'm looking at graphics card, what are most compatible card with Linux ? I'm asking because I heard somewhere that Nvidia cards don't go well with Linux because of drivers or something, can anyone confirm that ?