Bumblebee-Project / Bumblebee

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

[XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied #652

Closed HalisCz closed 8 years ago

HalisCz commented 9 years ago

I am using Gentoo with bumblebee-3.2.1 and NVIDIA Corporation GF119M Quadro NVS 4200M When I try to run:

halis@eleanor ~ $ optirun -vv glxgears -info

I'll get:

[164131.190439] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[164131.191012] [INFO]Configured driver: nvidia
[164131.191302] [DEBUG]optirun version 3.2.1 starting...
[164131.191343] [DEBUG]Active configuration:
[164131.191382] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[164131.191414] [DEBUG] X display: :8
[164131.191473] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib
[164131.191503] [DEBUG] Socket path: /var/run/bumblebee.socket
[164131.191534] [DEBUG] Accel/display bridge: auto
[164131.191564] [DEBUG] VGL Compression: proxy
[164131.191594] [DEBUG] VGLrun extra options: 
[164131.191624] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[164131.191698] [DEBUG]Using auto-detected bridge virtualgl
[164131.287786] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[164131.287803] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[164131.287807] [DEBUG]Socket closed.
[164131.287823] [ERROR]Aborting because fallback start is disabled.
[164131.287829] [DEBUG]Killing all remaining processes.

Here is dmesg:

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.11-gentoo-eleanor12 (root@eleanor) (gcc version 4.8.4 (Gentoo 4.8.4 p1.4, pie-0.6.1) ) #1 SMP Sat Apr 11 01:30:48 CEST 2015
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.18.11-gentoo-eleanor12 root=/dev/sdb1 ro
[    0.000000] Disabled fast string operations
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000ba99efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000ba99f000-0x00000000bae9efff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bae9f000-0x00000000baf9efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000baf9f000-0x00000000baffefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000bafff000-0x00000000baffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bb000000-0x00000000bf9fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffd20000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000033e5fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000033e600000-0x000000033e7fffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: LENOVO 41786VU/41786VU, BIOS 83ET66WW (1.36 ) 10/31/2011
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x33e600 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0FFC00000 mask FFFC00000 write-protect
[    0.000000]   1 base 000000000 mask F80000000 write-back
[    0.000000]   2 base 080000000 mask FC0000000 write-back
[    0.000000]   3 base 0BC000000 mask FFC000000 uncachable
[    0.000000]   4 base 0BB000000 mask FFF000000 uncachable
[    0.000000]   5 base 100000000 mask F00000000 write-back
[    0.000000]   6 base 200000000 mask F00000000 write-back
[    0.000000]   7 base 300000000 mask FC0000000 write-back
[    0.000000]   8 base 33F000000 mask FFF000000 uncachable
[    0.000000]   9 base 33E800000 mask FFF800000 uncachable
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] e820: last_pfn = 0xbb000 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
[    0.000000] reserving inaccessible SNB gfx pages
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] BRK [0x0297b000, 0x0297bfff] PGTABLE
[    0.000000] BRK [0x0297c000, 0x0297cfff] PGTABLE
[    0.000000] BRK [0x0297d000, 0x0297dfff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x33e400000-0x33e5fffff]
[    0.000000]  [mem 0x33e400000-0x33e5fffff] page 2M
[    0.000000] BRK [0x0297e000, 0x0297efff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x33c000000-0x33e3fffff]
[    0.000000]  [mem 0x33c000000-0x33e3fffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x300000000-0x33bffffff]
[    0.000000]  [mem 0x300000000-0x33bffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x00100000-0x1fffffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x1fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x20200000-0x3fffffff]
[    0.000000]  [mem 0x20200000-0x3fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x40200000-0xba99efff]
[    0.000000]  [mem 0x40200000-0xba7fffff] page 2M
[    0.000000]  [mem 0xba800000-0xba99efff] page 4k
[    0.000000] BRK [0x0297f000, 0x0297ffff] PGTABLE
[    0.000000] BRK [0x02980000, 0x02980fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0xbafff000-0xbaffffff]
[    0.000000]  [mem 0xbafff000-0xbaffffff] page 4k
[    0.000000] init_memory_mapping: [mem 0x100000000-0x2ffffffff]
[    0.000000]  [mem 0x100000000-0x2ffffffff] page 2M
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F00E0 000024 (v02 LENOVO)
[    0.000000] ACPI: XSDT 0x00000000BAFFE120 0000AC (v01 LENOVO TP-83    00001360 PTEC 00000002)
[    0.000000] ACPI: FACP 0x00000000BAFE8000 0000F4 (v04 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: DSDT 0x00000000BAFEB000 00E40B (v01 LENOVO TP-83    00001360 INTL 20061109)
[    0.000000] ACPI: FACS 0x00000000BAF2D000 000040
[    0.000000] ACPI: SLIC 0x00000000BAFFD000 000176 (v01 LENOVO TP-83    00001360 PTEC 00000001)
[    0.000000] ACPI: SSDT 0x00000000BAFFC000 000249 (v01 LENOVO TP-SSDT2 00000200 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000BAFFB000 000033 (v01 LENOVO TP-SSDT1 00000100 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000BAFFA000 000797 (v01 LENOVO SataAhci 00001000 INTL 20061109)
[    0.000000] ACPI: HPET 0x00000000BAFE7000 000038 (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: APIC 0x00000000BAFE6000 000098 (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: MCFG 0x00000000BAFE5000 00003C (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: ECDT 0x00000000BAFE4000 000052 (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: ASF! 0x00000000BAFEA000 0000A5 (v32 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: TCPA 0x00000000BAFE3000 000032 (v02 PTL    LENOVO   06040000 LNVO 00000001)
[    0.000000] ACPI: SSDT 0x00000000BAFE2000 000A27 (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000BAFE1000 000996 (v01 PmRef  CpuPm    00003000 INTL 20061109)
[    0.000000] ACPI: DMAR 0x00000000BAFE0000 0000E8 (v01 INTEL  SNB      00000001 INTL 00000001)
[    0.000000] ACPI: UEFI 0x00000000BAFDF000 00003E (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: UEFI 0x00000000BAFDE000 000042 (v01 PTL    COMBUF   00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0x00000000BAFDD000 000292 (v01 LENOVO TP-83    00001360 PTL  00000002)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000033e5fffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x33e5f2000-0x33e5f5fff]
[    0.000000]  [ffffea0000000000-ffffea000cffffff] PMD -> [ffff880331c00000-ffff88033dbfffff] on node 0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   [mem 0x100000000-0x33e5fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009cfff]
[    0.000000]   node   0: [mem 0x00100000-0x1fffffff]
[    0.000000]   node   0: [mem 0x20200000-0x3fffffff]
[    0.000000]   node   0: [mem 0x40200000-0xba99efff]
[    0.000000]   node   0: [mem 0xbafff000-0xbaffffff]
[    0.000000]   node   0: [mem 0x100000000-0x33e5fffff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x33e5fffff]
[    0.000000] On node 0 totalpages: 3115836
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 156 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 11863 pages used for memmap
[    0.000000]   DMA32 zone: 759200 pages, LIFO batch:31
[    0.000000]   Normal zone: 36760 pages used for memmap
[    0.000000]   Normal zone: 2352640 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics stolen memory at 0xbba00000-0xbf9fffff
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[    0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x40000000-0x401fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xba99f000-0xbae9efff]
[    0.000000] PM: Registered nosave memory: [mem 0xbae9f000-0xbaf9efff]
[    0.000000] PM: Registered nosave memory: [mem 0xbaf9f000-0xbaffefff]
[    0.000000] PM: Registered nosave memory: [mem 0xbb000000-0xbf9fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xbfa00000-0xf7ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed07fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed08fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed09000-0xfed0ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffd1ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xffd20000-0xffffffff]
[    0.000000] e820: [mem 0xbfa00000-0xf7ffffff] available for PCI devices
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:8 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88033e200000 s75584 r8192 d30912 u262144
[    0.000000] pcpu-alloc: s75584 r8192 d30912 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 3066993
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.11-gentoo-eleanor12 root=/dev/sdb1 ro
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 12172836K/12463344K available (14663K kernel code, 1320K rwdata, 5596K rodata, 1212K init, 972K bss, 290508K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS:4352 nr_irqs:488 0
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] allocated 50331648 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2491.956 MHz processor
[    0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4983.91 BogoMIPS (lpj=2491956)
[    0.000147] pid_max: default: 32768 minimum: 301
[    0.000232] ACPI: Core revision 20140926
[    0.009356] ACPI: All ACPI Tables successfully acquired
[    0.010395] Security Framework initialized
[    0.010469] SELinux:  Initializing.
[    0.010541] SELinux:  Starting in permissive mode
[    0.011461] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.014737] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.016218] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.016326] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.016633] Initializing cgroup subsys memory
[    0.016710] Initializing cgroup subsys devices
[    0.016782] Initializing cgroup subsys freezer
[    0.016855] Initializing cgroup subsys net_cls
[    0.016926] Initializing cgroup subsys perf_event
[    0.017014] Disabled fast string operations
[    0.017087] CPU: Physical Processor ID: 0
[    0.017158] CPU: Processor Core ID: 0
[    0.017240] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.017352] mce: CPU supports 7 MCE banks
[    0.017923] CPU0: Thermal monitoring enabled (TM1)
[    0.018002] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.018272] Freeing SMP alternatives memory: 48K (ffffffff8287a000 - ffffffff82886000)
[    0.018843] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.028920] smpboot: CPU0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (fam: 06, model: 2a, stepping: 07)
[    0.029147] TSC deadline timer enabled
[    0.029166] Performance Events: PEBS fmt1+, 16-deep LBR, SandyBridge events, full-width counters, Intel PMU driver.
[    0.029483] perf_event_intel: PEBS disabled due to CPU errata, please upgrade microcode
[    0.029586] ... version:                3
[    0.029656] ... bit width:              48
[    0.029727] ... generic registers:      4
[    0.029798] ... value mask:             0000ffffffffffff
[    0.029871] ... max period:             0000ffffffffffff
[    0.029944] ... fixed-purpose events:   3
[    0.030014] ... event mask:             000000070000000f
[    0.030375] x86: Booting SMP configuration:
[    0.030447] .... node  #0, CPUs:      #1
[    0.041602] Disabled fast string operations
[    0.043780]  #2
[    0.055088] Disabled fast string operations
[    0.068460]  #3
[    0.068461] Disabled fast string operations
[    0.070567] x86: Booted up 1 node, 4 CPUs
[    0.070779] smpboot: Total of 4 processors activated (19935.64 BogoMIPS)
[    0.073562] devtmpfs: initialized
[    0.073813] PM: Registering ACPI NVS region [mem 0xbae9f000-0xbaf9efff] (1048576 bytes)
[    0.074021] kworker/u16:0 (26) used greatest stack depth: 14040 bytes left
[    0.074184] xor: automatically using best checksumming function:
[    0.083408]    avx       : 17324.000 MB/sec
[    0.083508] RTC time:  4:15:28, date: 04/16/15
[    0.083656] NET: Registered protocol family 16
[    0.091455] cpuidle: using governor ladder
[    0.098464] cpuidle: using governor menu
[    0.098639] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.098742] ACPI: bus type PCI registered
[    0.099035] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.099141] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.099270] PCI: Using configuration type 1 for base access
[    0.124512] raid6: sse2x1    6675 MB/s
[    0.141520] raid6: sse2x2    8324 MB/s
[    0.158538] raid6: sse2x4    9593 MB/s
[    0.158610] raid6: using algorithm sse2x4 (9593 MB/s)
[    0.158683] raid6: using ssse3x2 recovery algorithm
[    0.158822] ACPI: Added _OSI(Module Device)
[    0.158896] ACPI: Added _OSI(Processor Device)
[    0.158968] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.159039] ACPI: Added _OSI(Processor Aggregator Device)
[    0.160449] ACPI : EC: EC description table is found, configuring boot EC
[    0.164038] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.182352] ACPI: Dynamic OEM Table Load:
[    0.182512] ACPI: SSDT 0xFFFF88032C55A000 0008C0 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
[    0.187922] ACPI: Dynamic OEM Table Load:
[    0.188077] ACPI: SSDT 0xFFFF88032CF9D800 000303 (v01 PmRef  ApIst    00003000 INTL 20061109)
[    0.193826] ACPI: Dynamic OEM Table Load:
[    0.193979] ACPI: SSDT 0xFFFF88032C4E4A00 000119 (v01 PmRef  ApCst    00003000 INTL 20061109)
[    0.200233] ACPI: Interpreter enabled
[    0.200309] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140926/hwxface-580)
[    0.200494] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-580)
[    0.200686] ACPI: (supports S0 S3 S4 S5)
[    0.200760] ACPI: Using IOAPIC for interrupt routing
[    0.200857] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.209223] ACPI: Power Resource [PUBS] (on)
[    0.209973] acpi PNP0C0A:01: ACPI dock station (docks/bays count: 1)
[    0.210770] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 2)
[    0.212666] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    0.213199] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[    0.213724] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
[    0.214249] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11)
[    0.214774] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11)
[    0.215297] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.215928] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 *7 9 10 11)
[    0.216453] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 *7 9 10 11)
[    0.216992] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.217070] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.217311] acpi PNP0A08:00: _OSC: platform does not support [PCIeCapability]
[    0.217448] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
[    0.217555] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER PCIeCapability]
[    0.217657] acpi PNP0A08:00: _OSC: platform willing to grant [PCIeHotplug PME AER]
[    0.217760] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[    0.217859] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.217987] PCI host bridge to bus 0000:00
[    0.218060] pci_bus 0000:00: root bus resource [bus 00-fe]
[    0.218135] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.218211] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.218286] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.218361] pci_bus 0000:00: root bus resource [mem 0xbfa00000-0xfebfffff]
[    0.218437] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed4bfff]
[    0.218520] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000
[    0.218589] pci 0000:00:01.0: [8086:0101] type 01 class 0x060400
[    0.218621] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.218678] pci 0000:00:02.0: [8086:0126] type 00 class 0x030000
[    0.218688] pci 0000:00:02.0: reg 0x10: [mem 0xf1400000-0xf17fffff 64bit]
[    0.218694] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.218698] pci 0000:00:02.0: reg 0x20: [io  0x6000-0x603f]
[    0.218783] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000
[    0.218807] pci 0000:00:16.0: reg 0x10: [mem 0xf3925000-0xf392500f 64bit]
[    0.218884] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[    0.218943] pci 0000:00:16.3: [8086:1c3d] type 00 class 0x070002
[    0.218962] pci 0000:00:16.3: reg 0x10: [io  0x60b0-0x60b7]
[    0.218972] pci 0000:00:16.3: reg 0x14: [mem 0xf392c000-0xf392cfff]
[    0.219103] pci 0000:00:19.0: [8086:1502] type 00 class 0x020000
[    0.219121] pci 0000:00:19.0: reg 0x10: [mem 0xf3900000-0xf391ffff]
[    0.219130] pci 0000:00:19.0: reg 0x14: [mem 0xf392b000-0xf392bfff]
[    0.219138] pci 0000:00:19.0: reg 0x18: [io  0x6080-0x609f]
[    0.219202] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
[    0.219230] pci 0000:00:19.0: System wakeup disabled by ACPI
[    0.219340] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320
[    0.219361] pci 0000:00:1a.0: reg 0x10: [mem 0xf392a000-0xf392a3ff]
[    0.219452] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[    0.219481] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.219591] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300
[    0.219607] pci 0000:00:1b.0: reg 0x10: [mem 0xf3920000-0xf3923fff 64bit]
[    0.219683] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.219714] pci 0000:00:1b.0: System wakeup disabled by ACPI
[    0.219826] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400
[    0.219955] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.220030] pci 0000:00:1c.1: [8086:1c12] type 01 class 0x060400
[    0.220168] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.220241] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400
[    0.220375] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[    0.220413] pci 0000:00:1c.3: System wakeup disabled by ACPI
[    0.220523] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400
[    0.220662] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[    0.220740] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320
[    0.220762] pci 0000:00:1d.0: reg 0x10: [mem 0xf3929000-0xf39293ff]
[    0.220852] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.220881] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.220989] pci 0000:00:1f.0: [8086:1c4f] type 00 class 0x060100
[    0.221147] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601
[    0.221165] pci 0000:00:1f.2: reg 0x10: [io  0x60a8-0x60af]
[    0.221173] pci 0000:00:1f.2: reg 0x14: [io  0x60bc-0x60bf]
[    0.221181] pci 0000:00:1f.2: reg 0x18: [io  0x60a0-0x60a7]
[    0.221188] pci 0000:00:1f.2: reg 0x1c: [io  0x60b8-0x60bb]
[    0.221196] pci 0000:00:1f.2: reg 0x20: [io  0x6060-0x607f]
[    0.221204] pci 0000:00:1f.2: reg 0x24: [mem 0xf3928000-0xf39287ff]
[    0.221250] pci 0000:00:1f.2: PME# supported from D3hot
[    0.221304] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500
[    0.221320] pci 0000:00:1f.3: reg 0x10: [mem 0xf3924000-0xf39240ff 64bit]
[    0.221340] pci 0000:00:1f.3: reg 0x20: [io  0xefa0-0xefbf]
[    0.221442] pci 0000:01:00.0: [10de:1057] type 00 class 0x030000
[    0.221455] pci 0000:01:00.0: reg 0x10: [mem 0xf0000000-0xf0ffffff]
[    0.221467] pci 0000:01:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref]
[    0.221480] pci 0000:01:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref]
[    0.221487] pci 0000:01:00.0: reg 0x24: [io  0x5000-0x507f]
[    0.221495] pci 0000:01:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[    0.223020] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.223125] pci 0000:00:01.0:   bridge window [io  0x5000-0x5fff]
[    0.223138] pci 0000:00:01.0:   bridge window [mem 0xf0000000-0xf10fffff]
[    0.223141] pci 0000:00:01.0:   bridge window [mem 0xc0000000-0xd1ffffff 64bit pref]
[    0.223216] pci 0000:00:1c.0: PCI bridge to [bus 02]
[    0.223528] pci 0000:03:00.0: [8086:0085] type 00 class 0x028000
[    0.223688] pci 0000:03:00.0: reg 0x10: [mem 0xf3800000-0xf3801fff 64bit]
[    0.224385] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    0.226165] pci 0000:00:1c.1: PCI bridge to [bus 03]
[    0.226246] pci 0000:00:1c.1:   bridge window [mem 0xf3800000-0xf38fffff]
[    0.226333] pci 0000:00:1c.3: PCI bridge to [bus 05-0c]
[    0.226410] pci 0000:00:1c.3:   bridge window [io  0x4000-0x4fff]
[    0.226415] pci 0000:00:1c.3:   bridge window [mem 0xf3000000-0xf37fffff]
[    0.226423] pci 0000:00:1c.3:   bridge window [mem 0xf1800000-0xf1ffffff 64bit pref]
[    0.226568] pci 0000:0d:00.0: [1180:e822] type 00 class 0x088001
[    0.226598] pci 0000:0d:00.0: reg 0x10: [mem 0xf2801000-0xf28010ff]
[    0.226812] pci 0000:0d:00.0: supports D1 D2
[    0.226813] pci 0000:0d:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.226943] pci 0000:0d:00.3: [1180:e832] type 00 class 0x0c0010
[    0.226974] pci 0000:0d:00.3: reg 0x10: [mem 0xf2800000-0xf28007ff]
[    0.227181] pci 0000:0d:00.3: supports D1 D2
[    0.227182] pci 0000:0d:00.3: PME# supported from D0 D1 D2 D3hot D3cold
[    0.229102] pci 0000:00:1c.4: PCI bridge to [bus 0d]
[    0.229201] pci 0000:00:1c.4:   bridge window [io  0x3000-0x3fff]
[    0.229206] pci 0000:00:1c.4:   bridge window [mem 0xf2800000-0xf2ffffff]
[    0.229214] pci 0000:00:1c.4:   bridge window [mem 0xf2000000-0xf27fffff 64bit pref]
[    0.230117] ACPI: Enabled 4 GPEs in block 00 to 3F
[    0.230321] ACPI : EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
[    0.230465] vgaarb: setting as boot device: PCI:0000:00:02.0
[    0.230539] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.230646] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
[    0.230749] vgaarb: loaded
[    0.230818] vgaarb: bridge control possible 0000:01:00.0
[    0.230891] vgaarb: no bridge control possible 0000:00:02.0
[    0.231035] SCSI subsystem initialized
[    0.231151] libata version 3.00 loaded.
[    0.231189] ACPI: bus type USB registered
[    0.231285] usbcore: registered new interface driver usbfs
[    0.231367] usbcore: registered new interface driver hub
[    0.231455] usbcore: registered new device driver usb
[    0.231554] Linux video capture interface: v2.00
[    0.231634] pps_core: LinuxPPS API ver. 1 registered
[    0.231707] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.231816] PTP clock support registered
[    0.231995] Advanced Linux Sound Architecture Driver Initialized.
[    0.232084] PCI: Using ACPI for IRQ routing
[    0.233857] PCI: pci_cache_line_size set to 64 bytes
[    0.234052] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
[    0.234054] e820: reserve RAM buffer [mem 0xba99f000-0xbbffffff]
[    0.234055] e820: reserve RAM buffer [mem 0xbb000000-0xbbffffff]
[    0.234056] e820: reserve RAM buffer [mem 0x33e600000-0x33fffffff]
[    0.234162] Bluetooth: Core ver 2.19
[    0.234240] NET: Registered protocol family 31
[    0.234311] Bluetooth: HCI device and connection manager initialized
[    0.234387] Bluetooth: HCI socket layer initialized
[    0.234460] Bluetooth: L2CAP socket layer initialized
[    0.234537] Bluetooth: SCO socket layer initialized
[    0.234673] cfg80211: Calling CRDA to update world regulatory domain
[    0.234761] NetLabel: Initializing
[    0.234832] NetLabel:  domain hash size = 128
[    0.234902] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.234985] NetLabel:  unlabeled traffic allowed by default
[    0.235152] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.235584] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.237688] Switched to clocksource hpet
[    0.244817] FS-Cache: Loaded
[    0.246861] pnp: PnP ACPI init
[    0.247268] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.247349] system 00:00: [mem 0x000c0000-0x000c3fff] could not be reserved
[    0.247426] system 00:00: [mem 0x000c4000-0x000c7fff] could not be reserved
[    0.247503] system 00:00: [mem 0x000c8000-0x000cbfff] has been reserved
[    0.247578] system 00:00: [mem 0x000cc000-0x000cffff] has been reserved
[    0.247655] system 00:00: [mem 0x000d0000-0x000d3fff] has been reserved
[    0.247755] system 00:00: [mem 0x000d4000-0x000d7fff] has been reserved
[    0.247832] system 00:00: [mem 0x000d8000-0x000dbfff] has been reserved
[    0.247908] system 00:00: [mem 0x000dc000-0x000dffff] has been reserved
[    0.247983] system 00:00: [mem 0x000e0000-0x000e3fff] could not be reserved
[    0.248059] system 00:00: [mem 0x000e4000-0x000e7fff] could not be reserved
[    0.248135] system 00:00: [mem 0x000e8000-0x000ebfff] could not be reserved
[    0.248211] system 00:00: [mem 0x000ec000-0x000effff] could not be reserved
[    0.248287] system 00:00: [mem 0x000f0000-0x000fffff] could not be reserved
[    0.248363] system 00:00: [mem 0x00100000-0xbf9fffff] could not be reserved
[    0.248438] system 00:00: [mem 0xfec00000-0xfed3ffff] could not be reserved
[    0.248514] system 00:00: [mem 0xfed4c000-0xffffffff] could not be reserved
[    0.248591] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.248686] system 00:01: [io  0x0400-0x047f] could not be reserved
[    0.248783] system 00:01: [io  0x0500-0x057f] has been reserved
[    0.248858] system 00:01: [io  0x0800-0x080f] has been reserved
[    0.248932] system 00:01: [io  0x15e0-0x15ef] has been reserved
[    0.249006] system 00:01: [io  0x1600-0x167f] has been reserved
[    0.249082] system 00:01: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.249157] system 00:01: [mem 0x00000000-0x00000fff] could not be reserved
[    0.249233] system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.249309] system 00:01: [mem 0xfed10000-0xfed13fff] has been reserved
[    0.249386] system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.249967] system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.250043] system 00:01: [mem 0xfed45000-0xfed4bfff] has been reserved
[    0.250119] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.250170] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.250201] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.250231] pnp 00:04: Plug and Play ACPI device, IDs LEN0015 PNP0f13 (active)
[    0.250278] pnp 00:05: Plug and Play ACPI device, IDs SMO1200 PNP0c31 (active)
[    0.250719] pnp: PnP ACPI: found 6 devices
[    0.255372] pci 0000:01:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window
[    0.255531] pci 0000:01:00.0: BAR 6: assigned [mem 0xf1000000-0xf107ffff pref]
[    0.255633] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.255718] pci 0000:00:01.0:   bridge window [io  0x5000-0x5fff]
[    0.255794] pci 0000:00:01.0:   bridge window [mem 0xf0000000-0xf10fffff]
[    0.255870] pci 0000:00:01.0:   bridge window [mem 0xc0000000-0xd1ffffff 64bit pref]
[    0.255975] pci 0000:00:1c.0: PCI bridge to [bus 02]
[    0.256063] pci 0000:00:1c.1: PCI bridge to [bus 03]
[    0.256141] pci 0000:00:1c.1:   bridge window [mem 0xf3800000-0xf38fffff]
[    0.256228] pci 0000:00:1c.3: PCI bridge to [bus 05-0c]
[    0.256303] pci 0000:00:1c.3:   bridge window [io  0x4000-0x4fff]
[    0.256382] pci 0000:00:1c.3:   bridge window [mem 0xf3000000-0xf37fffff]
[    0.256462] pci 0000:00:1c.3:   bridge window [mem 0xf1800000-0xf1ffffff 64bit pref]
[    0.256570] pci 0000:00:1c.4: PCI bridge to [bus 0d]
[    0.256644] pci 0000:00:1c.4:   bridge window [io  0x3000-0x3fff]
[    0.256738] pci 0000:00:1c.4:   bridge window [mem 0xf2800000-0xf2ffffff]
[    0.256818] pci 0000:00:1c.4:   bridge window [mem 0xf2000000-0xf27fffff 64bit pref]
[    0.256928] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
[    0.256930] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
[    0.256931] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[    0.256933] pci_bus 0000:00: resource 7 [mem 0xbfa00000-0xfebfffff]
[    0.256934] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed4bfff]
[    0.256935] pci_bus 0000:01: resource 0 [io  0x5000-0x5fff]
[    0.256937] pci_bus 0000:01: resource 1 [mem 0xf0000000-0xf10fffff]
[    0.256938] pci_bus 0000:01: resource 2 [mem 0xc0000000-0xd1ffffff 64bit pref]
[    0.256940] pci_bus 0000:03: resource 1 [mem 0xf3800000-0xf38fffff]
[    0.256941] pci_bus 0000:05: resource 0 [io  0x4000-0x4fff]
[    0.256942] pci_bus 0000:05: resource 1 [mem 0xf3000000-0xf37fffff]
[    0.256944] pci_bus 0000:05: resource 2 [mem 0xf1800000-0xf1ffffff 64bit pref]
[    0.256945] pci_bus 0000:0d: resource 0 [io  0x3000-0x3fff]
[    0.256947] pci_bus 0000:0d: resource 1 [mem 0xf2800000-0xf2ffffff]
[    0.256948] pci_bus 0000:0d: resource 2 [mem 0xf2000000-0xf27fffff 64bit pref]
[    0.256973] NET: Registered protocol family 2
[    0.257252] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.257589] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.257800] TCP: Hash tables configured (established 131072 bind 65536)
[    0.257898] TCP: reno registered
[    0.257985] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.258115] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.258281] NET: Registered protocol family 1
[    0.258430] RPC: Registered named UNIX socket transport module.
[    0.258504] RPC: Registered udp transport module.
[    0.258576] RPC: Registered tcp transport module.
[    0.258647] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.258767] pci 0000:00:02.0: Video device with shadowed ROM
[    0.259105] PCI: CLS 64 bytes, default 64
[    0.259157] dmar: Host address width 36
[    0.259229] dmar: DRHD base: 0x000000fed90000 flags: 0x0
[    0.259308] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
[    0.259411] dmar: DRHD base: 0x000000fed91000 flags: 0x1
[    0.259487] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
[    0.259590] dmar: RMRR base: 0x000000bacd5000 end: 0x000000bacebfff
[    0.259664] dmar: RMRR base: 0x000000bb800000 end: 0x000000bf9fffff
[    0.259760] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.259836] software IO TLB [mem 0xb699f000-0xba99f000] (64MB) mapped at [ffff8800b699f000-ffff8800ba99efff]
[    0.260271] RAPL PMU detected, hw unit 2^-16 Joules, API unit is 2^-32 Joules, 3 fixed counters 163840 ms ovfl timer
[    0.260418] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x23
[    0.260502] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x23
[    0.260581] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x23
[    0.260661] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x23
[    0.260774] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.261180] Scanning for low memory corruption every 60 seconds
[    0.262087] AVX version of gcm_enc/dec engaged.
[    0.262160] AES CTR mode by8 optimization enabled
[    0.262736] sha1_ssse3: Using AVX optimized SHA-1 implementation
[    0.262869] sha256_ssse3: Using AVX optimized SHA-256 implementation
[    0.263002] sha512_ssse3: Using AVX optimized SHA-512 implementation
[    0.264424] AVX2 or AES-NI instructions are not detected.
[    0.264500] AVX2 instructions are not detected.
[    0.264829] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.264955] audit: initializing netlink subsys (disabled)
[    0.265045] audit: type=2000 audit(1429157728.257:1): initialized
[    0.265460] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.267891] VFS: Disk quotas dquot_6.5.2
[    0.268000] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.268555] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.269036] NFS: Registering the id_resolver key type
[    0.269120] Key type id_resolver registered
[    0.269192] Key type id_legacy registered
[    0.269266] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.269344] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.269646] ntfs: driver 2.1.31 [Flags: R/W].
[    0.269881] fuse init (API version 7.23)
[    0.270106] JFS: nTxBlock = 8192, nTxLock = 65536
[    0.271288] SGI XFS with security attributes, no debug enabled
[    0.271805] ceph: loaded (mds proto 32)
[    0.271884] msgmni has been set to 23775
[    0.272016] SELinux:  Registering netfilter hooks
[    0.273812] NET: Registered protocol family 38
[    0.273933] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.274047] io scheduler noop registered
[    0.274120] io scheduler deadline registered
[    0.274219] io scheduler cfq registered (default)
[    0.274433] pcieport 0000:00:01.0: irq 24 for MSI/MSI-X
[    0.275014] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.275138] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.295984] 0000:00:16.3: ttyS0 at I/O 0x60b0 (irq = 19, base_baud = 115200) is a 16550A
[    0.296241] lp: driver loaded but no devices found
[    0.296441] Non-volatile memory driver v1.3
[    0.296521] Linux agpgart interface v0.103
[    0.296806] uvesafb: failed to execute /sbin/v86d
[    0.296881] uvesafb: make sure that the v86d helper is installed and executable
[    0.296983] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[    0.297057] uvesafb: vbe_init() failed with -22
[    0.297131] uvesafb: probe of uvesafb.0 failed with error -22
[    0.297805] ACPI: AC Adapter [AC] (on-line)
[    0.297933] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.298177] ACPI: Lid Switch [LID]
[    0.298279] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[    0.298388] ACPI: Sleep Button [SLPB]
[    0.298492] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    0.298597] ACPI: Power Button [PWRF]
[    0.299354] ACPI: acpi_idle registered with cpuidle
[    0.302591] thermal LNXTHERM:00: registered as thermal_zone0
[    0.302667] ACPI: Thermal Zone [THM0] (61 C)
[    0.302794] [drm] Initialized drm 1.1.0 20060810
[    0.303561] [drm] Memory usable by graphics device = 2048M
[    0.303652] [drm] Replacing VGA console driver
[    0.304406] Console: switching to colour dummy device 80x25
[    0.310810] i915 0000:00:02.0: irq 25 for MSI/MSI-X
[    0.310818] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.310821] [drm] Driver supports precise vblank timestamp query.
[    0.310919] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem
[    0.318146] ACPI: Battery Slot [BAT0] (battery present)
[    0.338040] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    0.340328] fbcon: inteldrmfb (fb0) is primary device
[    0.344760] acpi device:00: registered as cooling_device4
[    0.344833] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[    0.344916] ACPI: Video Device [VID1] (multi-head: yes  rom: yes  post: no)
[    0.345975] acpi device:0a: registered as cooling_device5
[    0.346046] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input4
[    0.346068] [drm] Initialized i915 1.6.0 20140905 for 0000:00:02.0 on minor 0
[    0.346889] loop: module loaded
[    0.346994] ahci 0000:00:1f.2: version 3.0
[    0.347105] ahci 0000:00:1f.2: irq 26 for MSI/MSI-X
[    0.347128] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
[    0.357816] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode
[    0.357823] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst 
[    0.364340] scsi host0: ahci
[    0.364459] scsi host1: ahci
[    0.364552] scsi host2: ahci
[    0.364643] scsi host3: ahci
[    0.364749] scsi host4: ahci
[    0.364849] scsi host5: ahci
[    0.364888] ata1: SATA max UDMA/133 abar m2048@0xf3928000 port 0xf3928100 irq 26
[    0.364890] ata2: SATA max UDMA/133 abar m2048@0xf3928000 port 0xf3928180 irq 26
[    0.364890] ata3: DUMMY
[    0.364892] ata4: SATA max UDMA/133 abar m2048@0xf3928000 port 0xf3928280 irq 26
[    0.364894] ata5: SATA max UDMA/133 abar m2048@0xf3928000 port 0xf3928300 irq 26
[    0.364895] ata6: DUMMY
[    0.365000] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.365490] tun: Universal TUN/TAP device driver, 1.6
[    0.365491] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.365553] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    0.365633] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    0.365655] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    0.365655] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.365672] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    0.365673] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.365691] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    0.365691] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[    0.365827] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    0.365842] e1000e 0000:00:19.0: irq 27 for MSI/MSI-X
[    0.561285] e1000e 0000:00:19.0 eth0: registered PHC clock
[    0.561287] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:21:cc:b7:62:18
[    0.561288] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    0.561341] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: 1000FF-0FF
[    0.561361] sky2: driver version 1.30
[    0.561411] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    0.561411] Copyright(c) 2003- 2014 Intel Corporation
[    0.561549] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    0.561717] iwlwifi 0000:03:00.0: irq 28 for MSI/MSI-X
[    0.562164] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    0.562205] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    0.562206] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    0.562207] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[    0.562208] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0
[    0.562321] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[    0.573634] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    0.573784] usbcore: registered new interface driver asix
[    0.573800] usbcore: registered new interface driver ax88179_178a
[    0.573810] usbcore: registered new interface driver cdc_ether
[    0.573819] usbcore: registered new interface driver cdc_eem
[    0.573828] usbcore: registered new interface driver net1080
[    0.573838] usbcore: registered new interface driver rndis_host
[    0.573848] usbcore: registered new interface driver cdc_subset
[    0.573858] usbcore: registered new interface driver zaurus
[    0.573872] usbcore: registered new interface driver cdc_ncm
[    0.626876] firewire_ohci 0000:0d:00.3: added OHCI v1.10 device as card 0, 4 IR + 4 IT contexts, quirks 0x11
[    0.627089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.627091] ehci-pci: EHCI PCI platform driver
[    0.627176] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.627221] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.627234] ehci-pci 0000:00:1a.0: debug port 2
[    0.631123] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    0.631135] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf392a000
[    0.636844] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.636932] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.636933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.636934] usb usb1: Product: EHCI Host Controller
[    0.636935] usb usb1: Manufacturer: Linux 3.18.11-gentoo-eleanor12 ehci_hcd
[    0.636936] usb usb1: SerialNumber: 0000:00:1a.0
[    0.637045] hub 1-0:1.0: USB hub found
[    0.637049] hub 1-0:1.0: 3 ports detected
[    0.637190] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.637241] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.637252] ehci-pci 0000:00:1d.0: debug port 2
[    0.641133] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.641144] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf3929000
[    0.646837] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.646915] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.646926] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.646927] usb usb2: Product: EHCI Host Controller
[    0.646928] usb usb2: Manufacturer: Linux 3.18.11-gentoo-eleanor12 ehci_hcd
[    0.646929] usb usb2: SerialNumber: 0000:00:1d.0
[    0.647034] hub 2-0:1.0: USB hub found
[    0.647038] hub 2-0:1.0: 3 ports detected
[    0.647118] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.647123] ohci-pci: OHCI PCI platform driver
[    0.647135] uhci_hcd: USB Universal Host Controller Interface driver
[    0.647167] usbcore: registered new interface driver cdc_acm
[    0.647168] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.647180] usbcore: registered new interface driver usblp
[    0.647190] usbcore: registered new interface driver cdc_wdm
[    0.647207] usbcore: registered new interface driver usb-storage
[    0.647219] usbcore: registered new interface driver ums-realtek
[    0.647247] usbcore: registered new interface driver usbserial
[    0.647256] usbcore: registered new interface driver aircable
[    0.647263] usbserial: USB Serial support registered for aircable
[    0.647273] usbcore: registered new interface driver ark3116
[    0.647278] usbserial: USB Serial support registered for ark3116
[    0.647289] usbcore: registered new interface driver belkin_sa
[    0.647296] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[    0.647305] usbcore: registered new interface driver ch341
[    0.647311] usbserial: USB Serial support registered for ch341-uart
[    0.647319] usbcore: registered new interface driver cp210x
[    0.647325] usbserial: USB Serial support registered for cp210x
[    0.647337] usbcore: registered new interface driver cypress_m8
[    0.647342] usbserial: USB Serial support registered for DeLorme Earthmate USB
[    0.647348] usbserial: USB Serial support registered for HID->COM RS232 Adapter
[    0.647353] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
[    0.647364] usbcore: registered new interface driver digi_acceleport
[    0.647369] usbserial: USB Serial support registered for Digi 2 port USB adapter
[    0.647375] usbserial: USB Serial support registered for Digi 4 port USB adapter
[    0.647385] usbcore: registered new interface driver io_edgeport
[    0.647390] usbserial: USB Serial support registered for Edgeport 2 port adapter
[    0.647396] usbserial: USB Serial support registered for Edgeport 4 port adapter
[    0.647401] usbserial: USB Serial support registered for Edgeport 8 port adapter
[    0.647407] usbserial: USB Serial support registered for EPiC device
[    0.647417] usbcore: registered new interface driver io_ti
[    0.647423] usbserial: USB Serial support registered for Edgeport TI 1 port adapter
[    0.647429] usbserial: USB Serial support registered for Edgeport TI 2 port adapter
[    0.647438] usbcore: registered new interface driver empeg
[    0.647445] usbserial: USB Serial support registered for empeg
[    0.647454] usbcore: registered new interface driver f81232
[    0.647459] usbserial: USB Serial support registered for f81232
[    0.647469] usbcore: registered new interface driver ftdi_sio
[    0.647475] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.647496] usbcore: registered new interface driver garmin_gps
[    0.647501] usbserial: USB Serial support registered for Garmin GPS usb/tty
[    0.647510] usbcore: registered new interface driver ipaq
[    0.647516] usbserial: USB Serial support registered for PocketPC PDA
[    0.647532] usbcore: registered new interface driver ipw
[    0.647538] usbserial: USB Serial support registered for IPWireless converter
[    0.647547] usbcore: registered new interface driver ir_usb
[    0.647552] usbserial: USB Serial support registered for IR Dongle
[    0.647562] usbcore: registered new interface driver iuu_phoenix
[    0.647567] usbserial: USB Serial support registered for iuu_phoenix
[    0.647578] usbcore: registered new interface driver keyspan
[    0.647584] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    0.647590] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    0.647595] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    0.647601] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    0.647611] usbcore: registered new interface driver keyspan_pda
[    0.647617] usbserial: USB Serial support registered for Keyspan PDA
[    0.647624] usbserial: USB Serial support registered for Keyspan PDA - (prerenumeration)
[    0.647629] usbserial: USB Serial support registered for Xircom / Entregra PGS - (prerenumeration)
[    0.647639] usbcore: registered new interface driver kl5kusb105
[    0.647644] usbserial: USB Serial support registered for KL5KUSB105D / PalmConnect
[    0.647653] usbcore: registered new interface driver kobil_sct
[    0.647659] usbserial: USB Serial support registered for KOBIL USB smart card terminal
[    0.647669] usbcore: registered new interface driver mct_u232
[    0.647675] usbserial: USB Serial support registered for MCT U232
[    0.647685] usbcore: registered new interface driver metro_usb
[    0.647691] usbserial: USB Serial support registered for Metrologic USB to Serial
[    0.647701] usbcore: registered new interface driver mos7720
[    0.647706] usbserial: USB Serial support registered for Moschip 2 port adapter
[    0.647715] usbcore: registered new interface driver mos7840
[    0.647721] usbserial: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[    0.647730] usbcore: registered new interface driver mxuport
[    0.647736] usbserial: USB Serial support registered for MOXA UPort
[    0.647745] usbcore: registered new interface driver navman
[    0.647752] usbserial: USB Serial support registered for navman
[    0.647776] usbcore: registered new interface driver omninet
[    0.647782] usbserial: USB Serial support registered for ZyXEL - omni.net lcd plus usb
[    0.647794] usbcore: registered new interface driver opticon
[    0.647799] usbserial: USB Serial support registered for opticon
[    0.647811] usbcore: registered new interface driver option
[    0.647822] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.647855] usbcore: registered new interface driver oti6858
[    0.647863] usbserial: USB Serial support registered for oti6858
[    0.647874] usbcore: registered new interface driver pl2303
[    0.647881] usbserial: USB Serial support registered for pl2303
[    0.647891] usbcore: registered new interface driver qcaux
[    0.647896] usbserial: USB Serial support registered for qcaux
[    0.647909] usbcore: registered new interface driver qcserial
[    0.647915] usbserial: USB Serial support registered for Qualcomm USB modem
[    0.647926] usbcore: registered new interface driver sierra
[    0.647931] usbserial: USB Serial support registered for Sierra USB modem
[    0.647942] usbcore: registered new interface driver usb_serial_simple
[    0.647948] usbserial: USB Serial support registered for carelink
[    0.647953] usbserial: USB Serial support registered for zio
[    0.647958] usbserial: USB Serial support registered for funsoft
[    0.647964] usbserial: USB Serial support registered for flashloader
[    0.647970] usbserial: USB Serial support registered for vivopay
[    0.647976] usbserial: USB Serial support registered for moto_modem
[    0.647982] usbserial: USB Serial support registered for novatel_gps
[    0.647987] usbserial: USB Serial support registered for hp4x
[    0.647993] usbserial: USB Serial support registered for suunto
[    0.648000] usbserial: USB Serial support registered for siemens_mpi
[    0.648009] usbcore: registered new interface driver spcp8x5
[    0.648015] usbserial: USB Serial support registered for SPCP8x5
[    0.648025] usbcore: registered new interface driver ti_usb_3410_5052
[    0.648030] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[    0.648036] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[    0.648046] usbcore: registered new interface driver visor
[    0.648052] usbserial: USB Serial support registered for Handspring Visor / Palm OS
[    0.648059] usbserial: USB Serial support registered for Sony Clie 5.0
[    0.648064] usbserial: USB Serial support registered for Sony Clie 3.5
[    0.648075] usbcore: registered new interface driver wishbone_serial
[    0.648081] usbserial: USB Serial support registered for wishbone_serial
[    0.648091] usbcore: registered new interface driver whiteheat
[    0.648097] usbserial: USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)
[    0.648103] usbserial: USB Serial support registered for Connect Tech - WhiteHEAT
[    0.648133] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.651883] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.651886] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.651988] mousedev: PS/2 mouse device common for all mice
[    0.652245] usbcore: registered new interface driver synaptics_usb
[    0.652260] usbcore: registered new interface driver usbtouchscreen
[    0.652282] rtc_cmos 00:02: RTC can wake from S4
[    0.652418] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[    0.652447] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.652589] i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
[    0.652649] usbcore: registered new interface driver uvcvideo
[    0.652649] USB Video Class driver (1.1.1)
[    0.652813] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com
[    0.652965] device-mapper: multipath: version 1.7.0 loaded
[    0.652967] device-mapper: multipath round-robin: version 1.0.0 loaded
[    0.652990] Intel P-state driver initializing.
[    0.653228] sdhci: Secure Digital Host Controller Interface driver
[    0.653229] sdhci: Copyright(c) Pierre Ossman
[    0.653279] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 8)
[    0.653452] sdhci-pci 0000:0d:00.0: No vmmc regulator found
[    0.653454] sdhci-pci 0000:0d:00.0: No vqmmc regulator found
[    0.654825] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
[    0.654990] usbcore: registered new interface driver ushc
[    0.655035] hidraw: raw HID events driver (C) Jiri Kosina
[    0.655884] usbcore: registered new interface driver usbhid
[    0.655885] usbhid: USB HID core driver
[    0.655934] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    0.656485] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    0.656486] thinkpad_acpi: http://ibm-acpi.sf.net/
[    0.656488] thinkpad_acpi: ThinkPad BIOS 83ET66WW (1.36 ), EC unknown
[    0.656489] thinkpad_acpi: Lenovo ThinkPad T420, model 41786VU
[    0.657272] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[    0.657471] thinkpad_acpi: radio switch found; radios are enabled
[    0.657515] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    0.657516] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    0.660197] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[    0.660394] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[    0.669817] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    0.670260] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input7
[    0.670464] hdaps: supported laptop not found!
[    0.670466] hdaps: driver init failed (ret=-19)!
[    0.671427] snd_hda_intel 0000:00:1b.0: irq 29 for MSI/MSI-X
[    0.671579] drop_monitor: Initializing network drop monitor service
[    0.671648] NET: Registered protocol family 26
[    0.671665] GACT probability NOT on
[    0.671671] Mirror/redirect action on
[    0.671694] u32 classifier
[    0.671694]     Actions configured
[    0.671703] Netfilter messages via NETLINK v0.30.
[    0.671711] nfnl_acct: registering with nfnetlink.
[    0.671735] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    0.671953] ctnetlink v0.93: registering with nfnetlink.
[    0.672417] xt_time: kernel timezone is -0000
[    0.672432] ip_set: protocol 6
[    0.672543] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[    0.672567] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.672568] IPVS: Each connection entry needs 328 bytes at least
[    0.672632] IPVS: Creating netns size=2056 id=0
[    0.672646] IPVS: ipvs loaded.
[    0.672654] IPVS: [rr] scheduler registered.
[    0.672661] IPVS: [wrr] scheduler registered.
[    0.672667] IPVS: [lc] scheduler registered.
[    0.672673] IPVS: [wlc] scheduler registered.
[    0.672679] IPVS: [fo] scheduler registered.
[    0.672689] IPVS: [lblc] scheduler registered.
[    0.672699] IPVS: [lblcr] scheduler registered.
[    0.672705] IPVS: [dh] scheduler registered.
[    0.672711] IPVS: [sh] scheduler registered.
[    0.672717] IPVS: [sed] scheduler registered.
[    0.672723] IPVS: [nq] scheduler registered.
[    0.672846] ipip: IPv4 over IPv4 tunneling driver
[    0.673080] gre: GRE over IPv4 demultiplexor driver
[    0.673087] ip_gre: GRE over IPv4 tunneling driver
[    0.673512] IPv4 over IPsec tunneling driver
[    0.673916] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.674002] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.674027] arp_tables: (C) 2002 David S. Miller
[    0.694524] tcp_probe: probe registered (port=0/fwmark=0) bufsize=4096
[    0.694532] TCP: cubic registered
[    0.694537] Initializing XFRM netlink socket
[    0.694967] NET: Registered protocol family 10
[    0.695788] mip6: Mobile IPv6
[    0.695807] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    0.696198] sit: IPv6 over IPv4 tunneling driver
[    0.696759] ip6_gre: GRE over IPv6 tunneling driver
[    0.697029] NET: Registered protocol family 17
[    0.697045] NET: Registered protocol family 15
[    0.697068] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.697082] Bridge firewalling registered
[    0.697088] Ebtables v2.0 registered
[    0.697201] NET: Registered protocol family 4
[    0.697225] NET: Registered protocol family 5
[    0.697313] Bluetooth: RFCOMM socket layer initialized
[    0.697324] Bluetooth: RFCOMM ver 1.11
[    0.697332] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    0.697337] Bluetooth: BNEP socket layer initialized
[    0.697342] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.697346] Bluetooth: HIDP socket layer initialized
[    0.697390] l2tp_core: L2TP core driver, V2.0
[    0.697395] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[    0.697407] l2tp_netlink: L2TP netlink interface
[    0.697425] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[    0.697429] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[    0.697440] 8021q: 802.1Q VLAN Support v1.8
[    0.697465] Key type dns_resolver registered
[    0.697474] Key type ceph registered
[    0.697630] libceph: loaded (mon/osd proto 15/24)
[    0.697635] openvswitch: Open vSwitch switching datapath
[    0.697819] mpls_gso: MPLS GSO support
[    0.698575] registered taskstats version 1
[    0.699553] Btrfs loaded
[    0.700444]   Magic number: 11:330:262
[    0.715430] sound hdaudioC0D0: CX20590: BIOS auto-probing.
[    0.715900] sound hdaudioC0D0: autoconfig: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker
[    0.715903] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    0.715904] sound hdaudioC0D0:    hp_outs=2 (0x1c/0x19/0x0/0x0/0x0)
[    0.715906] sound hdaudioC0D0:    mono: mono_out=0x0
[    0.715907] sound hdaudioC0D0:    inputs:
[    0.715909] sound hdaudioC0D0:      Internal Mic=0x23
[    0.715911] sound hdaudioC0D0:      Mic=0x1b
[    0.715913] sound hdaudioC0D0:      Dock Mic=0x1a
[    0.716919] sound hdaudioC0D0: Enable sync_write for stable communication
[    0.929409] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    0.929414] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    0.929418] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    0.930698] ata1.00: ATA-8: HITACHI HTS727550A9E364, JF3ZD0H0, max UDMA/100
[    0.930702] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    0.932250] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    0.932256] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    0.932259] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    0.933547] ata1.00: configured for UDMA/100
[    0.938937] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    0.949925] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.053680] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.053684] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.054350] hub 1-1:1.0: USB hub found
[    1.054576] hub 1-1:1.0: 6 ports detected
[    1.064629] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    1.064633] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.065185] hub 2-1:1.0: USB hub found
[    1.065262] hub 2-1:1.0: 8 ports detected
[    1.128608] net firewire0: IP over IEEE 1394 on card 0000:0d:00.3
[    1.128678] firewire_core 0000:0d:00.3: created device fw0: GUID 0021cc20090c9eea, S400
[    1.147797] Console: switching to colour frame buffer device 200x56
[    1.261879] tsc: Refined TSC clocksource calibration: 2491.905 MHz
[    1.320995] usb 1-1.3: new full-speed USB device number 3 using ehci-pci
[    1.341951] usb 2-1.1: new full-speed USB device number 3 using ehci-pci
[    1.409506] usb 1-1.3: New USB device found, idVendor=147e, idProduct=2016
[    1.409508] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.409509] usb 1-1.3: Product: Biometric Coprocessor
[    1.409518] usb 1-1.3: Manufacturer: UPEK
[    1.430452] usb 2-1.1: New USB device found, idVendor=046d, idProduct=c52b
[    1.430454] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.430455] usb 2-1.1: Product: USB Receiver
[    1.430456] usb 2-1.1: Manufacturer: Logitech
[    1.436750] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input2
[    1.484139] usb 1-1.6: new high-speed USB device number 4 using ehci-pci
[    1.488728] input: Logitech Unifying Device. Wireless PID:101a as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004/input/input9
[    1.488824] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:101a] on usb-0000:00:1d.0-1.1:1
[    1.496623] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.496624] i915 0000:00:02.0: registered panic notifier
[    1.498502] console [netcon0] enabled
[    1.499506] netconsole: network logging started
[    1.500521] geneve: Geneve driver
[    1.501464] PM: Hibernation image not present or could not be loaded.
[    1.501469] ALSA device list:
[    1.502381]   #0: HDA Intel PCH at 0xf3920000 irq 29
[    1.503279]   #5: ThinkPad Console Audio Control at EC reg 0x30, fw unknown
[    1.507174] scsi 0:0:0:0: Direct-Access     ATA      HITACHI HTS72755 D0H0 PQ: 0 ANSI: 5
[    1.508373] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.508378] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    1.508379] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.508445] sd 0:0:0:0: [sda] Write Protect is off
[    1.508447] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.508470] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.576278] usb 1-1.6: New USB device found, idVendor=04f2, idProduct=b221
[    1.578816] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.581356] usb 1-1.6: Product: Integrated Camera
[    1.583887] usb 1-1.6: Manufacturer: Ricoh Company Ltd.
[    1.587645] uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b221)
[    1.593012] input: Integrated Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input10
[    1.641759] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd047b3/0xb40000/0xa0000, board id: 71, fw id: 578367
[    1.644285] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[    1.700315] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[    1.811451]  sda: sda1 sda2
[    1.815863] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.818022] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.832573] ata2.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.832582] ata2.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.835946] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.854738] ata2.00: ATA-8: KINGSTON SV300S37A120G, 525ABBF0, max UDMA/133
[    1.857810] ata2.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.872467] ata2.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.872475] ata2.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.875544] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.894752] ata2.00: configured for UDMA/133
[    1.898157] scsi 1:0:0:0: Direct-Access     ATA      KINGSTON SV300S3 BBF0 PQ: 0 ANSI: 5
[    1.901275] sd 1:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
[    1.901372] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.908945] sd 1:0:0:0: [sdb] Write Protect is off
[    1.912915] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.912960] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.917616]  sdb: sdb1
[    1.921678] sd 1:0:0:0: [sdb] Attached SCSI disk
[    2.206118] ata4: SATA link down (SStatus 0 SControl 300)
[    2.262437] Switched to clocksource tsc
[    2.515154] ata5: SATA link down (SStatus 0 SControl 300)
[    2.519262] md: Waiting for all devices to be available before autodetect
[    2.523191] md: If you don't use raid, use raid=noautodetect
[    6.700632] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[    6.964927] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input11
[    7.067324] md: Autodetecting RAID arrays.
[    7.071346] md: Scanned 0 and added 0 devices.
[    7.075348] md: autorun ...
[    7.079370] md: ... autorun DONE.
[    7.088459] EXT3-fs (sdb1): error: couldn't mount because of unsupported optional features (240)
[    7.092736] EXT2-fs (sdb1): error: couldn't mount because of unsupported optional features (240)
[    7.104643] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[    7.108009] VFS: Mounted root (ext4 filesystem) readonly on device 8:17.
[    7.111731] devtmpfs: mounted
[    7.117327] Freeing unused kernel memory: 1212K (ffffffff8274b000 - ffffffff8287a000)
[    7.120252] Write protecting the kernel read-only data: 22528k
[    7.131261] Freeing unused kernel memory: 1708K (ffff880001e55000 - ffff880002000000)
[    7.136101] Freeing unused kernel memory: 548K (ffff880002577000 - ffff880002600000)
[    7.211486] loadkeys (1764) used greatest stack depth: 13352 bytes left
[    7.214563] init-early.sh (1762) used greatest stack depth: 12696 bytes left
[    7.528781] systemd-udevd[1959]: starting version 216
[    7.533996] random: systemd-udevd urandom read with 65 bits of entropy available
[    7.578305] udevadm (1971) used greatest stack depth: 12624 bytes left
[    7.629108] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[    7.643051] systemd-udevd[1983]: renamed network interface wlan0 to wlp3s0
[    7.651244] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[    7.664094] systemd-udevd[1988]: renamed network interface eth0 to enp0s25
[    8.157411] random: nonblocking pool is initialized
[    8.797016] ip (4862) used greatest stack depth: 12488 bytes left
[    8.804249] vboxdrv: Found 4 processor cores.
[    8.804401] vboxdrv: fAsync=0 offMin=0x19c offMax=0x149d
[    8.804459] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[    8.804459] vboxdrv: Successfully loaded version 4.3.26 (interface 0x001a000a).
[    8.821165] Adding 20971516k swap on /dev/sda1.  Priority:-1 extents:1 across:20971516k 
[   17.085112] BTRFS: device label data devid 1 transid 288638 /dev/dm-0
[   17.228756] EXT4-fs (sdb1): re-mounted. Opts: (null)
[   17.329018] BTRFS info (device dm-0): enabling auto defrag
[   17.329026] BTRFS info (device dm-0): disk space caching is enabled
[   21.617706] mount (5036) used greatest stack depth: 12344 bytes left
[   21.735900] rm (5141) used greatest stack depth: 12168 bytes left

and here is Xorg.8.log:

[164131.196] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[164131.196] X Protocol Version 11, Revision 0
[164131.196] Build Operating System: Linux 3.16.5-gentoo-eleanor6 x86_64 Gentoo
[164131.196] Current Operating System: Linux eleanor 3.18.11-gentoo-eleanor12 #1 SMP Sat Apr 11 01:30:48 CEST 2015 x86_64
[164131.196] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.11-gentoo-eleanor12 root=/dev/sdb1 ro
[164131.196] Build Date: 19 February 2015  11:11:43AM
[164131.196]  
[164131.196] Current version of pixman: 0.32.6
[164131.196]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[164131.196] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[164131.197] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Apr 19 14:03:44 2015
[164131.197] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[164131.197] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[164131.197] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[164131.197] (==) ServerLayout "Layout0"
[164131.197] (**) |-->Screen "Default Screen" (0)
[164131.197] (**) |   |-->Monitor "<default monitor>"
[164131.197] (**) |   |-->Device "DiscreteNvidia"
[164131.197] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
[164131.197] (**) Option "AutoAddDevices" "false"
[164131.197] (**) Option "AutoAddGPU" "false"
[164131.197] (**) Not automatically adding devices
[164131.197] (==) Automatically enabling devices
[164131.197] (**) Not automatically adding GPU devices
[164131.197] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[164131.197] (++) ModulePath set to "/usr/lib64/opengl/nvidia/lib,/usr/lib64/opengl/nvidia/extensions,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules"
[164131.197] (==) |-->Input Device "<default pointer>"
[164131.197] (==) |-->Input Device "<default keyboard>"
[164131.197] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[164131.197] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[164131.197] (II) Loader magic: 0x805c80
[164131.197] (II) Module ABI versions:
[164131.197]    X.Org ANSI C Emulation: 0.4
[164131.197]    X.Org Video Driver: 18.0
[164131.197]    X.Org XInput driver : 21.0
[164131.197]    X.Org Server Extension : 8.0
[164131.198] (II) xfree86: Adding drm device (/dev/dri/card1)
[164131.198] (II) xfree86: Adding drm device (/dev/dri/card0)
[164131.198] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[164131.201] (--) PCI:*(0:1:0:0) 10de:1057:17aa:21d0 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[164131.201] (II) LoadModule: "glx"
[164131.201] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[164131.215] (II) Module glx: vendor="NVIDIA Corporation"
[164131.215]    compiled for 4.0.2, module version = 1.0.0
[164131.215]    Module class: X.Org Server Extension
[164131.215] (II) NVIDIA GLX Module  346.59  Tue Mar 31 13:38:58 PDT 2015
[164131.215] (II) LoadModule: "nvidia"
[164131.216] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[164131.216] (II) Module nvidia: vendor="NVIDIA Corporation"
[164131.216]    compiled for 4.0.2, module version = 1.0.0
[164131.216]    Module class: X.Org Video Driver
[164131.216] (II) LoadModule: "mouse"
[164131.216] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[164131.216] (II) Module mouse: vendor="X.Org Foundation"
[164131.216]    compiled for 1.16.4, module version = 1.9.1
[164131.216]    Module class: X.Org XInput Driver
[164131.216]    ABI class: X.Org XInput driver, version 21.0
[164131.216] (II) LoadModule: "kbd"
[164131.217] (WW) Warning, couldn't open module kbd
[164131.217] (II) UnloadModule: "kbd"
[164131.217] (II) Unloading kbd
[164131.217] (EE) Failed to load module "kbd" (module does not exist, 0)
[164131.217] (II) NVIDIA dlloader X Driver  346.59  Tue Mar 31 13:17:41 PDT 2015
[164131.217] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[164131.217] (--) using VT number 7

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

Can you help me please?

ArchangeGabriel commented 9 years ago

dmesg output can’t be the right one. It can’t have nothing after 21s if you let it run for 2 days…

And dmesg output is the thing we need here.

suvari commented 9 years ago

I am using Pisilinux with bumblebee-3.2.1 and Nvidia 349.16 , Nvidia gtx 970 card; When I try to run: optirun -vv glxgears -info : http://www.sudrap.org/paste/text/569140/ dmesg: http://www.sudrap.org/paste/text/569142/ Xorg.8.log : http://www.sudrap.org/paste/text/569145/ suvari@pisi120 ~ $ optirun neverball [ 2886.728512] [ERROR]Cannot access secondary GPU - error: XORG /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 2886.728533] [ERROR]Aborting because fallback start is disabled. suvari@pisi120 ~ $

Help me please.. regards..

HalisCz commented 9 years ago

Sorry for delay, but I finally found out that there was isssue in my syslog-ng config. Now I can send you merged log.

When I try to run:

halis@eleanor ~ $ optirun -vv glxgears -info

I'll get the same output as above.

Here is merged.log:

May 19 13:12:23 eleanor bumblebeed[6656]: X did not start properly
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE)
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) 
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) no screens found(EE)
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) no screens found(EE) 
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(GPU-0):     README for additional information.
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) NVIDIA(0): Failing initialization of X screen 0
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) Screen(s) found, but none have a usable configuration.
May 19 13:12:23 eleanor bumblebeed[6656]: [XORG] (EE) Server terminated with error (1). Closing log file.
May 19 13:12:23 eleanor kernel: [  474.336072] nvidia 0000:01:00.0: irq 30 for MSI/MSI-X
May 19 13:12:23 eleanor kernel: [  474.338378] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338434] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338464] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338490] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338515] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338555] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338780] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.338804] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.339361] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
May 19 13:12:23 eleanor kernel: [  474.390392] NVRM: RmInitAdapter failed! (0x26:0xffff:1287)
May 19 13:12:23 eleanor kernel: [  474.390401] NVRM: rm_init_adapter failed for device bearing minor number 0
May 19 13:12:23 eleanor kernel: [  474.390423] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
May 19 13:13:57 eleanor kernel: [  568.418473] kworker/dying (1306) used greatest stack depth: 11640 bytes left

And here is Xorg.8.log

[   474.229] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   474.230] X Protocol Version 11, Revision 0
[   474.230] Build Operating System: Linux 3.16.5-gentoo-eleanor6 x86_64 Gentoo
[   474.230] Current Operating System: Linux eleanor 3.18.11-gentoo-eleanor12 #1 SMP Sat Apr 11 01:30:48 CEST 2015 x86_64
[   474.230] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.11-gentoo-eleanor12 root=/dev/sdb1 ro
[   474.230] Build Date: 19 February 2015  11:11:43AM
[   474.230]  
[   474.230] Current version of pixman: 0.32.6
[   474.230]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   474.230] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   474.230] (==) Log file: "/var/log/Xorg.8.log", Time: Tue May 19 13:12:23 2015
[   474.230] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   474.230] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   474.230] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   474.231] (==) ServerLayout "Layout0"
[   474.231] (**) |-->Screen "Default Screen" (0)
[   474.231] (**) |   |-->Monitor "<default monitor>"
[   474.231] (**) |   |-->Device "DiscreteNvidia"
[   474.231] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
[   474.231] (**) Option "AutoAddDevices" "false"
[   474.231] (**) Option "AutoAddGPU" "false"
[   474.231] (**) Not automatically adding devices
[   474.231] (==) Automatically enabling devices
[   474.231] (**) Not automatically adding GPU devices
[   474.231] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[   474.231] (++) ModulePath set to "/usr/lib64/opengl/nvidia/lib,/usr/lib64/opengl/nvidia/extensions,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules"
[   474.231] (==) |-->Input Device "<default pointer>"
[   474.231] (==) |-->Input Device "<default keyboard>"
[   474.231] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[   474.231] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[   474.231] (II) Loader magic: 0x805c80
[   474.232] (II) Module ABI versions:
[   474.232]    X.Org ANSI C Emulation: 0.4
[   474.232]    X.Org Video Driver: 18.0
[   474.232]    X.Org XInput driver : 21.0
[   474.232]    X.Org Server Extension : 8.0
[   474.232] (II) xfree86: Adding drm device (/dev/dri/card1)
[   474.232] (II) xfree86: Adding drm device (/dev/dri/card0)
[   474.232] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   474.234] (--) PCI:*(0:1:0:0) 10de:1057:17aa:21d0 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[   474.234] (II) LoadModule: "glx"
[   474.234] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[   474.246] (II) Module glx: vendor="NVIDIA Corporation"
[   474.246]    compiled for 4.0.2, module version = 1.0.0
[   474.246]    Module class: X.Org Server Extension
[   474.246] (II) NVIDIA GLX Module  349.16  Tue Apr  7 23:42:45 PDT 2015
[   474.246] (II) LoadModule: "nvidia"
[   474.246] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   474.246] (II) Module nvidia: vendor="NVIDIA Corporation"
[   474.246]    compiled for 4.0.2, module version = 1.0.0
[   474.246]    Module class: X.Org Video Driver
[   474.246] (II) LoadModule: "mouse"
[   474.246] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[   474.246] (II) Module mouse: vendor="X.Org Foundation"
[   474.246]    compiled for 1.16.4, module version = 1.9.1
[   474.246]    Module class: X.Org XInput Driver
[   474.246]    ABI class: X.Org XInput driver, version 21.0
[   474.246] (II) LoadModule: "kbd"
[   474.246] (WW) Warning, couldn't open module kbd
[   474.247] (II) UnloadModule: "kbd"
[   474.247] (II) Unloading kbd
[   474.247] (EE) Failed to load module "kbd" (module does not exist, 0)
[   474.247] (II) NVIDIA dlloader X Driver  349.16  Tue Apr  7 23:19:49 PDT 2015
[   474.247] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   474.247] (--) using VT number 7

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

Thanks in advance for any advice.

sp3c73r2038 commented 9 years ago

Just to report the same issue.

I'm using Gentoo Linux with Hardened Kernel 4.0.4-r3, nouveau driver 1.0.11, bumblebee 3.2.1 with nVidia GT640M/730M.

$ optirun -vv glxgears -info
[ 2553.073049] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2553.073204] [INFO]Configured driver: nouveau
[ 2553.073270] [DEBUG]optirun version 3.2.1 starting...
[ 2553.073278] [DEBUG]Active configuration:
[ 2553.073284] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2553.073289] [DEBUG] X display: :8
[ 2553.073296] [DEBUG] LD_LIBRARY_PATH: 
[ 2553.073301] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2553.073307] [DEBUG] Accel/display bridge: auto
[ 2553.073313] [DEBUG] VGL Compression: proxy
[ 2553.073318] [DEBUG] VGLrun extra options: 
[ 2553.073324] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 2553.073351] [DEBUG]Using auto-detected bridge virtualgl
[ 2553.168399] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

[ 2553.168418] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

[ 2553.168425] [DEBUG]Socket closed.
[ 2553.168434] [ERROR]Aborting because fallback start is disabled.
[ 2553.168439] [DEBUG]Killing all remaining processes.

syslog

Jun 10 10:02:46 cirno kernel: nouveau E[   PIBUS][0000:02:00.0] HUB0: 0x6013d4 0xffff57ff (0x1d708200)
Jun 10 10:02:46 cirno kernel: nouveau E[   PIBUS][0000:02:00.0] GPC0: 0x4188ac 0x00000001 (0x1d70822e)
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) NOUVEAU(0): [drm] error opening the drm
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) NOUVEAU(0): 892: 
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) Screen(s) found, but none have a usable configuration.
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) 
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) no screens found(EE) 
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) 
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) 
Jun 10 10:02:44 cirno bumblebeed[21031]: [XORG] (EE) Server terminated with error (1). Closing log file.
Jun 10 10:02:44 cirno bumblebeed[21031]: X did not start properly
Jun 10 10:02:52 cirno kernel: ACPI Warning: \x5c_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
Jun 10 10:02:52 cirno kernel: ACPI Warning: \x5c_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)

Xorg.8.log

[  2666.890] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[  2666.890] X Protocol Version 11, Revision 0
[  2666.890] Build Operating System: Linux 4.0.4-momoka-r3 x86_64 Gentoo
[  2666.890] Current Operating System: Linux cirno 4.0.4-momoka-r4 #1 SMP Mon Jun 8 10:00:26 CST 2015 x86_64
[  2666.890] Kernel command line: BOOT_IMAGE=/vmlinuz-4.0.4-momoka-r4 root=/dev/mapper/vg_cirno-root ro rd.luks.uuid=0813c3ae-f66f-4f59-bbea-d3cfca351350
[  2666.890] Build Date: 01 June 2015  11:39:54PM
[  2666.890]  
[  2666.890] Current version of pixman: 0.32.6
[  2666.890]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  2666.890] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2666.891] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Jun 10 10:04:37 2015
[  2666.891] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[  2666.891] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  2666.891] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2666.891] (==) ServerLayout "Layout0"
[  2666.891] (==) No screen section available. Using defaults.
[  2666.891] (**) |-->Screen "Default Screen Section" (0)
[  2666.891] (**) |   |-->Monitor "<default monitor>"
[  2666.891] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[  2666.891] (**) |   |-->Device "DiscreteNvidia"
[  2666.891] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[  2666.891] (**) Option "AutoAddDevices" "false"
[  2666.891] (**) Option "AutoAddGPU" "false"
[  2666.891] (**) Not automatically adding devices
[  2666.891] (==) Automatically enabling devices
[  2666.891] (**) Not automatically adding GPU devices
[  2666.891] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  2666.891]    Entry deleted from font path.
[  2666.891] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  2666.891]    Entry deleted from font path.
[  2666.891] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2666.891]    Entry deleted from font path.
[  2666.891] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2666.891]    Entry deleted from font path.
[  2666.891]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2666.891] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2666.891]    Entry deleted from font path.
[  2666.891]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2666.891] (==) FontPath set to:
    /usr/share/fonts/misc/
[  2666.891] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  2666.891] (==) |-->Input Device "<default pointer>"
[  2666.891] (==) |-->Input Device "<default keyboard>"
[  2666.891] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[  2666.891] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[  2666.891] (II) Loader magic: 0x7f4c97b8acc0
[  2666.891] (II) Module ABI versions:
[  2666.891]    X.Org ANSI C Emulation: 0.4
[  2666.891]    X.Org Video Driver: 18.0
[  2666.891]    X.Org XInput driver : 21.0
[  2666.891]    X.Org Server Extension : 8.0
[  2666.891] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2666.979] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
[  2666.979] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2666.979] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  2666.980] (--) PCI:*(0:2:0:0) 10de:1290:17aa:221d rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00003000/128
[  2666.980] (II) LoadModule: "glx"
[  2666.980] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  2666.982] (II) Module glx: vendor="X.Org Foundation"
[  2666.982]    compiled for 1.16.4, module version = 1.0.0
[  2666.982]    ABI class: X.Org Server Extension, version 8.0
[  2666.982] (==) AIGLX enabled
[  2666.982] (II) LoadModule: "nouveau"
[  2666.982] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[  2666.982] (II) Module nouveau: vendor="X.Org Foundation"
[  2666.982]    compiled for 1.16.4, module version = 1.0.11
[  2666.982]    Module class: X.Org Video Driver
[  2666.982]    ABI class: X.Org Video Driver, version 18.0
[  2666.982] (II) LoadModule: "mouse"
[  2666.982] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  2666.982] (II) Module mouse: vendor="X.Org Foundation"
[  2666.982]    compiled for 1.16.4, module version = 1.9.1
[  2666.982]    Module class: X.Org XInput Driver
[  2666.982]    ABI class: X.Org XInput driver, version 21.0
[  2666.982] (II) LoadModule: "kbd"
[  2666.982] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  2666.982] (II) Module kbd: vendor="X.Org Foundation"
[  2666.982]    compiled for 1.16.4, module version = 1.8.0
[  2666.982]    Module class: X.Org XInput Driver
[  2666.982]    ABI class: X.Org XInput driver, version 21.0
[  2666.982] (II) NOUVEAU driver 
[  2666.982] (II) NOUVEAU driver for NVIDIA chipset families :
[  2666.982]    RIVA TNT        (NV04)
[  2666.982]    RIVA TNT2       (NV05)
[  2666.982]    GeForce 256     (NV10)
[  2666.982]    GeForce 2       (NV11, NV15)
[  2666.982]    GeForce 4MX     (NV17, NV18)
[  2666.982]    GeForce 3       (NV20)
[  2666.982]    GeForce 4Ti     (NV25, NV28)
[  2666.982]    GeForce FX      (NV3x)
[  2666.982]    GeForce 6       (NV4x)
[  2666.982]    GeForce 7       (G7x)
[  2666.982]    GeForce 8       (G8x)
[  2666.982]    GeForce GTX 200 (NVA0)
[  2666.982]    GeForce GTX 400 (NVC0)
[  2666.982] (--) using VT number 7

[  2666.982] (II) [drm] nouveau interface version: 1.2.1
[  2666.983] (II) Loading sub module "dri2"
[  2666.983] (II) LoadModule: "dri2"
[  2666.983] (II) Module "dri2" already built-in
[  2666.983] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[  2666.983] (EE) NOUVEAU(0): [drm] error opening the drm
[  2666.983] (EE) NOUVEAU(0): 892: 
[  2666.983] (II) UnloadModule: "nouveau"
[  2666.983] (EE) Screen(s) found, but none have a usable configuration.
[  2666.983] (EE) 
Fatal server error:
[  2666.983] (EE) no screens found(EE) 
[  2666.983] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  2666.983] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  2666.983] (EE) 
[  2666.983] (EE) Server terminated with error (1). Closing log file.

lspci

02:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Lenovo Device 221d
    Flags: bus master, fast devsel, latency 0, IRQ 34
    Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at 3000 [size=128]
    Expansion ROM at <ignored> [disabled]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Capabilities: [900] #19
    Kernel driver in use: nouveau
    Kernel modules: nouveau
stuaxo commented 9 years ago

Hi, I get a similar issue on 650M, using Nouveau on Ubuntu 15.04

$ optirun -vv glxgears -info
[26609.376850] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[26609.377146] [DEBUG]optirun version 3.2.1 starting...
[26609.377170] [DEBUG]Active configuration:
[26609.377184] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[26609.377197] [DEBUG] X display: :8
[26609.377209] [DEBUG] LD_LIBRARY_PATH: 
[26609.377221] [DEBUG] Socket path: /var/run/bumblebee.socket
[26609.377233] [DEBUG] Accel/display bridge: auto
[26609.377245] [DEBUG] VGL Compression: proxy
[26609.377258] [DEBUG] VGLrun extra options: 
[26609.377270] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[26609.377322] [DEBUG]Using auto-detected bridge primus
[26610.104691] [INFO]Response: No - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[26610.104706] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[26610.104709] [DEBUG]Socket closed.
[26610.104723] [ERROR]Aborting because fallback start is disabled.
[26610.104727] [DEBUG]Killing all remaining processes.

lspci

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. N56VZ
    Flags: bus master, fast devsel, latency 0, IRQ 28
    Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. N56VZ
    Flags: bus master, fast devsel, latency 0, IRQ 32
    Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    Expansion ROM at f7000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau

Xorg.8.log

[ 26915.674] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 26915.674] X Protocol Version 11, Revision 0
[ 26915.674] Build Operating System: Linux 3.2.0-61-generic x86_64 Ubuntu
[ 26915.674] Current Operating System: Linux beezlebub 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64
[ 26915.674] Kernel command line: BOOT_IMAGE=/vmlinuz-3.19.0-20-generic.efi.signed root=UUID=14ac372e-6980-4fe8-b247-fae92d54b0c5 ro quiet splash acpi_enforce_resources=lax intel_pstate=enable vt.handoff=7
[ 26915.674] Build Date: 19 March 2015  09:26:59AM
[ 26915.674] xorg-server 2:1.17.1-0ubuntu3 (For technical support please see http://www.ubuntu.com/support) 
[ 26915.674] Current version of pixman: 0.32.6
[ 26915.674]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 26915.674] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 26915.674] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Jun 18 00:57:09 2015
[ 26915.675] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[ 26915.675] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 26915.675] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 26915.675] (==) ServerLayout "Layout0"
[ 26915.675] (==) No screen section available. Using defaults.
[ 26915.675] (**) |-->Screen "Default Screen Section" (0)
[ 26915.675] (**) |   |-->Monitor "<default monitor>"
[ 26915.675] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[ 26915.675] (**) |   |-->Device "DiscreteNvidia"
[ 26915.675] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[ 26915.675] (**) Option "AutoAddDevices" "false"
[ 26915.676] (**) Option "AutoAddGPU" "false"
[ 26915.676] (**) Not automatically adding devices
[ 26915.676] (==) Automatically enabling devices
[ 26915.676] (**) Not automatically adding GPU devices
[ 26915.676] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 26915.676]    Entry deleted from font path.
[ 26915.676] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 26915.676]    Entry deleted from font path.
[ 26915.676] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 26915.676]    Entry deleted from font path.
[ 26915.676] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    built-ins
[ 26915.676] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 26915.676] (==) |-->Input Device "<default pointer>"
[ 26915.676] (==) |-->Input Device "<default keyboard>"
[ 26915.676] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[ 26915.676] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[ 26915.676] (II) Loader magic: 0x7fb15911bd80
[ 26915.676] (II) Module ABI versions:
[ 26915.676]    X.Org ANSI C Emulation: 0.4
[ 26915.676]    X.Org Video Driver: 19.0
[ 26915.676]    X.Org XInput driver : 21.0
[ 26915.676]    X.Org Server Extension : 9.0
[ 26915.676] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 26915.677] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 26915.679] (--) PCI: (0:1:0:0) 10de:0fd1:1043:2103 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 26915.679] (II) LoadModule: "glx"
[ 26915.679] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 26915.681] (II) Module glx: vendor="X.Org Foundation"
[ 26915.681]    compiled for 1.17.1, module version = 1.0.0
[ 26915.681]    ABI class: X.Org Server Extension, version 9.0
[ 26915.681] (==) AIGLX enabled
[ 26915.681] (II) LoadModule: "nouveau"
[ 26915.681] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 26915.682] (II) Module nouveau: vendor="X.Org Foundation"
[ 26915.682]    compiled for 1.17.1, module version = 1.0.11
[ 26915.682]    Module class: X.Org Video Driver
[ 26915.682]    ABI class: X.Org Video Driver, version 19.0
[ 26915.682] (II) LoadModule: "mouse"
[ 26915.682] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 26915.682] (II) Module mouse: vendor="X.Org Foundation"
[ 26915.682]    compiled for 1.16.0, module version = 1.9.1
[ 26915.682]    Module class: X.Org XInput Driver
[ 26915.682]    ABI class: X.Org XInput driver, version 21.0
[ 26915.682] (II) LoadModule: "kbd"
[ 26915.682] (WW) Warning, couldn't open module kbd
[ 26915.682] (II) UnloadModule: "kbd"
[ 26915.682] (II) Unloading kbd
[ 26915.682] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 26915.682] (II) NOUVEAU driver 
[ 26915.682] (II) NOUVEAU driver for NVIDIA chipset families :
[ 26915.682]    RIVA TNT        (NV04)
[ 26915.683]    RIVA TNT2       (NV05)
[ 26915.683]    GeForce 256     (NV10)
[ 26915.683]    GeForce 2       (NV11, NV15)
[ 26915.683]    GeForce 4MX     (NV17, NV18)
[ 26915.683]    GeForce 3       (NV20)
[ 26915.683]    GeForce 4Ti     (NV25, NV28)
[ 26915.683]    GeForce FX      (NV3x)
[ 26915.683]    GeForce 6       (NV4x)
[ 26915.683]    GeForce 7       (G7x)
[ 26915.683]    GeForce 8       (G8x)
[ 26915.683]    GeForce GTX 200 (NVA0)
[ 26915.683]    GeForce GTX 400 (NVC0)
[ 26915.683] (--) using VT number 7

[ 26915.683] (II) [drm] nouveau interface version: 1.2.1
[ 26915.683] (II) Loading sub module "dri2"
[ 26915.683] (II) LoadModule: "dri2"
[ 26915.683] (II) Module "dri2" already built-in
[ 26915.683] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 26915.684] (EE) NOUVEAU(0): [drm] error opening the drm
[ 26915.684] (EE) NOUVEAU(0): 904: 
[ 26915.684] (II) UnloadModule: "nouveau"
[ 26915.684] (EE) Screen(s) found, but none have a usable configuration.
[ 26915.684] (EE) 
Fatal server error:
[ 26915.684] (EE) no screens found(EE) 
[ 26915.684] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[ 26915.684] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 26915.684] (EE) 
[ 26915.684] (EE) Server terminated with error (1). Closing log file.
arlyoneel commented 9 years ago

same issue here with GF630m, with both nouveau and nvidia drivers, running Manjaro with kernel 4.0 and 3.16

i put all the information here: https://forum.manjaro.org/index.php?topic=22991.0

*This GPU is running well in Windows, is not a hardware issue.

grauerkoala commented 9 years ago

Got the same issue (probably, behaves the same at least). What's interesting though is the fact that if I attach an external monitor before trying any kinds of optirun or primusrun calls, calling optirun true and intel-virtual-output succeeds and any subsequent calls to optirun and primusrun work fine (in addition to being able to use the external monitor). Can anybody reproduce or find an explanation for this?

I'm running Debian Jessie on a Thinkpad W530.

bumblebee.conf: http://pastebin.com/kCj2skKc Xorg.8.log: http://pastebin.com/EYYiBiQv

Also:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)
HalisCz commented 9 years ago

Here is my dmesg with the same issue mentioned above:

[164771.922873] bbswitch: version 0.8
[164771.922880] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.VID_
[164771.922887] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG_.VID_
[164771.922897] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164771.923246] bbswitch: detected an Optimus _DSM function
[164771.923260] pci 0000:01:00.0: enabling device (0000 -> 0003)
[164771.923295] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[164771.925790] bbswitch: disabling discrete graphics
[164771.925803] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164771.937420] thinkpad_acpi: EC reports that Thermal Table has changed
[164775.698791] bbswitch: enabling discrete graphics
[164775.947613] thinkpad_acpi: EC reports that Thermal Table has changed
[164776.000048] nvidia: module license 'NVIDIA' taints kernel.
[164776.000052] Disabling lock debugging due to kernel taint
[164776.008595] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[164776.009776] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[164776.009782] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  349.16  Wed Apr  8 00:17:22 PDT 2015
[164776.019570] nvidia 0000:01:00.0: irq 30 for MSI/MSI-X
[164776.022658] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.022724] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.022764] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.022802] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.022838] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.022875] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.023212] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164776.023250] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.061509] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.444158] NVRM: RmInitAdapter failed! (0x26:0xffff:1287)
[164777.444167] NVRM: rm_init_adapter failed for device bearing minor number 0
[164777.444188] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[164777.449642] nvidia 0000:01:00.0: irq 30 for MSI/MSI-X
[164777.451781] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.451830] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.451856] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.451881] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.451905] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.451927] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.452127] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.452151] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.452660] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[164777.502510] NVRM: RmInitAdapter failed! (0x26:0xffff:1287)
[164777.502518] NVRM: rm_init_adapter failed for device bearing minor number 0
[164777.502538] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
arlyoneel commented 9 years ago

Well time to time i try different things waiting for that works, i found a workaround.

Is weird but, if i disable de wifi (software) and disconect wired cable, bumblebee and Nvidia GPU works, this is needed one time.

The problem is when bumblebee need to switch from intel to nvidia, if program is currently running with nvidia gpu, all the program that run after that first program will work with all networks connected.

If i close all programs that run nvidia gpu, and try to open again with primus or optirun, i need to disable networks again.

Anyone with this werid behavior?

Note: Im using Manjaro 64-bits.

Thanks.

RomanHargrave commented 9 years ago

I am having this issue, though I will spare you the Xorg output unless you ask. Xorg exits with a status of 11, and outputs no other errors.

The following is the relevant kernel logging output:

[ 8667.443863] vgaarb: this pci device is not a vga device
[ 8667.446797] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446847] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446872] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446895] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446916] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446938] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446972] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.446995] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.447508] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 8667.653590] vgaarb: this pci device is not a vga device
[ 8667.734676] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)

The only message that actually appears to be of concern here is that produced by vgaarb. The NVIDIA drivers find the device just fine, and the X server startup output is quite kosher aside from the error at hand.

RomanHargrave commented 9 years ago

I resolved the vgaarb warning/error, however I still run in to the DRM issue.

HalisCz commented 9 years ago

I added BusID "PCI:01:00.0" in xorg.conf.nvidia. Now, when I run

user@machine~ $ optirun -vv glxgears -info
[ 1351.366224] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1351.366519] [INFO]Configured driver: nvidia
[ 1351.366690] [DEBUG]optirun version 3.2.1 starting...
[ 1351.366704] [DEBUG]Active configuration:
[ 1351.366713] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1351.366722] [DEBUG] X display: :8
[ 1351.366731] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib
[ 1351.366749] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1351.366759] [DEBUG] Accel/display bridge: auto
[ 1351.366770] [DEBUG] VGL Compression: proxy
[ 1351.366779] [DEBUG] VGLrun extra options: 
[ 1351.366789] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1351.366822] [DEBUG]Using auto-detected bridge virtualgl
[ 1351.857337] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1351.857353] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1351.857357] [DEBUG]Socket closed.
[ 1351.857371] [ERROR]Aborting because fallback start is disabled.
[ 1351.857375] [DEBUG]Killing all remaining processes.

get this in /var/log/Xorg.8.log:

X.Org X Server 1.16.4
Release Date: 2014-12-20
[  1351.635] X Protocol Version 11, Revision 0
[  1351.635] Build Operating System: Linux 4.0.5-gentoo-eleanor25-gdc0ffbc-dirty x86_64 Gentoo
[  1351.635] Current Operating System: Linux eleanor 4.0.5-gentoo-eleanor28+ #12 SMP Tue Aug 25 19:36:56 CEST 2015 x86_64
[  1351.635] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.0.5-gentoo-eleanor28+ root=/dev/sdb1 ro rcutree.rcu_idle_gp_delay=1
[  1351.635] Build Date: 22 August 2015  07:27:19PM
[  1351.635]  
[  1351.635] Current version of pixman: 0.32.6
[  1351.635]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1351.635] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1351.635] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Aug 25 20:08:49 2015
[  1351.635] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  1351.635] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  1351.635] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1351.635] (==) ServerLayout "Layout0"
[  1351.635] (**) |-->Screen "Default Screen" (0)
[  1351.635] (**) |   |-->Monitor "<default monitor>"
[  1351.635] (**) |   |-->Device "DiscreteNvidia"
[  1351.635] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
[  1351.635] (**) Option "AutoAddDevices" "false"
[  1351.635] (**) Option "AutoAddGPU" "false"
[  1351.635] (**) Not automatically adding devices
[  1351.635] (==) Automatically enabling devices
[  1351.635] (**) Not automatically adding GPU devices
[  1351.635] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[  1351.635] (++) ModulePath set to "/usr/lib64/opengl/nvidia/lib,/usr/lib64/opengl/nvidia/extensions,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules"
[  1351.635] (==) |-->Input Device "<default pointer>"
[  1351.636] (==) |-->Input Device "<default keyboard>"
[  1351.636] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[  1351.636] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[  1351.636] (II) Loader magic: 0x805c80
[  1351.636] (II) Module ABI versions:
[  1351.636]    X.Org ANSI C Emulation: 0.4
[  1351.636]    X.Org Video Driver: 18.0
[  1351.636]    X.Org XInput driver : 21.0
[  1351.636]    X.Org Server Extension : 8.0
[  1351.636] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1351.636] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1351.636] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  1351.851] (--) PCI:*(0:1:0:0) 10de:1057:17aa:21d0 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[  1351.851] (II) LoadModule: "glx"
[  1351.851] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[  1351.853] (II) Module glx: vendor="NVIDIA Corporation"
[  1351.853]    compiled for 4.0.2, module version = 1.0.0
[  1351.853]    Module class: X.Org Server Extension
[  1351.853] (II) NVIDIA GLX Module  355.06  Tue Jul 28 20:52:22 PDT 2015
[  1351.853] (II) LoadModule: "nvidia"
[  1351.854] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  1351.854] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1351.854]    compiled for 4.0.2, module version = 1.0.0
[  1351.854]    Module class: X.Org Video Driver
[  1351.854] (II) LoadModule: "mouse"
[  1351.854] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  1351.854] (II) Module mouse: vendor="X.Org Foundation"
[  1351.854]    compiled for 1.16.4, module version = 1.9.1
[  1351.854]    Module class: X.Org XInput Driver
[  1351.854]    ABI class: X.Org XInput driver, version 21.0
[  1351.854] (II) LoadModule: "kbd"
[  1351.854] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  1351.855] (II) Module kbd: vendor="X.Org Foundation"
[  1351.855]    compiled for 1.16.4, module version = 1.8.0
[  1351.855]    Module class: X.Org XInput Driver
[  1351.855]    ABI class: X.Org XInput driver, version 21.0
[  1351.855] (II) NVIDIA dlloader X Driver  355.06  Tue Jul 28 20:31:09 PDT 2015
[  1351.855] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1351.855] (--) using VT number 7

[  1351.855] (EE) No devices detected.
[  1351.855] (EE) 
Fatal server error:
[  1351.855] (EE) no screens found(EE) 
[  1351.855] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1351.855] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  1351.855] (EE) 
mazikwyry commented 8 years ago

I'm having the same issue Lenovo Y50-70 on Debian 8 Jessie with nVidia Geforce 960M GTX and intel card, nvidia driver.

mazikwyry@debian:~$ optirun -vv glxgears -info
[  537.502919] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  537.503245] [DEBUG]optirun version 3.2.1 starting...
[  537.503269] [DEBUG]Active configuration:
[  537.503274] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  537.503278] [DEBUG] X display: :8
[  537.503282] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  537.503288] [DEBUG] Socket path: /var/run/bumblebee.socket
[  537.503291] [DEBUG] Accel/display bridge: auto
[  537.503296] [DEBUG] VGL Compression: proxy
[  537.503301] [DEBUG] VGLrun extra options: 
[  537.503305] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[  537.503348] [DEBUG]Using auto-detected bridge primus
[  544.211453] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  544.211463] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  544.211465] [DEBUG]Socket closed.
[  544.211474] [ERROR]Aborting because fallback start is disabled.
[  544.211477] [DEBUG]Killing all remaining processes.

and /var/log/Xorg.8.log

[   538.034] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   538.034] X Protocol Version 11, Revision 0
[   538.034] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[   538.034] Current Operating System: Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64
[   538.034] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=10a90c2a-9942-4d0f-9f87-2b71da659404 ro quiet
[   538.034] Build Date: 11 February 2015  12:32:02AM
[   538.034] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[   538.034] Current version of pixman: 0.32.6
[   538.034]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   538.034] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   538.034] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Sep 30 00:31:58 2015
[   538.034] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   538.034] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   538.034] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   538.034] (==) ServerLayout "Layout0"
[   538.034] (**) |-->Screen "Default Screen" (0)
[   538.034] (**) |   |-->Monitor "<default monitor>"
[   538.034] (**) |   |-->Device "DiscreteNvidia"
[   538.034] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
[   538.034] (**) Option "AutoAddDevices" "false"
[   538.034] (**) Option "AutoAddGPU" "false"
[   538.034] (**) Not automatically adding devices
[   538.034] (==) Automatically enabling devices
[   538.034] (**) Not automatically adding GPU devices
[   538.034] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   538.034]    Entry deleted from font path.
[   538.034] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[   538.034] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules"
[   538.034] (==) |-->Input Device "<default pointer>"
[   538.034] (==) |-->Input Device "<default keyboard>"
[   538.034] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[   538.034] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[   538.034] (II) Loader magic: 0x7f25a143ed80
[   538.034] (II) Module ABI versions:
[   538.034]    X.Org ANSI C Emulation: 0.4
[   538.034]    X.Org Video Driver: 18.0
[   538.034]    X.Org XInput driver : 21.0
[   538.034]    X.Org Server Extension : 8.0
[   538.034] (II) xfree86: Adding drm device (/dev/dri/card1)
[   538.035] (II) xfree86: Adding drm device (/dev/dri/card0)
[   538.035] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   538.035] (--) PCI:*(0:1:0:0) 10de:139b:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   538.035] (II) LoadModule: "glx"
[   538.036] (II) Loading /usr/lib/nvidia/current/libglx.so
[   538.042] (II) Module glx: vendor="NVIDIA Corporation"
[   538.042]    compiled for 4.0.2, module version = 1.0.0
[   538.042]    Module class: X.Org Server Extension
[   538.042] (II) NVIDIA GLX Module  340.65  Tue Dec  2 09:10:06 PST 2014
[   538.042] (II) LoadModule: "nvidia"
[   538.042] (II) Loading /usr/lib/nvidia/current/nvidia_drv.so
[   538.042] (II) Module nvidia: vendor="NVIDIA Corporation"
[   538.042]    compiled for 4.0.2, module version = 1.0.0
[   538.042]    Module class: X.Org Video Driver
[   538.042] (II) LoadModule: "mouse"
[   538.042] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[   538.042] (II) Module mouse: vendor="X.Org Foundation"
[   538.042]    compiled for 1.16.1, module version = 1.9.1
[   538.042]    Module class: X.Org XInput Driver
[   538.042]    ABI class: X.Org XInput driver, version 21.0
[   538.042] (II) LoadModule: "kbd"
[   538.042] (WW) Warning, couldn't open module kbd
[   538.042] (II) UnloadModule: "kbd"
[   538.042] (II) Unloading kbd
[   538.042] (EE) Failed to load module "kbd" (module does not exist, 0)
[   538.042] (II) NVIDIA dlloader X Driver  340.65  Tue Dec  2 08:47:36 PST 2014
[   538.042] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   538.042] (--) using VT number 7

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

More info on my case:

I have Lenovo y50-70 laptop with nVidia GeForece 960M GTX and Debia Jessie here. I'm trying to get bumblebee to work and with no success. I have the newest nvidia-driver package (352.21) from experimental branch that supports my card. I've spent hours on that and tried many different solutions, but I still have the same problem. When running optirun .... i get the following output:

mazikwyry@debian:~$ optirun -vv  glxgears
[ 1526.261227] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1526.261439] [INFO]Configured driver: nvidia
[ 1526.261534] [DEBUG]optirun version 3.2.1 starting...
[ 1526.261546] [DEBUG]Active configuration:
[ 1526.261554] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1526.261562] [DEBUG] X display: :8
[ 1526.261570] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 1526.261578] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1526.261587] [DEBUG] Accel/display bridge: auto
[ 1526.261596] [DEBUG] VGL Compression: proxy
[ 1526.261604] [DEBUG] VGLrun extra options: 
[ 1526.261613] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 1526.261670] [DEBUG]Using auto-detected bridge primus
[ 1531.082437] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 1531.082451] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 1531.082455] [DEBUG]Socket closed.
[ 1531.082466] [ERROR]Aborting because fallback start is disabled.
[ 1531.082469] [DEBUG]Killing all remaining processes.

What is strange, after that, when i run cat /proc/acpi/bbswitch i get:

0000:01:00.0 ON

the card seems to be ENABLED and there is no way to disable it. sudo tee /proc/acpi/bbswitch <<<OFF doesn't take effect.

Here are my conf files (after changes found in tutorials and forums):

/etc/bumblebee/bumblebee.conf

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false

# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

/etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID "PCI:01:00:0"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection

Here is my DKMS stsus:

mazikwyry@debian:~$ sudo dkms status
bbswitch, 0.8, 3.16.0-4-amd64, x86_64: installed
broadcom-sta, 6.30.223.248, 3.16.0-4-amd64, x86_64: installed
fglrx, 14.9+ga14.201, 3.16.0-4-amd64, x86_64: installed
nvidia-current, 352.30, 3.16.0-4-amd64, x86_64: installed
open-vm-tools, 9.4.6, 3.16.0-4-amd64, x86_64: installed

Log of sudo gedit /var/log/Xorg.8.log after running optirun:

[  1526.264] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[  1526.264] X Protocol Version 11, Revision 0
[  1526.264] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  1526.264] Current Operating System: Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64
[  1526.264] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=10a90c2a-9942-4d0f-9f87-2b71da659404 ro quiet
[  1526.264] Build Date: 11 February 2015  12:32:02AM
[  1526.265] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[  1526.265] Current version of pixman: 0.32.6
[  1526.265]  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
[  1526.265] Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1526.265] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Oct  2 23:07:28 2015
[  1526.265] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  1526.265] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  1526.265] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1526.265] (==) ServerLayout "Layout0"
[  1526.265] (**) |-->Screen "Default Screen" (0)
[  1526.265] (**) |   |-->Monitor "<default monitor>"
[  1526.265] (**) |   |-->Device "DiscreteNvidia"
[  1526.265] (==) No monitor specified for screen "Default Screen".
  Using a default monitor configuration.
[  1526.265] (**) Option "AutoAddDevices" "false"
[  1526.265] (**) Option "AutoAddGPU" "false"
[  1526.265] (**) Not automatically adding devices
[  1526.265] (==) Automatically enabling devices
[  1526.265] (**) Not automatically adding GPU devices
[  1526.265] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1526.265]  Entry deleted from font path.
[  1526.265] (==) FontPath set to:
  /usr/share/fonts/X11/misc,
  /usr/share/fonts/X11/100dpi/:unscaled,
  /usr/share/fonts/X11/75dpi/:unscaled,
  /usr/share/fonts/X11/Type1,
  /usr/share/fonts/X11/100dpi,
  /usr/share/fonts/X11/75dpi,
  built-ins
[  1526.265] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules"
[  1526.265] (==) |-->Input Device "<default pointer>"
[  1526.265] (==) |-->Input Device "<default keyboard>"
[  1526.265] (==) The core pointer device wasn't specified explicitly in the layout.
  Using the default mouse configuration.
[  1526.265] (==) The core keyboard device wasn't specified explicitly in the layout.
  Using the default keyboard configuration.
[  1526.265] (II) Loader magic: 0x7f4de6f00d80
[  1526.265] (II) Module ABI versions:
[  1526.265]  X.Org ANSI C Emulation: 0.4
[  1526.265]  X.Org Video Driver: 18.0
[  1526.265]  X.Org XInput driver : 21.0
[  1526.265]  X.Org Server Extension : 8.0
[  1526.265] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1526.265] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1526.265] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  1526.266] (--) PCI:*(0:1:0:0) 10de:139b:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  1526.267] (II) LoadModule: "glx"
[  1526.267] (II) Loading /usr/lib/nvidia/current/libglx.so
[  1526.274] (II) Module glx: vendor="NVIDIA Corporation"
[  1526.274]  compiled for 4.0.2, module version = 1.0.0
[  1526.274]  Module class: X.Org Server Extension
[  1526.274] (II) NVIDIA GLX Module  352.30  Tue Jul 21 18:22:32 PDT 2015
[  1526.274] (II) LoadModule: "nvidia"
[  1526.274] (II) Loading /usr/lib/nvidia/current/nvidia_drv.so
[  1526.275] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1526.275]  compiled for 4.0.2, module version = 1.0.0
[  1526.275]  Module class: X.Org Video Driver
[  1526.275] (II) LoadModule: "mouse"
[  1526.275] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[  1526.275] (II) Module mouse: vendor="X.Org Foundation"
[  1526.275]  compiled for 1.16.1, module version = 1.9.1
[  1526.275]  Module class: X.Org XInput Driver
[  1526.275]  ABI class: X.Org XInput driver, version 21.0
[  1526.275] (II) LoadModule: "kbd"
[  1526.275] (WW) Warning, couldn't open module kbd
[  1526.275] (II) UnloadModule: "kbd"
[  1526.275] (II) Unloading kbd
[  1526.275] (EE) Failed to load module "kbd" (module does not exist, 0)
[  1526.275] (II) NVIDIA dlloader X Driver  352.30  Tue Jul 21 18:01:20 PDT 2015
[  1526.275] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1526.275] (--) using VT number 7

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

System details:

Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux

This is what I found in dmesg:

[  354.047180] bbswitch: enabling discrete graphics
[  354.551571] ACPI Error: [AR02] Namespace lookup failure, AE_NOT_FOUND (20140424/psargs-359)
[  354.551576] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0._PRT] (Node ffff88025e8775b8), AE_NOT_FOUND (20140424/psparse-536)
[  354.790306] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[  354.790310] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.30  Tue Jul 21 18:53:45 PDT 2015
[  355.868269] vgaarb: this pci device is not a vga device
[  355.875114] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[  355.877361] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877391] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877405] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877427] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877441] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877454] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877482] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  355.877495] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  361.914749] NVRM: failed to copy vbios to system memory.
[  361.915070] NVRM: RmInitAdapter failed! (0x30:0xffff:849)
[  361.915075] NVRM: rm_init_adapter failed for device bearing minor number 0
[  361.915091] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  368.708519] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
[  372.212171] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
[ 1526.663075] vgaarb: this pci device is not a vga device
[ 1526.663374] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 1526.665339] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665369] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665382] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665402] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665414] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665426] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665450] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1526.665462] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 1531.468440] NVRM: failed to copy vbios to system memory.
[ 1531.468767] NVRM: RmInitAdapter failed! (0x30:0xffff:849)
[ 1531.468772] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 1531.468787] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
sherter commented 8 years ago

I have the same issue, but I wonder if this really is a problem.

(II) xfree86: Adding drm device (/dev/dri/card1)
(II) xfree86: Adding drm device (/dev/dri/card0)
(EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Adding /dev/dri/card0 (which should be the Intel card, right?) fails, but adding /dev/dri/card1 (nvidia) succeeds. Isn't that how it's supposed to be?

PS: I also have the ACPI Warning issue, but I don't now if that is related to the drm stuff:

# dmesg | sed -n '/bbswitch: enabling discrete graphics/,$p'
# ----------------------------------------------------------------
[  146.577983] bbswitch: enabling discrete graphics
[  146.832555] thinkpad_acpi: EC reports that Thermal Table has changed
[  146.967553] nvidia: module license 'NVIDIA' taints kernel.
[  146.967557] Disabling lock debugging due to kernel taint
[  146.976280] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[  146.976511] NVLINK: Nvlink Core is being initialized, major device number 242
[  146.976642] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[  146.976650] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  355.11  Wed Aug 26 16:35:41 PDT 2015
[  147.167965] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168051] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168100] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168144] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168186] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168559] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.168604] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.223759] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.636349] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.636673] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.636955] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  147.637259] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
RomanHargrave commented 8 years ago

@sherter whether or not it is a problem doesn't matter so much as getting it out of the way for troubleshooting.

If we are all having this issue at the same time as having other issues with hybrid graphics (regardless of whether we use bumblebee or kernel-level support), it would be beneficial to get this out of the way, as we can then know whether it is simply an erroneous error or an actual critical issue. To date, there has unfortunately been no resolution.

stuaxo commented 8 years ago

I guess at the very least a nicer error message would be good (if it is not a problem) - but which upstream project do we go to to ask for it ?

RomanHargrave commented 8 years ago

@stuaxo This error appears to originate from the DRM subsystem of the Linux kernel. As such, this issue should be raised on the LKML. It's not immediately apparent what is causing the problem though, since the permission denied error is given regardless of the devices (/dev/driX) advertised permissions. So this could additionally be an issue with devFS; however, it would seem odd that a single device would have odd permissions errors. One of the issues here is the sheer ambiguity of the error message. It's hard to know whether the Permission denied error is being cited by the caller that attempted to set the property (and in turn was given the aforementioned error), or if the internals of the procedures used to set this property ran in to this problem and returned the error code to the caller.

RomanHargrave commented 8 years ago

@stuaxo to follow up, a cursory search for similar errors on a wide base of source code would suggest that KMS drivers are given the responsibility of setting DRM interface version, and may produce an error like such when it fails. Knowing the file to which this error belongs would be helpful.

RomanHargrave commented 8 years ago

Another update:

Going out on a limb, I checked out the source for the version of xorg I am running from git and looked for the error message.

This exact error is produced on line 61 of hw/xfree86/os-support/linux/lnx_platform.c, which shows that the error code is returned (eventually) by drmSetInterfaceVersion, which should live in libdrm. This function, in turn, appears to translate this in to an ioctl call (DRM_IOCTL_SET_VERSION). This (don't quote me here) should make its way to one of the functions in block/ioctl.c (in the kernel source tree). At this point there are several reasons that this error could occur. It is important to note that _for any of these to occur, CAP_SYS_ADMIN must not be available to the caller_. Now, for those (such as myself) who are not well acquainted with the (comparatively) new capabilities system in the kernel, LWN has published an article on them. Now, this leaves us in an interesting place, because it ultimately suggests that whoever is calling drmSetInterfaceVersion is not root and whatever they are using to do so has not had the proper permissions set. Seeing as drmSetInterfaceVersion is a rather routine part of the various libdrm implementations (commonly known as graphics drivers), this error would be more prevalent if there was some manner of flaw in the Xorg setup. If we can figure out where the call to setDrmInterfaceVersion is being made, then we can troubleshoot the problem by setting applicable capabilities for the file and going from there.

stuaxo commented 8 years ago

I've 0 experience on it, but it sounds like finding out the caller might be possible using systemtap ?

RomanHargrave commented 8 years ago

@stuaxo quite possibly, but I am not well acquainted with stap, in fact, this is the first I've ever heard of it.

RomanHargrave commented 8 years ago

@stuaxo a quicker (and dirtier) way around the problem to at least determine the next error could be to run the entire process tree as root which, since I assume that root is exempt from capabilities restrictions under normal operating circumstances, should theoretically let us actually manage to call drmSetInterfaceVersion without failing the windfall of CAP_SYS_ADMIN checks in ioctl.c.

markbaas commented 8 years ago

Running optirun as root should exclude any program not running as root.

I also wonder, should /dev/dri/card0 be accessed in the first place. I suppose nvidia is at /dev/dri/card1. Looks to me that somehow it isn't getting the right card. /dev/dri/card0 is being used by xorg :0.0, therefore it sounds logical that you get a permission error.

RomanHargrave commented 8 years ago

@markbaas well, the EACCESS appears to be returnable in this situation only if you do not have CAP_SYS_ADMIN, so a file in use by another process should not be an issue.

RomanHargrave commented 8 years ago

@markbaas also, /drev/dri/card0 or similar seems to be accessed in this situation because Xorg is probing all available DRMs (or so it would seem), as the error comes up when asking for some version info from the different cards.

markbaas commented 8 years ago

So why would it be a fatal error anyway? The actual nvidia card is dri1 right?

RomanHargrave commented 8 years ago

@markbaas Sure, but Xorg doesn't know that we don't need dri0 in this case. Unless we either submit a PR to the Xorg mailing list making cursory device probe failures nonfatal, or find a way to make it ignore dri0, it's going to fail out, unfortunately.

ryanvade commented 8 years ago

Is there no solution to this?

RomanHargrave commented 8 years ago

@ryanvade IMO it's not clear. Some research I have done would leads me to believe that this is due to a behaviour quirk in X.org as suggested in my previous comment.

When X.org probes graphics devices, it attempts to set the DRM interface version. If this fails, X.org will not enumerate the device, output an error, and move the next device, despite the fact that such a failure does not necessarily indicate that the device is unusable, nor that X.org cannot use it. Though I'm no expert on the internals of X.org.

One step to troubleshoot things and see if this is indeed to be-all end-all source of problems for the majority of the posters in this thread would be to apply a fix to X.org to make this failure nonfatal and test that change. Unfortunately, I don't have an environment set up to test X.org, nor would it be terribly convenient for me to set one up.

jontis commented 8 years ago

I'll chime in here with some maybe helpful, maybe unrelated info. I just got this error in Fedora 23, now running kernel 4.2.6-301 with proprietary nvidia driver 1:358.16-1.fc23. If I switch back to the previous kernel 4.2.6-300 with its' nvidia driver, the error goes away and everything works fine. https://bugzilla.redhat.com/show_bug.cgi?id=1286892

salbeira commented 8 years ago

I got the same issue while simultaniously having issues connecting to the internet via a wireless connection. I asked a friend to tunnle me over ethernet and as I turned off my dhcpcd@wlp4s0 , the graphics card suddenly worked again. I have no idea why, but the arch-wiki also tells of this error being related to be unable to connect to localhost.

RomanHargrave commented 8 years ago

@jontis Please post the kernel configuration for both kernel versions. The -300 and -301 suffixes are fedora-specific.

jontis commented 8 years ago

I was a little uncertain what you asked for, but hope I got it right. kernel4.2.6-300.auto.conf.txt kernel4.2.6-300.autoconf.h.txt kernel4.2.6-301.auto.conf.txt kernel4.2.6-301.autoconf.h.txt

RomanHargrave commented 8 years ago

The .conf files look to be the kernel configuration. I'll diff them and get right back.

RomanHargrave commented 8 years ago

@jontis There is no difference between the two.

My guess is that between 300 and 301 (I have no idea what git revision that refers to wrt git.kernel.org), the behaviour for drm_X functions changed.

RomanHargrave commented 8 years ago

@jontis I'm not terribly familiar with fedora, as such, I cannot (without mailing the devs about it) figure out what revisions 300-301 encompasses. I would appreciate it if you could find that out. Try asking on the issue you opened.

jontis commented 8 years ago

I have listed a bug with them, and they say, just as you do that nothing related to that changed from 300 to 301.

https://bugzilla.redhat.com/show_bug.cgi?id=1286892

ryanvade commented 8 years ago

I want to mention that my issues are with the current LTS kernel on Manjaro: 4.1.13

ArchangeGabriel commented 8 years ago

There are tons of issues mixed here. :package:

People with GK card (https://github.com/Bumblebee-Project/Bumblebee/issues/652#issuecomment-112875851 for instance) not having nouveau working, this is an upstream bug fixed in kernel 4.4.

For everyone having issue with nvidia, please open a new issue describing precisely your problem (this is also valid for you @HalisCz, this thread is too cluttered).

I’m closing that mess. ;)

aerique commented 8 years ago

Since this issue and #580 are some of the top Google hits (even the Arch Wiki links to #580 ) for the permission denied issues I'm going to write down my solution for Debian Jessie: downgrade to libdrm*_2.4.56 which can be gotten here http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/

I downgraded all libdrm* packages I had installed which were, from memory: libdrm-intel1, libdrm-nouveau2, libdrm-radeon1 and libdrm2.

HalisCz commented 8 years ago

For everyone having issue with nvidia, please open a new issue describing precisely your problem (this is also valid for you @HalisCz, this thread is too cluttered)

For future reference: My issue reopened as #722

twwn commented 8 years ago

Fixed for myself by applying Manjaro's fix.

For a patch for current develop, see here (includes one more pending Manjaro fix).

gelldur commented 8 years ago

I have same problem on Lenovo Y50-70 update to kernel 4.5 fixed issue. I can reproduce this when i connect 2'nd monitor and lock screen -> resume -> dead (black screen)