You are not logged in.
That's great! Keep us posted.
Offline
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
Keep us updated MacroDallas!
Offline
That's great! Keep us posted.
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!
I've tested it and it should work, but it's at his first release
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
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
Marco
Last edited by MarcoDallas (2013-06-27 19:16:49)
Offline
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
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
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 .
Last edited by Metroid_III (2013-06-28 12:47:40)
Offline
My 8770M is now OFF
Turns out our computers aren't so similar after all surion
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 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
Last edited by Metroid_III (2013-06-29 02:00:38)
Offline
My 8770M is now OFF
Also big thanks to MarcoDallas, I tried the call you put in your bug report just out of desperation
Happy to help!
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 (use the "Change deactivation code" option in the program and then try again to use "Turn off discrete GPU" )
As said in the readme of acpi_call:
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!!!
Last edited by MarcoDallas (2013-06-29 09:34:34)
Offline
My 8770M is now OFF
Turns out our computers aren't so similar after all surion
On my computer the command to turn off the GPU is actually:
\_SB.PCI0.PEG0.PEGP._OFFWierd huh, I thought we'd have similar BIOS implementations 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
It was my bad. Since the topic was about a 8870, I never read your GPU model straight.
Anyway, I'm glad it's working!
Offline
Woo! Thank you all! The new acpi_call works for me
Glad the right calls were found
Jay
Offline
Hi!
Sorry for reopening this thread, but I want to share with other users how I succesfuly deactivate the discrete GPU using archlinux
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!
Last edited by MarcoDallas (2013-09-06 16:42:25)
Offline