Come faccio a far funzionare la grafica commutabile sul mio Samsung RF711 con le schede grafiche Intel HD e GeForce 540M su Ubuntu 14.04 LTS


9

Ho un laptop Samsung RF711 Intel Core i7, con Ubuntu 14.04 LTS a 64 bit. Questo viene fornito con due schede grafiche: quella Intel (che funziona per impostazione predefinita) e una Nvidia GeForce GT 540M (che non sono mai riuscita a far funzionare su Ubuntu).

Ho provato varie configurazioni con bumblebee ma alla fine non sono riuscito tutte quando ho provato a usare optirun (ho visto un errore come "impossibile allocare cache di rendering del software" alcune volte nel registro di Xorg).

Ho fatto un altro tentativo con nvidia-prime questa mattina. In primo luogo, mi sono assicurato che non fossero installati pacchetti di bombi e ho funzionato

sudo apt-get purge nvidia*

per rimuovere eventuali pacchetti nvidia installati. L'ho fatto allora

sudo dpkg-reconfigure lightdm

per garantire che lightdm fosse l'impostazione predefinita, quindi

sudo apt-get install nvidia-331

che ha installato 331 driver, nvidia-prime, impostazioni nvidia ecc.

Dopo il riavvio, accedo alla modalità grafica bassa. Da qui, l'unico modo in cui sono riuscito a tornare al desktop è rimuovere i pacchetti nvidia utilizzando

sudo apt-get purge nvidia*

e riavviare. Ciò ripristina il laptop a com'era inizialmente, ovviamente.

Ecco l'output di lspci | grep 3D

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

ed ecco il registro di Xorg (ho dovuto rimuovere alcune righe per tagliare i personaggi - ho indicato dove con ******** rimosso *********** )

[    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.

Infine, ecco il Xorg.conf rilevante generato da nvidia

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

Grazie in anticipo per il vostro aiuto a tutti. Fammi sapere se hai bisogno di ulteriori informazioni.

Formica


2
Altre informazioni per te: 1) Ho provato i driver nvidia-337 proprio ora, con esattamente lo stesso risultato. 2) Non sono troppo preoccupato di avere una grafica commutabile e sarei felice di aver usato sempre la scheda Nvidia per tutto il tempo (ho provato a farlo nel BIOS ma non avevo la possibilità di selezionarla). Ovviamente se esiste una soluzione che consente una grafica commutabile sarebbe l'ideale, comunque!
user274054

È un'opzione nel BIOS per selezionare quale scheda video abilita per prima? Questo è abbastanza comune tra i produttori di qualità e potrebbe aiutare ad attivare la GeForce GT 540M prima della Intel di bordo poiché non è possibile sceglierla esclusivamente.
Elder Geek,

Ciao, grazie per la risposta. Ho dato un'occhiata al BIOS e non sono riuscito a trovare alcuna opzione per selezionare una scheda grafica. Detto questo, non sono particolarmente informato sull'uso del BIOS, quindi se qualcuno ha qualche suggerimento specifico per il mio sistema sarebbe utile!
user274054

Qual è la marca e il modello del tuo sistema?
Elder Geek,

1
Al momento non riesco a usare la scheda Nvidia e vorrei poterlo fare. Idealmente sarei in grado di scegliere quale carta utilizzare per ogni programma che eseguo (come Bumblebee ti consente di fare) ma sarei felice finché posso usare la scheda Nvidia, anche se è usata di default per tutto.
user274054,

Risposte:


6

Puoi provare il pacchetto nvidia-prime per avere un supporto migliore della tecnologia Nvidia Optimus.

Il primo passo è ripulire un po 'il sistema con:

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

E installiamo il driver nvidia e nvidia-prime:

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

Se vuoi l'accelerazione grafica per i video HD, puoi installare:

sudo apt-get install vdpau-va-driver

Quindi riavviare il sistema. E vai su 'Impostazioni nvidia' per controllare nella sezione nvidia-prime se puoi cambiare scheda.

Impostazioni Nvidia-Prime.  Fonte: webupd8.org

Puoi anche aggiungere un'applet per l'unità per passare semplicemente da una carta all'altra: indicatore principale

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

Ulteriori informazioni sull'indicatore primo.


Grazie mille! Ci proverò tra poco e ti farò sapere come vado avanti.
user274054,

1
Ho appena provato questo, ma ho avuto lo stesso problema della domanda originale: avviato in modalità grafica bassa e il file di registro Xorg ha mostrato lo stesso errore.
user274054,

funziona come un fascino :-) grazie!
Koma,

0

Sulla base del tuo xorg.conf sembra che tu stia usando nvidia e non Intel, quindi:

Sezione "ServerLayout"

Identificatore "layout"

Schermata 0 "NVIDIA"

"Intel" inattivo

Tutto quello che posso trovare indica che il driver è rotto in questa configurazione e stai meglio usando solo Intel. Vorrei contattare il produttore qui e chiedere un aggiornamento del BIOS che consentirebbe la funzionalità desiderata.

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


Bene, sta chiaramente cercando di usare la scheda nvidia, ma si avvia in modalità grafica bassa, producendo il file di registro Xorg sopra indicato.
user274054,

Ho modificato la mia risposta
anziano Geek

1
Stai forse usando il xorg-edgersPPA? Ho anche una modalità grafica bassa quando utilizzo NVIDIA con i loro driver. Prova a rimuovere tutte le cose NVIDIA ( sudo apt-get --purge remove nvidia* && apt-get --purge autoremoveassicurati anche che bumblebeesia completamente rimosso), rimuovi il loro PPA e installa nvida-current( sudo apt-get install nvidia-current). Ora puoi passare utilizzando il CP di NVIDIA o utilizzando sudo prime-select nvidia/intel.
Louis Matthijssen,

Ci proverò.
user274054

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.