[Bug 3240] bbswitch-kmod

2017-09-01 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

Nicolas Chauvet  changed:

   What|Removed |Added

 Blocks|3   |


Referenced Bugs:

https://bugzilla.rpmfusion.org/show_bug.cgi?id=3
[Bug 3] Tracker: Packages under review.
-- 
You are receiving this mail because:
You are on the CC list for the bug.___
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org


[Bug 3240] bbswitch-kmod

2016-11-24 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

Nicolas Chauvet  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |WONTFIX

--- Comment #16 from Nicolas Chauvet  ---
I don't think we will ever implement this solution.
gpu switching will only be supported with nouveau/intel.

If you want nvidia, that will be outputsource only not offload, so if anyone
want to disable the GPU card, then the way it can be supported in the
foreseeable future is to reboot using nouveau/intel.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #10 from Simone Caronni negativ...@gmail.com 2014-05-21 15:49:05 
CEST ---
(In reply to comment #9)
 I do not have this directory.
 [root@satellite rave]# ls /sys/kernel/debug/
 acpi  bluetoothcleancache  dma_buf  dynamic_debug  frontswap  hid   
 ips  kprobes  mce  pinctrl  sched_features  suspend_stats  usb
 x86
 bdi   boot_params  clk dri  extfraggpio   ieee80211 
 iwlwifi  kvm  mei  regmap   sleep_time  tracingwakeup_sources 
 xen

That's strange. It disappears only if you're not using a dual card setup with
free drivers; for example loading nvidia.ko makes vga_switcheroo to disappear;
hence the need for bbswitch.

Can you do the following and paste the output?

lspci | grep -i vga
dmesg | grep -i vga
lsmod | egrep i915|nouveau

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #11 from Wolfgang Ulbrich chat-to...@raveit.de 2014-05-21 
16:32:51 CEST ---
(In reply to comment #10)
 (In reply to comment #9)
 That's strange. It disappears only if you're not using a dual card setup with
 free drivers; for example loading nvidia.ko makes vga_switcheroo to disappear;
 hence the need for bbswitch.
 
 Can you do the following and paste the output?
 
 lspci | grep -i vga
 dmesg | grep -i vga
 lsmod | egrep i915|nouveau
[rave@satellite ~]$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated
Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 425M]
(rev a1)
[rave@satellite ~]$ dmesg | grep -i vga
[0.00] Console: colour VGA+ 80x25
[0.725179] vgaarb: device added:
PCI::00:02.0,decodes=io+mem,owns=io+mem,locks=none
[0.725327] vgaarb: device added:
PCI::01:00.0,decodes=io+mem,owns=none,locks=none
[0.725471] vgaarb: loaded
[0.725560] vgaarb: bridge control possible :01:00.0
[0.725655] vgaarb: no bridge control possible :00:02.0
[2.816980] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=none:owns=none
[rave@satellite ~]$ lsmod | egrep i915|nouveau
nouveau  1156970  0 
i915  796218  8 
mxm_wmi12865  1 nouveau
ttm80614  1 nouveau
i2c_algo_bit   13257  2 i915,nouveau
drm_kms_helper 50652  2 i915,nouveau
drm   283747  6 ttm,i915,drm_kms_helper,nouveau
i2c_core   38656  7
drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
video  19261  2 i915,nouveau
wmi18804  3 msi_wmi,mxm_wmi,nouveau

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #12 from Simone Caronni negativ...@gmail.com 2014-05-21 17:05:35 
CEST ---
(In reply to comment #11)
 [rave@satellite ~]$ dmesg | grep -i vga
 [0.00] Console: colour VGA+ 80x25
 [0.725179] vgaarb: device added:
 PCI::00:02.0,decodes=io+mem,owns=io+mem,locks=none
 [0.725327] vgaarb: device added:
 PCI::01:00.0,decodes=io+mem,owns=none,locks=none
 [0.725471] vgaarb: loaded
 [0.725560] vgaarb: bridge control possible :01:00.0
 [0.725655] vgaarb: no bridge control possible :00:02.0

There's something missing... you should get something like the following just
after:

vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem
vgaarb: transferring owner from PCI::00:02.0 to PCI::01:00.0
vgaarb: device changed decodes:
PCI::01:00.0,olddecodes=io+mem,decodes=none:owns=none

Or a message (don't have here at the moment) saying that vgaarb was disabled
for any reason.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #13 from Wolfgang Ulbrich chat-to...@raveit.de 2014-05-21 
17:14:31 CEST ---
(In reply to comment #12)
 There's something missing... you should get something like the following just
 after:
 
 vgaarb: device changed decodes:
 PCI::00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem
 vgaarb: transferring owner from PCI::00:02.0 to PCI::01:00.0
 vgaarb: device changed decodes:
 PCI::01:00.0,olddecodes=io+mem,decodes=none:owns=none
 
 Or a message (don't have here at the moment) saying that vgaarb was disabled
 for any reason.

No, that was the complete output.
[rave@satellite ~]$ dmesg | grep -i vga
[0.00] Console: colour VGA+ 80x25
[0.725179] vgaarb: device added:
PCI::00:02.0,decodes=io+mem,owns=io+mem,locks=none
[0.725327] vgaarb: device added:
PCI::01:00.0,decodes=io+mem,owns=none,locks=none
[0.725471] vgaarb: loaded
[0.725560] vgaarb: bridge control possible :01:00.0
[0.725655] vgaarb: no bridge control possible :00:02.0
[2.816980] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=none:owns=none
[rave@satellite ~]$

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #14 from Wolfgang Ulbrich chat-to...@raveit.de 2014-05-21 
19:23:35 CEST ---
opps, my fault,
after removing some old forgotten remains from further bbswich configuration,
vgaschwitheroo is there.
[root@satellite rave]# cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD:+:Pwr::00:02.0
1:DIS: :DynOff::01:00.0

@ Simone Caronni
Are those vgaswitcheroo commands valid?
https://help.ubuntu.com/community/HybridGraphics
I've probs to switch the cards, but that's off topic.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-21 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #15 from Simone Caronni negativ...@gmail.com 2014-05-21 20:18:17 
CEST ---
(In reply to comment #14)
 @ Simone Caronni
 Are those vgaswitcheroo commands valid?
 https://help.ubuntu.com/community/HybridGraphics
 I've probs to switch the cards, but that's off topic.

Yes, they are, with a few variations soon the default.

BTW, I've update my guide yesterday, but drop me an email and do not write here
if you have any issue/comments/feedback, etc.:

http://negativo17.org/complex-setup-with-nvidia-optimus-nouveau-prime-on-fedora-20/


Regards,
--Simone

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-19 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

Simone Caronni negativ...@gmail.com changed:

   What|Removed |Added

 CC||negativ...@gmail.com

--- Comment #7 from Simone Caronni negativ...@gmail.com 2014-05-19 15:44:30 
CEST ---
Hello,

bbswitch does not save any power if you are using an Optimus enabled laptop
with the Nvidia driver.

I have an Optimus laptop that I use everyday at work. I've written a guide for
Fedora 19 to use and configure the dual card setup:

http://negativo17.org/complex-setup-with-nvidia-optimus-nouveau-prime-on-fedora-19-2/

The guide is pretty much the same for Fedora 20, only the config file for
offload rendering in Nvidia is slightly different.

The bbswitch module is needed only if:

- Optimus is enabled in your bios
- The system has loaded the Nvidia drivers (it disables vga_switcheroo)

But unfortunately, to use it, you have to shutdown X, move Nvidia libraries out
of the way, delete the X.org config file, echo the bbswitch proc file and
restart X. This is what the customized Nvidia settings panel in Ubuntu does.

Another negative effect, is that with Nvidia and Intel, none of the card is
powered down and output displays management with xrandr is all messed up. If
you power off the Nvidia chip, there is no way to use the additional outputs
without restarting X.

If you are using the out-of the box experience of Fedora/RHEL, vga_switcheroo
is enabled (Nouveau drivers) and if there is no output connected to the Nvidia
chip, it is shutdown automatically. Even running a simple xrandr -q powers up
and down the discrete chip. Also monitor layout is consistent and adjustable
with any xrandr tool.

Basically with Nouveau/Prime, the Nvidia chip is always off unless you call it
explicitly with the DRI_PRIME=1 variable or connect an output of the card.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-19 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #8 from Simone Caronni negativ...@gmail.com 2014-05-19 15:46:29 
CEST ---
(In reply to comment #5)
 I'm not shure if the prime kernel implementation with 3.13 does the same.
 I never test it because of missing Guides, and it is only for the nouveau
 driver.
 
 But the bbswitch mod is very useful for users like me, whose only watching
 hd-videos, using compiz on a notebook and don't play games.
 For this profile i don't need the discrete nvidia card. The integrated intel
 card does his job well for this case and it is pretty useful to switch off the
 discrete card to decrease power consumption.

Starting with 3.12, you should have the discrete card already off with stock
Fedora components (Nouveau, Radeon, Intel, Mesa).

Just check the content of /sys/kernel/debug/vgaswitcheroo/switch, you should
see Off or DynPwr for the discrete chip.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-18 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #6 from Thorsten Leemhuis fed...@leemhuis.info 2014-05-18 
18:01:16 CEST ---
(In reply to comment #5)

 I'm not shure if the prime kernel implementation with 3.13 does the same.
 I never test it because of missing Guides, and it is only for the nouveau
 driver.

Yes, guides are a problem. Maybe some of what is described for radeon in 
https://wiki.archlinux.org/index.php/hybrid_graphics
might be applicable to nvidia gpus as well; not sure if you need nouveau or
not.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-17 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #2 from leigh scott leigh123li...@gmail.com 2014-05-17 13:29:21 
CEST ---
(In reply to comment #1)
 I'm taking over this one as I'm still uncertain about bumbleble

I'm not sure that I'm even going to package bumblebee yet.
bbswitch as I understand it has the ability to disable the unused card without
bumblebee.

http://ubuntuguide.net/turn-off-discrete-nvidia-optimus-graphics-card-ubuntu

I believe this would be useful for users to prevent heat issues.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-17 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #3 from Nicolas Chauvet kwiz...@gmail.com 2014-05-17 13:31:47 
CEST ---
(In reply to comment #2)
...
 I believe this would be useful for users to prevent heat issues.
I believed this was fixed with kernel 3.13 (using nouveau).
Do you have any hardware to test it ?

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-17 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #4 from leigh scott leigh123li...@gmail.com 2014-05-17 13:48:11 
CEST ---
(In reply to comment #3)
 (In reply to comment #2)
 ...
  I believe this would be useful for users to prevent heat issues.
 I believed this was fixed with kernel 3.13 (using nouveau).
 Do you have any hardware to test it ?


Sorry I don't, I sure I've seen recent complaints on fedoraforum.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-17 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

--- Comment #5 from Wolfgang Ulbrich chat-to...@raveit.de 2014-05-17 15:02:12 
CEST ---
The bbswitch mod has nothing to do with bumblebee itself, it's only the name.
With early version of bumblebee there was no bbswich mod and i used the
original VGA switcheroo from David Airlie.
http://linux-hybrid-graphics.blogspot.de/2010/10/vga-switcheroo-and-acpicall-status-so.html
http://hybrid-graphics-linux.tuxfamily.org/index.php?title=Main_Page
Later this mod called acpi_call
Those works was adopted after for the bbswitch mod.

I'm not shure if the prime kernel implementation with 3.13 does the same.
I never test it because of missing Guides, and it is only for the nouveau
driver.

But the bbswitch mod is very useful for users like me, whose only watching
hd-videos, using compiz on a notebook and don't play games.
For this profile i don't need the discrete nvidia card. The integrated intel
card does his job well for this case and it is pretty useful to switch off the
discrete card to decrease power consumption.

PS: if something needs to test notify me.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


[Bug 3240] bbswitch-kmod

2014-05-16 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

leigh scott leigh123li...@gmail.com changed:

   What|Removed |Added

 Blocks||2

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 3240] bbswitch-kmod

2014-05-16 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

Wolfgang Ulbrich chat-to...@raveit.de changed:

   What|Removed |Added

 CC||chat-to...@raveit.de
 Blocks|2   |3

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 3240] bbswitch-kmod

2014-05-16 Thread RPM Fusion Bugzilla
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3240

Nicolas Chauvet kwiz...@gmail.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|rpmfusion-package-review@rp |kwiz...@gmail.com
   |mfusion.org |

--- Comment #1 from Nicolas Chauvet kwiz...@gmail.com 2014-05-16 20:58:00 
CEST ---
I'm taking over this one as I'm still uncertain about bumbleble

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.