Closed jjmcdn closed 12 years ago
Messages like:
CPU0: Package power limit notification (total events = 1)
and
NVRM: GPU at 0000:01:00.0 has fallen off the bus.
looks worrying. Can you try setting PMMethod=none in /etc/bumblebee/bumblebee.conf and reboot?
I've got three users on the french forums with quite the same problem, extract from the syslog below:
First attempt of optirun:
kernel: [ 151.013036] bbswitch: enabling discrete graphics
bumblebeed[1061]: The PCI config space could not be written fully at offset 0x1; 0 bytes have been written; error: Resource temporarily unavailable
kernel: [ 151.421348] pci 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.421353] pci 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.421370] pci 0000:01:00.0: restoring config space at offset 0xc (was 0x0, writing 0xfff80000)
kernel: [ 151.421374] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x1, writing 0x3001)
kernel: [ 151.421378] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xb000000c)
kernel: [ 151.421382] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xa000000c)
kernel: [ 151.421385] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xd0000000)
kernel: [ 151.421388] pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
kernel: [ 151.421392] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
kernel: [ 151.421404] pci 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.421406] pci 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.421410] pci 0000:01:00.0: enabling device (0006 -> 0007)
kernel: [ 151.421415] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
kernel: [ 151.421419] pci 0000:01:00.0: setting latency timer to 64
kernel: [ 151.459137] nvidia: module license 'NVIDIA' taints kernel.
kernel: [ 151.459140] Disabling lock debugging due to kernel taint
kernel: [ 151.496381] nvidia 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.496385] nvidia 0000:01:00.0: power state changed by ACPI to D0
kernel: [ 151.496389] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
kernel: [ 151.496394] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
kernel: [ 151.496400] nvidia 0000:01:00.0: setting latency timer to 64
kernel: [ 151.496405] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
kernel: [ 151.496474] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.53 Fri May 11 23:28:10 PDT 2012
acpid: client connected from 2318[0:1001]
acpid: 1 client rule loaded
kernel: [ 159.041876] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
kernel: [ 159.041898] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
bumblebeed[1061]: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
bumblebeed[1061]: [XORG] (EE) NVIDIA(0): check your system's kernel log for additional error
bumblebeed[1061]: [XORG] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
bumblebeed[1061]: [XORG] (EE) NVIDIA(0): README for additional information.
bumblebeed[1061]: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
bumblebeed[1061]: [XORG] (EE) Screen(s) found, but none have a usable configuration.
bumblebeed[1061]: X did not start properly
kernel: [ 159.299492] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170)
kernel: [ 159.299499] NVRM: rm_init_adapter(0) failed
All further attempts during the same session:
kernel: [ 2542.461516] bbswitch: enabling discrete graphics
kernel: [ 2542.461534] nvidia 0000:01:00.0: power state changed by ACPI to D0
bumblebeed[1061]: Could not enable discrete graphics card
kernel: [ 2542.474149] nvidia 0000:01:00.0: Refused to change power state, currently in D3
kernel: [ 2542.474158] nvidia 0000:01:00.0: power state changed by ACPI to D0
I will tell them to try PMMethod=none.
Aw, that PCI config space write is nasty. I've seen that sometimes happening with the blob driver. It needs some refinement as not everything in that config space needs to be written.
Okay, so I switched to PMMethod=none and optirun is still failing with the same apparent errrors. In case it helps, this is what's currently installed for nvidia and bumblebee stuff:
% dpkg --list | egrep '(nvidia|bumbl)' | grep ^ii
ii bumblebee 3.0-2~preciseppa1 nVidia Optimus support
ii bumblebee-nvidia 3.0-2~preciseppa1 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-common 1:0.2.44 Find obsolete NVIDIA drivers
ii nvidia-current 295.53-0ubuntu1~precise~xup1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-current-dev 295.53-0ubuntu1~precise~xup1 NVIDIA binary Xorg driver development files
ii nvidia-settings 295.53-0ubuntu1~precise~xup1 Tool of configuring the NVIDIA graphics driver
I just got this machine last week so I know I've never tried any of the older bumblebee or ironhide releases, so hopefully that's not an issue. In case it helps I've gathered another bug report, I'll send it to the list.
Did you reboot after changing the config?
On Sun, Jun 3, 2012 at 10:26 AM, Peter < reply@reply.github.com
wrote:
Did you reboot after changing the config?
Yep. I suppose I should've mentioned that part.
Joe MacDonald :wq
I did some more reading and I'm thinking now it may actually be the binary Nvidia driver that's at fault here. Looking here:
http://www.nvidia.com/object/linux-display-amd64-295.53-driver.html
I don't see support for my specific GPU listed, it's a GT 650M. Sorry if this all turned out to be a false alarm.
Now that you're mentioning that, ftp://download.nvidia.com/XFree86/Linux-x86_64/302.11/README/supportedchips.html does not list your the PCI ID of your card either.
You may have very basic support with the nouveau driver. http://nouveau.freedesktop.org/wiki/CodeNames#NVE0 http://nouveau.freedesktop.org/wiki/FeatureMatrix
And only with the latest nouveau from git.
And Lekensteyn, FYI, all the french users facing this problem also have a GT650M...
Closing since it's not a bug, but a lack of support from nVidia.
Thanks guys, very sorry about that. I should've known, this is a pretty new chip, only released in March. I'd heard that the new drivers supported Kepler chips, but it looks like maybe that's only the desktop chipsets so far, not the mobile ones.
Thanks for all the great work, though. Hopefully those of us with these parts will get support from Nvidia soon.
-J.
On Sun, Jun 3, 2012 at 4:57 PM, Bruno Pagani < reply@reply.github.com
wrote:
And only with the latest nouveau from git.
And Lekensteyn, FYI, all the french users facing this problem also have a GT650M...
Closing since it's not a bug, but a lack of support from nVidia.
Reply to this email directly or view it on GitHub:
https://github.com/Bumblebee-Project/Bumblebee/issues/172#issuecomment-6089003
Joe MacDonald :wq
Same problem with the same hardware but with a new driver Machine clevo W11OER Intel HD Graphics 3000 Nvidia GefoRCE GT 650M
I installed the nvidia driver 295.59, which support this new nvidia video card. Here the links for the driver and ppa.
http://www.nvidia.com/object/linux-display-amd64-295.59-driver.html https://launchpad.net/~upubuntu-com/+archive/nvidia
Here the log reports Xorg.8.log
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=d867879c-20d0-4c60-86e4-814ccebc8857 ro quiet splash vt.handoff=7
(II) NVIDIA dlloader X Driver 295.59 Wed Jun 6 21:21:24 PDT 2012
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) using VT number 7
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.11.3, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "true"
(**) NVIDIA(0): Option "UseEDID" "false"
(**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
(**) NVIDIA(0): Enabling 2D acceleration
(**) NVIDIA(0): ConnectedMonitor string: "DFP"
(**) NVIDIA(0): Ignoring EDIDs
(EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
(EE) NVIDIA(0): check your system's kernel log for additional error
(EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
(EE) NVIDIA(0): README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(II) UnloadModule: "nvidia"
(II) Unloading nvidia
(II) UnloadModule: "wfb"
(II) Unloading wfb
(II) UnloadModule: "fb"
(II) Unloading fb
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:no screens found
sys.log
before using optirun
bumblebeed[1050]: /usr/sbin/bumblebeed 3.0 started
kernel: [ 17.304961] bbswitch: version 0.4.2
kernel: [ 17.304970] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
kernel: [ 17.304980] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
kernel: [ 17.305100] bbswitch: detected an Optimus _DSM function
kernel: [ 17.305108] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
kernel: [ 17.309286] bbswitch: disabling discrete graphics
kernel: [ 17.309588] bbswitch: Result of Optimus _DSM call: 11000059
using optirun
kernel: [ 74.314846] bbswitch: enabling discrete graphics
kernel: [ 74.872140] CPU3: Package power limit notification (total events = 1)
kernel: [ 74.872145] CPU2: Package power limit notification (total events = 1)
kernel: [ 74.872149] CPU1: Package power limit notification (total events = 1)
kernel: [ 74.872152] CPU0: Package power limit notification (total events = 1)
kernel: [ 74.872182] CPU3: Package power limit normal
kernel: [ 74.872185] CPU2: Package power limit normal
kernel: [ 74.872187] CPU1: Package power limit normal
kernel: [ 74.872189] CPU0: Package power limit normal
goa[2286]: goa-daemon version 3.4.0 starting [main.c:112, main()]
bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/HFPAG
bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/A2DPSource
bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/A2DPSink
dbus[901]: [system] Activating service name='com.ubuntu.DeviceDriver' (using servicehelper)
dbus[901]: [system] Successfully activated service 'com.ubuntu.DeviceDriver'
dbus[901]: [system] Activating service name='com.ubuntu.DeviceDriver' (using servicehelper)
dbus[901]: [system] Successfully activated service 'com.ubuntu.DeviceDriver'
dbus[901]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
dbus[901]: [system] Activating service name='com.ubuntu.SystemService' (using servicehelper)
AptDaemon: INFO: Initializing daemon
dbus[901]: [system] Successfully activated service 'com.ubuntu.SystemService'
AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
dbus[901]: [system] Successfully activated service 'org.freedesktop.PackageKit'
AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c
AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c
AptDaemon.PackageKit: INFO: Get updates()
AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c
kernel: [ 337.599305] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599320] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599327] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599337] ACPI: Device [PEGP] failed to transition to D0
kernel: [ 337.615292] pci_raw_set_power_state: 37 callbacks suppressed
kernel: [ 337.615297] pci 0000:01:00.0: Refused to change power state, currently in D3
Kern Log
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 (Ubuntu 3.2.0-25.40-generic 3.2.18)
kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=d867879c-20d0-4c60-86e4-814ccebc8857 ro quiet splash vt.handoff=7
kernel: [ 74.314846] bbswitch: enabling discrete graphics
kernel: [ 74.872140] CPU3: Package power limit notification (total events = 1)
kernel: [ 74.872145] CPU2: Package power limit notification (total events = 1)
kernel: [ 74.872149] CPU1: Package power limit notification (total events = 1)
kernel: [ 74.872152] CPU0: Package power limit notification (total events = 1)
kernel: [ 74.872182] CPU3: Package power limit normal
kernel: [ 74.872185] CPU2: Package power limit normal
kernel: [ 74.872187] CPU1: Package power limit normal
kernel: [ 74.872189] CPU0: Package power limit normal
kernel: [ 337.599305] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599320] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599327] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 337.599337] ACPI: Device [PEGP] failed to transition to D0
kernel: [ 337.615292] pci_raw_set_power_state: 37 callbacks suppressed
kernel: [ 337.615297] pci 0000:01:00.0: Refused to change power state, currently in D3
kernel: [ 374.924644] CPU1: Package power limit notification (total events = 11139)
kernel: [ 374.924648] CPU3: Package power limit notification (total events = 11139)
kernel: [ 374.924670] CPU0: Package power limit notification (total events = 11138)
kernel: [ 374.924674] CPU2: Package power limit notification (total events = 11139)
kernel: [ 374.925974] CPU1: Package power limit normal
kernel: [ 374.925978] CPU2: Package power limit normal
kernel: [ 374.925981] CPU0: Package power limit normal
kernel: [ 374.925984] CPU3: Package power limit normal
kernel: [ 600.888155] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 600.888169] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 600.888175] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536)
kernel: [ 600.888185] ACPI: Device [PEGP] failed to transition to D0
Any Suggestion
Thanks
And FWIW, I'm also unable to get it working with the Xorg Edge PPA, which includes nvida drivers 302.11. But that was less of a surprise to me since I can't find anything about that driver at all except that it doesn't seem to have explicit support for the 650M.
Someone on IRC yesterday suggested it may be able to work around this by running a CUDA application first then starting bumblebee, but I wasn't able to try that out as I'm having problems sorting out dependencies for installing CUDA.
-J.
On Fri, Jun 15, 2012 at 9:40 AM, studentz < reply@reply.github.com
wrote:
Same problem with the same hardware but with a new driver Machine clevo W11OER Intel HD Graphics 3000 Nvidia GefoRCE GT 650M
I installed the nvidia driver 295.59, which support this new nvidia video card. Here the links for the driver and ppa.
http://www.nvidia.com/object/linux-display-amd64-295.59-driver.html https://launchpad.net/~upubuntu-com/+archive/nvidia
Here the log reports Xorg.8.log
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=d867879c-20d0-4c60-86e4-814ccebc8857 ro quiet splash vt.handoff=7
(II) NVIDIA dlloader X Driver 295.59 Wed Jun 6 21:21:24 PDT 2012 (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs (--) using VT number 7 (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.11.3, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "wfb" (II) LoadModule: "wfb" (II) Loading /usr/lib/xorg/modules/libwfb.so (II) Module wfb: vendor="X.Org Foundation" compiled for 1.11.3, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so (II) Loading /usr/lib/xorg/modules/libwfb.so (II) Loading /usr/lib/xorg/modules/libfb.so (II) NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32 (==) NVIDIA(0): RGB weight 888 (==) NVIDIA(0): Default visual is TrueColor (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) () NVIDIA(0): Option "NoLogo" "true" () NVIDIA(0): Option "UseEDID" "false" () NVIDIA(0): Option "ConnectedMonitor" "DFP" () NVIDIA(0): Enabling 2D acceleration () NVIDIA(0): ConnectedMonitor string: "DFP" () NVIDIA(0): Ignoring EDIDs (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please (EE) NVIDIA(0): check your system's kernel log for additional error (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the (EE) NVIDIA(0): README for additional information. (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device! (II) UnloadModule: "nvidia" (II) Unloading nvidia (II) UnloadModule: "wfb" (II) Unloading wfb (II) UnloadModule: "fb" (II) Unloading fb (EE) Screen(s) found, but none have a usable configuration. Fatal server error:no screens found
sys.log
before using optirun bumblebeed[1050]: /usr/sbin/bumblebeed 3.0 started kernel: [ 17.304961] bbswitch: version 0.4.2 kernel: [ 17.304970] bbswitch: Found integrated VGA device 0000:00:02.0: SB.PCI0.GFX0 kernel: [ 17.304980] bbswitch: Found discrete VGA device 0000:01:00.0: SB.PCI0.PEG0.PEGP kernel: [ 17.305100] bbswitch: detected an Optimus _DSM function kernel: [ 17.305108] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on kernel: [ 17.309286] bbswitch: disabling discrete graphics kernel: [ 17.309588] bbswitch: Result of Optimus _DSM call: 11000059
using optirun
kernel: [ 74.314846] bbswitch: enabling discrete graphics kernel: [ 74.872140] CPU3: Package power limit notification (total events = 1) kernel: [ 74.872145] CPU2: Package power limit notification (total events = 1) kernel: [ 74.872149] CPU1: Package power limit notification (total events = 1) kernel: [ 74.872152] CPU0: Package power limit notification (total events = 1) kernel: [ 74.872182] CPU3: Package power limit normal kernel: [ 74.872185] CPU2: Package power limit normal kernel: [ 74.872187] CPU1: Package power limit normal kernel: [ 74.872189] CPU0: Package power limit normal goa[2286]: goa-daemon version 3.4.0 starting [main.c:112, main()] bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/HFPAG bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/A2DPSource bluetoothd[923]: Endpoint unregistered: sender=:1.31 path=/MediaEndpoint/A2DPSink dbus[901]: [system] Activating service name='com.ubuntu.DeviceDriver' (using servicehelper) dbus[901]: [system] Successfully activated service 'com.ubuntu.DeviceDriver' dbus[901]: [system] Activating service name='com.ubuntu.DeviceDriver' (using servicehelper) dbus[901]: [system] Successfully activated service 'com.ubuntu.DeviceDriver' dbus[901]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) dbus[901]: [system] Activating service name='com.ubuntu.SystemService' (using servicehelper) AptDaemon: INFO: Initializing daemon dbus[901]: [system] Successfully activated service 'com.ubuntu.SystemService' AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer dbus[901]: [system] Successfully activated service 'org.freedesktop.PackageKit' AptDaemon.PackageKit: INFO: Initializing PackageKit transaction AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c AptDaemon.PackageKit: INFO: Get updates() AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/fe0bfd2c513544b398b97e1d104d825c kernel: [ 337.599305] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.SGON](Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599320] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.ON](Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599327] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP._PS0](Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599337] ACPI: Device [PEGP] failed to transition to D0 kernel: [ 337.615292] pci_raw_set_power_state: 37 callbacks suppressed kernel: [ 337.615297] pci 0000:01:00.0: Refused to change power state, currently in D3
Kern Log
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 (Ubuntu 3.2.0-25.40-generic 3.2.18) kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=d867879c-20d0-4c60-86e4-814ccebc8857 ro quiet splash vt.handoff=7 kernel: [ 74.314846] bbswitch: enabling discrete graphics kernel: [ 74.872140] CPU3: Package power limit notification (total events = 1) kernel: [ 74.872145] CPU2: Package power limit notification (total events = 1) kernel: [ 74.872149] CPU1: Package power limit notification (total events = 1) kernel: [ 74.872152] CPU0: Package power limit notification (total events = 1) kernel: [ 74.872182] CPU3: Package power limit normal kernel: [ 74.872185] CPU2: Package power limit normal kernel: [ 74.872187] CPU1: Package power limit normal kernel: [ 74.872189] CPU0: Package power limit normal kernel: [ 337.599305] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.SGON](Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599320] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.ON](Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599327] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP._PS0](Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 337.599337] ACPI: Device [PEGP] failed to transition to D0 kernel: [ 337.615292] pci_raw_set_power_state: 37 callbacks suppressed kernel: [ 337.615297] pci 0000:01:00.0: Refused to change power state, currently in D3 kernel: [ 374.924644] CPU1: Package power limit notification (total events = 11139) kernel: [ 374.924648] CPU3: Package power limit notification (total events = 11139) kernel: [ 374.924670] CPU0: Package power limit notification (total events = 11138) kernel: [ 374.924674] CPU2: Package power limit notification (total events = 11139) kernel: [ 374.925974] CPU1: Package power limit normal kernel: [ 374.925978] CPU2: Package power limit normal kernel: [ 374.925981] CPU0: Package power limit normal kernel: [ 374.925984] CPU3: Package power limit normal kernel: [ 600.888155] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.SGON](Node ffff88012826bac8), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 600.888169] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP.ON](Node ffff88012826e118), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 600.888175] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP._PS0](Node ffff88012826be38), AE_AML_INFINITE_LOOP (20110623/psparse-536) kernel: [ 600.888185] ACPI: Device [PEGP] failed to transition to D0
Any Susgestions
Thanks
Reply to this email directly or view it on GitHub:
https://github.com/Bumblebee-Project/Bumblebee/issues/172#issuecomment-6356707
Joe MacDonald :wq
@joeythesaint Can you submit your machine info to https://bugs.launchpad.net/lpbugreporter/+bug/752542?
On Fri, Jun 15, 2012 at 12:23 PM, Peter reply@reply.github.com wrote:
@joeythesaint Can you submit your machine info to https://bugs.launchpad.net/lpbugreporter/+bug/752542?
Will do. I'm not at the machine now, I'll gather the info tonight.
Joe MacDonald :wq
Joe Thanks for your answer, I'll try with cuda drivers later. Peter Already send the TAR package with the machine inf.
Thanks
Pablo Ordonez
On Fri, Jun 15, 2012 at 1:38 PM, Joe MacDonald < reply@reply.github.com
wrote:
On Fri, Jun 15, 2012 at 12:23 PM, Peter reply@reply.github.com wrote:
@joeythesaint Can you submit your machine info to https://bugs.launchpad.net/lpbugreporter/+bug/752542?
Will do. I'm not at the machine now, I'll gather the info tonight.
Joe MacDonald :wq
Reply to this email directly or view it on GitHub:
https://github.com/Bumblebee-Project/Bumblebee/issues/172#issuecomment-6362269
Have you tried with last drivers ? Using last drivers I get : NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) NVRM: rm_init_adapter(0) failed
Clevo W150ERQ - 650M
On Tue, Jun 19, 2012 at 12:52 PM, yimm reply@reply.github.com wrote:
Have you tried with last drivers ? Using last drivers I get : NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) NVRM: rm_init_adapter(0) failed
Clevo W150ERQ - 650M
Which ones do you mean? I was using the latest nVidia drivers packaged by Ubuntu, 295.53, then tried to manually install the 295.59 without much success, they kept conflicting with other stuff and bumblebee wanted to uninstall if I tried to pull nvidia-current back out. So then I switched to the Xorg edge ppa which has / had 302.11. I don't know how well 295.59 will work, but the others I can confirm don't. The data I provided in my update is from my Xorg Edge config.
-J.
This problem exists with 259.59 and 302.17 drivers. These 2 drivers support 650m
Peter reply@reply.github.com a écrit :
The 302.xx and 295.xx drivers seems to be different. [295.59][1] is newer than [302.11][2] and supports the GT 650M where the 302.11 does not work.
[1]: ftp://download.nvidia.com/XFree86/Linux-x86_64/295.59/README/supportedchips.html [2]: ftp://download.nvidia.com/XFree86/Linux-x86_64/302.11/README/supportedchips.html
Reply to this email directly or view it on GitHub: https://github.com/Bumblebee-Project/Bumblebee/issues/172#issuecomment-6448428
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.
Does nouveau work? What does lspci -nn -d10de:
output?
Nouveau doesn't work :
[ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ERROR]Aborting because fallback start is disabled
Nouveau driver is installed.
Output :
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd1](rev a1)
2012/6/20 Peter < reply@reply.github.com
Does nouveau work? What does
lspci -nn -d10de:
output?
Reply to this email directly or view it on GitHub:
https://github.com/Bumblebee-Project/Bumblebee/issues/172#issuecomment-6452611
"Does not work" is not meaningful. Please attach /var/log/Xorg.8.log and the relevant tail of dmesg after attempting to use nouveau.
As I remember there is nothing under dmesg and Xorg.8.log (This file simply doesn't exist). Now, I switch to Archlinux, using nouveau I get:
XORG [drm] failed to open device
In dmesg :
Jun 21 00:29:30 localhost kernel: [ 799.239993] wmi: Mapper loaded Jun 21 00:29:30 localhost kernel: [ 799.256477] MXM: GUID detected in BIOS Jun 21 00:29:30 localhost kernel: [ 799.256645] VGA switcheroo: detected Optimus DSM method SB.PCI0.PEG0.PEGP handle Jun 21 00:29:30 localhost kernel: [ 799.256687] nouveau 0000:01:00.0: power state changed by ACPI to D0 Jun 21 00:29:30 localhost kernel: [ 799.256692] nouveau 0000:01:00.0: power state changed by ACPI to D0 Jun 21 00:29:30 localhost kernel: [ 799.257093] [drm] nouveau 0000:01:00.0: Detected an NVe0 generation card (0x0e7110a2) Jun 21 00:29:30 localhost kernel: [ 799.277186] vga_switcheroo: enabled Jun 21 00:29:30 localhost kernel: [ 799.277192] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS Jun 21 00:29:30 localhost kernel: [ 799.325258] [drm] nouveau 0000:01:00.0: ... BIOS signature not found Jun 21 00:29:30 localhost kernel: [ 799.325261] [drm] nouveau 0000:01:00.0: Checking PROM for VBIOS Jun 21 00:29:30 localhost kernel: [ 799.325361] [drm] nouveau 0000:01:00.0: ... BIOS signature not found Jun 21 00:29:30 localhost kernel: [ 799.325363] [drm] nouveau 0000:01:00.0: Checking ACPI for VBIOS Jun 21 00:29:30 localhost kernel: [ 799.497528] [drm] nouveau 0000:01:00.0: ... BIOS checksum invalid Jun 21 00:29:30 localhost kernel: [ 799.497538] [drm] nouveau 0000:01:00.0: Checking PCIROM for VBIOS Jun 21 00:29:30 localhost kernel: [ 799.498479] [drm] nouveau 0000:01:00.0: ... BIOS checksum invalid Jun 21 00:29:30 localhost kernel: [ 799.498483] [drm] nouveau 0000:01:00.0: Using VBIOS from ACPI Jun 21 00:29:30 localhost kernel: [ 799.498490] [drm] nouveau 0000:01:00.0: BIT BIOS found Jun 21 00:29:30 localhost kernel: [ 799.498497] [drm] nouveau 0000:01:00.0: Bios version 80.07.1d.00 Jun 21 00:29:30 localhost kernel: [ 799.498505] [drm] nouveau 0000:01:00.0: TMDS table version 2.0 Jun 21 00:29:30 localhost kernel: [ 799.500210] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do Jun 21 00:29:30 localhost kernel: [ 799.500220] [drm] nouveau 0000:01:00.0: DCB version 4.0
And now xorg.8.log : http://pastebin.com/TRjA4jX8
If that is all data from dmesg (a command), then the vbios is invalid or wrongly read. Strange.
On Wed, Jun 20, 2012 at 8:33 AM, Peter reply@reply.github.com wrote:
Does nouveau work?
I didn't try nouveau as support for my card right now is still only 2D so I didn't think it'd be a win anyway.
What does
lspci -nn -d10de:
output?
The same as the other fellow:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd1](rev a1)
Trying with the latest (302.17) nvidia drivers on a 3.5.0 kernel I see this:
~ optirun glxgears [ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0
[ERROR]Aborting because fallback start is disabled.
dmesg shows:
[ 633.998378] nvidia: module license 'NVIDIA' taints kernel. [ 633.998381] Disabling lock debugging due to kernel taint [ 634.003886] nvidia 0000:01:00.0: power state changed by ACPI to D0 [ 634.003890] nvidia 0000:01:00.0: power state changed by ACPI to D0 [ 634.003892] nvidia 0000:01:00.0: enabling device (0006 -> 0007) [ 634.003901] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none [ 634.003972] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012 [ 638.709085] ACPI Error: Field [TMPB] at 1081344 exceeds Buffer [ROM1] size 262144 (bits) (20120320/dsopcode-236) [ 638.709090] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP._ROM](Node ffff88022387fed8), AE_AML_BUFFER_LIMIT (20120320/psparse-536)
And Xorg.8.log shows:
[ 634.459] X.Org X Server 1.12.2 Release Date: 2012-05-29 [ 634.459] X Protocol Version 11, Revision 0 [ 634.459] Build Operating System: Linux 2.6.24-29-xen x86_64 Ubuntu [ 634.459] Current Operating System: Linux skynet 3.5.0-1-generic
[ 634.459] Kernel command line:
BOOTIMAGE=/boot/vmlinuz-3.5.0-1-generic
root=UUID=9b0ea8db-ffb8-451e-a38b-485142cd15dc ro quiet splash
vt.handoff=7
[ 634.459] Build Date: 05 June 2012 08:35:55AM
[ 634.459] xorg-server
2:1.12.2+git20120605+server-1.12-branch.aaf48906-0ubuntu0ricotz~precise
(For technical support please see http://www.ubuntu.com/support)
[ 634.459] Current version of pixman: 0.26.0
[ 634.459] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 634.459] Markers: (--) probed, (*) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
634.459 Log file: "/var/log/Xorg.8.log", Time: Wed Jun 20
18:58:53 2012
634.459 Using config file: "/etc/bumblebee/xorg.conf.nvidia"
634.459 Using system config directory "/usr/share/X11/xorg.conf.d"
634.475 ServerLayout "Layout0"
634.475 No screen section available. Using defaults.
634.475 |-->Screen "Default Screen Section" (0)
634.475 | |-->Monitor "
635.142 Loading sub module "fb" 635.142 LoadModule: "fb" 635.142 Loading /usr/lib/xorg/modules/libfb.so 635.142 Module fb: vendor="X.Org Foundation" [ 635.142] compiled for 1.12.2, module version = 1.0.0 [ 635.142] ABI class: X.Org ANSI C Emulation, version 0.4 635.142 Loading sub module "wfb" 635.142 LoadModule: "wfb" 635.142 Loading /usr/lib/xorg/modules/libwfb.so 635.154 Module wfb: vendor="X.Org Foundation" [ 635.154] compiled for 1.12.2, module version = 1.0.0 [ 635.154] ABI class: X.Org ANSI C Emulation, version 0.4 635.154 Loading sub module "ramdac" 635.154 LoadModule: "ramdac" 635.154 Module "ramdac" already built-in 635.175 NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 635.175 NVIDIA(0): Depth 24, (==) framebuffer bpp 32 635.175 NVIDIA(0): RGB weight 888 635.175 NVIDIA(0): Default visual is TrueColor 635.175 NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) 635.175 NVIDIA(0): Option "NoLogo" "true" 635.175 NVIDIA(0): Option "UseEDID" "false" 635.175 NVIDIA(0): Option "ConnectedMonitor" "DFP" 635.175 NVIDIA(0): Enabling 2D acceleration 635.175 NVIDIA(0): ConnectedMonitor string: "DFP" 635.175 NVIDIA(0): Ignoring EDIDs 639.785 NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0) 639.785 NVIDIA(0): Memory: 2097152 kBytes 639.785 NVIDIA(0): VideoBIOS: 80.07.14.00.a6 639.785 NVIDIA(0): Detected PCI Express Link width: 16X 639.785 NVIDIA(0): Interlaced video modes are supported on this GPU 639.787 NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0 639.787 NVIDIA(0): CRT-0 639.787 NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock 639.787 NVIDIA(0): Failed to assign any connected display devices to X screen 0 639.789 NVIDIA(0): Failing initialization of X screen 0 639.802 UnloadModule: "nvidia" 639.802 UnloadSubModule: "wfb" 639.802 UnloadSubModule: "fb" 639.802 Screen(s) found, but none have a usable configuration. [ 639.802] Fatal server error: [ 639.802] no screens found [ 639.802] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 639.802] Please also check the log file at "/var/log/Xorg.8.log" for additional information. [ 639.802] [ 639.802] ddxSigGiveUp: Closing log [ 639.802] Server terminated with error (1). Closing log file.
Switching my bumblebee.conf to force using nouveau does this (following a full reboot):
[ 218.317501] bbswitch: enabling discrete graphics [ 218.621671] CPU0: Package power limit notification (total events = 1) [ 218.621672] CPU4: Package power limit notification (total events = 1) [ 218.621674] CPU3: Package power limit notification (total events = 1) [ 218.621675] CPU7: Package power limit notification (total events = 1) [ 218.621702] CPU1: Package power limit notification (total events = 1) [ 218.621704] CPU5: Package power limit notification (total events = 1) [ 218.621706] CPU6: Package power limit notification (total events = 1) [ 218.621707] CPU2: Package power limit notification (total events = 1) [ 218.621792] CPU4: Package power limit normal [ 218.621793] CPU0: Package power limit normal [ 218.621824] CPU1: Package power limit normal [ 218.621825] CPU5: Package power limit normal [ 218.621827] CPU6: Package power limit normal [ 218.621828] CPU2: Package power limit normal [ 218.621831] CPU7: Package power limit normal [ 218.621832] CPU3: Package power limit normal [ 220.034630] pci 0000:01:00.0: power state changed by ACPI to D0 [ 220.034637] pci 0000:01:00.0: power state changed by ACPI to D0 [ 220.034681] pci 0000:01:00.0: power state changed by ACPI to D0 [ 220.034684] pci 0000:01:00.0: power state changed by ACPI to D0 [ 220.034687] pci 0000:01:00.0: enabling device (0006 -> 0007) [ 220.109180] MXM: GUID detected in BIOS [ 220.109295] VGA switcheroo: detected Optimus DSM method SB.PCI0.PEG0.PEGP handle [ 220.109317] nouveau 0000:01:00.0: power state changed by ACPI to D0 [ 220.109320] nouveau 0000:01:00.0: power state changed by ACPI to D0 [ 220.109324] nouveau 0000:01:00.0: enabling device (0006 -> 0007) [ 220.109573] [drm] nouveau 0000:01:00.0: Detected an NVe0 generation card (0x0e7110a2) [ 220.112158] [drm] nouveau 0000:01:00.0: acceleration disabled by default, pass noaccel=0 to force enable [ 220.117260] vga_switcheroo: enabled [ 220.117267] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS [ 220.165365] [drm] nouveau 0000:01:00.0: ... BIOS signature not found [ 220.165367] [drm] nouveau 0000:01:00.0: Checking PROM for VBIOS [ 220.165427] [drm] nouveau 0000:01:00.0: ... BIOS signature not found [ 220.165429] [drm] nouveau 0000:01:00.0: Checking ACPI for VBIOS [ 222.416560] [drm] nouveau 0000:01:00.0: ... BIOS checksum invalid [ 222.416563] [drm] nouveau 0000:01:00.0: Checking PCIROM for VBIOS [ 222.416664] nouveau 0000:01:00.0: Invalid ROM contents [ 222.416672] [drm] nouveau 0000:01:00.0: ... BIOS signature not found [ 222.416673] [drm] nouveau 0000:01:00.0: Using VBIOS from ACPI [ 222.416675] [drm] nouveau 0000:01:00.0: BIT BIOS found [ 222.416677] [drm] nouveau 0000:01:00.0: Bios version 80.07.14.00 [ 222.416680] [drm] nouveau 0000:01:00.0: TMDS table version 2.0 [ 222.416999] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do [ 222.417002] [drm] nouveau 0000:01:00.0: DCB version 4.0 [ 222.417004] [drm] nouveau 0000:01:00.0: DCB outp 00: 02000f00 00000000 [ 222.417007] [drm] nouveau 0000:01:00.0: DCB conn 00: 00000000 [ 222.417022] [drm] nouveau 0000:01:00.0: Adaptor not initialised, running VBIOS init tables. [ 222.417024] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0x824C [ 222.458451] [drm] nouveau 0000:01:00.0: 0x8221: i2c wr fail: -6 [ 222.498394] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0x8A57 [ 222.520723] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0x6715 [ 222.520724] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0x9AC5 [ 222.520725] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0x9AC6 [ 222.520753] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0x9B7E [ 222.520754] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0x9BE3 [ 222.523623] [TTM] Zone kernel: Available graphics memory: 4035730 kiB [ 222.523625] [TTM] Zone dma32: Available graphics memory: 2097152 kiB [ 222.523627] [TTM] Initializing pool allocator [ 222.523633] [TTM] Initializing DMA pool allocator [ 222.523641] [drm] nouveau 0000:01:00.0: Detected 2048MiB VRAM (DDR3) [ 222.523646] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining [ 222.523657] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture) [ 222.528297] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 222.528298] [drm] No driver support for vblank timestamp query. [ 222.528300] [drm] nouveau 0000:01:00.0: ACPI backlight interface available, not registering our own [ 222.528301] [drm] nouveau 0000:01:00.0: voltage table 0x50 unknown [ 222.533652] [drm] nouveau 0000:01:00.0: 2 available performance level(s) [ 222.533656] [drm] nouveau 0000:01:00.0: 1: core 202MHz shader 405MHz memory 405MHz voltage 490mV [ 222.533658] [drm] nouveau 0000:01:00.0: 3: core 450MHz shader 900MHz memory 1080MHz voltage 560mV [ 222.533659] [drm] nouveau 0000:01:00.0: c: [ 222.544500] No connectors reported connected with modes [ 222.544507] [drm] Cannot find any crtc or sizes - going 1024x768 [ 222.547276] [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0xe0000, bo ffff88020d430000 [ 222.547349] fb1: nouveaufb frame buffer device [ 222.547353] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 1 [ 246.305873] [TTM] Finalizing pool allocator [ 246.305882] [TTM] Finalizing DMA pool allocator [ 246.305917] [TTM] Zone kernel: Used memory at exit: 0 kiB [ 246.305921] [TTM] Zone dma32: Used memory at exit: 0 kiB [ 246.306338] vga_switcheroo: disabled [ 246.307331] [drm] Module unloaded [ 246.310117] bbswitch: disabling discrete graphics [ 246.310492] bbswitch: Result of Optimus _DSM call: 11000059 [ 246.324015] pci 0000:01:00.0: Refused to change power state, currently in D0 [ 247.522939] pci 0000:01:00.0: power state changed by ACPI to D3
So success! Sort of. :-)
~ optirun glxspheres Polygons in scene: 62464 Error: nConfigOptions (14) does not match the actual number of options in __driConfigOptions (9). Visual ID of window: 0x21 Context is Direct OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 0x301) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72 (X_PutImage) Serial number of failed request: 31 Current serial number in output stream: 50
But glxgears worked much better. Almost a 25x improvement in frames/sec.
Maybe a red herring, I don't know, but on the reboot I got a different result for lspci:
~ lspci -nn -d10de: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fd1](rev ff)
Joe MacDonald :wq
Hm... I remember that I use "acpi_osi=" option.
Without "acpi_osi=" to grub line I noticed that nvidia card doesn't recognize screen (using proprietary drivers) :
optirun glxgears [ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0
hm
nvidia-xconfig --query-gpu-info Number of GPUs: 1
GPU #0: Name : GeForce GT 650M PCI BusID : PCI: 1: 0: 0
Number of Display Devices: 0
Strange problem.
dmesg log when I start optirun :
Jun 21 20:48:29 localhost kernel: [ 2784.209162] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012 Jun 21 20:48:40 localhost acpid: client connected from 3015[0:999] Jun 21 20:48:40 localhost acpid: 1 client rule loaded Jun 21 20:48:43 localhost kernel: [ 2798.053979] ACPI Error: Field [TMPB] at 282624 exceeds Buffer [ROM1] size 262144 (bits) (20120320/dsopcode-236) Jun 21 20:48:43 localhost kernel: [ 2798.053989] ACPI Error: Method parse/execution failed [SB.PCI0.PEG0.PEGP._ROM](Node ffff880129272d48), AE_AML_BUFFER_LIMIT (20120320/psparse-536) Jun 21 20:48:44 localhost bumblebeed[1946]: XORG NVIDIA(0): Failed to enable display hotplug notification Jun 21 20:48:47 localhost acpid: client 3015[0:999] has disconnected
With "acpi_osi=" option, I get via dmesg :
[ 30.398673] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) [ 30.398682] NVRM: rm_init_adapter(0) failed
nvidia-xconfig --query-gpu-info NVIDIA: could not open the device file /dev/nvidiactl (No such device or address). ERROR: Unable to query GPU information
Right, so I fixed the CRT-0 thing in my /etc/bumblebee/xorg.conf.nvidia:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "ConnectedMonitor" "CRT-0"
EndSection
And I'm still getting no love from the nvidia drivers, we're back to "fell off the bus" though:
[ 131.218429] nvidia: module license 'NVIDIA' taints kernel.
[ 131.218432] Disabling lock debugging due to kernel taint
[ 131.223910] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 131.223914] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 131.223916] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 131.223926] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 131.224003] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012
[ 136.726514] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 136.726542] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 136.996248] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170)
[ 136.996255] NVRM: rm_init_adapter(0) failed
This is the Xorg.8.log:
[ 131.186]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[ 131.186] X Protocol Version 11, Revision 0
[ 131.186] Build Operating System: Linux 2.6.24-29-xen x86_64 Ubuntu
[ 131.186] Current Operating System: Linux skynet 3.5.0-1-generic #1-Ubuntu SMP Tue Jun 19 20:56:48 UTC 2012 x86_64
[ 131.186] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-1-generic root=UUID=9b0ea8db-ffb8-451e-a38b-485142cd15dc ro quiet splash vt.handoff=7
[ 131.186] Build Date: 05 June 2012 08:35:55AM
[ 131.186] xorg-server 2:1.12.2+git20120605+server-1.12-branch.aaf48906-0ubuntu0ricotz~precise (For technical support please see http://www.ubuntu.com/support)
[ 131.186] Current version of pixman: 0.26.0
[ 131.186] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 131.186] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 131.186] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Jun 21 16:17:13 2012
[ 131.186] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 131.186] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 131.198] (==) ServerLayout "Layout0"
[ 131.198] (==) No screen section available. Using defaults.
[ 131.198] (**) |-->Screen "Default Screen Section" (0)
[ 131.198] (**) | |-->Monitor "<default monitor>"
[ 131.199] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 131.199] (**) | |-->Device "Device1"
[ 131.199] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 131.199] (**) Option "AutoAddDevices" "false"
[ 131.199] (**) Not automatically adding devices
[ 131.199] (==) Automatically enabling devices
[ 131.199] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 131.199] Entry deleted from font path.
[ 131.199] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 131.199] (++) ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules"
[ 131.199] (==) |-->Input Device "<default pointer>"
[ 131.199] (==) |-->Input Device "<default keyboard>"
[ 131.199] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 131.199] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 131.199] (II) Loader magic: 0x7fdea6c4db00
[ 131.199] (II) Module ABI versions:
[ 131.199] X.Org ANSI C Emulation: 0.4
[ 131.199] X.Org Video Driver: 12.0
[ 131.199] X.Org XInput driver : 16.0
[ 131.199] X.Org Server Extension : 6.0
[ 131.199] (--) PCI:*(0:1:0:0) 10de:0fd1:1558:1150 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 131.199] (II) Open ACPI successful (/var/run/acpid.socket)
[ 131.199] (II) LoadModule: "extmod"
[ 131.199] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 131.200] (II) Module extmod: vendor="X.Org Foundation"
[ 131.200] compiled for 1.12.2, module version = 1.0.0
[ 131.200] Module class: X.Org Server Extension
[ 131.200] ABI class: X.Org Server Extension, version 6.0
[ 131.200] (II) Loading extension MIT-SCREEN-SAVER
[ 131.200] (II) Loading extension XFree86-VidModeExtension
[ 131.200] (II) Loading extension XFree86-DGA
[ 131.200] (II) Loading extension DPMS
[ 131.200] (II) Loading extension XVideo
[ 131.200] (II) Loading extension XVideo-MotionCompensation
[ 131.200] (II) Loading extension X-Resource
[ 131.200] (II) LoadModule: "dbe"
[ 131.200] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 131.200] (II) Module dbe: vendor="X.Org Foundation"
[ 131.200] compiled for 1.12.2, module version = 1.0.0
[ 131.200] Module class: X.Org Server Extension
[ 131.200] ABI class: X.Org Server Extension, version 6.0
[ 131.200] (II) Loading extension DOUBLE-BUFFER
[ 131.200] (II) LoadModule: "glx"
[ 131.200] (II) Loading /usr/lib/nvidia-current/xorg/libglx.so
[ 131.726] (II) Module glx: vendor="NVIDIA Corporation"
[ 131.726] compiled for 4.0.2, module version = 1.0.0
[ 131.726] Module class: X.Org Server Extension
[ 131.726] (II) NVIDIA GLX Module 302.17 Tue Jun 12 16:22:45 PDT 2012
[ 131.726] (II) Loading extension GLX
[ 131.726] (II) LoadModule: "record"
[ 131.726] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 131.726] (II) Module record: vendor="X.Org Foundation"
[ 131.726] compiled for 1.12.2, module version = 1.13.0
[ 131.726] Module class: X.Org Server Extension
[ 131.726] ABI class: X.Org Server Extension, version 6.0
[ 131.726] (II) Loading extension RECORD
[ 131.726] (II) LoadModule: "dri"
[ 131.726] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 131.726] (II) Module dri: vendor="X.Org Foundation"
[ 131.726] compiled for 1.12.2, module version = 1.0.0
[ 131.726] ABI class: X.Org Server Extension, version 6.0
[ 131.726] (II) Loading extension XFree86-DRI
[ 131.726] (II) LoadModule: "dri2"
[ 131.726] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 131.727] (II) Module dri2: vendor="X.Org Foundation"
[ 131.727] compiled for 1.12.2, module version = 1.2.0
[ 131.727] ABI class: X.Org Server Extension, version 6.0
[ 131.727] (II) Loading extension DRI2
[ 131.727] (II) LoadModule: "nvidia"
[ 131.727] (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
[ 131.786] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 131.786] compiled for 4.0.2, module version = 1.0.0
[ 131.786] Module class: X.Org Video Driver
[ 131.805] (II) LoadModule: "mouse"
[ 131.805] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 131.817] (II) Module mouse: vendor="X.Org Foundation"
[ 131.817] compiled for 1.12.0, module version = 1.7.2
[ 131.817] Module class: X.Org XInput Driver
[ 131.817] ABI class: X.Org XInput driver, version 16.0
[ 131.817] (II) LoadModule: "kbd"
[ 131.817] (WW) Warning, couldn't open module kbd
[ 131.817] (II) UnloadModule: "kbd"
[ 131.817] (II) Unloading kbd
[ 131.817] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 131.817] (II) NVIDIA dlloader X Driver 302.17 Tue Jun 12 16:04:53 PDT 2012
[ 131.817] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 131.818] (--) using VT number 7
[ 131.819] (II) Loading sub module "fb"
[ 131.819] (II) LoadModule: "fb"
[ 131.819] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 131.819] (II) Module fb: vendor="X.Org Foundation"
[ 131.819] compiled for 1.12.2, module version = 1.0.0
[ 131.819] ABI class: X.Org ANSI C Emulation, version 0.4
[ 131.819] (II) Loading sub module "wfb"
[ 131.819] (II) LoadModule: "wfb"
[ 131.819] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 131.831] (II) Module wfb: vendor="X.Org Foundation"
[ 131.831] compiled for 1.12.2, module version = 1.0.0
[ 131.831] ABI class: X.Org ANSI C Emulation, version 0.4
[ 131.831] (II) Loading sub module "ramdac"
[ 131.831] (II) LoadModule: "ramdac"
[ 131.831] (II) Module "ramdac" already built-in
[ 132.002] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 132.002] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 132.002] (==) NVIDIA(0): RGB weight 888
[ 132.002] (==) NVIDIA(0): Default visual is TrueColor
[ 132.002] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 132.002] (**) NVIDIA(0): Option "NoLogo" "true"
[ 132.002] (**) NVIDIA(0): Option "UseEDID" "false"
[ 132.002] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[ 132.002] (**) NVIDIA(0): Enabling 2D acceleration
[ 132.002] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[ 132.003] (**) NVIDIA(0): Ignoring EDIDs
[ 136.904] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 136.904] (EE) NVIDIA(0): check your system's kernel log for additional error
[ 136.904] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
[ 136.904] (EE) NVIDIA(0): README for additional information.
[ 136.904] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[ 136.904] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 136.904] (II) UnloadModule: "nvidia"
[ 136.904] (II) UnloadSubModule: "wfb"
[ 136.904] (II) UnloadSubModule: "fb"
[ 136.904] (EE) Screen(s) found, but none have a usable configuration.
[ 136.904]
Fatal server error:
[ 136.904] no screens found
[ 136.904]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 136.904] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 136.904]
[ 136.904] ddxSigGiveUp: Closing log
[ 136.904] Server terminated with error (1). Closing log file.
It's otherwise exactly the same configuration as what was half working with nouveau last night.
skynet ~ uname -a
Linux skynet 3.5.0-1-generic #1-Ubuntu SMP Tue Jun 19 20:56:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
skynet ~ dpkg --list | grep ^ii | grep vidia
ii bumblebee-nvidia 3.0-2~preciseppa1 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-common 1:0.2.44 Find obsolete NVIDIA drivers
ii nvidia-current 302.17-0ubuntu1~xedgers~precise1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-current-dev 302.17-0ubuntu1~xedgers~precise1 NVIDIA binary Xorg driver development files
ii nvidia-settings 302.17-0ubuntu1~precise~xup3 Tool of configuring the NVIDIA graphics driver
Do you have "The PCI config space could not be written fully at ..." messages in syslog?
On Thu, Jun 21, 2012 at 5:07 PM, Peter wrote:
Do you have "The PCI config space could not be written fully at ..." messages in syslog?
No, not when using the nvidia drivers. Yes when using nouveau.
But in testing this I saw something in my syslog I haven't noticed before (on the nvidia module configuration boot):
[ 16.217534] ACPI Warning: 0x0000000000000460-0x000000000000047fSystemIO conflicts with Region
\PMIO 1 (20120320/utaddress-251)
[ 16.217537] ACPI: If an ACPI driver is available for this device,you should use it instead of the native driver
[ 16.217538] lpc_ich: Resource conflict(s) found affecting iTCO_wdt
[ 16.217543] ACPI Warning: 0x0000000000000428-0x000000000000042fSystemIO conflicts with Region
\PMIO 1 (20120320/utaddress-251)
[ 16.217544] ACPI: If an ACPI driver is available for this device,you should use it instead of the native driver
[ 16.217549] ACPI Warning: 0x0000000000000500-0x000000000000053fSystemIO conflicts with Region
\GPIO 1 (20120320/utaddress-251)
[ 16.217552] ACPI Warning: 0x0000000000000500-0x000000000000053fSystemIO conflicts with Region
\_SB_.PCI0.PEG0.PEGP.GPIO 2(20120320/utaddress-251)
[ 16.217554] ACPI: If an ACPI driver is available for this device,you should use it instead of the native driver
[ 16.217555] lpc_ich: Resource conflict(s) found affecting gpio_ich
[ 16.217638] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[ 16.763499] input: HDA Intel PCH HDMI/DP,pcm=3 as/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 16.763583] input: HDA Intel PCH Mic as/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 16.763651] input: HDA Intel PCH Front Headphone as/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
Don't know if that's relevant or not. It seems connected to what I am seeing in syslog, though:
Jun 21 20:19:26 skynet kernel: [ 203.782081] nvidia: module license'NVIDIA' taints kernel.
Jun 21 20:19:26 skynet kernel: [ 203.782084] Disabling lock debuggingdue to kernel taint
Jun 21 20:19:26 skynet kernel: [ 203.787575] nvidia 0000:01:00.0:power state changed by ACPI to D0
Jun 21 20:19:26 skynet kernel: [ 203.787578] nvidia 0000:01:00.0:power state changed by ACPI to D0
Jun 21 20:19:26 skynet kernel: [ 203.787581] nvidia 0000:01:00.0:enabling device (0006 -> 0007)
Jun 21 20:19:26 skynet kernel: [ 203.787591] vgaarb: device changeddecodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Jun 21 20:19:26 skynet kernel: [ 203.787666] NVRM: loading NVIDIAUNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012
Jun 21 20:19:26 skynet acpid: client connected from 2226[0:1001]
Jun 21 20:19:26 skynet acpid: 1 client rule loaded
Jun 21 20:19:32 skynet kernel: [ 209.592897] ACPI Error: Field [TMPB]at 1081344 exceeds Buffer [ROM1] size 262144 (bits)(20120320/dsopcode-236)
Jun 21 20:19:32 skynet kernel: [ 209.592902] ACPI Error: Methodparse/execution failed [\_SB_.PCI0.PEG0.PEGP._ROM] (Nodeffff88022387fed8), AE_AML_BUFFER_LIMIT (20120320/psparse-536)
Jun 21 20:19:32 skynet kernel: [ 209.627566] NVRM: GPU at0000:01:00.0 has fallen off the bus.
Jun 21 20:19:32 skynet kernel: [ 209.627578] NVRM: GPU at0000:01:00.0 has fallen off the bus.
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0): Failedto initialize the NVIDIA GPU at PCI:1:0:0. Please
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0):check your system's kernel log for additional error
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0):messages and refer to Chapter 8: Common Problems in the
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0):README for additional information.
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0): Failedto initialize the NVIDIA graphics device!
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) NVIDIA(0):Failing initialization of X screen 0
Jun 21 20:19:32 skynet bumblebeed[1014]: [XORG] (EE) Screen(s) found,but none have a usable configuration.
Jun 21 20:19:32 skynet kernel: [ 209.891539] NVRM: RmInitAdapterfailed! (0x26:0xffffffff:1170)
Jun 21 20:19:32 skynet kernel: [ 209.891547] NVRM: rm_init_adapter(0) failed
Jun 21 20:19:32 skynet bumblebeed[1014]: X did not start properly
Jun 21 20:19:37 skynet acpid: client 2226[0:1001] has disconnected
Joe MacDonald :wq
That _ROM
error may be related to https://bugzilla.kernel.org/show_bug.cgi?id=43063. I currently do not know what is going on here with those new chips.
Is nouveau well blacklisted ? Because the NVRM errors are typical from those you're getting when nouveau is loaded somewhere before nvidia. Else, it should be that _ROM error.
Oh by the way Lekensteyn, I finally got nouveau working without that error on the 3.5rc1.
On Sat, Jun 23, 2012 at 7:33 AM, Bruno Pagani reply@reply.github.com wrote:
Is nouveau well blacklisted ? Because the NVRM errors are typical from those you're getting when nouveau is loaded somewhere before nvidia. Else, it should be that _ROM error.
bumblebee.conf is still in my /etc/modprobe.d/ directory and has nouveau blacklisted, so I think that's covering it.
Joe MacDonald :wq
Reopening just to track this issue.
With nvidia drivers the problem still persist, even though Ubuntu 12.04 had an update of the kernel and xorg. nvidia-current 302.17 bumblebee-nvidia 3.02 kernel 3.2.0-27
I have the same issue here with a Dell Inspiron 17R.
Ubuntu 12.04 nvidia-current 302.17 bumblebee 3.0-2 kernel 3.2.0-26-generic
Not so familiar with these things but discrete graphics don't work.
Ubuntu 12.04 linux 3.2.0-26 generic (64) clevo w150er nvidia 302.17 i7 3610qm (VGA 4000)
optirun glxgears reads:
[ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ERROR]Aborting because fallback start is disabled.
/var/log/kern.log reads:
Jul 13 20:45:48 thespacebetween kernel: [13894.035893] bbswitch: enabling discrete graphics Jul 13 20:45:48 thespacebetween kernel: [13894.350419] CPU4: Package power limit notification (total events = 14111) Jul 13 20:45:48 thespacebetween kernel: [13894.350421] CPU0: Package power limit notification (total events = 14107) Jul 13 20:45:48 thespacebetween kernel: [13894.350454] CPU5: Package power limit notification (total events = 14111) Jul 13 20:45:48 thespacebetween kernel: [13894.350458] CPU1: Package power limit notification (total events = 14105) Jul 13 20:45:48 thespacebetween kernel: [13894.350461] CPU2: Package power limit notification (total events = 14108) Jul 13 20:45:48 thespacebetween kernel: [13894.350464] CPU6: Package power limit notification (total events = 14110) Jul 13 20:45:48 thespacebetween kernel: [13894.350468] CPU3: Package power limit notification (total events = 14111) Jul 13 20:45:48 thespacebetween kernel: [13894.350471] CPU7: Package power limit notification (total events = 14111) Jul 13 20:45:48 thespacebetween kernel: [13894.350498] CPU4: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350499] CPU0: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350537] CPU5: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350539] CPU1: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350542] CPU6: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350545] CPU2: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350548] CPU3: Package power limit normal Jul 13 20:45:48 thespacebetween kernel: [13894.350550] CPU7: Package power limit normal Jul 13 20:45:50 thespacebetween kernel: [13895.756115] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.756124] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.756148] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x15580b01, writing 0xe001) Jul 13 20:45:50 thespacebetween kernel: [13895.756153] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x5800000c, writing 0xf000000c) Jul 13 20:45:50 thespacebetween kernel: [13895.756158] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c) Jul 13 20:45:50 thespacebetween kernel: [13895.756162] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf6000000) Jul 13 20:45:50 thespacebetween kernel: [13895.756168] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006) Jul 13 20:45:50 thespacebetween kernel: [13895.756183] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.756186] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.756191] pci 0000:01:00.0: enabling device (0006 -> 0007) Jul 13 20:45:50 thespacebetween kernel: [13895.756198] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 13 20:45:50 thespacebetween kernel: [13895.756203] pci 0000:01:00.0: setting latency timer to 64 Jul 13 20:45:50 thespacebetween kernel: [13895.908340] nvidia: module license 'NVIDIA' taints kernel. Jul 13 20:45:50 thespacebetween kernel: [13895.908343] Disabling lock debugging due to kernel taint Jul 13 20:45:50 thespacebetween kernel: [13895.962387] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.962392] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 13 20:45:50 thespacebetween kernel: [13895.962398] nvidia 0000:01:00.0: enabling device (0006 -> 0007) Jul 13 20:45:50 thespacebetween kernel: [13895.962405] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 13 20:45:50 thespacebetween kernel: [13895.962413] nvidia 0000:01:00.0: setting latency timer to 64 Jul 13 20:45:50 thespacebetween kernel: [13895.962419] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none Jul 13 20:45:50 thespacebetween kernel: [13895.962531] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012 Jul 13 20:45:59 thespacebetween kernel: [13904.932647] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) Jul 13 20:45:59 thespacebetween kernel: [13904.932655] NVRM: rm_init_adapter(0) failed
Same errors with Ubuntu 12.04 and Nvidia GT 650M.
/var/log/kern.log:
Jul 15 16:49:18 Empire kernel: [ 55.158348] bbswitch: enabling discrete graphics Jul 15 16:49:19 Empire kernel: [ 55.246274] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored Jul 15 16:49:19 Empire kernel: [ 55.262214] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.262220] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.262239] pci 0000:01:00.0: restoring config space at offset 0xc (was 0x0, writing 0xfff80000) Jul 15 16:49:19 Empire kernel: [ 55.262245] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x1, writing 0x4001) Jul 15 16:49:19 Empire kernel: [ 55.262250] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xb000000c) Jul 15 16:49:19 Empire kernel: [ 55.262254] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xa000000c) Jul 15 16:49:19 Empire kernel: [ 55.262259] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xd2000000) Jul 15 16:49:19 Empire kernel: [ 55.262263] pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10) Jul 15 16:49:19 Empire kernel: [ 55.262267] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006) Jul 15 16:49:19 Empire kernel: [ 55.262281] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.262284] pci 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.262288] pci 0000:01:00.0: enabling device (0006 -> 0007) Jul 15 16:49:19 Empire kernel: [ 55.262294] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 15 16:49:19 Empire kernel: [ 55.262299] pci 0000:01:00.0: setting latency timer to 64 Jul 15 16:49:19 Empire kernel: [ 55.515153] nvidia: module license 'NVIDIA' taints kernel. Jul 15 16:49:19 Empire kernel: [ 55.515155] Disabling lock debugging due to kernel taint Jul 15 16:49:19 Empire kernel: [ 55.551904] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.551908] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 15 16:49:19 Empire kernel: [ 55.551912] nvidia 0000:01:00.0: enabling device (0006 -> 0007) Jul 15 16:49:19 Empire kernel: [ 55.551918] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 15 16:49:19 Empire kernel: [ 55.551924] nvidia 0000:01:00.0: setting latency timer to 64 Jul 15 16:49:19 Empire kernel: [ 55.551929] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none Jul 15 16:49:19 Empire kernel: [ 55.551998] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012
This error is a kernel one according to nVidia documentation, at ACPI level, and the only thing to do is to wait for it to be fixed upstream in Linux Kernel.
If it's not working with 304.22, "UseDisplayDevice" "none" instead of "ConnectedMonitor" "DFP" (or "CRT") and PM set to none, then you're in that case.
I tried again with kernel 3.5 and 304.22 driver (from xorg-edgers ppa). I used "UseDisplayDevice" "none" instead of "ConnectedMonitor" "DFP", as suggested above, but the result remains the same :-{.
699.237 NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout 699.237 NVIDIA(0): mode 704.082 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please 704.082 NVIDIA(0): check your system's kernel log for additional error 704.082 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the 704.082 NVIDIA(0): README for additional information. 704.082 NVIDIA(0): Failed to initialize the NVIDIA graphics device! 704.082 NVIDIA(0): Failing initialization of X screen 0 704.082 UnloadModule: "nvidia"
It looks like I am out of options here....
The nouveau driver works, but it is way slower than the IGP on glxgears. And it crashes on glxspheres:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72 (X_PutImage)
Hi, I have the same problem. A new i7 3rd generation processor and motherboard and a new GT 650M. I have Linux Mint 13 maya with the ppa from ubuntu. I try some solution ideas from the threat but it does not work.
kern.log
Jul 19 22:46:29 jogopc kernel: [ 83.484889] nvidia: module license 'NVIDIA' taints kernel. Jul 19 22:46:29 jogopc kernel: [ 83.484892] Disabling lock debugging due to kernel taint Jul 19 22:46:29 jogopc kernel: [ 83.529253] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 19 22:46:29 jogopc kernel: [ 83.529257] nvidia 0000:01:00.0: power state changed by ACPI to D0 Jul 19 22:46:29 jogopc kernel: [ 83.529262] nvidia 0000:01:00.0: enabling device (0006 -> 0007) Jul 19 22:46:29 jogopc kernel: [ 83.529267] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 19 22:46:29 jogopc kernel: [ 83.529274] nvidia 0000:01:00.0: setting latency timer to 64 Jul 19 22:46:29 jogopc kernel: [ 83.529278] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none Jul 19 22:46:29 jogopc kernel: [ 83.529351] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.59 Wed Jun 6 21:19:40 PDT 2012 Jul 19 22:46:39 jogopc kernel: [ 93.626197] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) Jul 19 22:46:39 jogopc kernel: [ 93.626205] NVRM: rm_init_adapter(0) failed Jul 19 22:48:02 jogopc kernel: [ 176.516692] ehci_hcd 0000:00:1d.0: PCI INT A disabled Jul 19 22:48:02 jogopc kernel: [ 176.516744] ehci_hcd 0000:00:1d.0: PME# enabled
dmesg
[ 83.484889] nvidia: module license 'NVIDIA' taints kernel. [ 83.484892] Disabling lock debugging due to kernel taint [ 83.529253] nvidia 0000:01:00.0: power state changed by ACPI to D0 [ 83.529257] nvidia 0000:01:00.0: power state changed by ACPI to D0 [ 83.529262] nvidia 0000:01:00.0: enabling device (0006 -> 0007) [ 83.529267] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 83.529274] nvidia 0000:01:00.0: setting latency timer to 64 [ 83.529278] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none [ 83.529351] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.59 Wed Jun 6 21:19:40 PDT 2012 [ 93.626197] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) [ 93.626205] NVRM: rm_init_adapter(0) failed [ 176.516692] ehci_hcd 0000:00:1d.0: PCI INT A disabled [ 176.516744] ehci_hcd 0000:00:1d.0: PME# enabled
Xorg.8.log
[ 83.383] X Protocol Version 11, Revision 0
[ 83.383] Build Operating System: Linux 2.6.42-26-generic x86_64 Ubuntu
[ 83.383] Current Operating System: Linux jogopc 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64
[ 83.383] Kernel command line: BOOTIMAGE=/boot/vmlinuz-3.2.0-26-generic root=UUID=87015997-e65b-4530-a633-412a6b06ba86 ro quiet splash vt.handoff=7
[ 83.383] Build Date: 16 July 2012 08:06:31PM
[ 83.383] xorg-server 2:1.11.4-0ubuntu10.6 (For technical support please see http://www.ubuntu.com/support)
[ 83.383] Current version of pixman: 0.24.4
[ 83.383] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 83.383] Markers: (--) probed, (*) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
83.383 Log file: "/var/log/Xorg.8.log", Time: Thu Jul 19 22:46:29 2012
83.383 Using config file: "/etc/bumblebee/xorg.conf.nvidia"
83.383 Using system config directory "/usr/share/X11/xorg.conf.d"
83.384 ServerLayout "Layout0"
83.384 No screen section available. Using defaults.
83.384 |-->Screen "Default Screen Section" (0)
83.384 | |-->Monitor "
83.853 Loading sub module "fb" 83.853 LoadModule: "fb" 83.853 Loading /usr/lib/xorg/modules/libfb.so 83.853 Module fb: vendor="X.Org Foundation" [ 83.853] compiled for 1.11.3, module version = 1.0.0 [ 83.853] ABI class: X.Org ANSI C Emulation, version 0.4 83.853 Loading sub module "wfb" 83.853 LoadModule: "wfb" 83.853 Loading /usr/lib/xorg/modules/libwfb.so 83.858 Module wfb: vendor="X.Org Foundation" [ 83.858] compiled for 1.11.3, module version = 1.0.0 [ 83.858] ABI class: X.Org ANSI C Emulation, version 0.4 83.858 Loading sub module "ramdac" 83.858 LoadModule: "ramdac" 83.858 Module "ramdac" already built-in 83.859 Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so 83.859 Loading /usr/lib/xorg/modules/libwfb.so 83.859 Loading /usr/lib/xorg/modules/libfb.so 83.869 NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 83.869 NVIDIA(0): Depth 24, (==) framebuffer bpp 32 83.869 NVIDIA(0): RGB weight 888 83.869 NVIDIA(0): Default visual is TrueColor 83.869 NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) 83.869 NVIDIA(0): Option "NoLogo" "true" 83.869 NVIDIA(0): Option "UseEDID" "false" 83.869 NVIDIA(0): Option "ConnectedMonitor" "DFP" 83.869 NVIDIA(0): Enabling 2D acceleration 83.869 NVIDIA(0): ConnectedMonitor string: "DFP" 83.869 NVIDIA(0): Ignoring EDIDs 93.486 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please 93.486 NVIDIA(0): check your system's kernel log for additional error 93.486 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the 93.486 NVIDIA(0): README for additional information. 93.486 NVIDIA(0): Failed to initialize the NVIDIA graphics device! 93.486 UnloadModule: "nvidia" 93.486 Unloading nvidia 93.486 UnloadModule: "wfb" 93.486 Unloading wfb 93.486 UnloadModule: "fb" 93.486 Unloading fb 93.486 Screen(s) found, but none have a usable configuration. [ 93.486] Fatal server error: [ 93.486] no screens found [ 93.486] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 93.486] Please also check the log file at "/var/log/Xorg.8.log" for additional information. [ 93.486] [ 93.486] ddxSigGiveUp: Closing log [ 93.486] Server terminated with error (1). Closing log file.
I have installed the bumblebee 3.0.2, Xorg 11.30, kernel 3.2.0-26-generic, nvidia-current 295.59, linux mint 13 maya. The noveau driver does not work with this configuration, because nouveau does not know the gpu.
If I type 'optirun' in terminal it needs 3 seconds or more, but then it report the errors.
As I said above,
[ 93.626197] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170) [ 93.626205] NVRM: rm_init_adapter(0) failed
is a kernel error according to nVidia, and the only thing to do is to wait for ACPI to be fixed in kernel, which could take a long time. Unless @amonakov's issue #201 fix that too, as he wrote on #197.
@ArchangeGabriel: I do not see the "NVRM: failed to copy vbios to system memory." message in syslog. However, assuming this is a kernel issue: is there a bug reported in the kernel for this? Is there anything more I can do to help solving this problem?
Yes but the "failed to copy vbios" message isn't shown anymore on new drivers, you can see that if you look at #204. However, it seems that #201 is going to solve that too.
The workaround mentioned in #204 works for me. Great! It can be used repeatedly. Does nvidia-xconfig do something that is missing in optirun?
$ sudo tee /proc/acpi/bbswitch <<<ON; sudo nvidia-xconfig -query-gpu-info; optirun glxspheres
No, it simply initializes the card. Otherwise, initialization is done in the X server forked from the bumblebee daemon, and that fails due to a race condition with polling a socket. Please note that a fix is available in hotfix-3.0.1 branch of this repo.
Thanks. I will check out the fix.
Please not that this is a temporary fix, and not finished right now. Fixing this like that has some issues, and we have to make some more changes before a new version including this fix will be out.
Fixing this like that has some issues
Can you please explain what exactly the issues are?
we have to make some more changes before a new version including this fix will be out
What changes are needed?
AFAIK, with blocking sockets everywhere, you can't have more than one instance of optirun at once for example. This will be solved either by implementing socket polling or pthreads, and before I leave y-day, @Thulinma and @Samsagax were going on the second one.
I am not seeing an error of the form "Error inserting nvidia_current..." but this command:
lspci -d 10de: -vvnn
Definitely produces the expected error:
Not really sure what to do next, I don't know which scripts I'm looking for to enable my card described in the troubleshooting section. I'll mail the logs gathered by bumblebee-bugreport to the mailing list now.