Bug 5569 - Bumblebee can't switch to discrete GPU (GeForce GTX 850M)
: Bumblebee can't switch to discrete GPU (GeForce GTX 850M)
Status: CONFIRMED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Hardware
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: Groups for solving hardware issues.
: Eugene Shatokhin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-15 19:43 MSD by Andrey Ponomarenko
Modified: 2015-05-19 13:24 MSD (History)
2 users (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ponomarenko 2015-05-15 19:43:41 MSD
Description of problem:

Graphics card:

3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 850M] [10de:1391]
Subsystem: ASUSTeK Computer Inc. Device [1043:129d]

The bumblebee can't switch to discrete GPU. Any Steam game executed via primusrun %command% shows the same FPS rate as on Intel HD card.

HW probe: http://hw.rosalinux.ru/index.php?probe=82dc966a49
HW probe with kernel 4.0.3: http://hw.rosalinux.ru/index.php?probe=841c733cd2

Related kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=63641

Error log:

bbswitch: enabling discrete graphics
[drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.47  Thu Feb 19 18:56:03 PST 2015
vgaarb: this pci device is not a vga device
nvidia 0000:01:00.0: irq 54 for MSI/MSI-X
ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
ACPI Error: Field [TMPB] at 1081344 exceeds Buffer [ROM1] size 262144 (bits) (20131218/dsopcode-236)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ROM] (Node ffff880224e8a4b0), AE_AML_BUFFER_LIMIT (20131218/psparse-536)
ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
vgaarb: this pci device is not a vga device
...

Version-Release number of selected component (if applicable): R5


How reproducible: always


Steps to Reproduce:
1. Install proprietary NVIDIA driver via XFdrake
2. Try to run any game from Steam via primusrun %command%
3.
Comment 1 Andrey Ponomarenko 2015-05-15 19:47:34 MSD
There is a related bug in Bumblebee: https://github.com/Bumblebee-Project/Bumblebee/issues/159

And proposed patch for kernel: http://pastebin.com/wpmFi38k

Is it included to our kernel? Can it fix the problem?
Comment 2 Eugene Shatokhin 2015-05-15 21:52:16 MSD
(In reply to comment #1)
> Is it included to our kernel? 
No, it seems, it was rejected upstream. 

> Can it fix the problem?
Not sure. The author of the patch doubts that: https://github.com/Bumblebee-Project/Bumblebee/issues/159#issuecomment-26993704

It seems from that discussion that the warning from vgaarb may be a different problem.
Comment 3 Eugene Shatokhin 2015-05-18 20:19:20 MSD
The user may try the test builds of nvidia349 (v.349.16) and ldetect-lst:

ldetect-lst:
i586:
https://abf.io/build_lists/2502490
x86_64:
https://abf.io/build_lists/2502491

nvidia349:
i586:
https://abf.io/build_lists/2502480
x86_64:
https://abf.io/build_lists/2502481

How to:
1. Add the containers
2. Update ldetect-lst
3. Run XFdrake to select appropriate drivers.

Hope this helps.
Comment 4 Andrey Ponomarenko 2015-05-19 13:24:19 MSD
(In reply to comment #3)
> The user may try the test builds of nvidia349 (v.349.16) and ldetect-lst

Works fine on the Dell notebook with Optimus (NVS 5200M): http://hw.rosalinux.ru/index.php?probe=3e1de55b54