Closed Ivoz closed 9 years ago
I think you’re hitting an issue similar to mine, #553.
However, I have neither understanding of what exactly happens here nor time to debug on it. Maybe in may.
Let me know if there's any more information I can give next time I see it
Sudo getOnDaBus From: Matt IversenSent: Wednesday, April 2, 2014 00:01To: Bumblebee-Project/BumblebeeReply To: Bumblebee-Project/BumblebeeSubject: Re: [Bumblebee] GPU has fallen off the bus (#550)Let me know if there's any more information I can give next time I see it
—Reply to this email directly or view it on GitHub.
Ok, in fact I think it’s still #455. Please try again while adding rcutree.rcu_idle_gp_delay=1
to your cmdline.
I've been booting with that for a while
ivo·ivosung ~ » cat /sys/module/rcutree/parameters/rcu_idle_gp_delay
1
ivo·ivosung ~ » optirun glxspheres64
[115731.915377] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Server terminated successfully (0). Closing log file.
[115731.915450] [ERROR]Aborting because fallback start is disabled.
1 ivo·ivosung ~ » uname -a
Linux ivosung 3.14.0-4-ARCH #1 SMP PREEMPT Wed Apr 9 21:11:25 CEST 2014 x86_64 GNU/Linux
ivo·ivosung ~ » pcmi nvidia
Repository : extra
Name : nvidia
Version : 334.21-4
Description : NVIDIA drivers for linux
Architecture : x86_64
Ok, seems to be a new regression in 3.14.
I’m running into the same issue since this update, I’m back on #553.
Still happening on 3.15
dmesg
4366.840425] bbswitch: enabling discrete graphics
[ 4367.095023] nvidia: module license 'NVIDIA' taints kernel.
[ 4367.095026] Disabling lock debugging due to kernel taint
[ 4367.101713] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 4367.101844] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 4367.101848] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 337.25 Tue May 27 11:05:28 PDT 2014
[ 4369.905686] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[ 4369.911698] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911745] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911769] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911790] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911811] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911832] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911864] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4369.911885] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4374.025486] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 4374.050916] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 4374.050923] NVRM: os_pci_init_handle: invalid context!
[ 4374.050925] NVRM: os_pci_init_handle: invalid context!
[ 4374.050929] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 4374.050931] NVRM: os_pci_init_handle: invalid context!
[ 4374.050932] NVRM: os_pci_init_handle: invalid context!
[ 4374.071189] NVRM: RmInitAdapter failed! (0x25:0x28:1149)
[ 4374.071198] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 4374.071214] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[ 4389.615061] bbswitch: enabling discrete graphics
journalctl
Jun 24 01:09:14 ivosung kernel: bbswitch: enabling discrete graphics
Jun 24 01:09:14 ivosung kernel: nvidia: module license 'NVIDIA' taints kernel.
Jun 24 01:09:14 ivosung kernel: Disabling lock debugging due to kernel taint
Jun 24 01:09:14 ivosung kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Jun 24 01:09:14 ivosung kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Jun 24 01:09:14 ivosung kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 337.25 Tue May 27 11:05:28 PDT 2014
Jun 24 01:09:15 ivosung acpid[1214]: client connected from 8388[0:998]
Jun 24 01:09:15 ivosung acpid[1214]: 1 client rule loaded
Jun 24 01:09:17 ivosung kernel: nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:17 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:21 ivosung kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jun 24 01:09:21 ivosung kernel: NVRM: GPU at 0000:01:00.0 has fallen off the bus.
Jun 24 01:09:21 ivosung kernel: NVRM: os_pci_init_handle: invalid context!
Jun 24 01:09:21 ivosung kernel: NVRM: os_pci_init_handle: invalid context!
Jun 24 01:09:21 ivosung kernel: NVRM: GPU at 0000:01:00.0 has fallen off the bus.
Jun 24 01:09:21 ivosung kernel: NVRM: os_pci_init_handle: invalid context!
Jun 24 01:09:21 ivosung kernel: NVRM: os_pci_init_handle: invalid context!
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368545] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368568] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368591] [WARN][XORG] (WW) Warning, couldn't open module mouse
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368598] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368602] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368607] [ERROR][XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368609] [ERROR][XORG] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368611] [ERROR][XORG] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368613] [ERROR][XORG] (EE) NVIDIA(GPU-0): README for additional information.
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368615] [ERROR][XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368617] [ERROR][XORG] (EE) NVIDIA(0): Failing initialization of X screen 0
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368620] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368622] [ERROR][XORG] (EE)
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368624] [ERROR][XORG] (EE) no screens found(EE)
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368625] [ERROR][XORG] (EE)
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368628] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368629] [ERROR][XORG] (EE)
Jun 24 01:09:21 ivosung bumblebeed[1210]: [ 4370.368631] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
Jun 24 01:09:21 ivosung kernel: NVRM: RmInitAdapter failed! (0x25:0x28:1149)
Jun 24 01:09:21 ivosung kernel: NVRM: rm_init_adapter failed for device bearing minor number 0
Jun 24 01:09:21 ivosung kernel: NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
Jun 24 01:09:22 ivosung bumblebeed[1210]: [ 4370.420912] [ERROR]X did not start properly
Jun 24 01:09:33 ivosung acpid[1214]: client 8388[0:998] has disconnected
Jun 24 01:09:37 ivosung bumblebeed[1210]: [ 4385.899129] [ERROR]Could not enable discrete graphics card
package versions
ivo·ivosung ~ » pcmi linux
Repository : core
Name : linux
Version : 3.15.1-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : kernel26=3.15.1
ivo·ivosung ~ » pcmi nvidia
Repository : extra
Name : nvidia
Version : 337.25-3
Description : NVIDIA drivers for linux
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom
Groups : None
Provides : None
Depends On : linux>=3.15 linux<3.16 nvidia-libgl nvidia-utils=337.25
Have you tried removing the rcutree option, booting without it and then add it again, reboot with it and see if it makes any changes? It worked in my case.
I have the same issue:
http://lpaste.net/110043 for Xorg.8
http://lpaste.net/110042 for dmesg
Is any one here still facing this issue?
If so, look at #615. Closing here.
Sorry, I still get this. The kernel option never really changed anything for me, I still have to reboot every so often to play dota _
If you can build and test a patched kernel, please try the proposed config change in #615.
If I restart / start up my computer, optirun usually works ok. But after some time (~an hour to 12 hours? dunno, hard to measure) I am no longer able to start it.
My system:
from
optirun -vvv glxspheres32
from
sudo journalctl -b
:From
sudo dmesg
: