FS#53105 - nvidia bbswitch do not work with linux 4.10.1
Attached to Project:
Arch Linux
Opened by Yangtse Su (yangtsesu) - Tuesday, 28 February 2017, 05:55 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 April 2017, 14:27 GMT
Opened by Yangtse Su (yangtsesu) - Tuesday, 28 February 2017, 05:55 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 April 2017, 14:27 GMT
|
Details
Description:
Nvidia grahpic card do not work after upgrate. Additional info: linux 4.10.1 bbswitch 0.8-64 nvidia 378.13-3 #dmesg ... [ 9.859807] bbswitch: loading out-of-tree module taints kernel. [ 9.860049] bbswitch: version 0.8 [ 9.860053] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 9.860060] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PXSX [ 9.860069] bbswitch: failed to evaluate \_SB_.PCI0.RP05.PXSX._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND [ 9.860074] bbswitch: failed to evaluate \_SB_.PCI0.RP05.PXSX._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND [ 9.860082] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95) [ 9.860126] bbswitch: No suitable _DSM call found. ... [ 71.996575] nvidia: module license 'NVIDIA' taints kernel. [ 71.996576] Disabling lock debugging due to kernel taint [ 72.003347] nvidia 0000:04:00.0: enabling device (0006 -> 0007) [ 72.003530] nvidia-nvlink: Nvlink Core is being initialized, major device number 243 [ 72.003547] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 378.13 Tue Feb 7 20:10:06 PST 2017 [ 72.003547] (using threaded interrupts) [ 73.108830] NVRM: failed to copy vbios to system memory. [ 73.108938] NVRM: RmInitAdapter failed! (0x30:0xffff:654) downgrade to # pacman -U ./linux-4.9.11-1-x86_64.pkg.tar.xz ./nvidia-378.13-2-x86_64.pkg.tar.xz ./bbswitch-0.8-63-x86_64.pkg.tar.xz everything works well. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 17 April 2017, 14:27 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.10.10
Monday, 17 April 2017, 14:27 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.10.10
but on nouveau driver.
Works well until logout or screen lock.
After this, there is no way to resume the Notebook.
At home on my PC I get also some errors on AMD A10-7850 KAVARI, will post details later.
In my opinion, this Kernel should never be pushed to stable.
Perhaps related or not, but after downgrading kernel + nvidia, I got suspend with uswusp working again.
Currently broken on kernel 4.10.1 and 4.10.2. Plus bumblebee doesn't work.
Working with linux-lts 4.9.14 - All other packages up to date and same nvidia, bbswitch etc. Bumblebee also works fine.
Seems the bbswitch thing is because kernel returns wrong ACPI handle for nvidia card. In my case should be
\_SB_.PCI0.RP05.PEGP
But I get a PXSX ending as above. Double checking with acpi_call errors are returned for commands to \_SB_.PCI0.RP05.PXSX, but not for \_SB_.PCI0.RP05.PEGP.
I an guessing that bumblebees failure is related, although no ACPI errors appear in the logs.
I have submitted a bug upstream.
https://bugzilla.kernel.org/show_bug.cgi?id=194889
kernel: bbswitch: version 0.8
kernel: bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
kernel: bbswitch: Found discrete VGA device 0000:09:00.0: \_SB_.PCI0.RP05.PXSX
kernel: bbswitch: failed to evaluate \_SB_.PCI0.RP05.PXSX._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6
kernel: bbswitch: failed to evaluate \_SB_.PCI0.RP05.PXSX._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA
kernel: ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsargum
kernel: bbswitch: No suitable _DSM call found.
bumblebeed: modprobe: ERROR: could not insert 'bbswitch': No such device
bumblebeed: [ 45.881134] [ERROR]Module bbswitch could not be loaded (timeout?)
bumblebeed: [ 45.881169] [WARN]No switching method available. The dedicated card will always be on.
bumblebeed: [ 45.884367] [INFO]/usr/bin/bumblebeed 3.2.1 started
https://bugzilla.kernel.org/show_bug.cgi?id=194889
Currently still affects 4.10.6 kernel, but not latest lts. It is possible to rebuild 4.10.x with relevant commit reverted, allowing both bbswitch and Bumblebee to work.
Probably worth submitting hardware details upstream if you are affected.