Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 142 forks source link

Optirun working exactly one time over two #553

Closed ArchangeGabriel closed 10 years ago

ArchangeGabriel commented 10 years ago

I have a strange issue that I haven’t been able to understand where optirun only works one time over two. It not really a blocking issue since a simple new attempt is ever successful, but at least it’s annoying.

Xorg.8.log:

[  5928.469] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[  5928.469] X Protocol Version 11, Revision 0
[  5928.469] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[  5928.469] Current Operating System: Linux minas-tirith 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64
[  5928.469] Kernel command line: BOOT_IMAGE=/@boot/vmlinuz-linux root=UUID=63b1b99e-c071-4799-9abc-a6867a0ee3d5 rw rootflags=subvol=@ cryptdevice=UUID=4b2924db-9c94-4123-8836-b1e675bafb11:root:allow-discards i915.i915_enable_fbc=0 i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.semaphores=1 drm.vblankoffdelay=1
[  5928.469] Build Date: 09 January 2014  08:47:24AM
[  5928.469]  
[  5928.469] Current version of pixman: 0.32.4
[  5928.469]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  5928.469] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5928.469] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Mar  8 01:35:09 2014
[  5928.469] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  5928.469] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  5928.469] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5928.469] (==) ServerLayout "Layout0"
[  5928.469] (==) No screen section available. Using defaults.
[  5928.469] (**) |-->Screen "Default Screen Section" (0)
[  5928.469] (**) |   |-->Monitor "<default monitor>"
[  5928.469] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  5928.469] (**) |   |-->Device "DiscreteNvidia"
[  5928.469] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  5928.469] (**) Option "AutoAddDevices" "false"
[  5928.469] (**) Option "AutoAddGPU" "false"
[  5928.469] (**) Not automatically adding devices
[  5928.469] (==) Automatically enabling devices
[  5928.469] (**) Not automatically adding GPU devices
[  5928.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5928.469]    Entry deleted from font path.
[  5928.469]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5928.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5928.469]    Entry deleted from font path.
[  5928.469]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5928.469] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/
[  5928.469] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[  5928.469] (==) |-->Input Device "<default pointer>"
[  5928.469] (==) |-->Input Device "<default keyboard>"
[  5928.469] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[  5928.469] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[  5928.469] (II) Loader magic: 0x804c80
[  5928.469] (II) Module ABI versions:
[  5928.469]    X.Org ANSI C Emulation: 0.4
[  5928.469]    X.Org Video Driver: 15.0
[  5928.469]    X.Org XInput driver : 20.0
[  5928.469]    X.Org Server Extension : 8.0
[  5928.469] (II) xfree86: Adding drm device (/dev/dri/card1)
[  5928.469] (II) xfree86: Adding drm device (/dev/dri/card0)
[  5928.469] setversion 1.4 failed: Permission denied
[  5928.470] (--) PCI:*(0:2:0:0) 10de:0fe4:1028:05fe rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  5928.470] (II) Open ACPI successful (/var/run/acpid.socket)
[  5928.470] Initializing built-in extension Generic Event Extension
[  5928.470] Initializing built-in extension SHAPE
[  5928.470] Initializing built-in extension MIT-SHM
[  5928.470] Initializing built-in extension XInputExtension
[  5928.470] Initializing built-in extension XTEST
[  5928.470] Initializing built-in extension BIG-REQUESTS
[  5928.470] Initializing built-in extension SYNC
[  5928.470] Initializing built-in extension XKEYBOARD
[  5928.470] Initializing built-in extension XC-MISC
[  5928.470] Initializing built-in extension SECURITY
[  5928.470] Initializing built-in extension XINERAMA
[  5928.470] Initializing built-in extension XFIXES
[  5928.470] Initializing built-in extension RENDER
[  5928.470] Initializing built-in extension RANDR
[  5928.470] Initializing built-in extension COMPOSITE
[  5928.470] Initializing built-in extension DAMAGE
[  5928.470] Initializing built-in extension MIT-SCREEN-SAVER
[  5928.470] Initializing built-in extension DOUBLE-BUFFER
[  5928.470] Initializing built-in extension RECORD
[  5928.470] Initializing built-in extension DPMS
[  5928.470] Initializing built-in extension Present
[  5928.470] Initializing built-in extension DRI3
[  5928.470] Initializing built-in extension X-Resource
[  5928.470] Initializing built-in extension XVideo
[  5928.470] Initializing built-in extension XVideo-MotionCompensation
[  5928.470] Initializing built-in extension XFree86-VidModeExtension
[  5928.470] Initializing built-in extension XFree86-DGA
[  5928.470] Initializing built-in extension XFree86-DRI
[  5928.470] Initializing built-in extension DRI2
[  5928.470] (II) "glx" will be loaded by default.
[  5928.470] (II) LoadModule: "dri2"
[  5928.470] (II) Module "dri2" already built-in
[  5928.470] (II) LoadModule: "glamoregl"
[  5928.471] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  5928.547] (II) Module glamoregl: vendor="X.Org Foundation"
[  5928.547]    compiled for 1.15.0, module version = 0.6.0
[  5928.547]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5928.547] (II) LoadModule: "glx"
[  5928.547] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[  5928.562] (II) Module glx: vendor="NVIDIA Corporation"
[  5928.562]    compiled for 4.0.2, module version = 1.0.0
[  5928.562]    Module class: X.Org Server Extension
[  5928.562] (II) NVIDIA GLX Module  334.21  Thu Feb 27 13:54:04 PST 2014
[  5928.562] Loading extension GLX
[  5928.562] (II) LoadModule: "nvidia"
[  5928.562] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  5928.582] (II) Module nvidia: vendor="NVIDIA Corporation"
[  5928.582]    compiled for 4.0.2, module version = 1.0.0
[  5928.582]    Module class: X.Org Video Driver
[  5928.582] (II) LoadModule: "mouse"
[  5928.582] (WW) Warning, couldn't open module mouse
[  5928.582] (II) UnloadModule: "mouse"
[  5928.582] (II) Unloading mouse
[  5928.582] (EE) Failed to load module "mouse" (module does not exist, 0)
[  5928.582] (II) LoadModule: "kbd"
[  5928.582] (WW) Warning, couldn't open module kbd
[  5928.582] (II) UnloadModule: "kbd"
[  5928.582] (II) Unloading kbd
[  5928.582] (EE) Failed to load module "kbd" (module does not exist, 0)
[  5928.582] (II) NVIDIA dlloader X Driver  334.21  Thu Feb 27 13:34:35 PST 2014
[  5928.582] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  5928.582] (--) using VT number 7

[  5928.582] (II) Loading sub module "fb"
[  5928.582] (II) LoadModule: "fb"
[  5928.582] (II) Loading /usr/lib/xorg/modules/libfb.so
[  5928.588] (II) Module fb: vendor="X.Org Foundation"
[  5928.588]    compiled for 1.15.0, module version = 1.0.0
[  5928.588]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5928.588] (WW) Unresolved symbol: fbGetGCPrivateKey
[  5928.588] (II) Loading sub module "wfb"
[  5928.588] (II) LoadModule: "wfb"
[  5928.588] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  5928.590] (II) Module wfb: vendor="X.Org Foundation"
[  5928.590]    compiled for 1.15.0, module version = 1.0.0
[  5928.590]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5928.590] (II) Loading sub module "ramdac"
[  5928.590] (II) LoadModule: "ramdac"
[  5928.590] (II) Module "ramdac" already built-in
[  5928.591] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  5928.591] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  5928.591] (==) NVIDIA(0): RGB weight 888
[  5928.591] (==) NVIDIA(0): Default visual is TrueColor
[  5928.591] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  5928.591] (**) NVIDIA(0): Option "NoLogo" "true"
[  5928.591] (**) NVIDIA(0): Option "UseEDID" "false"
[  5928.591] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[  5928.591] (**) NVIDIA(0): Enabling 2D acceleration
[  5928.591] (**) NVIDIA(0): Ignoring EDIDs
[  5928.591] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[  5928.591] (**) NVIDIA(0):     mode
[  5933.755] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:2:0:0.  Please
[  5933.755] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[  5933.755] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[  5933.755] (EE) NVIDIA(GPU-0):     README for additional information.
[  5933.755] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[  5933.755] (EE) NVIDIA(0): Failing initialization of X screen 0
[  5933.755] (II) UnloadModule: "nvidia"
[  5933.755] (II) UnloadSubModule: "wfb"
[  5933.755] (II) UnloadSubModule: "fb"
[  5933.755] (EE) Screen(s) found, but none have a usable configuration.
[  5933.755] (EE) 
Fatal server error:
[  5933.755] (EE) no screens found(EE) 
[  5933.755] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  5933.755] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  5933.755] (EE) 
[  5933.755] (EE) Server terminated with error (1). Closing log file.

Relevant part from dmesg:

[ 5933.823940] bbswitch: enabling discrete graphics
[ 5934.409123] nvidia: module license 'NVIDIA' taints kernel.
[ 5934.409126] Disabling lock debugging due to kernel taint
[ 5934.415551] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
[ 5934.415555] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  334.21  Thu Feb 27 15:55:45 PST 2014
[ 5934.539894] vgaarb: this pci device is not a vga device
[ 5934.540189] nvidia 0000:02:00.0: irq 54 for MSI/MSI-X
[ 5934.546310] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546356] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546379] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546399] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546418] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546437] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546469] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5934.546489] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5939.705605] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5939.709135] NVRM: RmInitAdapter failed! (0x24:0x38:1129)
[ 5939.709144] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 5939.709165] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

And then, same logs for the working attempt right after:

[  5988.670] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[  5988.670] X Protocol Version 11, Revision 0
[  5988.670] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[  5988.670] Current Operating System: Linux minas-tirith 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64
[  5988.670] Kernel command line: BOOT_IMAGE=/@boot/vmlinuz-linux root=UUID=63b1b99e-c071-4799-9abc-a6867a0ee3d5 rw rootflags=subvol=@ cryptdevice=UUID=4b2924db-9c94-4123-8836-b1e675bafb11:root:allow-discards i915.i915_enable_fbc=0 i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.semaphores=1 drm.vblankoffdelay=1
[  5988.670] Build Date: 09 January 2014  08:47:24AM
[  5988.670]  
[  5988.670] Current version of pixman: 0.32.4
[  5988.670]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  5988.670] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5988.671] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Mar  8 01:36:09 2014
[  5988.671] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  5988.671] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  5988.671] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5988.671] (==) ServerLayout "Layout0"
[  5988.671] (==) No screen section available. Using defaults.
[  5988.671] (**) |-->Screen "Default Screen Section" (0)
[  5988.671] (**) |   |-->Monitor "<default monitor>"
[  5988.671] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  5988.671] (**) |   |-->Device "DiscreteNvidia"
[  5988.671] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  5988.671] (**) Option "AutoAddDevices" "false"
[  5988.671] (**) Option "AutoAddGPU" "false"
[  5988.671] (**) Not automatically adding devices
[  5988.671] (==) Automatically enabling devices
[  5988.671] (**) Not automatically adding GPU devices
[  5988.671] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5988.671]    Entry deleted from font path.
[  5988.671]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5988.671] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5988.671]    Entry deleted from font path.
[  5988.671]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5988.671] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/
[  5988.671] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[  5988.671] (==) |-->Input Device "<default pointer>"
[  5988.671] (==) |-->Input Device "<default keyboard>"
[  5988.671] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[  5988.671] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[  5988.671] (II) Loader magic: 0x804c80
[  5988.671] (II) Module ABI versions:
[  5988.671]    X.Org ANSI C Emulation: 0.4
[  5988.671]    X.Org Video Driver: 15.0
[  5988.671]    X.Org XInput driver : 20.0
[  5988.671]    X.Org Server Extension : 8.0
[  5988.671] (II) xfree86: Adding drm device (/dev/dri/card1)
[  5988.671] (II) xfree86: Adding drm device (/dev/dri/card0)
[  5988.671] setversion 1.4 failed: Permission denied
[  5988.672] (--) PCI:*(0:2:0:0) 10de:0fe4:1028:05fe rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  5988.672] (II) Open ACPI successful (/var/run/acpid.socket)
[  5988.672] Initializing built-in extension Generic Event Extension
[  5988.672] Initializing built-in extension SHAPE
[  5988.672] Initializing built-in extension MIT-SHM
[  5988.672] Initializing built-in extension XInputExtension
[  5988.672] Initializing built-in extension XTEST
[  5988.672] Initializing built-in extension BIG-REQUESTS
[  5988.672] Initializing built-in extension SYNC
[  5988.672] Initializing built-in extension XKEYBOARD
[  5988.672] Initializing built-in extension XC-MISC
[  5988.672] Initializing built-in extension SECURITY
[  5988.672] Initializing built-in extension XINERAMA
[  5988.672] Initializing built-in extension XFIXES
[  5988.672] Initializing built-in extension RENDER
[  5988.672] Initializing built-in extension RANDR
[  5988.672] Initializing built-in extension COMPOSITE
[  5988.672] Initializing built-in extension DAMAGE
[  5988.672] Initializing built-in extension MIT-SCREEN-SAVER
[  5988.672] Initializing built-in extension DOUBLE-BUFFER
[  5988.672] Initializing built-in extension RECORD
[  5988.672] Initializing built-in extension DPMS
[  5988.672] Initializing built-in extension Present
[  5988.672] Initializing built-in extension DRI3
[  5988.672] Initializing built-in extension X-Resource
[  5988.672] Initializing built-in extension XVideo
[  5988.672] Initializing built-in extension XVideo-MotionCompensation
[  5988.672] Initializing built-in extension XFree86-VidModeExtension
[  5988.672] Initializing built-in extension XFree86-DGA
[  5988.672] Initializing built-in extension XFree86-DRI
[  5988.672] Initializing built-in extension DRI2
[  5988.672] (II) "glx" will be loaded by default.
[  5988.672] (II) LoadModule: "dri2"
[  5988.672] (II) Module "dri2" already built-in
[  5988.672] (II) LoadModule: "glamoregl"
[  5988.672] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  5988.685] (II) Module glamoregl: vendor="X.Org Foundation"
[  5988.685]    compiled for 1.15.0, module version = 0.6.0
[  5988.685]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5988.685] (II) LoadModule: "glx"
[  5988.685] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[  5988.687] (II) Module glx: vendor="NVIDIA Corporation"
[  5988.687]    compiled for 4.0.2, module version = 1.0.0
[  5988.687]    Module class: X.Org Server Extension
[  5988.687] (II) NVIDIA GLX Module  334.21  Thu Feb 27 13:54:04 PST 2014
[  5988.687] Loading extension GLX
[  5988.687] (II) LoadModule: "nvidia"
[  5988.687] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  5988.688] (II) Module nvidia: vendor="NVIDIA Corporation"
[  5988.688]    compiled for 4.0.2, module version = 1.0.0
[  5988.688]    Module class: X.Org Video Driver
[  5988.688] (II) LoadModule: "mouse"
[  5988.688] (WW) Warning, couldn't open module mouse
[  5988.688] (II) UnloadModule: "mouse"
[  5988.688] (II) Unloading mouse
[  5988.688] (EE) Failed to load module "mouse" (module does not exist, 0)
[  5988.688] (II) LoadModule: "kbd"
[  5988.688] (WW) Warning, couldn't open module kbd
[  5988.688] (II) UnloadModule: "kbd"
[  5988.688] (II) Unloading kbd
[  5988.688] (EE) Failed to load module "kbd" (module does not exist, 0)
[  5988.688] (II) NVIDIA dlloader X Driver  334.21  Thu Feb 27 13:34:35 PST 2014
[  5988.688] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  5988.688] (--) using VT number 7

[  5988.688] (II) Loading sub module "fb"
[  5988.688] (II) LoadModule: "fb"
[  5988.688] (II) Loading /usr/lib/xorg/modules/libfb.so
[  5988.688] (II) Module fb: vendor="X.Org Foundation"
[  5988.688]    compiled for 1.15.0, module version = 1.0.0
[  5988.688]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5988.688] (WW) Unresolved symbol: fbGetGCPrivateKey
[  5988.688] (II) Loading sub module "wfb"
[  5988.688] (II) LoadModule: "wfb"
[  5988.688] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  5988.689] (II) Module wfb: vendor="X.Org Foundation"
[  5988.689]    compiled for 1.15.0, module version = 1.0.0
[  5988.689]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5988.689] (II) Loading sub module "ramdac"
[  5988.689] (II) LoadModule: "ramdac"
[  5988.689] (II) Module "ramdac" already built-in
[  5988.689] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  5988.689] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  5988.689] (==) NVIDIA(0): RGB weight 888
[  5988.689] (==) NVIDIA(0): Default visual is TrueColor
[  5988.689] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  5988.689] (**) NVIDIA(0): Option "NoLogo" "true"
[  5988.689] (**) NVIDIA(0): Option "UseEDID" "false"
[  5988.689] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[  5988.689] (**) NVIDIA(0): Enabling 2D acceleration
[  5988.689] (**) NVIDIA(0): Ignoring EDIDs
[  5988.689] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[  5988.689] (**) NVIDIA(0):     mode
[  5989.153] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[  5989.154] (II) NVIDIA(0): NVIDIA GPU GeForce GT 750M (GK107) at PCI:2:0:0 (GPU-0)
[  5989.154] (--) NVIDIA(0): Memory: 2097152 kBytes
[  5989.154] (--) NVIDIA(0): VideoBIOS: 80.07.b3.00.10
[  5989.154] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  5989.154] (--) NVIDIA(0): Valid display device(s) on GeForce GT 750M at PCI:2:0:0
[  5989.154] (--) NVIDIA(0):     none
[  5989.154] (II) NVIDIA(0): Validated MetaModes:
[  5989.154] (II) NVIDIA(0):     "NULL"
[  5989.154] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  5989.154] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[  5989.154] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  5989.154] (--) Depth 24 pixmap format is 32 bpp
[  5989.154] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[  5989.154] (II) NVIDIA:     access.
[  5989.157] (II) NVIDIA(0): Setting mode "NULL"
[  5989.157] (EE) NVIDIA(0): Failed to initiate mode change.
[  5989.157] (EE) NVIDIA(0): Failed to complete mode change
[  5989.164] Loading extension NV-GLX
[  5989.167] (==) NVIDIA(0): Disabling shared memory pixmaps
[  5989.167] (==) NVIDIA(0): Backing store enabled
[  5989.167] (==) NVIDIA(0): Silken mouse enabled
[  5989.167] (==) NVIDIA(0): DPMS enabled
[  5989.167] Loading extension NV-CONTROL
[  5989.167] (II) Loading sub module "dri2"
[  5989.167] (II) LoadModule: "dri2"
[  5989.167] (II) Module "dri2" already built-in
[  5989.167] (II) NVIDIA(0): [DRI2] Setup complete
[  5989.167] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  5989.167] (--) RandR disabled
[  5989.171] (II) Initializing extension GLX
[  5989.197] (II) LoadModule: "mouse"
[  5989.197] (WW) Warning, couldn't open module mouse
[  5989.197] (II) UnloadModule: "mouse"
[  5989.197] (II) Unloading mouse
[  5989.197] (EE) Failed to load module "mouse" (module does not exist, 0)
[  5989.197] (EE) No input driver matching `mouse'
[  5989.197] (II) LoadModule: "kbd"
[  5989.197] (WW) Warning, couldn't open module kbd
[  5989.197] (II) UnloadModule: "kbd"
[  5989.197] (II) Unloading kbd
[  5989.197] (EE) Failed to load module "kbd" (module does not exist, 0)
[  5989.197] (EE) No input driver matching `kbd'
[  5989.198] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding drm device (/dev/dri/card1)
[  5989.198] (II) config/udev: Adding drm device (/dev/dri/card0)
[  5989.198] (II) xfree86: Adding drm device (/dev/dri/card0)
[  5989.198] setversion 1.4 failed: Permission denied
[  5989.198] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.198] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
[  5989.198] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event12)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device SYNAPTICS Synaptics Large Touch Screen (/dev/input/event1)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device SYNAPTICS Synaptics Large Touch Screen (/dev/input/mouse0)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event7)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event9)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.199] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[  5989.199] (II) AutoAddDevices is off - not adding device.
[  5989.200] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event8)
[  5989.200] (II) AutoAddDevices is off - not adding device.
[  5989.326] (II) NVIDIA(GPU-0): Deleting GPU-0
[  5989.326] (EE) Server terminated successfully (0). Closing log file.
[ 5994.698166] vgaarb: this pci device is not a vga device
[ 5994.698453] nvidia 0000:02:00.0: irq 54 for MSI/MSI-X
[ 5994.705014] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705059] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705082] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705102] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705122] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705142] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705175] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705196] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5994.705506] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5995.164031] vgaarb: this pci device is not a vga device
[ 5995.358923] [drm] Module unloaded
[ 5995.360158] bbswitch: disabling discrete graphics
[ 5995.360173] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 5995.372319] pci 0000:02:00.0: Refused to change power state, currently in D0

I suspect that the fact the card is not going off and the module is not being unloaded are the reason for this. I’ve tried to manually turn on the card, and even manually modprobe nvidia, but with no result.

ArchangeGabriel commented 10 years ago

Solved adding rcutree.rcu_idle_gp_delay=1 to cmdline, so duplicate of #455 even on 3.12 and 3.13.

ArchangeGabriel commented 10 years ago

This issue is back again since update to kernel 3.14.

snj33v commented 10 years ago

@ArchangeGabriel strange ,i haven't noticed any crash in kernel 3.14, only warnings i seen as

primus: warning: dropping a frame to avoid deadlock
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 40 requests (40 known processed) with 0 events remaining.
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker

after each time i run a application(GL)

ArchangeGabriel commented 10 years ago

That’s normal (the error message). I’ve retested again, and it works. Dunno what was wrong.