You are not logged in.

#1 2016-05-08 10:31:50

mvci
Member
Registered: 2014-10-15
Posts: 15

Can't power down discrete GPU AMD R5 M335

I have hybrid graphics intel 520 HD and AMD  R5 M335
I followed the wiki to power down AMD
I've installed acpi_call then run "modprobe acpi_call"
then "/usr/share/acpi_call/examples/turn_off_gpu.sh"

the output is

Trying \_SB.PCI0.P0P1.VGA._OFF: failed
Trying \_SB.PCI0.P0P2.VGA._OFF: failed
Trying \_SB_.PCI0.OVGA.ATPX: failed
Trying \_SB_.PCI0.OVGA.XTPX: failed
Trying \_SB.PCI0.P0P3.PEGP._OFF: failed
Trying \_SB.PCI0.P0P2.PEGP._OFF: failed
Trying \_SB.PCI0.P0P1.PEGP._OFF: failed
Trying \_SB.PCI0.MXR0.MXM0._OFF: failed
Trying \_SB.PCI0.PEG1.GFX0._OFF: failed
Trying \_SB.PCI0.PEG0.GFX0.DOFF: failed
Trying \_SB.PCI0.PEG1.GFX0.DOFF: failed
Trying \_SB.PCI0.PEG0.PEGP._OFF: failed
Trying \_SB.PCI0.XVR0.Z01I.DGOF: failed
Trying \_SB.PCI0.PEGR.GFX0._OFF: failed
Trying \_SB.PCI0.PEG.VID._OFF: failed
Trying \_SB.PCI0.PEG0.VID._OFF: failed
Trying \_SB.PCI0.P0P2.DGPU._OFF: failed
Trying \_SB.PCI0.P0P4.DGPU.DOFF: failed
Trying \_SB.PCI0.IXVE.IGPU.DGOF: failed
Trying \_SB.PCI0.RP00.VGA._PS3: failed
Trying \_SB.PCI0.RP00.VGA.P3MO: failed
Trying \_SB.PCI0.GFX0.DSM._T_0: failed
Trying \_SB.PCI0.LPC.EC.PUBS._OFF: failed
Trying \_SB.PCI0.P0P2.NVID._OFF: failed
Trying \_SB.PCI0.P0P2.VGA.PX02: failed
Trying \_SB_.PCI0.PEGP.DGFX._OFF: failed
Trying \_SB_.PCI0.VGA.PX02: failed
Trying \_SB.PCI0.PEG0.PEGP.SGOF: failed
Trying \_SB.PCI0.AGP.VGA.PX02: failed
.

any idea?

Offline

#2 2016-05-12 08:15:13

mvci
Member
Registered: 2014-10-15
Posts: 15

Re: Can't power down discrete GPU AMD R5 M335

Help please

Offline

#3 2016-05-12 15:04:40

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Can't power down discrete GPU AMD R5 M335

acpi_call last update upstream was almost 3 years ago (june 2013) , maybe your hardware is to new for it ?

Are you using AMD opensource or proprietary drivers ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2016-05-12 15:07:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: Can't power down discrete GPU AMD R5 M335

I appreciate that you waited several days before bumping.  A better approach to drawing attention to a thread would be to post what you have tried and read since your last post.   You said you followed the wiki; you mightr consider removing any ambiguity by providing a link.   Anything in the output of dmesg or in the journal?

I use pure Intel on my system and have never had to deal with hybrid graphics, so I've no experience to contribute beyond basic troubleshooting.

Last edited by ewaller (2016-05-12 15:08:10)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-05-13 09:27:06

mvci
Member
Registered: 2014-10-15
Posts: 15

Re: Can't power down discrete GPU AMD R5 M335

Lone_Wolf wrote:

acpi_call last update upstream was almost 3 years ago (june 2013) , maybe your hardware is to new for it ?

Are you using AMD opensource or proprietary drivers ?

oh that's a long time
I use the opensource driver

Offline

#6 2016-05-13 09:36:32

mvci
Member
Registered: 2014-10-15
Posts: 15

Re: Can't power down discrete GPU AMD R5 M335

ewaller wrote:

I appreciate that you waited several days before bumping.  A better approach to drawing attention to a thread would be to post what you have tried and read since your last post.   You said you followed the wiki; you mightr consider removing any ambiguity by providing a link.   Anything in the output of dmesg or in the journal?

I use pure Intel on my system and have never had to deal with hybrid graphics, so I've no experience to contribute beyond basic troubleshooting.

Sorry for bumping
this is the wiki page that I followed https://wiki.archlinux.org/index.php/hy … e_Graphics

dmesg shows:

   
radeon 0000:01:00.0: VCE init error (-22).

[drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[drm:si_resume [radeon]] *ERROR* si startup failed on resume
 

also glxgears shows that I have only 60FPS!! while intel HD 520 & AMD shoud be working, what's wrong?


I wish to get pure intel laptop but I didn't find a one

Offline

#7 2016-05-13 12:21:27

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Can't power down discrete GPU AMD R5 M335

Glxgears is not a Benchmark

The 60 FPS is because most (if not all) videodrivers use Vsync and cap FPS at the refreshrate of your monitor.
If you really want, you can use vblank_mode=0 glxgears

The Hybrid Graphics page is somewhat out-of-date, PRIME and Bumblebee have advanced a lot.
For intel + amd setup with opensource drivers, use PRIME .

That page doesn't mention powering down the discrete card completely.
If you system has /sys/kernel/debug/vgaswitcheroo/switch then systemd-vgaswitcheroo-units should work for you.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2016-05-13 17:39:57

mvci
Member
Registered: 2014-10-15
Posts: 15

Re: Can't power down discrete GPU AMD R5 M335

Lone_Wolf wrote:

Glxgears is not a Benchmark

The 60 FPS is because most (if not all) videodrivers use Vsync and cap FPS at the refreshrate of your monitor.
If you really want, you can use vblank_mode=0 glxgears

The Hybrid Graphics page is somewhat out-of-date, PRIME and Bumblebee have advanced a lot.
For intel + amd setup with opensource drivers, use PRIME .

That page doesn't mention powering down the discrete card completely.
If you system has /sys/kernel/debug/vgaswitcheroo/switch then systemd-vgaswitcheroo-units should work for you.


Wow!
vblank_mode=0 glxgears gave me 7000FPS!
but I have lags when I move the windows,scrolling and when I use Wobbly windows effect it's so laggy (using TearFree option in /etc/X11/xorg.conf.d/20-intel.conf
make it better but not perfect) any idea to fix it?

And also DRI_PRIME=1 glxgears (from PRIME page) gave me 7000FPS

PRIME doesn't turn off AMD so my battery life still shows 1.5 hour of remaining time while it should show 3 hours (sometimes it actually shows 3 hours I don't know why!)
it sounds like that AMD working for few minutes and not working for another few minutes

Offline

Board footer

Powered by FluxBB