Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31870 - [bbswitch] Actually fails to switch between IGP and GPU

Attached to Project: Arch Linux
Opened by Dimitri Sabadie (skp) - Tuesday, 09 October 2012, 18:59 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 09 October 2012, 19:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I followed the wiki to enable power management of my NVIDIA QUADRO K2000M and the Ivy Bridge i7 3610QM IGP, but bbswitch still doesn’t switch between the Intel and the NVIDIA graphic card.

Here’s the output I’m based on to support what I say:

skp@iris ~ % lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [Quadro K2000M] (rev ff)

skp@iris ~ % ps aux | grep bumblebee
root 637 0.0 0.0 29792 1308 ? Ss 20:01 0:01 /usr/sbin/bumblebeed --daemon
skp 2551 0.0 0.0 8456 1052 pts/3 S+ 20:44 0:00 grep bumblebee

skp@iris ~ % lsmod | grep bbswitch
bbswitch 5042 0

skp@iris ~ % cat /proc/acpi/bbswitch
0000:01:00.0 OFF
skp@iris ~ % optirun glxgears > /dev/null &
[1] 2634
skp@iris ~ % cat /proc/acpi/bbswitch
0000:01:00.0 ON
skp@iris ~ %
[1] + done glxgears > /dev/null
skp@iris ~ % cat /proc/acpi/bbswitch
0000:01:00.0 OFF

skp@iris ~ % glxgears > /dev/null &
[1] 2665
skp@iris ~ % cat /proc/acpi/bbswitch
0000:01:00.0 OFF
skp@iris ~ %
[1] + done glxgears > /dev/null

So, let’s sum up. I have X launched with bumblebeed. So bbswitch is also loaded, so I wouldn’t have to explicitely ask for a switch. I posted the optirun sequences to show up that it works if I explicitely tell the cards to swap.



Additional info:
* link to the wiki on power management: https://wiki.archlinux.org/index.php/Bumblebee#Power_Management
skp@iris /etc/X11 % yaourt -Qi bumblebee
Name : bumblebee
Version : 3.0.1-2
URL : http://www.Bumblebee-Project.org
Licenses : GPL3
Groups : None
Provides : bumblebee
Depends On : virtualgl libbsd glib2
Optional Deps : xf86-video-nouveau: Nouveau driver
nouveau-dri: 3D acceleration features fo Nouveau
mesa: 3D acceleration features fo Nouveau
bbswitch: switch on/off discrete card
nvidia-utils-bumblebee: Nvidia utils not breaking LibGL
nvidia: Nvidia kernel driver
lib32-virtualgl: run 32bit applications with optirun
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 124.00 KiB
Packager : Unknown Packager
Architecture : x86_64
Build Date : Sun 07 Oct 2012 12:43:06 PM CEST
Install Date : Sun 07 Oct 2012 12:43:18 PM CEST
Install Reason : Explicitly installed
Install Script : Yes
Description : Bumblebee brings Optimus Support for Linux Through VirtualGL. You need to install proper drivers separately. Can be
used with Nouveau or Nvidia

skp@iris /etc/X11 % yaourt -Qi nvidia-bumblebee
Name : nvidia-bumblebee
Version : 304.51-1
URL : http://www.nvidia.com/
Licenses : custom
Groups : None
Provides : nvidia=304.51
Depends On : linux>=3.5 linux<3.6 nvidia-utils-bumblebee=304.51
Optional Deps : None
Required By : None
Conflicts With : nvidia nvidia-96xx nvidia-173xx dkms-nvidia
Replaces : None
Installed Size : 4584.00 KiB
Packager : Unknown Packager
Architecture : x86_64
Build Date : Sun 07 Oct 2012 01:41:51 PM CEST
Install Date : Sun 07 Oct 2012 02:45:59 PM CEST
Install Reason : Explicitly installed
Install Script : Yes
Description : NVIDIA drivers for linux. Packaged for Bumblebee

skp@iris /etc/X11 % yaourt -Qi bbswitch
Name : bbswitch
Version : 0.4.2-3
URL : http://github.com/Bumblebee-Project/bbswitch
Licenses : GPL
Groups : None
Provides : bbswitch
Depends On : None
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 20.00 KiB
Packager : Unknown Packager
Architecture : x86_64
Build Date : Sun 07 Oct 2012 12:49:19 PM CEST
Install Date : Sun 07 Oct 2012 12:49:23 PM CEST
Install Reason : Explicitly installed
Install Script : Yes
Description : kernel module allowing to switch dedicated graphics card on Optimus laptops
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 09 October 2012, 19:00 GMT
Reason for closing:  Won't fix
Additional comments about closing:  bbswitch is not a supported package.

Loading...