I would like to test my dedicated graphics card on my ubuntu partition, but I can't run anything with it. It just defaults to the Intel Graphics Card, instead of my AMD Radeon M360. The graphics card shows up when I use the command
$ lspci -nn | grep -E 'VGA|Display'
This is the output:
00:02.0 VGA compatible controller : Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) 04:00.0 Display controller : Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10... (rev 81)
And I've seen elsewhere on the web that using DRI_PRIME=1 before the program you wish to run should switch to the dedicated graphics card, but in my case it doesn't work.
For example when I try the benchmark glmark2 by running the following command:
======================================================= glmark2 2014.03+git20150611.fa71af2d ======================================================= OpenGL Information GL_VENDOR: Intel GL_RENDERER: Mesa Intel(R) HD Graphics 5500 (BDW GT2) GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.0.8
Followed by the benchmark results. Same thing if I try with DRI_PRIME=0, or DRI_PRIME=2. Anyone have any other way to switch GPU's in order to test it?
For context, I've been having issues with my laptop on my windows partition, and I feel like the issue lays on my graphics card or it's drivers. Windows just freezes (no blue screen or anything. Just freezes everything, including all input) after a few minutes of being on. After trying to fix it by resetting windows now the Windows partition is broken, so before fixing it, I'd like to test the GPU on ubuntu to make sure that the hardware is not the issue, but it lays on software.
Thank you all in advance.