You are not logged in.

#1 2015-07-27 02:18:40

hoome
Member
From: Brazil
Registered: 2013-07-18
Posts: 53

Cannot use discrete card (Nvidia Optimus)

Hello,

Since today i cannot use my discrete card anymore, both primusrun and optirun arent working

I'm using nvidia proprietary and already tried to downgrade to linux-lts or to nvidia-340 without any success.

[artur:DeadPower] ~ > primusrun assaultcube
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) systemd-logind: failed to get session: PID 1132 does not belong to any known session

Last lines of dmesg:

[   30.712863] ACPI Error: Field [TMPB] at 286720 exceeds Buffer [ROM1] size 262144 (bits) (20150410/dsopcode-236)
[   30.712867] ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP._ROM] (Node ffff8802368e0410), AE_AML_BUFFER_LIMIT (20150410/psparse-536)
[   56.278556] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[   56.608445] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[   56.608453] NVRM: rm_init_adapter failed for device bearing minor number 0
[   56.608473] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[   92.478544] fuse init (API version 7.23)
[  139.789151] vgaarb: this pci device is not a vga device
[  139.792000] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792030] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792042] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792054] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792065] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792076] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792143] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792156] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.792704] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  139.814423] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[  139.814431] NVRM: rm_init_adapter failed for device bearing minor number 0
[  139.814450] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  155.125726] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=216.58.222.1 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=55283 PROTO=TCP SPT=443 DPT=44048 WINDOW=0 RES=0x00 RST URGP=0 
[  155.126157] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=216.58.222.1 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=55284 PROTO=TCP SPT=443 DPT=44048 WINDOW=0 RES=0x00 RST URGP=0 
[  155.126196] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=216.58.222.1 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=55285 PROTO=TCP SPT=443 DPT=44048 WINDOW=0 RES=0x00 RST URGP=0 
[  158.126913] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=173.194.118.120 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=12490 PROTO=TCP SPT=443 DPT=59819 WINDOW=0 RES=0x00 RST URGP=0 
[  158.126939] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=173.194.118.120 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=12491 PROTO=TCP SPT=443 DPT=59819 WINDOW=0 RES=0x00 RST URGP=0 
[  158.152208] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=173.194.119.8 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=53 ID=54145 PROTO=TCP SPT=443 DPT=46656 WINDOW=0 RES=0x00 RST URGP=0 
[  242.087635] IN=enp7s0 OUT= MAC=18:fb:7b:ff:af:61:a0:f3:c1:cb:0e:88:08:00 SRC=216.58.222.10 DST=172.16.1.27 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=39477 PROTO=TCP SPT=443 DPT=44097 WINDOW=0 RES=0x00 RST URGP=0 
[  342.834559] vgaarb: this pci device is not a vga device
[  342.837934] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.837959] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.837971] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.837983] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.837994] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.838005] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.838071] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.838083] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.838635] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
[  342.860597] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[  342.860605] NVRM: rm_init_adapter failed for device bearing minor number 0
[  342.860624] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

vgaarb (i think that is the problem):

[artur:DeadPower] ~ > dmesg | grep vga
[    0.291719] vgaarb: setting as boot device: PCI:0000:00:02.0
[    0.291721] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.291724] vgaarb: loaded
[    0.291726] vgaarb: bridge control possible 0000:00:02.0
[    1.396293] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   30.693670] vgaarb: this pci device is not a vga device
[  139.789151] vgaarb: this pci device is not a vga device
[  342.834559] vgaarb: this pci device is not a vga device

NVRM:

[artur:DeadPower] ~ > dmesg | grep NVRM
[   30.544579] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.76  Thu Jan 22 12:11:08 PST 2015
[   56.608445] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[   56.608453] NVRM: rm_init_adapter failed for device bearing minor number 0
[   56.608473] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  139.814423] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[  139.814431] NVRM: rm_init_adapter failed for device bearing minor number 0
[  139.814450] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  342.860597] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[  342.860605] NVRM: rm_init_adapter failed for device bearing minor number 0
[  342.860624] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

lspci VGA:

[artur:DeadPower] ~ > lspci -nn | grep -E "VGA|3D"
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
09:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)

status bumblebeed

[artur:DeadPower] ~ > sudo systemctl status bumblebeed
[sudo] senha para artur: 
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Dom 2015-07-26 20:07:09 BRT; 10min ago
 Main PID: 437 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─437 /usr/bin/bumblebeed

Last edited by hoome (2015-07-27 02:20:14)

Offline

#2 2015-07-27 10:04:05

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Cannot use discrete card (Nvidia Optimus)

What happened before it stopped working? Or better... what changes/updates have you performed between the last time it worked and the first time it didn't?

EDIT: Have you gone through the bumblebee Wiki entry and checked, whether your setup is correct?

Last edited by Awebb (2015-07-27 10:04:42)

Offline

#3 2015-07-27 21:00:17

hoome
Member
From: Brazil
Registered: 2013-07-18
Posts: 53

Re: Cannot use discrete card (Nvidia Optimus)

Awebb wrote:

What happened before it stopped working? Or better... what changes/updates have you performed between the last time it worked and the first time it didn't?

EDIT: Have you gone through the bumblebee Wiki entry and checked, whether your setup is correct?

Thanks for the reply, i did a system upgrade before stops working, i think that the only package that could affect the driver was the kernel, but, even installing the lts version didnt solve it.

I solve the problem by uninstalling all video drivers and bumblebee related files (including lib32), making sure that all files from /usr/lib/nvidia and /usr/lib32/nvidia didnt exists and reinstalled everything again. I think that some cruscial file was missing from the system but i couldnt track wich of then was, the pirmus and bumblebee started to work fine again.

Thanks so much for the reply, i was just going desesperated because i was thinking that the video card just went to space and that cannot happen.

Offline

Board footer

Powered by FluxBB