linux-c3vi:/proc # modprobe bbswitch
linux-c3vi:/proc # lsmod | grep bbswitch
bbswitch 13932 0
linux-c3vi:/proc # cat /proc/acpi/bbswitch
0000:02:00.0 ON
接下去做什么?
linux-c3vi:/proc # modprobe bbswitch
linux-c3vi:/proc # lsmod | grep bbswitch
bbswitch 13932 0
linux-c3vi:/proc # cat /proc/acpi/bbswitch
0000:02:00.0 ON
接下去做什么?
继续前面出错的 primus 跑分啊
Sent from my iPad Mini using Tapatalk HD
还是出错. 什么情况.
linux-c3vi:/proc # optirun glxinfo | grep render
[12373.710089] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:2:0:0. Please
[12373.710133] [ERROR]Aborting because fallback start is disabled.
linux-c3vi:/proc # primusrun glxinfo | grep render
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:2:0:0. Please
重启了一下
linux-c3vi:/tmp # primusrun glxinfo | grep render
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver
linux-c3vi:/tmp # optirun glxinfo | grep render
228.886700] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
228.886761] [ERROR]Aborting because fallback start is disabled.
linux-c3vi:/tmp # cat /proc/acpi/bbswitch
0000:02:00.0 ON
重启 bumblebeed.service。把之前的 start 换成 restart
Sent from my iPad Mini using Tapatalk HD
怎么做? 之前没有 start 啊
只有
sudo systemctl enable bumblebeed.service
sudo systemctl enable dkms.service
是不是
~> sudo restart bumblebeed.service
我执行了
还是
~> optirun glxinfo | grep render
2228.647907] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
2228.647958] [ERROR]Aborting because fallback start is disabled.
报告个情况: 您 69 楼让我执行一条命令 lsmod | grep nvidia
当时 70 楼执行是有输出的
现在执行没输出了
~> lsmod | grep nvidia
没有输出了
嗯哪,这回再给 bumblebeed.service 的 status 和 xorg.0.log。
总之侦错的前提就是,确保 bbswitch 挂载,然后看 bumblebeed 的 service 的运行状态,和 xorg.0.log 的日志。
~> sudo systemctl status bumblebee.service
root's password:
bumblebee.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
~> cat /var/log/Xorg.0.log
22.634]
X.Org X Server 1.13.2
Release Date: 2013-01-24
22.635] X Protocol Version 11, Revision 0
22.635] Build Operating System: openSUSE SUSE LINUX
22.635] Current Operating System: Linux linux-c3vi.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64
22.635] Kernel command line: BOOT_IMAGE=/vmlinuz-3.7.10-1.11-desktop root=UUID=73dcb74e-471b-4520-91c5-a7471bdb8d07 resume=/dev/disk/by-id/ata-Hitachi_HTS545050B9A300_101126PBN4031711HEBE-part5 splash=silent quiet showopts
22.635] Build Date: 30 April 2013 08:24:17AM
22.635]
22.635] Current version of pixman: 0.28.2
22.635] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
22.635] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
22.635] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 10 14:21:56 2013
22.635] (==) Using config directory: "/etc/X11/xorg.conf.d"
22.635] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
22.636] (==) No Layout section. Using the first Screen section.
22.636] (==) No screen section available. Using defaults.
22.636] (**) |-->Screen "Default Screen Section" (0)
22.636] (**) | |-->Monitor "<default monitor>"
22.636] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
22.636] (==) Automatically adding devices
22.636] (==) Automatically enabling devices
22.636] (==) Automatically adding GPU devices
22.636] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
22.636] Entry deleted from font path.
22.636] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
22.636] (==) ModulePath set to "/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
22.636] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
22.636] (II) Loader magic: 0x801c20
22.636] (II) Module ABI versions:
22.636] X.Org ANSI C Emulation: 0.4
22.636] X.Org Video Driver: 13.1
22.636] X.Org XInput driver : 18.0
22.636] X.Org Server Extension : 7.0
22.636] (II) config/udev: Adding drm device (/dev/dri/card0)
22.637] (--) PCI:*(0:0:2:0) 8086:0046:1025:0371 rev 24, Mem @ 0xf0000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
22.637] (--) PCI: (0:2:0:0) 10de:0df4:1025:0371 rev 161, Mem @ 0xac000000/16777216, 0xb0000000/268435456, 0xae000000/33554432, I/O @ 0x00002000/128
22.638] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
22.638] Initializing built-in extension Generic Event Extension
22.638] Initializing built-in extension SHAPE
22.638] Initializing built-in extension MIT-SHM
22.638] Initializing built-in extension XInputExtension
22.638] Initializing built-in extension XTEST
22.638] Initializing built-in extension BIG-REQUESTS
22.638] Initializing built-in extension SYNC
22.638] Initializing built-in extension XKEYBOARD
22.638] Initializing built-in extension XC-MISC
22.638] Initializing built-in extension SECURITY
22.638] Initializing built-in extension XINERAMA
22.638] Initializing built-in extension XFIXES
22.638] Initializing built-in extension RENDER
22.638] Initializing built-in extension RANDR
22.638] Initializing built-in extension COMPOSITE
22.638] Initializing built-in extension DAMAGE
22.638] Initializing built-in extension MIT-SCREEN-SAVER
22.638] Initializing built-in extension DOUBLE-BUFFER
22.638] Initializing built-in extension RECORD
22.638] Initializing built-in extension DPMS
22.638] Initializing built-in extension X-Resource
22.638] Initializing built-in extension XVideo
22.638] Initializing built-in extension XVideo-MotionCompensation
22.638] Initializing built-in extension XFree86-VidModeExtension
22.638] Initializing built-in extension XFree86-DGA
22.638] Initializing built-in extension XFree86-DRI
22.638] Initializing built-in extension DRI2
22.638] (II) "glx" will be loaded by default.
22.638] (II) LoadModule: "dri2"
22.638] (II) Module "dri2" already built-in
22.638] (II) LoadModule: "glamoregl"
22.670] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
22.671] (II) Module glamoregl: vendor="X.Org Foundation"
22.671] compiled for 1.13.2, module version = 0.5.0
22.671] ABI class: X.Org ANSI C Emulation, version 0.4
22.672] (II) LoadModule: "glx"
22.672] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
22.672] (II) Module glx: vendor="X.Org Foundation"
22.672] compiled for 1.13.2, module version = 1.0.0
22.672] ABI class: X.Org Server Extension, version 7.0
22.672] (==) AIGLX enabled
22.672] Loading extension GLX
22.672] (==) Matched intel as autoconfigured driver 0
22.672] (==) Matched intel as autoconfigured driver 1
22.672] (==) Matched modesetting as autoconfigured driver 2
22.672] (==) Matched fbdev as autoconfigured driver 3
22.672] (==) Matched vesa as autoconfigured driver 4
22.672] (==) Assigned the driver to the xf86ConfigLayout
22.672] (II) LoadModule: "intel"
22.673] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
22.673] (II) Module intel: vendor="X.Org Foundation"
22.673] compiled for 1.13.1, module version = 2.20.19
22.673] Module class: X.Org Video Driver
22.673] ABI class: X.Org Video Driver, version 13.1
22.673] (II) LoadModule: "modesetting"
22.673] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
22.673] (II) Module modesetting: vendor="X.Org Foundation"
22.673] compiled for 1.13.1, module version = 0.6.0
22.673] Module class: X.Org Video Driver
22.673] ABI class: X.Org Video Driver, version 13.1
22.673] (II) LoadModule: "fbdev"
22.673] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
22.673] (II) Module fbdev: vendor="X.Org Foundation"
22.674] compiled for 1.13.1, module version = 0.4.3
22.674] Module class: X.Org Video Driver
22.674] ABI class: X.Org Video Driver, version 13.1
22.674] (II) LoadModule: "vesa"
22.674] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
22.674] (II) Module vesa: vendor="X.Org Foundation"
22.674] compiled for 1.13.1, module version = 2.3.2
22.674] Module class: X.Org Video Driver
22.674] ABI class: X.Org Video Driver, version 13.1
22.674] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
Haswell Server (GT2+), Haswell SDV Desktop (GT1),
Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
Haswell ULT Server (GT1), Haswell ULT Server (GT2),
Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
ValleyView PO board
22.674] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
22.674] (II) FBDEV: driver for framebuffer: fbdev
22.674] (II) VESA: driver for VESA chipsets: vesa
22.674] (++) using VT number 7
22.674] (WW) Falling back to old probe method for modesetting
22.675] (WW) Falling back to old probe method for fbdev
22.675] (II) Loading sub module "fbdevhw"
22.675] (II) LoadModule: "fbdevhw"
22.675] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
22.675] (II) Module fbdevhw: vendor="X.Org Foundation"
22.675] compiled for 1.13.2, module version = 0.0.2
22.675] ABI class: X.Org Video Driver, version 13.1
22.675] (WW) Falling back to old probe method for vesa
22.675] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
22.675] (==) intel(0): Depth 24, (--) framebuffer bpp 32
22.675] (==) intel(0): RGB weight 888
22.675] (==) intel(0): Default visual is TrueColor
22.675] (--) intel(0): Integrated Graphics Chipset: Intel(R) Arrandale
22.675] (**) intel(0): Relaxed fencing enabled
22.675] (**) intel(0): Wait on SwapBuffers? enabled
22.675] (**) intel(0): Triple buffering? enabled
22.675] (**) intel(0): Framebuffer tiled
22.675] (**) intel(0): Pixmaps tiled
22.675] (**) intel(0): 3D buffers tiled
22.675] (**) intel(0): SwapBuffers wait enabled
22.675] (==) intel(0): video overlay key set to 0x101fe
22.675] (II) intel(0): Output LVDS1 has no monitor section
22.678] (--) intel(0): found backlight control interface /sys/class/backlight/acpi_video1
22.683] (II) intel(0): Output VGA1 has no monitor section
22.684] (II) intel(0): Output HDMI1 has no monitor section
22.708] (II) intel(0): Output DP1 has no monitor section
22.708] (II) intel(0): EDID for output LVDS1
22.708] (II) intel(0): Manufacturer: AUO Model: 183c Serial#: 0
22.708] (II) intel(0): Year: 2009 Week: 1
22.708] (II) intel(0): EDID Version: 1.3
22.708] (II) intel(0): Digital Display Input
22.708] (II) intel(0): Max Image Size [cm]: horiz.: 31 vert.: 17
22.708] (II) intel(0): Gamma: 2.20
22.708] (II) intel(0): No DPMS capabilities specified
22.708] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
22.708] (II) intel(0): First detailed timing is preferred mode
22.708] (II) intel(0): redX: 0.620 redY: 0.340 greenX: 0.330 greenY: 0.570
22.708] (II) intel(0): blueX: 0.150 blueY: 0.600 whiteX: 0.313 whiteY: 0.329
22.708] (II) intel(0): Manufacturer's mask: 0
22.708] (II) intel(0): Supported detailed timing:
22.708] (II) intel(0): clock: 69.3 MHz Image Size: 309 x 173 mm
22.708] (II) intel(0): h_active: 1366 h_sync: 1404 h_sync_end 1426 h_blank_end 1436 h_border: 0
22.708] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 803 v_border: 0
22.708] (II) intel(0): Unknown vendor-specific block f
22.708] (II) intel(0): AUO
22.708] (II) intel(0): B140XW01 V8
22.708] (II) intel(0): EDID (in hex):
22.708] (II) intel(0): 00ffffffffffff0006af3c1800000000
22.708] (II) intel(0): 01130103801f11780ac8a59e57549226
22.708] (II) intel(0): 99505400000001010101010101010101
22.708] (II) intel(0): 010101010101121b5646500023302616
22.708] (II) intel(0): 360035ad100000180000000f00000000
22.708] (II) intel(0): 00000000000000000020000000fe0041
22.708] (II) intel(0): 554f0a202020202020202020000000fe
22.708] (II) intel(0): 004231343058573031205638200a0017
22.708] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
22.708] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
22.708] (II) intel(0): Printing probed modes for output LVDS1
22.708] (II) intel(0): Modeline "1366x768"x60.1 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (48.3 kHz eP)
22.708] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
22.708] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
22.708] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
22.708] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
22.712] (II) intel(0): EDID for output VGA1
22.712] (II) intel(0): EDID for output HDMI1
22.737] (II) intel(0): EDID for output DP1
22.737] (II) intel(0): Output LVDS1 connected
22.737] (II) intel(0): Output VGA1 disconnected
22.737] (II) intel(0): Output HDMI1 disconnected
22.737] (II) intel(0): Output DP1 disconnected
22.737] (II) intel(0): Using exact sizes for initial modes
22.737] (II) intel(0): Output LVDS1 using initial mode 1366x768
22.737] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
22.737] (II) intel(0): Kernel page flipping support detected, enabling
22.737] (==) intel(0): DPI set to (96, 96)
22.737] (II) Loading sub module "fb"
22.737] (II) LoadModule: "fb"
22.737] (II) Loading /usr/lib64/xorg/modules/libfb.so
22.737] (II) Module fb: vendor="X.Org Foundation"
22.737] compiled for 1.13.2, module version = 1.0.0
22.737] ABI class: X.Org ANSI C Emulation, version 0.4
22.737] (II) Loading sub module "glamoregl"
22.737] (II) LoadModule: "glamoregl"
22.737] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
22.737] (II) Module glamoregl: vendor="X.Org Foundation"
22.737] compiled for 1.13.2, module version = 0.5.0
22.737] ABI class: X.Org ANSI C Emulation, version 0.4
22.737] (II) glamor: OpenGL accelerated X.org driver based.
22.768] (II) glamor: EGL version 1.4 (DRI2):
22.771] (II) intel(0): glamor detected, initialising egl layer.
22.771] (II) Loading sub module "dri2"
22.771] (II) LoadModule: "dri2"
22.771] (II) Module "dri2" already built-in
22.771] (II) UnloadModule: "modesetting"
22.771] (II) Unloading modesetting
22.771] (II) UnloadModule: "fbdev"
22.771] (II) Unloading fbdev
22.771] (II) UnloadSubModule: "fbdevhw"
22.771] (II) Unloading fbdevhw
22.771] (II) UnloadModule: "vesa"
22.771] (II) Unloading vesa
22.771] (==) Depth 24 pixmap format is 32 bpp
22.771] (II) intel(0): [DRI2] Setup complete
22.771] (II) intel(0): [DRI2] DRI driver: i965
22.771] (II) intel(0): Allocated new frame buffer 1408x768 stride 5632, tiled
22.778] (II) UXA(0): Driver registered support for the following operations:
22.778] (II) solid
22.778] (II) copy
22.778] (II) composite (RENDER acceleration)
22.778] (II) put_image
22.778] (II) get_image
22.778] (==) intel(0): Backing store disabled
22.778] (==) intel(0): Silken mouse enabled
22.778] (II) intel(0): Initializing HW Cursor
22.778] (II) intel(0): Use standard UXA acceleration.
22.778] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
22.790] (==) intel(0): DPMS enabled
22.790] (==) intel(0): Intel XvMC decoder enabled
22.790] (II) intel(0): Set up textured video
22.791] (II) intel(0): [XvMC] xvmc_vld driver initialized.
22.791] (II) intel(0): direct rendering: DRI2 Enabled
22.791] (==) intel(0): hotplug detection: "enabled"
22.817] (--) RandR disabled
22.822] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
22.822] (II) AIGLX: enabled GLX_INTEL_swap_event
22.822] (II) AIGLX: enabled GLX_ARB_create_context
22.822] (II) AIGLX: enabled GLX_ARB_create_context_profile
22.822] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
22.822] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
22.822] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
22.822] (II) AIGLX: Loaded and initialized i965
22.822] (II) GLX: Initialized DRI2 GL provider for screen 0
22.822] (II) intel(0): Setting screen physical size to 361 x 203
22.924] (II) config/udev: Adding input device Power Button (/dev/input/event4)
22.924] (**) Power Button: Applying InputClass "evdev keyboard catchall"
22.924] (**) Power Button: Applying InputClass "evdev keyboard catchall"
22.924] (**) Power Button: Applying InputClass "LocalKeyboard"
22.924] (II) LoadModule: "evdev"
22.924] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
22.925] (II) Module evdev: vendor="X.Org Foundation"
22.925] compiled for 1.13.1, module version = 2.7.3
22.925] Module class: X.Org XInput Driver
22.925] ABI class: X.Org XInput driver, version 18.0
22.925] (II) Using input driver 'evdev' for 'Power Button'
22.925] (**) Power Button: always reports core events
22.925] (**) evdev: Power Button: Device: "/dev/input/event4"
22.925] (--) evdev: Power Button: Vendor 0 Product 0x1
22.925] (--) evdev: Power Button: Found keys
22.925] (II) evdev: Power Button: Configuring as keyboard
22.925] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
22.925] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
22.925] (**) Option "xkb_rules" "evdev"
22.925] (**) Option "xkb_model" "evdev"
22.925] (**) Option "xkb_layout" "us"
22.946] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
22.946] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
22.946] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
22.946] (**) Video Bus: Applying InputClass "LocalKeyboard"
22.946] (II) Using input driver 'evdev' for 'Video Bus'
22.946] (**) Video Bus: always reports core events
22.946] (**) evdev: Video Bus: Device: "/dev/input/event6"
22.946] (--) evdev: Video Bus: Vendor 0 Product 0x6
22.946] (--) evdev: Video Bus: Found keys
22.946] (II) evdev: Video Bus: Configuring as keyboard
22.946] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input6/event6"
22.946] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
22.946] (**) Option "xkb_rules" "evdev"
22.946] (**) Option "xkb_model" "evdev"
22.946] (**) Option "xkb_layout" "us"
22.946] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
22.946] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
22.946] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
22.946] (**) Video Bus: Applying InputClass "LocalKeyboard"
22.946] (II) Using input driver 'evdev' for 'Video Bus'
22.946] (**) Video Bus: always reports core events
22.946] (**) evdev: Video Bus: Device: "/dev/input/event5"
22.946] (--) evdev: Video Bus: Vendor 0 Product 0x6
22.946] (--) evdev: Video Bus: Found keys
22.946] (II) evdev: Video Bus: Configuring as keyboard
22.946] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input5/event5"
22.946] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
22.946] (**) Option "xkb_rules" "evdev"
22.946] (**) Option "xkb_model" "evdev"
22.946] (**) Option "xkb_layout" "us"
22.947] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
22.947] (II) No input driver specified, ignoring this device.
22.947] (II) This device may have been added with another device file.
22.947] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
22.947] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
22.947] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
22.947] (**) Sleep Button: Applying InputClass "LocalKeyboard"
22.947] (II) Using input driver 'evdev' for 'Sleep Button'
22.947] (**) Sleep Button: always reports core events
22.947] (**) evdev: Sleep Button: Device: "/dev/input/event3"
22.947] (--) evdev: Sleep Button: Vendor 0 Product 0x3
22.947] (--) evdev: Sleep Button: Found keys
22.947] (II) evdev: Sleep Button: Configuring as keyboard
22.947] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3"
22.947] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
22.947] (**) Option "xkb_rules" "evdev"
22.947] (**) Option "xkb_model" "evdev"
22.947] (**) Option "xkb_layout" "us"
22.947] (II) config/udev: Adding drm device (/dev/dri/card0)
22.948] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event11)
22.948] (II) No input driver specified, ignoring this device.
22.948] (II) This device may have been added with another device file.
22.948] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=3 (/dev/input/event12)
22.948] (II) No input driver specified, ignoring this device.
22.948] (II) This device may have been added with another device file.
22.948] (II) config/udev: Adding input device HDA Intel MID Mic (/dev/input/event13)
22.948] (II) No input driver specified, ignoring this device.
22.948] (II) This device may have been added with another device file.
22.948] (II) config/udev: Adding input device HDA Intel MID Headphone (/dev/input/event14)
22.948] (II) No input driver specified, ignoring this device.
22.948] (II) This device may have been added with another device file.
22.949] (II) config/udev: Adding input device 1.3M WebCam (/dev/input/event8)
22.949] (**) 1.3M WebCam: Applying InputClass "evdev keyboard catchall"
22.949] (**) 1.3M WebCam: Applying InputClass "evdev keyboard catchall"
22.949] (**) 1.3M WebCam: Applying InputClass "LocalKeyboard"
22.949] (II) Using input driver 'evdev' for '1.3M WebCam'
22.949] (**) 1.3M WebCam: always reports core events
22.949] (**) evdev: 1.3M WebCam: Device: "/dev/input/event8"
22.949] (--) evdev: 1.3M WebCam: Vendor 0x402 Product 0x9665
22.949] (--) evdev: 1.3M WebCam: Found keys
22.949] (II) evdev: 1.3M WebCam: Configuring as keyboard
22.949] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/input/input8/event8"
22.949] (II) XINPUT: Adding extended input device "1.3M WebCam" (type: KEYBOARD, id 10)
22.949] (**) Option "xkb_rules" "evdev"
22.949] (**) Option "xkb_model" "evdev"
22.949] (**) Option "xkb_layout" "us"
22.949] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
22.949] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
22.949] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
22.949] (**) AT Translated Set 2 keyboard: Applying InputClass "LocalKeyboard"
22.949] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
22.949] (**) AT Translated Set 2 keyboard: always reports core events
22.949] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
22.949] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
22.949] (--) evdev: AT Translated Set 2 keyboard: Found keys
22.949] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
22.949] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
22.949] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
22.949] (**) Option "xkb_rules" "evdev"
22.949] (**) Option "xkb_model" "evdev"
22.949] (**) Option "xkb_layout" "us"
22.950] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event1)
22.950] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
22.950] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
22.950] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
22.950] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
22.950] (II) LoadModule: "synaptics"
22.950] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
22.950] (II) Module synaptics: vendor="X.Org Foundation"
22.950] compiled for 1.13.2, module version = 1.6.3
22.950] Module class: X.Org XInput Driver
22.950] ABI class: X.Org XInput driver, version 18.0
22.950] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
22.950] (**) SynPS/2 Synaptics TouchPad: always reports core events
22.950] (**) Option "Device" "/dev/input/event1"
22.959] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5576
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4880
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
22.959] (**) Option "HorizScrollDelta" "0"
22.959] (**) Option "TapButton1" "1"
22.959] (**) Option "TapButton2" "3"
22.959] (**) Option "TapButton3" "2"
22.959] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
22.959] (**) SynPS/2 Synaptics TouchPad: always reports core events
22.961] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input1/event1"
22.961] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
22.961] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
22.961] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
22.961] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.037
22.961] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
22.961] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
22.961] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
22.961] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
22.961] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
22.961] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
22.961] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
22.962] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
22.962] (II) No input driver specified, ignoring this device.
22.962] (II) This device may have been added with another device file.
22.963] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/event10)
22.963] (II) No input driver specified, ignoring this device.
22.963] (II) This device may have been added with another device file.
22.963] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/js0)
22.963] (II) No input driver specified, ignoring this device.
22.963] (II) This device may have been added with another device file.
22.963] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event9)
22.963] (**) Acer WMI hotkeys: Applying InputClass "evdev keyboard catchall"
22.963] (**) Acer WMI hotkeys: Applying InputClass "evdev keyboard catchall"
22.963] (**) Acer WMI hotkeys: Applying InputClass "LocalKeyboard"
22.963] (II) Using input driver 'evdev' for 'Acer WMI hotkeys'
22.963] (**) Acer WMI hotkeys: always reports core events
22.963] (**) evdev: Acer WMI hotkeys: Device: "/dev/input/event9"
22.963] (--) evdev: Acer WMI hotkeys: Vendor 0 Product 0
22.963] (--) evdev: Acer WMI hotkeys: Found keys
22.963] (II) evdev: Acer WMI hotkeys: Configuring as keyboard
22.963] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event9"
22.963] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 13)
22.963] (**) Option "xkb_rules" "evdev"
22.963] (**) Option "xkb_model" "evdev"
22.963] (**) Option "xkb_layout" "us"
36.791] (II) intel(0): EDID vendor "AUO", prod id 6204
36.791] (II) intel(0): Printing DDC gathered Modelines:
36.791] (II) intel(0): Modeline "1366x768"x0.0 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (48.3 kHz eP)
38.394] (II) intel(0): EDID vendor "AUO", prod id 6204
38.394] (II) intel(0): Printing DDC gathered Modelines:
38.394] (II) intel(0): Modeline "1366x768"x0.0 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (48.3 kHz eP)
49.473] (II) intel(0): EDID vendor "AUO", prod id 6204
49.473] (II) intel(0): Printing DDC gathered Modelines:
49.473] (II) intel(0): Modeline "1366x768"x0.0 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (48.3 kHz eP)
现在执行
~> cat /proc/acpi/bbswitch
0000:02:00.0 OFF
OFF 是否表示独显关闭了啊?
第一次是我的错,第二次就是你的错了。bumblebeed.service。
sorry
~> sudo systemctl status bumblebeed.service
root's password:
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Mon, 2013-06-10 18:47:47 CST; 2min 25s ago
Main PID: 528 (bumblebeed)
CGroup: name=systemd:/system/bumblebeed.service
└ 528 /usr/sbin/bumblebeed
Jun 10 18:47:47 linux-c3vi.site systemd[1]: Starting Bumblebee C Daemon...
Jun 10 18:47:47 linux-c3vi.site systemd[1]: Started Bumblebee C Daemon.
Jun 10 18:48:02 linux-c3vi.site bumblebeed[528]: 37.086032] [INFO]/usr/sbin/bumblebeed 3.2.1 started
~> cat /proc/acpi/bbswitch
0000:02:00.0 OFF
su
echo ON > /proc/acpi/bbswitch
modprobe nvidia
exit
primusrun glxinfo | grep render
# echo ON > /proc/acpi/bbswitch
# modprobe nvidia
# exit
exit
> primusrun glxinfo | grep render
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:2:0:0. Please
> optirun glxinfo | grep render
[10339.774206] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:2:0:0. Please
[10339.774250] [ERROR]Aborting because fallback start is disabled.
> lsmod | grep nvidia
nvidia 9429239 0
> cat /proc/acpi/bbswitch
0000:02:00.0 ON
报告个情况:
现在开机一上来
~> cat /proc/acpi/bbswitch
cat: /proc/acpi/bbswitch: No such file or directory
然后
~> sudo systemctl restart bumblebeed.service
~> cat /proc/acpi/bbswitch
0000:02:00.0 OFF
重启后一上来, 又是
~> cat /proc/acpi/bbswitch
cat: /proc/acpi/bbswitch: No such file or directory
93 楼之前, 启动后一上来, 还是
~> cat /proc/acpi/bbswitch
cat /proc/acpi/bbswitch
感觉 OFF 表示独显关闭吧! 因为在这个状态, 独显的风扇都挺安静的, 温度也不高.
如果是这样, 回到每次开机执行 cat /proc/acpi/bbswitch 都是显示 cat /proc/acpi/bbswitch 就好了.
亲,凑合不是胜利。
你把刚才我说的那些都做完然后再贴 Xorg.0.log。
又有新情况
刚才又重启了一次
~> lsmod | grep nvidia
又没有输出了
于是
# modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/3.7.10-1.11-desktop/updates/nvidia.ko): No such device
奇怪,93 楼执行这条命令没有这条输出的啊!
亲呐,您要消化吸收的啊,不然就一直别重启(这不现实),很明显你的 bbswitch 和 nvidia 一起掉了啊。你这问题之前出现过的。我们不能都 10 页了还在翻来覆去的解决出现过的问题摸不到问题的实质啊,我现在都无法确定你的 Can‘t load secondary GPU 是你有东西没启动还是真的是问题,前面每次要摸到的时候都发现其实是你操作失误…
modprobe nvidia 这个命令我 93 楼执行的好好的
怎么现在不行了提示:FATAL: Error inserting nvidia (/lib/modules/3.7.10-1.11-desktop/updates/nvidia.ko): No such device 了?
我从 93 楼向上回溯了一下:
86 楼的时候 “lsmod | grep nvidia” 就没有输出 , 然后一直搁置着.
直到 93 楼执行了你 92 楼给的命令 :“modprobe nvidia” 就有输出了 " nvidia 9429239 0 “.
这样看来解决"lsmod | grep nvidia” 没输出的办法是且只是"modprobe nvidia" 啊
现在这个办法不能用了啊, 叫我怎么办?
我认真从头看完了整个帖子,我安 bumblebee 的时候也遇到了 lz 的一些问题,最大问题是软件包里闭源独显驱动在软件管理里显示安装上了,但实际在下载驱动包安装的时候出错了,所以在启动 bumblebee 会报错,错误就忘了。然后我又把相关包卸载,安开源驱动重新来过。。刚开始能关掉独显,后来安装了个 laptop-mode-tools 在开机时独显又开始工作了,我又配置 laptop-mode-tools 但总是效果不好,同时我在爬帖子的时候看到说在安装系统前禁用独显然后装好系统后再开启双显,独显就不会工作也不会发热,所以才有了下面这种方法,既然 lz 就是想把独显关掉,和我是一种心态。。。那就这么操作。。。其实不折腾 bumblebee 也能关掉独显。先移除独显的闭源和开源驱动,我全部把他卸了,不卸不知道结果怎样,在 /etc/modprobe.d 文件夹下新建 50-nvidia.conf 内容 blacklist nvidia,终端命令我就写了,然后新建 50-nouveau.conf,内容 blacklist nouveau。然后重建 initrd ,命令 sudo mkinitrd,重启 lspci | grep VGA 看看效果。但我之前安装的 bumblebee 和 bbswitch 没删,因为这几天考试所以没折腾。。。改天删了试试。。。我亲测有效。。。这帖子给了我很多启发,也学到了很多,我也是这么一步步折腾过来的。。。苏女王也辛苦了