You are not logged in.

#1 2014-06-19 14:27:23

bl0b
Member
Registered: 2014-04-17
Posts: 5

[SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

Hi,

after upgrading from Kernel 3.14.6 to 3.15.1, deactivating the my Nvidia Optimus GT730M by using acpi_call seems not to work anymore. Calling the parameters which worked until now seems to succeed:

bla$ sudo sh -c './gpuOff.sh && cat /proc/acpi/call'
0x0called

But neither I was able to observe any changes of the battery state nor the output of lspci has changed. As far as I can gather, there should be something like "rev ff" indicating a deactivated card?!

bla$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
02:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)

Acpi_call is up2date and compiled with current Headers.


Maybe I'm missing something?

Last edited by bl0b (2014-07-11 12:06:33)

Offline

#2 2014-06-19 14:32:00

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

What is this gpuOff.sh I am seeing here? Some magical script from a repository or custom written?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-06-19 15:34:10

bl0b
Member
Registered: 2014-04-17
Posts: 5

Re: [SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

Sorry ^^
The script simply contains the parameters for deactivating the NVIDIA card of my t440p.

#!/bin/bash
echo "\_SB.PCI0.PEG.VID._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x1A {0x1,0x0,0x0,0x3}" >/proc/acpi/call
echo "\_SB.PCI0.PEG.VID._PS3" >/proc/acpi/call
exit 0

I have checked both lines and both commands succeed, at least according to /proc/acpi/call.

PS:
Using bumblebee/bbswitch is not working for me since it causes data corruption

Last edited by bl0b (2014-06-19 15:35:35)

Offline

#4 2014-07-10 18:16:50

abbradar
Member
Registered: 2010-06-10
Posts: 34

Re: [SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

Hello,
I haven't found a good solution to this (so I haven't posted here after our PM exchange), but the problem with data corruption was solved!


Sorry for my poor English.

Offline

#5 2014-07-11 12:05:58

bl0b
Member
Registered: 2014-04-17
Posts: 5

Re: [SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

Thanks a lot for the reply, so I'll give bumblebee/bbswitch a "second" try smile

Offline

#6 2014-07-18 21:41:54

abbradar
Member
Registered: 2010-06-10
Posts: 34

Re: [SOLVED] Hybridgraphics: acpi_call after Kernelupgrade not working

I'm sorry a lot, there was a regression in the newer Linux kernels (well, that's not a regression in a kernel, but an another bug in Lenovo's ACPI) that prevented nvidia from disabling -- so bbswitch started working "out of the box" and there was no obvious problems. You can find more at https://github.com/Bumblebee-Project/bb … t-48768044 along with instructions that workaround the acpi_call breakage.


Sorry for my poor English.

Offline

Board footer

Powered by FluxBB