← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Discrete-Power-Off on Acer Travelmate 8472TG doesn't work

 

Since it seems that the test wasn't successful, I attached the whole
terminal output.

I installed the bumblebee-git and apci_call-git AUR packages, added me
to group bumblebee, restarted the system and tried the commands you
told me.

Is my system more complicated? ;-)

2012/1/5 Lekensteyn <lekensteyn@xxxxxxxxx>:
> I found the calls in the acpidump and could see on beforehand that it does
> not work for
> you since these kind of calls require additional treatment, namely saving
> and restoring
> the PCI configuration space.
>
> Please confirm (with PM disabled, but keep cardo{n,ff} scripts) that the
> following sequence
> does work (after making sure that you no acpi calls have been performed this
> session, i.e.
> by rebooting)
>
> # should not show FF FF FF ...
> xxd -c4 /proc/bus/pci/01/00.0
>
> cat /proc/bus/pci/01/00.0 > saved.txt
> sudo tee /proc/acpi/call < /etc/bumblebee/cardoff
>
> # should show FF FF FF ...
> xxd -c4 /proc/bus/pci/01/00.0
> sudo tee /proc/acpi/call < /etc/bumblebee/cardon
>
> # should not show FF FF FF ...
> xxd -c4 /proc/bus/pci/01/00.0
> sudo tee /proc/bus/pci/01/00.0 < saved.txt
> optirun glxgears
>
>
> Please attach the output of the above commands.
>
> Regards,
> Lekensteyn
>
>
> On Thu, Jan 5, 2012 at 11:16 PM, Wepmaschda <wepmaschda@xxxxxxx> wrote:
>>
>> 2012/1/4 Lekensteyn <lekensteyn@xxxxxxxxx>:
>> > Those ON and OFF lines are code that can be inserted in
>> > /etc/bumblebee/cardon
>> > and /etc/bumblebee/cardoff which needs Bumblebee. See
>> > https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-Removed for how
>> > to
>> > use those calls. Note that the card has to be on before suspending or
>> > the
>> > card
>> > won't be useable until the PCI configuration space is reinitialized.
>> > Sorry
>> > for the
>> > technical details, I just try to be complete.
>>
>> I'm not sure if I already understand it completely. ;-)
>> Did you find those calls out from the acpidump? Should they already
>> solve the problem?
>>
>> I created the files cardon and cardoff with the one-lines but "sudo
>> make load" still doesn't work with the same error.
>>
>> Also I started Windows7 and used the nvidia card before I booted back
>> into archlinux before I tested this. So the card should have been
>> "on".
>>
>> Should it already work or can I help with some more information/testing?
>>
>>
>> > I'll see if there is an automated way to detect this kind of methods and
>> > integrate
>> > it in bbswitch.
>>
>> If I can help with my hardware, just tell me.
>
>
test@papaya-testing:~$ xxd -c4 /proc/bus/pci/01/00.0
0000000: de10 290a  ..).
0000004: 0400 1000  ....
0000008: a200 0003  ....
000000c: 1000 0000  ....
0000010: 0000 00ac  ....
0000014: 0c00 00b0  ....
0000018: 0000 0000  ....
000001c: 0c00 00ae  ....
0000020: 0000 0000  ....
0000024: 0120 0000  . ..
0000028: 0000 0000  ....
000002c: 2510 1404  %...
0000030: 0000 0000  ....
0000034: 6000 0000  `...
0000038: 0000 0000  ....
000003c: 0501 0000  ....
test@papaya-testing:~$ cat /proc/bus/pci/01/00.0 > saved.txt
test@papaya-testing:~$ sudo tee /proc/acpi/call < /etc/bumblebee/cardoff
Passwort: 
\_SB.PCI0.GFX0._DSM  {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 3 {2,0,0,0}
test@papaya-testing:~$ xxd -c4 /proc/bus/pci/01/00.0
0000000: de10 290a  ..).
0000004: 0400 1000  ....
0000008: a200 0003  ....
000000c: 1000 0000  ....
0000010: 0000 00ac  ....
0000014: 0c00 00b0  ....
0000018: 0000 0000  ....
000001c: 0c00 00ae  ....
0000020: 0000 0000  ....
0000024: 0120 0000  . ..
0000028: 0000 0000  ....
000002c: 2510 1404  %...
0000030: 0000 0000  ....
0000034: 6000 0000  `...
0000038: 0000 0000  ....
000003c: 0501 0000  ....
test@papaya-testing:~$ sudo tee /proc/acpi/call < /etc/bumblebee/cardon
\_SB.PCI0.GFX0._DSM  {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 3 {1,0,0,0}
test@papaya-testing:~$ xxd -c4 /proc/bus/pci/01/00.0
0000000: de10 290a  ..).
0000004: 0400 1000  ....
0000008: a200 0003  ....
000000c: 1000 0000  ....
0000010: 0000 00ac  ....
0000014: 0c00 00b0  ....
0000018: 0000 0000  ....
000001c: 0c00 00ae  ....
0000020: 0000 0000  ....
0000024: 0120 0000  . ..
0000028: 0000 0000  ....
000002c: 2510 1404  %...
0000030: 0000 0000  ....
0000034: 6000 0000  `...
0000038: 0000 0000  ....
000003c: 0501 0000  ....
test@papaya-testing:~$ sudo tee /proc/bus/pci/01/00.0 < saved.txt
�ソス)
�ソス�ソス
      �ソス
       �ソス %`test@papaya-testing:~$ optirun glxgears
The Bumblebee daemon has not been started. To start the daemon, run:
    sudo /etc/init.d/bumblebee start
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log
==================================================
test@papaya-testing:~$ sudo /etc/init.d/bumblebee start
sudo: /etc/init.d/bumblebee: command not found
test@papaya-testing:~$ sudo /etc/rc.d/bumblebee start
:: Starting Bumblebee                                                    [DONE] 
test@papaya-testing:~$ optirun glxgears
stat: Aufruf von stat fテシr 窶�/tmp/.X8-lock窶� nicht mテカglich: Datei oder Verzeichnis nicht gefunden
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log
==================================================
test@papaya-testing:~$ cat /var/log/bumblebee.log 
[    620.02] Bumblebee log started at Sat, 07 Jan 2012 00:07:09 +0100
[    620.03] Creating fifo /var/run/bumblebee.fifo for communication...
[    620.05] Making FIFO writable for members of group bumblebee
[    620.06] Power management is disabled, not disabling card on start.
[    620.07] Waiting for orders
[    624.52] Optirun start request received.
[    624.52] Checking for X server availability before starting X...
[    624.53] X server is not started
[    624.53] Power management is disabled, only loading driver
[    632.94] insmod /lib/modules/3.1.7-1-ARCH/kernel/drivers/gpu/drm/ttm/ttm.ko.gz 
[    632.94]   insmod /lib/modules/3.1.7-1-ARCH/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz 
[    632.95] Starting X using nouveau...
[    632.95] Waiting for X server to become available...
[    642.99] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[    643.00] Waiting for orders
test@papaya-testing:~$ 


Follow ups

References