You are not logged in.

#26 2013-06-27 13:26:15

surion
Member
Registered: 2013-06-20
Posts: 15

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

That's great! Keep us posted. smile

Offline

#27 2013-06-27 14:52:07

Metroid_III
Member
Registered: 2013-02-24
Posts: 11

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

surion wrote:

Now that I read it right, my card is slightly different from yours (mine is a 8870).
Nevertheless it should work.

BTW, you only see the "0x0" when you do "cat /proc/acpi/call", right after you make the call.

Yeah I made sure to do that, thanks for considering that smile

Keep us updated MacroDallas!

Offline

#28 2013-06-27 19:15:03

MarcoDallas
Member
From: Padova, Italy
Registered: 2013-06-26
Posts: 7
Website

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

surion wrote:

That's great! Keep us posted. smile

Metroid_III wrote:

Keep us updated MarcoDallas!

As you asked, after a hard work (before today I didn't know what's systemd) I'm proud to present you acpi_call_systemd! big_smile
I've tested it and it should work, but it's at his first release smile

BUT, unfortunately it seems that acpi_call at this moment doesn't support kernel 3.9+ , but I'm sure that it will in a short time smile
here's my bug report:
https://github.com/mkottman/acpi_call/issues/38

Tell me if you encounter bugs or problems using my program! Bye big_smile

Marco

Last edited by MarcoDallas (2013-06-27 19:16:49)

Offline

#29 2013-06-27 20:31:47

LordChaos73
Member
From: .nl
Registered: 2008-11-11
Posts: 183

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

Hi,

I have a Sony Vaio with the Intel HD3000/AMD HD 6470M combo. In order to shut down the discrete card, I've done the following:

1. I use the open source drivers only, this way I can use vgaswitcheroo
2. I don't blacklist or remove the radeon module on boot for the reason stated above
3. I use a custom systemd script to disable the card on boot:

/etc/systemd/system/disable-radeon.service

[Unit]
Description=Service to disable the radeon discrete card
After=syslog.target
 
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'echo OFF > /sys/kernel/debug/vgaswitcheroo/switch'
RemainAfterExit=yes
 
[Install]
WantedBy=graphical.target

I hope this helps.

Offline

#30 2013-06-28 07:52:58

surion
Member
Registered: 2013-06-20
Posts: 15

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

LordChaos73 wrote:

Hi,

I have a Sony Vaio with the Intel HD3000/AMD HD 6470M combo. In order to shut down the discrete card, I've done the following:

1. I use the open source drivers only, this way I can use vgaswitcheroo
2. I don't blacklist or remove the radeon module on boot for the reason stated above
3. I use a custom systemd script to disable the card on boot:

/etc/systemd/system/disable-radeon.service

[Unit]
Description=Service to disable the radeon discrete card
After=syslog.target
 
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'echo OFF > /sys/kernel/debug/vgaswitcheroo/switch'
RemainAfterExit=yes
 
[Install]
WantedBy=graphical.target

I hope this helps.

From what I understand, vgaswictheroo only works on muxed cards. I our case they are muxless. That means that the only card the outputs video is the Intel, while the AMD only does rendering and delivers it to the Intel.
I don't even have vgaswitcheroo on /sys/kernel/debug.

Offline

#31 2013-06-28 12:44:18

Metroid_III
Member
Registered: 2013-02-24
Posts: 11

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

surion wrote:

From what I understand, vgaswictheroo only works on muxed cards. I our case they are muxless. That means that the only card the outputs video is the Intel, while the AMD only does rendering and delivers it to the Intel.
I don't even have vgaswitcheroo on /sys/kernel/debug.

vgaswitcheroo should start revealing itself when full support makes its way into the linux kernel and mesa/drm/ati-video AFAIK this isn't complete yet. But ofc using it will probably crash the system. I'll try using acpi_call again once these packages hit mainline, who knows smile.

Last edited by Metroid_III (2013-06-28 12:47:40)

Offline

#32 2013-06-29 01:52:29

Metroid_III
Member
Registered: 2013-02-24
Posts: 11

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

My 8770M is now OFF smile

Turns out our computers aren't so similar after all surion tongue

On my computer the command to turn off the GPU is actually:
\_SB.PCI0.PEG0.PEGP._OFF

Wierd huh, I thought we'd have similar BIOS implementations hmm I really appreciate your efforts to help me out!

Also big thanks to MarcoDallas, I tried the call you put in your bug report just out of desperation tongue

Last edited by Metroid_III (2013-06-29 02:00:38)

Offline

#33 2013-06-29 09:30:23

MarcoDallas
Member
From: Padova, Italy
Registered: 2013-06-26
Posts: 7
Website

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

Metroid_III wrote:

My 8770M is now OFF smile

Also big thanks to MarcoDallas, I tried the call you put in your bug report just out of desperation tongue

Happy to help! smile

BTW, if you don't find your exact laptop model in the web page that is opened by acpi_call_GUI_systemd, try a code for a laptop with similiar graphic specification to yours wink (use the "Change deactivation code" option in the program and then try again to use "Turn off discrete GPU" smile )

As said in the readme of acpi_call:

Michal Kottman wrote:

It SHOULD be ok to test all of the methods, until you see a drop in battery drain rate (grep rate /proc/acpi/battery/BAT0/state), however it comes with NO WARRANTY - it may hang your computer/laptop, fail to work, etc.

Bye!!! big_smile

Last edited by MarcoDallas (2013-06-29 09:34:34)

Offline

#34 2013-06-29 10:39:57

surion
Member
Registered: 2013-06-20
Posts: 15

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

Metroid_III wrote:

My 8770M is now OFF smile

Turns out our computers aren't so similar after all surion tongue

On my computer the command to turn off the GPU is actually:
\_SB.PCI0.PEG0.PEGP._OFF

Wierd huh, I thought we'd have similar BIOS implementations hmm I really appreciate your efforts to help me out!

Also big thanks to MarcoDallas, I tried the call you put in your bug report just out of desperation tongue

It was my bad. Since the topic was about a 8870, I never read your GPU model straight. tongue

Anyway, I'm glad it's working! big_smile

Offline

#35 2013-07-04 10:15:59

jaythespacehound
Member
Registered: 2013-05-29
Posts: 11

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

Woo! Thank you all! The new acpi_call works for me big_smile
Glad the right calls were found smile
Jay

Offline

#36 2013-08-10 01:07:15

MarcoDallas
Member
From: Padova, Italy
Registered: 2013-06-26
Posts: 7
Website

Re: [solved] Intel/AMD 8870m Switchable, Can Not Disable Discrete Card

Hi!
Sorry for reopening this thread, but I want to share with other users how I succesfuly deactivate the discrete GPU using archlinux smile

1) Install acpi_call-git from AUR

2) Run as root

modprobe acpi_call

3) Download and install acpi_call_GUI_systemd (or create your own systemd file)

4) Run acpi_call_GUI_systemd and only use "change deactivation code" and then "automates disabling discrete GPU every boot" (or create your own systemd file)

5) Load acpi_call kernel module every boot like explained here: https://wiki.archlinux.org/index.php/Ke … es#Loading

6) Blacklist radeon module like explained here: https://wiki.archlinux.org/index.php/Ke … acklisting

6) That's all!

p.s.
Nice distro archlinux, I like it! wink

Last edited by MarcoDallas (2013-09-06 16:42:25)

Offline

Board footer

Powered by FluxBB