如何在Ubuntu 14.04 LTS上使用Intel HD和GeForce 540M显卡在三星RF711上使用可切换图形


9

我有一台三星RF711 Intel Core i7笔记本电脑,运行64位Ubuntu 14.04 LTS。它带有两张显卡-英特尔显卡(默认运行)和Nvidia GeForce GT 540M(我从未尝试过在Ubuntu上工作)。

我使用Bumblebee尝试了各种配置,但是当我尝试使用optirun时,所有配置最终都失败了(我在Xorg日志中多次看到“无法分配软件渲染缓存”之类的错误)。

今天早上,我再次尝试使用英伟达Prime。首先,我确保没有安装Bumblebee软件包,然后

sudo apt-get purge nvidia*

删除所有已安装的nvidia软件包。然后我做了

sudo dpkg-reconfigure lightdm

确保lightdm是默认值,然后

sudo apt-get install nvidia-331

它安装了331驱动程序,nvidia-prime,nvidia设置等。

重新启动后,我进入低图形模式。从这里开始,我设法回到桌面的唯一方法是使用以下命令删除nvidia软件包

sudo apt-get purge nvidia*

然后重启。当然,这会使笔记本电脑恢复到最初的状态。

这是lspci的输出| grep 3D

01:00.0 3D controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)

这是Xorg日志(我不得不删除一些行以减少字符-我已经使用********删除了***********来指示位置)

[    45.605] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    45.605] X Protocol Version 11, Revision 0
[    45.605] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[    45.605] Current Operating System: Linux ant-RF711 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
[    45.605] Kernel command line: placeholder root=UUID=abdf0144-3ec5-4430-bb8f-d3deca65e960 ro quiet splash
[    45.606] Build Date: 16 April 2014  01:36:29PM
[    45.606] xorg-server 2:1.15.1-0ubuntu2 (For technical support please see http://www.ubuntu.com/support) 
[    45.606] Current version of pixman: 0.30.2
[    45.606]    Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    45.606] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    45.606] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 25 10:20:03 2014
[    45.767] (==) Using config file: "/etc/X11/xorg.conf"
[    45.768] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    46.283] (==) ServerLayout "layout"
[    46.283] (**) |-->Screen "nvidia" (0)
[    46.283] (**) |   |-->Monitor "<default monitor>"
[    46.284] (**) |   |-->Device "nvidia"
[    46.284] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[    46.284] (**) |-->Inactive Device "intel"
[    46.284] (==) Automatically adding devices
[    46.284] (==) Automatically enabling devices
[    46.284] (==) Automatically adding GPU devices
[    46.395] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    46.395]    Entry deleted from font path.
[    46.395] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    46.395]    Entry deleted from font path.
[    46.395] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    46.395]    Entry deleted from font path.
[    46.438] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    46.438]    Entry deleted from font path.
[    46.438] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    46.438]    Entry deleted from font path.
[    46.438] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[    46.438] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    46.438] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    46.438] (II) Loader magic: 0x7f539332ed60
[    46.438] (II) Module ABI versions:
[    46.438]    X.Org ANSI C Emulation: 0.4
[    46.438]    X.Org Video Driver: 15.0
[    46.438]    X.Org XInput driver : 20.0
[    46.439]    X.Org Server Extension : 8.0
[    46.440] (II) xfree86: Adding drm device (/dev/dri/card1)
[    46.440] (II) xfree86: Adding drm device (/dev/dri/card0)
[    46.447] (--) PCI:*(0:0:2:0) 8086:0116:144d:c0a5 rev 9, Mem @ 0xf5400000/4194304, 0xc0000000/268435456, I/O @ 0x0000e000/64
[    46.447] (--) PCI: (0:1:0:0) 10de:0df4:144d:c0a5 rev 161, Mem @ 0xf4000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[    46.491] Initializing built-in extension Generic Event Extension
[    46.491] Initializing built-in extension SHAPE
[    46.491] Initializing built-in extension MIT-SHM
[    46.491] Initializing built-in extension XInputExtension
[    46.491] Initializing built-in extension XTEST
[    46.491] Initializing built-in extension BIG-REQUESTS
[    46.491] Initializing built-in extension SYNC
[    46.491] Initializing built-in extension XKEYBOARD
[    46.492] Initializing built-in extension XC-MISC
[    46.492] Initializing built-in extension SECURITY
[    46.492] Initializing built-in extension XINERAMA
[    46.492] Initializing built-in extension XFIXES
[    46.492] Initializing built-in extension RENDER
[    46.492] Initializing built-in extension RANDR
[    46.492] Initializing built-in extension COMPOSITE
[    46.492] Initializing built-in extension DAMAGE
[    46.492] Initializing built-in extension MIT-SCREEN-SAVER
[    46.492] Initializing built-in extension DOUBLE-BUFFER
[    46.492] Initializing built-in extension RECORD
[    46.492] Initializing built-in extension DPMS
[    46.492] Initializing built-in extension Present
[    46.492] Initializing built-in extension DRI3
[    46.492] Initializing built-in extension X-Resource
[    46.493] Initializing built-in extension XVideo
[    46.493] Initializing built-in extension XVideo-MotionCompensation
[    46.493] Initializing built-in extension SELinux
[    46.493] Initializing built-in extension XFree86-VidModeExtension
[    46.493] Initializing built-in extension XFree86-DGA
[    46.493] Initializing built-in extension XFree86-DRI
[    46.493] Initializing built-in extension DRI2
[    46.493] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[    46.493] (II) "glx" will be loaded by default.
[    46.493] (WW) "xmir" is not to be loaded by default. Skipping.
[    46.493] (II) LoadModule: "glx"
[    46.588] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[    50.389] (II) Module glx: vendor="NVIDIA Corporation"
[    50.389]    compiled for 4.0.2, module version = 1.0.0
[    50.389]    Module class: X.Org Server Extension
[    50.390] (II) NVIDIA GLX Module  331.67  Fri Apr  4 11:43:47 PDT 2014
[    50.425] Loading extension GLX
[    50.425] (II) LoadModule: "nvidia"
[    50.426] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[    51.029] (II) Module nvidia: vendor="NVIDIA Corporation"
[    51.029]    compiled for 4.0.2, module version = 1.0.0
[    51.029]    Module class: X.Org Video Driver
[    51.112] (II) LoadModule: "modesetting"
[    51.920] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    51.999] (II) Module modesetting: vendor="X.Org Foundation"
[    51.999]    compiled for 1.15.0, module version = 0.8.1
[    51.999]    Module class: X.Org Video Driver
[    51.999]    ABI class: X.Org Video Driver, version 15.0
[    51.999] (II) NVIDIA dlloader X Driver  331.67  Fri Apr  4 11:24:40 PDT 2014
[    51.999] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    52.098] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    52.098] (++) using VT number 7

[    52.130] (II) Loading sub module "fb"
[    52.130] (II) LoadModule: "fb"
[    52.131] (II) Loading /usr/lib/xorg/modules/libfb.so
[    52.222] (II) Module fb: vendor="X.Org Foundation"
[    52.222]    compiled for 1.15.1, module version = 1.0.0
[    52.222]    ABI class: X.Org ANSI C Emulation, version 0.4
[    52.222] (WW) Unresolved symbol: fbGetGCPrivateKey
[    52.222] (II) Loading sub module "wfb"
[    52.222] (II) LoadModule: "wfb"
[    52.223] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    52.370] (II) Module wfb: vendor="X.Org Foundation"
[    52.370]    compiled for 1.15.1, module version = 1.0.0
[    52.370]    ABI class: X.Org ANSI C Emulation, version 0.4
[    52.371] (II) Loading sub module "ramdac"
[    52.371] (II) LoadModule: "ramdac"
[    52.371] (II) Module "ramdac" already built-in
[    52.439] (II) modesetting(G0): using drv /dev/dri/card0
[    52.439] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[    52.439] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    52.440] (==) NVIDIA(0): RGB weight 888
[    52.440] (==) NVIDIA(0): Default visual is TrueColor
[    52.440] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    52.445] (**) NVIDIA(0): Option "ConstrainCursor" "off"
[    52.446] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "on"
[    52.446] (**) NVIDIA(0): Enabling 2D acceleration
[    53.888] (WW) NVIDIA(0): Unable to read EDID for display device CRT-0
[    53.889] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[    53.891] (II) NVIDIA(0): NVIDIA GPU GeForce GT 540M (GF108) at PCI:1:0:0 (GPU-0)
[    53.891] (--) NVIDIA(0): Memory: 2097152 kBytes
[    53.891] (--) NVIDIA(0): VideoBIOS: 70.08.58.00.03
[    53.891] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    53.891] (--) NVIDIA(0): Valid display device(s) on GeForce GT 540M at PCI:1:0:0
[    53.891] (--) NVIDIA(0):     CRT-0 (boot, connected)
[    53.891] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[    53.891] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    53.891] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    53.891] (**) NVIDIA(0):     all display devices.)
[    53.894] (==) NVIDIA(0): 
[    53.894] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    53.894] (==) NVIDIA(0):     will be used as the requested mode.
[    53.894] (==) NVIDIA(0): 
[    53.894] (II) NVIDIA(0): Validated MetaModes:
[    53.894] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select"
[    53.894] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[    53.896] (WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
[    53.896] (WW) NVIDIA(0):     from CRT-0's EDID.
[    53.896] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    53.896] (==) modesetting(G0): Depth 24, (==) framebuffer bpp 32
[    53.896] (==) modesetting(G0): RGB weight 888
[    53.896] (==) modesetting(G0): Default visual is TrueColor
[    53.896] (II) modesetting(G0): ShadowFB: preferred YES, enabled YES
[    53.896] (II) modesetting(G0): Output LVDS-1-0 has no monitor section
[    53.897] (II) modesetting(G0): Output VGA-1-0 has no monitor section
[    53.948] (II) modesetting(G0): Output HDMI-1-0 has no monitor section
[    53.996] (II) modesetting(G0): Output DisplayPort-1-0 has no monitor section
[    53.996] (II) modesetting(G0): EDID for output LVDS-1-0
[    53.996] (II) modesetting(G0): Manufacturer: SEC  Model: 544b  Serial#: 0
[    53.997] (II) modesetting(G0): Year: 2011  Week: 0
[    53.997] (II) modesetting(G0): EDID Version: 1.3
[    53.997] (II) modesetting(G0): Digital Display Input
[    53.997] (II) modesetting(G0): Max Image Size     [cm]: horiz.: 38  vert.: 21
[    53.997] (II) modesetting(G0): Gamma: 2.20
[    53.997] (II) modesetting(G0): No DPMS capabilities specified
[    53.997] (II) modesetting(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    53.997] (II) modesetting(G0): First detailed timing is preferred mode
[    53.997] (II) modesetting(G0): redX: 0.600 redY: 0.340   greenX: 0.310 greenY: 0.560
[    53.997] (II) modesetting(G0): blueX: 0.150 blueY: 0.130   whiteX: 0.313 whiteY: 0.329
[    53.997] (II) modesetting(G0): Manufacturer's mask: 0
[    53.997] (II) modesetting(G0): Supported detailed timing:
[    53.997] (II) modesetting(G0): clock: 107.8 MHz   Image Size:  382 x 214 mm
[    53.997] (II) modesetting(G0): h_active: 1600  h_sync: 1648  h_sync_end 1680 h_blank_end 1892 h_border: 0
[    53.997] (II) modesetting(G0): v_active: 900  v_sync: 902  v_sync_end 908 v_blanking: 950 v_border: 0
[    53.997] (II) modesetting(G0): Unknown vendor-specific block f
[    53.997] (II) modesetting(G0):  SAMSUNG
[    53.998] (II) modesetting(G0):  LTN173KT01C09
[    53.998] (II) modesetting(G0): EDID (in hex):
[    53.998] (II) modesetting(G0):  00ffffffffffff004ca34b5400000000
[    53.998] (II) modesetting(G0):  00150103802615780a859599574f8f26
[    53.998] (II) modesetting(G0):  21505400000001010101010101010101
[    53.998] (II) modesetting(G0):  010101010101202a4024618432303020
[    53.998] (II) modesetting(G0):  26007ed6100000190000000f00000000
[    53.998] (II) modesetting(G0):  00000000001eb4027400000000fe0053
[    53.998] (II) modesetting(G0):  414d53554e470a2020202020000000fe
[    53.998] (II) modesetting(G0):  004c544e3137334b5430314330390007
[    53.999] (II) modesetting(G0): Printing probed modes for output LVDS-1-0
***********removed************
[    54.002] (II) modesetting(G0): EDID for output VGA-1-0
[    54.052] (II) modesetting(G0): EDID for output HDMI-1-0
[    54.052] (II) modesetting(G0): Manufacturer: SAM  Model: 7d6  Serial#: 808465465
[    54.052] (II) modesetting(G0): Year: 2011  Week: 48
[    54.053] (II) modesetting(G0): EDID Version: 1.3
[    54.053] (II) modesetting(G0): Digital Display Input
[    54.053] (II) modesetting(G0): Max Image Size     [cm]: horiz.: 53  vert.: 30
[    54.053] (II) modesetting(G0): Gamma: 2.20
[    54.053] (II) modesetting(G0): DPMS capabilities: Off
[    54.053] (II) modesetting(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    54.053] (II) modesetting(G0): First detailed timing is preferred mode
[    54.053] (II) modesetting(G0): redX: 0.631 redY: 0.351   greenX: 0.334 greenY: 0.615
[    54.053] (II) modesetting(G0): blueX: 0.157 blueY: 0.051   whiteX: 0.312 whiteY: 0.329
[    54.053] (II) modesetting(G0): Supported established timings:
[    54.053] (II) modesetting(G0): 720x400@70Hz
[    54.053] (II) modesetting(G0): 640x480@60Hz
[    54.053] (II) modesetting(G0): 640x480@67Hz
[    54.053] (II) modesetting(G0): 640x480@72Hz
[    54.053] (II) modesetting(G0): 640x480@75Hz
[    54.053] (II) modesetting(G0): 800x600@56Hz
[    54.053] (II) modesetting(G0): 800x600@60Hz
[    54.053] (II) modesetting(G0): 800x600@72Hz
[    54.054] (II) modesetting(G0): 800x600@75Hz
[    54.054] (II) modesetting(G0): 832x624@75Hz
[    54.054] (II) modesetting(G0): 1024x768@60Hz
[    54.054] (II) modesetting(G0): 1024x768@70Hz
[    54.054] (II) modesetting(G0): 1024x768@75Hz
[    54.054] (II) modesetting(G0): 1280x1024@75Hz
[    54.054] (II) modesetting(G0): 1152x864@75Hz
[    54.054] (II) modesetting(G0): Manufacturer's mask: 0
[    54.054] (II) modesetting(G0): Supported standard timings:
[    54.054] (II) modesetting(G0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    54.054] (II) modesetting(G0): #1: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    54.054] (II) modesetting(G0): #2: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    54.054] (II) modesetting(G0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    54.054] (II) modesetting(G0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    54.054] (II) modesetting(G0): #5: hsize: 1440  vsize 900  refresh: 75  vid: 3989
[    54.054] (II) modesetting(G0): #6: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[    54.054] (II) modesetting(G0): #7: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    54.054] (II) modesetting(G0): Supported detailed timing:
[    54.054] (II) modesetting(G0): clock: 148.5 MHz   Image Size:  531 x 299 mm
[    54.054] (II) modesetting(G0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    54.054] (II) modesetting(G0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    54.055] (II) modesetting(G0): Supported detailed timing:
[    54.055] (II) modesetting(G0): clock: 74.2 MHz   Image Size:  531 x 299 mm
[    54.055] (II) modesetting(G0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[    54.055] (II) modesetting(G0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    54.055] (II) modesetting(G0): Ranges: V min: 50 V max: 75 Hz, H min: 31 H max: 81 kHz, PixClock max 175 MHz
[    54.055] (II) modesetting(G0): Monitor name: SA300/350/360
[    54.055] (II) modesetting(G0): Supported detailed timing:
[    54.055] (II) modesetting(G0): clock: 74.2 MHz   Image Size:  531 x 299 mm
[    54.055] (II) modesetting(G0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    54.055] (II) modesetting(G0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    54.055] (II) modesetting(G0): Supported detailed timing:
[    54.055] (II) modesetting(G0): clock: 74.2 MHz   Image Size:  531 x 299 mm
[    54.055] (II) modesetting(G0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    54.055] (II) modesetting(G0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    54.055] (II) modesetting(G0): Supported detailed timing:
[    54.055] (II) modesetting(G0): clock: 74.2 MHz   Image Size:  531 x 299 mm
[    54.056] (II) modesetting(G0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    54.056] (II) modesetting(G0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    54.056] (II) modesetting(G0): Supported detailed timing:
[    54.056] (II) modesetting(G0): clock: 27.0 MHz   Image Size:  531 x 299 mm
[    54.056] (II) modesetting(G0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
[    54.056] (II) modesetting(G0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
[    54.056] (II) modesetting(G0): Supported detailed timing:
[    54.056] (II) modesetting(G0): clock: 27.0 MHz   Image Size:  531 x 299 mm
[    54.056] (II) modesetting(G0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
[    54.056] (II) modesetting(G0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
[    54.056] (II) modesetting(G0): Number of EDID sections to follow: 1
[    54.056] (II) modesetting(G0): EDID (in hex):
[    54.056] (II) modesetting(G0):  00ffffffffffff004c2dd60739343030
[    54.056] (II) modesetting(G0):  3015010380351e782aba41a159559d28
[    54.056] (II) modesetting(G0):  0d5054bfef80714f8100814081809500
[    54.056] (II) modesetting(G0):  950fa940b300023a801871382d40582c
[    54.057] (II) modesetting(G0):  4500132b2100001e011d007251d01e20
[    54.057] (II) modesetting(G0):  6e285500132b2100001e000000fd0032
[    54.057] (II) modesetting(G0):  4b1f5111000a202020202020000000fc
[    54.057] (II) modesetting(G0):  0053413330302f3335302f3336300160
[    54.057] (II) modesetting(G0):  020313b14890041f051413120365030c
[    54.057] (II) modesetting(G0):  001000011d80d0721c1620102c258013
[    54.057] (II) modesetting(G0):  2b2100009e011d8018711c1620582c25
[    54.057] (II) modesetting(G0):  00132b2100009e011d00bc52d01e20b8
[    54.057] (II) modesetting(G0):  285540132b2100001e8c0ad090204031
[    54.057] (II) modesetting(G0):  200c405500132b210000188c0ad08a20
[    54.057] (II) modesetting(G0):  e02d10103e9600132b21000018000000
[    54.057] (II) modesetting(G0):  000000000000000000000000000000d5
[    54.057] (II) modesetting(G0): Printing probed modes for output HDMI-1-0
[    54.057] (II) modesetting(G0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    54.057] (II) modesetting(G0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    54.057] (II) modesetting(G0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    54.057] (II) modesetting(G0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    54.058] (II) modesetting(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    54.058] (II) modesetting(G0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    54.059] (II) modesetting(G0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    54.059] (II) modesetting(G0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    54.059] (II) modesetting(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    54.059] (II) modesetting(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    54.059] (II) modesetting(G0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    54.059] (II) modesetting(G0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    54.059] (II) modesetting(G0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    54.059] (II) modesetting(G0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    54.059] (II) modesetting(G0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz e)
[    54.059] (II) modesetting(G0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    54.059] (II) modesetting(G0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    54.059] (II) modesetting(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    54.059] (II) modesetting(G0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    54.108] (II) modesetting(G0): EDID for output DisplayPort-1-0
[    54.108] (II) modesetting(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    54.108] (==) modesetting(G0): DPI set to (96, 96)
[    54.108] (II) Loading sub module "fb"
[    54.108] (II) LoadModule: "fb"
[    54.109] (II) Loading /usr/lib/xorg/modules/libfb.so
[    54.109] (II) Module fb: vendor="X.Org Foundation"
[    54.109]    compiled for 1.15.1, module version = 1.0.0
[    54.109]    ABI class: X.Org ANSI C Emulation, version 0.4
[    54.109] (II) Loading sub module "shadow"
[    54.109] (II) LoadModule: "shadow"
[    54.110] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    54.192] (II) Module shadow: vendor="X.Org Foundation"
[    54.192]    compiled for 1.15.1, module version = 1.1.0
[    54.192]    ABI class: X.Org ANSI C Emulation, version 0.4
[    54.192] (--) Depth 24 pixmap format is 32 bpp
[    54.285] (==) modesetting(G0): Backing store enabled
[    54.286] (==) modesetting(G0): Silken mouse enabled
[    54.286] (II) modesetting(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    54.288] (==) modesetting(G0): DPMS enabled
[    54.288] (WW) modesetting(G0): Option "AllowEmptyInitialConfiguration" is not used
[    54.921] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    54.921] (II) NVIDIA:     access.
[    54.946] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[    62.812] (EE) 
Fatal server error:
[    62.812] (EE) NVIDIA: A GPU exception occurred during X server initialization(EE) 
[    62.812] (EE) 
Please consult the The X.Org Foundation support 
 at http://wiki.x.org
for help. 
[    62.812] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    62.812] (EE) 
[    63.200] (EE) Server terminated with error (1). Closing log file.

最后,这是nvidia生成的相关Xorg.conf

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
EndSection

在此先感谢大家的帮助。请让我知道是否需要更多信息。

蚂蚁


2
为您提供更多信息:1)我刚刚尝试了nvidia-337驱动程序,结果完全相同。2)我对拥有可切换的图形并不太在意,并且很乐意一直使用Nvidia卡(我尝试在BIOS中进行此操作,但没有选择它的选项)。显然,如果有一种解决方案允许可切换的图形,那将是理想的选择!
user274054 2014年

他们在BIOS中是否可以选择首先启用哪个显卡?这在高质量制造商中相当普遍,它可能有助于在主板上安装Intel之前先激活GeForce GT 540M,因为您不能单独选择它。
极客长老

嗨,谢谢您的回复。我通过BIOS进行了浏览,根本找不到用于选择图形卡的任何选项。就是说,我对使用BIOS的知识不是特别了解,因此,如果有人对我的系统有任何特定建议,这也将有所帮助!
user274054 2014年

您的系统的品牌和型号是什么?
极客长老

1
目前,我根本无法使用Nvidia卡,并且我希望能够这样做。理想情况下,我可以选择我要运行的每个程序使用的卡(例如Bumblebee允许您使用),但是只要能使用Nvidia卡,即使我默认使用所有Nvidia卡,我都会很高兴。
user274054 2014年

Answers:


6

您可以尝试使用nvidia-prime软件包,以更好地支持Nvidia Optimus技术。

第一步是使用以下命令清理系统:

sudo apt-get purge bumblebee* primus libvdpau-va-gl1

然后我们安装nvidia驱动程序和nvidia-prime:

sudo apt-get install nvidia-331 nvidia-prime mesa-utils

如果您希望获得高清视频的加速,可以安装:

sudo apt-get install vdpau-va-driver

然后重新启动系统。然后转到“ nvidia-settings”(nvidia设置)以检查“ nvidia-prime”部分是否可以切换卡。

Nvidia-Prime设置。 资料来源:webupd8.org

您还可以添加一个applet以实现统一,从而在卡之间进行简单切换:Prime-indicator

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install prime-indicator
sudo reboot

有关主要指标的更多信息。


非常感谢!我会尽快尝试,让您知道我的状况。
user274054 2014年

1
我只是尝试了此操作,但是遇到了与原始问题相同的问题:引导至低图形模式,并且Xorg日志文件显示了相同的错误。
user274054 2014年

就像一个魅力:-) thx!
koma 2014年

0

根据您的xorg.conf,您似乎正在使用nvidia而不是Intel,因此:

“ ServerLayout”部分

标识符“布局”

屏幕0“ nvidia”

无效的“英特尔”

我所能找到的一切都表明该驱动程序在该配置下已损坏,您最好只使用Intel。我将在此处与制造商联系,并询问有关BIOS更新的信息,该更新将允许您使用所需的功能。

来源:http : //ubuntuforums.org/showthread.php?t=1699939


好吧,它显然是在尝试使用nvidia卡,但是它会启动到低图形模式,并输出上面给出的Xorg日志文件。
user274054

我已编辑答案
极客长老

1
您是否正在使用xorg-edgersPPA?当我将NVIDIA及其驱动程序一起使用时,我也获得了低图形模式。尝试删除所有NVIDIA的东西(sudo apt-get --purge remove nvidia* && apt-get --purge autoremove,同时确保也将bumblebee其完全删除),删除其PPA并安装nvida-currentsudo apt-get install nvidia-current)。现在,您可以使用NVIDIA CP或进行切换sudo prime-select nvidia/intel
Louis Matthijssen 2014年

我会尝试的。
user274054

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.