跪求大神指点debian上的intel和nvidia双显卡问题

最大的社区版本,Ubuntu的发源地
回复
luemiu
帖子: 4
注册时间: 2016-04-19 15:48
系统: debian

跪求大神指点debian上的intel和nvidia双显卡问题

#1

帖子 luemiu » 2016-04-19 16:06

用bumblebee控制这双显卡,怎么就是用optirun运行软件能看到启用独显,但是应该没有3D加速么还是?怎么这么慢呢?和集成显卡一样!

代码: 全选

luemiu@deb:~$ optirun glxgears 
302 frames in 5.0 seconds = 60.316 FPS
300 frames in 5.0 seconds = 59.989 FPS
300 frames in 5.0 seconds = 59.981 FPS
运行软件的时候显卡信息如下

代码: 全选

luemiu@deb:~$ sudo lshw -C display
[sudo] password for luemiu: 
  *-display               
       description: VGA compatible controller
       product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0e
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:106 memory:c3400000-c37fffff memory:a0000000-afffffff ioport:f080(size=8)
  *-display
       description: 3D controller
       product: GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:108 memory:c2000000-c2ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c3000000-c307ffff
使用bumblebeed调试信息如下:

代码: 全选

luemiu@deb:~$ sudo bumblebeed --debug
[18752.436449] [DEBUG]bbswitch has been detected.
[18752.436550] [INFO]Switching method 'bbswitch' is available and will be used.
[18752.436576] [DEBUG]Active configuration:
[18752.436596] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[18752.436615] [DEBUG] X display: :8
[18752.436634] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[18752.436655] [DEBUG] Socket path: /var/run/bumblebee.socket
[18752.436675] [DEBUG] pidfile: /var/run/bumblebeed.pid
[18752.436694] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[18752.436713] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[18752.436732] [DEBUG] ModulePath: /usr/lib/nvidia,/usr/lib/xorg/modules
[18752.436750] [DEBUG] GID name: bumblebee
[18752.436768] [DEBUG] Power method: bbswitch
[18752.436786] [DEBUG] Stop X on exit: 1
[18752.436805] [DEBUG] Driver: nvidia
[18752.436823] [DEBUG] Driver module: nvidia-current
[18752.436842] [DEBUG] Card shutdown state: 1
[18752.437266] [DEBUG]Process /sbin/modprobe started, PID 9699.
[18752.437353] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[18752.441705] [DEBUG]SIGCHILD received, but wait failed with No child processes
[18752.441775] [DEBUG]Configuration test passed.
[18752.443541] [INFO]bumblebeed 3.2.1 started
[18752.443909] [INFO]Initialization completed - now handling client requests
[18758.131712] [DEBUG]Accepted new connection
[18758.132036] [INFO]Switching dedicated card ON [bbswitch]
[18758.355230] [INFO]Loading driver nvidia (module nvidia-current)
[18758.355658] [DEBUG]Process modprobe started, PID 9701.
[18758.396563] [DEBUG]Process with PID 9701 returned code 0
[18758.396739] [INFO]Starting X server on display :8.
[18758.396956] [DEBUG]Process Xorg started, PID 9706.
[18758.407594] [DEBUG][XORG] X.Org X Server 1.16.4
[18758.407620] [DEBUG][XORG] Release Date: 2014-12-20
[18758.407629] [DEBUG][XORG] X Protocol Version 11, Revision 0
[18758.407637] [DEBUG][XORG] Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
[18758.407645] [DEBUG][XORG] Current Operating System: Linux deb 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) i686
[18758.407654] [DEBUG][XORG] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-686-pae root=UUID=dd9bca89-39e8-40c3-bb7d-7fc8987efcde ro quiet
[18758.407662] [DEBUG][XORG] Build Date: 11 February 2015  01:14:26AM
[18758.407669] [DEBUG][XORG] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[18758.407676] [DEBUG][XORG] Current version of pixman: 0.32.6
[18758.407686] [DEBUG][XORG] 	Before reporting problems, check http://wiki.x.org
[18758.407694] [DEBUG][XORG] 	to make sure that you have the latest version.
[18758.407702] [DEBUG][XORG] Markers: (--) probed, (**) from config file, (==) default setting,
[18758.407710] [DEBUG][XORG] 	(++) from command line, (!!) notice, (II) informational,
[18758.407718] [DEBUG][XORG] 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[18758.407726] [DEBUG][XORG] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Apr 19 16:08:21 2016
[18758.407734] [DEBUG][XORG] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[18758.407741] [DEBUG][XORG] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[18758.407750] [DEBUG][XORG] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[18758.407759] [DEBUG][XORG] (==) ServerLayout "Layout0"
[18758.407766] [DEBUG][XORG] (==) No screen section available. Using defaults.
[18758.407773] [DEBUG][XORG] (**) |-->Screen "Default Screen Section" (0)
[18758.407781] [DEBUG][XORG] (**) |   |-->Monitor "<default monitor>"
[18758.407788] [DEBUG][XORG] (==) No device specified for screen "Default Screen Section".
[18758.407796] [DEBUG][XORG] 	Using the first device section listed.
[18758.407803] [DEBUG][XORG] (**) |   |-->Device "DiscreteNvidia"
[18758.407810] [DEBUG][XORG] (==) No monitor specified for screen "Default Screen Section".
[18758.407818] [DEBUG][XORG] 	Using a default monitor configuration.
[18758.407825] [DEBUG][XORG] (**) Option "AutoAddDevices" "false"
[18758.407834] [DEBUG][XORG] (**) Option "AutoAddGPU" "false"
[18758.407841] [DEBUG][XORG] (**) Not automatically adding devices
[18758.407849] [DEBUG][XORG] (==) Automatically enabling devices
[18758.407856] [DEBUG][XORG] (**) Not automatically adding GPU devices
[18758.407868] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[18758.407876] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407887] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[18758.407895] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407905] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[18758.407913] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407923] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[18758.407933] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407943] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[18758.407951] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407961] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[18758.407969] [DEBUG][XORG] 	Entry deleted from font path.
[18758.407977] [DEBUG][XORG] (==) FontPath set to:
[18758.407984] [DEBUG][XORG] 	/usr/share/fonts/X11/misc,
[18758.407991] [DEBUG][XORG] 	built-ins
[18758.408019] [DEBUG][XORG] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules"
[18758.408036] [DEBUG][XORG] (==) |-->Input Device "<default pointer>"
[18758.408044] [DEBUG][XORG] (==) |-->Input Device "<default keyboard>"
[18758.408051] [DEBUG][XORG] (==) The core pointer device wasn't specified explicitly in the layout.
[18758.408061] [DEBUG][XORG] 	Using the default mouse configuration.
[18758.408069] [DEBUG][XORG] (==) The core keyboard device wasn't specified explicitly in the layout.
[18758.408077] [DEBUG][XORG] 	Using the default keyboard configuration.
[18758.408085] [DEBUG][XORG] (II) Loader magic: 0xb76f1700
[18758.408092] [DEBUG][XORG] (II) Module ABI versions:
[18758.408099] [DEBUG][XORG] 	X.Org ANSI C Emulation: 0.4
[18758.408106] [DEBUG][XORG] 	X.Org Video Driver: 18.0
[18758.408114] [DEBUG][XORG] 	X.Org XInput driver : 21.0
[18758.408121] [DEBUG][XORG] 	X.Org Server Extension : 8.0
[18758.408134] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[18758.408150] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[18758.408159] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card1)
[18758.408168] [DEBUG][XORG] (--) PCI:*(0:1:0:0) 10de:1140:0000:0000 rev 161, Mem @ 0xc2000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[18758.408177] [DEBUG][XORG] (II) LoadModule: "glx"
[18758.408184] [DEBUG][XORG] (II) Loading /usr/lib/nvidia/current/libglx.so
[18762.242550] [DEBUG][XORG] (II) Module glx: vendor="NVIDIA Corporation"
[18762.242580] [DEBUG][XORG] 	compiled for 4.0.2, module version = 1.0.0
[18762.242589] [DEBUG][XORG] 	Module class: X.Org Server Extension
[18762.242597] [DEBUG][XORG] (II) NVIDIA GLX Module  340.96  Sun Nov  8 22:11:26 PST 2015
[18762.242604] [DEBUG][XORG] (II) LoadModule: "nvidia"
[18762.242611] [DEBUG][XORG] (II) Loading /usr/lib/nvidia/current/nvidia_drv.so
[18762.242619] [DEBUG][XORG] (II) Module nvidia: vendor="NVIDIA Corporation"
[18762.242626] [DEBUG][XORG] 	compiled for 4.0.2, module version = 1.0.0
[18762.242633] [DEBUG][XORG] 	Module class: X.Org Video Driver
[18762.242640] [DEBUG][XORG] (II) LoadModule: "mouse"
[18762.242646] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[18762.242655] [DEBUG][XORG] (II) Module mouse: vendor="X.Org Foundation"
[18762.242662] [DEBUG][XORG] 	compiled for 1.16.1, module version = 1.9.1
[18762.242670] [DEBUG][XORG] 	Module class: X.Org XInput Driver
[18762.242677] [DEBUG][XORG] 	ABI class: X.Org XInput driver, version 21.0
[18762.242684] [DEBUG][XORG] (II) LoadModule: "kbd"
[18762.242697] [DEBUG][XORG] (WW) Warning, couldn't open module kbd
[18762.242705] [DEBUG][XORG] (II) UnloadModule: "kbd"
[18762.242711] [DEBUG][XORG] (II) Unloading kbd
[18762.242719] [DEBUG][XORG] (EE) Failed to load module "kbd" (module does not exist, 0)
[18762.242727] [DEBUG][XORG] (II) NVIDIA dlloader X Driver  340.96  Sun Nov  8 21:48:15 PST 2015
[18762.242734] [DEBUG][XORG] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[18762.242741] [DEBUG][XORG] (--) using VT number 1
[18762.242749] [DEBUG][XORG] (II) Loading sub module "fb"
[18762.242756] [DEBUG][XORG] (II) LoadModule: "fb"
[18762.242763] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libfb.so
[18762.242770] [DEBUG][XORG] (II) Module fb: vendor="X.Org Foundation"
[18762.242777] [DEBUG][XORG] 	compiled for 1.16.4, module version = 1.0.0
[18762.242785] [DEBUG][XORG] 	ABI class: X.Org ANSI C Emulation, version 0.4
[18762.242796] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
[18762.242803] [DEBUG][XORG] (II) Loading sub module "wfb"
[18762.242810] [DEBUG][XORG] (II) LoadModule: "wfb"
[18762.242817] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libwfb.so
[18762.242823] [DEBUG][XORG] (II) Module wfb: vendor="X.Org Foundation"
[18762.242830] [DEBUG][XORG] 	compiled for 1.16.4, module version = 1.0.0
[18762.242837] [DEBUG][XORG] 	ABI class: X.Org ANSI C Emulation, version 0.4
[18762.242846] [DEBUG][XORG] (II) Loading sub module "ramdac"
[18762.242854] [DEBUG][XORG] (II) LoadModule: "ramdac"
[18762.242860] [DEBUG][XORG] (II) Module "ramdac" already built-in
[18762.242867] [DEBUG][XORG] (II) NVIDIA(0): Creating default Display subsection in Screen section
[18762.242874] [DEBUG][XORG] 	"Default Screen Section" for depth/fbbpp 24/32
[18762.242881] [DEBUG][XORG] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[18762.242888] [DEBUG][XORG] (==) NVIDIA(0): RGB weight 888
[18762.242895] [DEBUG][XORG] (==) NVIDIA(0): Default visual is TrueColor
[18762.242901] [DEBUG][XORG] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[18762.242908] [DEBUG][XORG] (**) NVIDIA(0): Option "NoLogo" "true"
[18762.242915] [DEBUG][XORG] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[18762.242923] [DEBUG][XORG] (**) NVIDIA(0): Option "UseEDID" "false"
[18762.242930] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[18762.242937] [DEBUG][XORG] (**) NVIDIA(0): Enabling 2D acceleration
[18762.242944] [DEBUG][XORG] (**) NVIDIA(0): Ignoring EDIDs
[18762.242950] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[18762.242957] [DEBUG][XORG] (**) NVIDIA(0):     mode
[18762.242964] [DEBUG][XORG] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[18762.242970] [DEBUG][XORG] (II) NVIDIA(0): NVIDIA GPU GF117 (GF117) at PCI:1:0:0 (GPU-0)
[18762.242977] [DEBUG][XORG] (--) NVIDIA(0): Memory: 2097152 kBytes
[18762.242984] [DEBUG][XORG] (--) NVIDIA(0): VideoBIOS: 75.17.74.00.08
[18762.242992] [DEBUG][XORG] (II) NVIDIA(0): Detected PCI Express Link width: 8X
[18762.243000] [DEBUG][XORG] (--) NVIDIA(0): Valid display device(s) on GF117 at PCI:1:0:0
[18762.243007] [DEBUG][XORG] (--) NVIDIA(0):     none
[18762.243013] [DEBUG][XORG] (II) NVIDIA(0): Validated MetaModes:
[18762.243020] [DEBUG][XORG] (II) NVIDIA(0):     "NULL"
[18762.243026] [DEBUG][XORG] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[18762.243039] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[18762.243047] [DEBUG][XORG] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[18762.243054] [DEBUG][XORG] (--) Depth 24 pixmap format is 32 bpp
[18762.243061] [DEBUG][XORG] (II) NVIDIA: Using 1024.00 MB of virtual memory for indirect memory
[18762.243069] [DEBUG][XORG] (II) NVIDIA:     access.
[18762.243076] [DEBUG][XORG] (II) NVIDIA(0): Setting mode "NULL"
[18762.243087] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
[18762.243097] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
[18762.243105] [DEBUG][XORG] (==) NVIDIA(0): Disabling shared memory pixmaps
[18762.243112] [DEBUG][XORG] (==) NVIDIA(0): Backing store enabled
[18762.243119] [DEBUG][XORG] (==) NVIDIA(0): Silken mouse enabled
[18762.243126] [DEBUG][XORG] (==) NVIDIA(0): DPMS enabled
[18762.243133] [DEBUG][XORG] (II) Loading sub module "dri2"
[18762.243139] [DEBUG][XORG] (II) LoadModule: "dri2"
[18762.243146] [DEBUG][XORG] (II) Module "dri2" already built-in
[18762.243153] [DEBUG][XORG] (II) NVIDIA(0): [DRI2] Setup complete
[18762.243160] [DEBUG][XORG] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[18762.243166] [DEBUG][XORG] (--) RandR disabled
[18762.243175] [DEBUG][XORG] (II) SELinux: Disabled on system
[18762.243182] [DEBUG][XORG] (II) Initializing extension GLX
[18762.243189] [DEBUG][XORG] (II) Indirect GLX disabled.(II) Using input driver 'mouse' for '<default pointer>'
[18762.243196] [DEBUG][XORG] (**) Option "CorePointer" "on"
[18762.243202] [DEBUG][XORG] (**) <default pointer>: always reports core events
[18762.243212] [DEBUG][XORG] (WW) <default pointer>: No Device specified, looking for one...
[18762.243219] [DEBUG][XORG] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[18762.243226] [DEBUG][XORG] (--) <default pointer>: Device: "/dev/input/mice"
[18762.243252] [DEBUG][XORG] (==) <default pointer>: Protocol: "Auto"
[18762.243259] [DEBUG][XORG] (**) <default pointer>: always reports core events
[18762.243269] [DEBUG][XORG] (**) Option "Device" "/dev/input/mice"
[18762.243276] [DEBUG][XORG] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[18762.243284] [DEBUG][XORG] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[18762.243291] [DEBUG][XORG] (**) <default pointer>: Buttons: 9
[18762.243297] [DEBUG][XORG] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[18762.243305] [DEBUG][XORG] (**) <default pointer>: (accel) keeping acceleration scheme 1
[18762.243312] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration profile 0
[18762.243319] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration factor: 2.000
[18762.243326] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration threshold: 4
[18762.243334] [DEBUG][XORG] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[18762.243342] [DEBUG][XORG] (II) <default pointer>: ps2EnableDataReporting: succeeded
[18762.243349] [DEBUG][XORG] (II) LoadModule: "kbd"
[18762.243359] [DEBUG][XORG] (WW) Warning, couldn't open module kbd
[18762.243367] [DEBUG][XORG] (II) UnloadModule: "kbd"
[18762.243373] [DEBUG][XORG] (II) Unloading kbd
[18762.243381] [DEBUG][XORG] (EE) Failed to load module "kbd" (module does not exist, 0)
[18762.243390] [DEBUG][XORG] (EE) No input driver matching `kbd'
[18762.243397] [DEBUG][XORG] (II) config/udev: Adding input device Power Button (/dev/input/event8)
[18762.243404] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243413] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[18762.243421] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243428] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[18762.243435] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243442] [DEBUG][XORG] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[18762.243449] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243456] [DEBUG][XORG] (II) config/udev: Adding input device Lid Switch (/dev/input/event6)
[18762.243463] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243472] [DEBUG][XORG] (II) config/udev: Adding input device Sleep Button (/dev/input/event7)
[18762.243479] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243486] [DEBUG][XORG] (II) config/udev: Adding drm device (/dev/dri/card0)
[18762.243493] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[18762.243502] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[18762.243509] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[18762.243517] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243525] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[18762.243533] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243540] [DEBUG][XORG] (II) config/udev: Adding input device USB Gaming Mouse (/dev/input/event2)
[18762.243547] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243554] [DEBUG][XORG] (II) config/udev: Adding input device USB Gaming Mouse (/dev/input/event3)
[18762.243561] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243567] [DEBUG][XORG] (II) config/udev: Adding input device USB Gaming Mouse (/dev/input/mouse1)
[18762.243574] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243582] [DEBUG][XORG] (II) config/udev: Adding input device USB Gaming Mouse (/dev/input/event4)
[18762.243590] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243597] [DEBUG][XORG] (II) config/udev: Adding input device USB Camera (/dev/input/event11)
[18762.243603] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243610] [DEBUG][XORG] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event10)
[18762.243617] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243624] [DEBUG][XORG] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[18762.243631] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243640] [DEBUG][XORG] (II) config/udev: Adding input device FocalTechPS/2 FocalTech FocalTech Touchpad (/dev/input/event1)
[18762.243649] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243656] [DEBUG][XORG] (II) config/udev: Adding input device FocalTechPS/2 FocalTech FocalTech Touchpad (/dev/input/mouse0)
[18762.243663] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243670] [DEBUG][XORG] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[18762.243677] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[18762.243931] [INFO]X successfully started in 4 seconds
[18762.249142] [DEBUG]Accepted new connection
[18762.249831] [INFO]X successfully started in 0 seconds
[18779.321629] [DEBUG]Socket closed.
[18779.321679] [DEBUG]Socket closed.
[18779.321690] [INFO]Stopping X server
[18779.426844] [DEBUG]Process with PID 9706 returned code 0
[18779.427078] [INFO]Unloading nvidia driver
[18779.427262] [DEBUG]Process rmmod started, PID 9716.
[18779.431670] [DEBUG]Process with PID 9716 returned code 0
[18779.432396] [INFO]Switching dedicated card OFF [bbswitch]
[18779.480226] [DEBUG][XORG] (II) UnloadModule: "mouse"
[18779.480280] [DEBUG][XORG] (II) NVIDIA(GPU-0): Deleting GPU-0
[18779.480311] [DEBUG][XORG] (EE) Server terminated successfully (0). Closing log file.
^C[18782.611185] [WARN]Received Interrupt signal.
[18782.611260] [DEBUG]Socket closed.
[18782.611613] [INFO]Switching dedicated card ON [bbswitch]
[18782.836913] [DEBUG]Killing all remaining processes.
请大神帮我看看好么?谢谢!
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#2

帖子 vickycq » 2016-04-19 16:18

垂直同步(vsync, Sync to VBlank)了。你应该看到以下字样
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.
临时关闭垂直同步

代码: 全选

vblank_mode=0 glxgears
上次由 vickycq 在 2016-04-19 16:22,总共编辑 1 次。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
luemiu
帖子: 4
注册时间: 2016-04-19 15:48
系统: debian

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#3

帖子 luemiu » 2016-04-19 16:20

vickycq 写了:垂直同步(vsync, Sync to VBlank)了。你应该看到以下字样
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.
请问是什么意思?应该如何处理?谢谢
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#4

帖子 vickycq » 2016-04-19 16:25

luemiu 写了:请问是什么意思?应该如何处理?谢谢
可粗略理解为 输出帧率与显示器刷新率同步
一般无需处理

如果你想看到高帧率

代码: 全选

vblank_mode=0 glxgears
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
luemiu
帖子: 4
注册时间: 2016-04-19 15:48
系统: debian

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#5

帖子 luemiu » 2016-04-19 16:27

vickycq 写了:垂直同步(vsync, Sync to VBlank)了。你应该看到以下字样
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.
临时关闭垂直同步

代码: 全选

vblank_mode=0 glxgears
还真是,那请问运行其他软件应该怎么运行?或是如何长久关闭垂直同步?
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#6

帖子 rosynirvana » 2016-04-19 16:52

路过一下,还有这种atom + nv独显的配置的?
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#7

帖子 vickycq » 2016-04-19 17:23

luemiu 写了:还真是,那请问运行其他软件应该怎么运行?或是如何长久关闭垂直同步?
用你现有的方法(optirun, primusrun)即可

与垂直同步相关的常见问题:
- 关闭垂直同步可能造成画面撕裂
- 开启垂直同步可能造成输入延迟

关闭垂直同步:
在 nvidia 驱动设置程序中关闭 SyncToVBlank

具体参考 http://stackoverflow.com/questions/1719 ... r-glxgears
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
luemiu
帖子: 4
注册时间: 2016-04-19 15:48
系统: debian

Re: 跪求大神指点debian上的intel和nvidia双显卡问题

#8

帖子 luemiu » 2016-04-19 19:12

vickycq 写了:
luemiu 写了:还真是,那请问运行其他软件应该怎么运行?或是如何长久关闭垂直同步?
用你现有的方法(optirun, primusrun)即可

与垂直同步相关的常见问题:
- 关闭垂直同步可能造成画面撕裂
- 开启垂直同步可能造成输入延迟

关闭垂直同步:
在 nvidia 驱动设置程序中关闭 SyncToVBlank

具体参考 http://stackoverflow.com/questions/1719 ... r-glxgears
非常感谢
回复