I have encountered a problem quite similar to Issue #85.
When trying to run glxgears on the dedicated graphics chipset, optirun fails with:
[ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
However, dmesg seems to output a clear reason why enabling failed:
[ 984.725934] bbswitch: enabling discrete graphics
[ 984.726319] bbswitch: Result of _DSM call for ON: 00000000
[ 984.726327] pci 0000:01:00.0: power state changed by ACPI to D0
[ 984.736600] pci 0000:01:00.0: Refused to change power state, currently in D3
[ 984.736605] pci 0000:01:00.0: power state changed by ACPI to D0
Same thing seems to happen If i try enabling the graphics card manually (setting /proc/acpi/bumblebee to ON).
Now I am not sure if this issue is related to bumblebee, or maybe the linux kernel itself, so if I am wrong, please correct me.
My system is an Acer Aspire 5935 with Intel GMA 4000 and Nvidia GT240M, running Arch Linux.
I guess you mean /proc/acpi/bbswitch. What does lspci -nn -d10de: output? Does it contain (rev ff)? In that case the device is off.
lspci -nn -d10de:
Yes, I meant bbswitch, didn't think before writing it down.
01:00.0 VGA compatible controller : NVIDIA Corporation GT216 [GeForce GT 240M] [10de:0a34] (rev ff)
01:00.1 Audio device : NVIDIA Corporation High Definition Audio Controller [10de:0be2] (rev ff)
So the device should be turned on. The BIOS is also set to "Switchable Graphics", and this way optimus on Windows was working. Therefore I assume the problem is software-related.
Sorry, hit the wrong button, touchpad is still misconfigured…
Could you submit your machine information on LP?
Something new here ?