You are not logged in.

#1 2012-10-19 16:01:28

PL_kolek
Member
Registered: 2012-02-21
Posts: 41

Switching graphics card (bumblebee) works only once after each reboot

I didn't update my Arch for a long time (no internet access). Then I run a full upgrade (pacman + AUR). When I turn on my coputer and run:

optirun glxspheres

It works. The I run it again and get:

[ 1488.096857] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1488.096949] [ERROR]Aborting because fallback start is disabled.

Strange for me. Packages I have installed (respecting the case) are:

bumblebee 3.0.1-3
dkms-bbswitch 0.4.2-1
dkms-nvidia 304.51-2
lib32-nvidia-utils-bumblebee 304.51-2
lib32-turbojpeg 1.2.1-1
lib32-virtualgl 2.3.1-1
nvidia-utils-bumblebee 304.51-2
paktahn 0.9.9.0-1
turbojpeg 1.2.1-1
virtualgl 2.3.1-1

The only issue I had while upgrading was that dkms-nvidia wanted to install nvidia-utils from pacman repository which conflicts with libgl I think. So I changed in PKGBUILD:

depends=("dkms" "nvidia-utils=${pkgver}")

to:

depends=("dkms" "nvidia-utils-bumblebee=${pkgver}")

I am not sure if it was a good idea, but it finally installed.

Another strange behaviour I have encountered is:

[mk@MKLaptop ~]$ sudo dkms autoinstall 
[sudo] password for mk: 
Error! Could not locate dkms.conf file.
File:  does not exist.

but this might not be connected with my problem.

Offline

#2 2012-10-19 17:34:35

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: Switching graphics card (bumblebee) works only once after each reboot

linux 3.6.x and 3.7rc1 have some problem with bbswitch module, So far eighter downgrade to 3.5.x or disable (if you even have that option in bios) Optimus. Maybe just remove bbswitch module but this way your system may overhead.


O' rly ? Ya rly Oo

Offline

#3 2012-10-19 18:29:55

PL_kolek
Member
Registered: 2012-02-21
Posts: 41

Re: Switching graphics card (bumblebee) works only once after each reboot

Thanks for your answer. Googled for that a little and found that 2 hours ago this bug has been probably fixed. But what works for now is setting PMethod in bumblebee.conf to off. I suppose now my GPU doesn't turn off. As long as I don't unplug my notebook it's OK, if I am going out some, I'll turn PM on (and disable Optimus that way). Waiting for updates now.

Thank you!

Offline

Board footer

Powered by FluxBB