clbr / radeontop

GNU General Public License v3.0
808 stars 70 forks source link

Radeontop doesn't work on hybrid Laptop #14

Closed BlackLotus closed 10 years ago

BlackLotus commented 10 years ago

lspci shows

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M](rev ff)

In /dev/dri/ are 2 cards

[root@HackBox ~]# ls /dev/dri/ card0 card1 controlD64 controlD65

But radeontop says:

[root@HackBox ~]# radeontop Can't find Radeon cards

Tried playing with the parameters, didn't read the code (yet).

clbr commented 10 years ago
BlackLotus commented 10 years ago

Sorry for the lack of information. It's Intel/AMD and the AMD card is auto on (I mean dynamic).I use it through prime_DRI. I post the lspci output as soon as I get back home.

tobiasjakobi commented 10 years ago

If no application is using the Radeon GPU the driver turns the hardware off (you can see this via power_dpm_state). Start an application (glxgears suffices), then start radeontop.

BlackLotus commented 10 years ago

Arg my fault I made the same typo I made in my comment while testing this (used PRIME_DRI instead of DRI_PRIME). Thanks