Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimus Support Official Nvidia Drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 8

PostPosted: Sat Sep 07, 2013 3:28 pm    Post subject: Optimus Support Official Nvidia Drivers Reply with quote

Hi,
I have a Dell Laptop (N5110) with NVIDIA 525M with optimus.

All this time I was using my Intel video card, but now I want to use my Nvidia card with the official driver.

On my Gentoo I have installed gentoo-sources 3.10.7, nvidia-drivers-319.49, X Server 1.14.2, xrandr 1.4.1, xf86-video-modesetting-0.5.0, xf86-video-intel-2.20.13

I read tutorials and posts about how to do it, but sadlly, It doesn't work :(. So I need some help.

This is my xorg.conf

Quote:

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

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
# Uncomment this line if your computer has no display devices connected to
# the NVIDIA GPU. Leave it commented if you have display devices
# connected to the NVIDIA GPU that you would like to use.
# Option "UseDisplayDevice" "none"
EndSection

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

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


This is my log

Quote:

[ 880.381]
X.Org X Server 1.14.2
Release Date: 2013-06-25
[ 880.382] X Protocol Version 11, Revision 0
[ 880.382] Build Operating System: Linux 3.10.7-gentoo x86_64 Gentoo
[ 880.383] Current Operating System: Linux romasys 3.10.7-gentoo #1 SMP Thu Aug 29 09:45:12 PET 2013 x86_64
[ 880.383] Kernel command line: root=/dev/sda4 rootfstype=ext4 quiet
[ 880.384] Build Date: 29 August 2013 06:50:15PM
[ 880.384]
[ 880.385] Current version of pixman: 0.28.0
[ 880.386] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 880.386] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 880.388] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 7 09:44:04 2013
[ 880.389] (==) Using config file: "/etc/X11/xorg.conf"
[ 880.389] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 880.389] (==) ServerLayout "layout"
[ 880.389] (**) |-->Screen "nvidia" (0)
[ 880.389] (**) | |-->Monitor "<default monitor>"
[ 880.390] (**) | |-->Device "nvidia"
[ 880.390] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 880.390] (**) |-->Inactive Device "intel"
[ 880.390] (==) Automatically adding devices
[ 880.390] (==) Automatically enabling devices
[ 880.390] (==) Automatically adding GPU devices
[ 880.390] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 880.390] Entry deleted from font path.
[ 880.390] (==) FontPath set to:

[ 880.390] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 880.390] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 880.390] (II) Loader magic: 0x808be0
[ 880.390] (II) Module ABI versions:
[ 880.390] X.Org ANSI C Emulation: 0.4
[ 880.390] X.Org Video Driver: 14.1
[ 880.390] X.Org XInput driver : 19.1
[ 880.390] X.Org Server Extension : 7.0
[ 880.390] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 880.390] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 880.391] (--) PCI:*(0:0:2:0) 8086:0116:1028:04ca rev 9, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 880.391] (--) PCI: (0:1:0:0) 10de:0df5:1028:04ca rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 880.392] Initializing built-in extension Generic Event Extension
[ 880.392] Initializing built-in extension SHAPE
[ 880.393] Initializing built-in extension MIT-SHM
[ 880.394] Initializing built-in extension XInputExtension
[ 880.394] Initializing built-in extension XTEST
[ 880.395] Initializing built-in extension BIG-REQUESTS
[ 880.395] Initializing built-in extension SYNC
[ 880.396] Initializing built-in extension XKEYBOARD
[ 880.396] Initializing built-in extension XC-MISC
[ 880.397] Initializing built-in extension XINERAMA
[ 880.397] Initializing built-in extension XFIXES
[ 880.398] Initializing built-in extension RENDER
[ 880.398] Initializing built-in extension RANDR
[ 880.399] Initializing built-in extension COMPOSITE
[ 880.399] Initializing built-in extension DAMAGE
[ 880.400] Initializing built-in extension MIT-SCREEN-SAVER
[ 880.401] Initializing built-in extension DOUBLE-BUFFER
[ 880.401] Initializing built-in extension RECORD
[ 880.402] Initializing built-in extension DPMS
[ 880.402] Initializing built-in extension X-Resource
[ 880.403] Initializing built-in extension XVideo
[ 880.403] Initializing built-in extension XVideo-MotionCompensation
[ 880.404] Initializing built-in extension XFree86-VidModeExtension
[ 880.405] Initializing built-in extension XFree86-DGA
[ 880.405] Initializing built-in extension XFree86-DRI
[ 880.406] Initializing built-in extension DRI2
[ 880.406] (II) LoadModule: "glx"
[ 880.406] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 880.414] (II) Module glx: vendor="NVIDIA Corporation"
[ 880.414] compiled for 4.0.2, module version = 1.0.0
[ 880.414] Module class: X.Org Server Extension
[ 880.414] (II) NVIDIA GLX Module 319.49 Tue Aug 13 19:53:22 PDT 2013
[ 880.415] Loading extension GLX
[ 880.415] (II) LoadModule: "nvidia"
[ 880.415] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 880.415] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 880.415] compiled for 4.0.2, module version = 1.0.0
[ 880.415] Module class: X.Org Video Driver
[ 880.415] (II) LoadModule: "intel"
[ 880.415] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 880.415] (II) Module intel: vendor="X.Org Foundation"
[ 880.415] compiled for 1.14.2, module version = 2.20.13
[ 880.415] Module class: X.Org Video Driver
[ 880.415] ABI class: X.Org Video Driver, version 14.1
[ 880.415] (II) NVIDIA dlloader X Driver 319.49 Tue Aug 13 19:34:58 PDT 2013
[ 880.415] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 880.415] (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
[ 880.416] (--) using VT number 7

[ 880.476] (II) Loading sub module "fb"
[ 880.476] (II) LoadModule: "fb"
[ 880.476] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 880.497] (II) Module fb: vendor="X.Org Foundation"
[ 880.497] compiled for 1.14.2, module version = 1.0.0
[ 880.497] ABI class: X.Org ANSI C Emulation, version 0.4
[ 880.497] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 880.497] (II) Loading sub module "wfb"
[ 880.497] (II) LoadModule: "wfb"
[ 880.497] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 880.506] (II) Module wfb: vendor="X.Org Foundation"
[ 880.506] compiled for 1.14.2, module version = 1.0.0
[ 880.506] ABI class: X.Org ANSI C Emulation, version 0.4
[ 880.506] (II) Loading sub module "shadow"
[ 880.506] (II) LoadModule: "shadow"
[ 880.506] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 880.519] (II) Module shadow: vendor="X.Org Foundation"
[ 880.519] compiled for 1.14.2, module version = 1.1.0
[ 880.519] ABI class: X.Org ANSI C Emulation, version 0.4
[ 880.519] (II) Loading sub module "ramdac"
[ 880.519] (II) LoadModule: "ramdac"
[ 880.519] (II) Module "ramdac" already built-in
[ 880.540] (II) intel(1): using device path '/dev/dri/card0'
[ 880.540] (II) intel(G0): using device path '/dev/dri/card0'
[ 880.540] (EE) Screen 1 deleted because of no matching config section.
[ 880.540] (II) UnloadModule: "intel"
[ 880.540] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[ 880.540] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 880.540] (==) NVIDIA(0): RGB weight 888
[ 880.540] (==) NVIDIA(0): Default visual is TrueColor
[ 880.540] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 880.540] (**) NVIDIA(0): Enabling 2D acceleration
[ 880.727] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 880.729] (II) NVIDIA(0): NVIDIA GPU GeForce GT 525M (GF108) at PCI:1:0:0 (GPU-0)
[ 880.729] (--) NVIDIA(0): Memory: 1048576 kBytes
[ 880.729] (--) NVIDIA(0): VideoBIOS: 70.08.56.00.0a
[ 880.729] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 880.732] (--) NVIDIA(0): Valid display device(s) on GeForce GT 525M at PCI:1:0:0
[ 880.732] (--) NVIDIA(0): CRT-0 (boot, connected)
[ 880.732] (--) NVIDIA(0): DFP-0
[ 880.732] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[ 880.732] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 880.732] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 880.732] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 880.732] (**) NVIDIA(0): device CRT-0 (Using EDID frequencies has been enabled on
[ 880.732] (**) NVIDIA(0): all display devices.)
[ 880.734] (==) NVIDIA(0):
[ 880.734] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 880.734] (==) NVIDIA(0): will be used as the requested mode.
[ 880.734] (==) NVIDIA(0):
[ 880.734] (II) NVIDIA(0): Validated MetaModes:
[ 880.734] (II) NVIDIA(0): "CRT-0:nvidia-auto-select{}"
[ 880.734] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[ 880.737] (WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
[ 880.737] (WW) NVIDIA(0): from CRT-0's EDID.
[ 880.737] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 880.737] (==) intel(G0): Depth 24, (--) framebuffer bpp 32
[ 880.737] (==) intel(G0): RGB weight 888
[ 880.737] (==) intel(G0): Default visual is TrueColor
[ 880.737] (--) intel(G0): Integrated Graphics Chipset: Intel(R) Sandybridge Mobile (GT2)
[ 880.737] (**) intel(G0): Framebuffer tiled
[ 880.737] (**) intel(G0): Pixmaps tiled
[ 880.737] (**) intel(G0): 3D buffers tiled
[ 880.737] (**) intel(G0): Throttling enabled
[ 880.737] (**) intel(G0): Delayed flush enabled
[ 880.737] (**) intel(G0): "Tear free" disabled
[ 880.737] (**) intel(G0): Forcing per-crtc-pixmaps? no
[ 880.737] (II) intel(G0): Output LVDS1 has no monitor section
[ 880.737] (--) intel(G0): found backlight control interface acpi_video1 (type 'firmware')
[ 880.739] (II) intel(G0): Output VGA1 has no monitor section
[ 880.739] (II) intel(G0): EDID for output LVDS1
[ 880.739] (II) intel(G0): Manufacturer: CMO Model: 15a4 Serial#: 0
[ 880.739] (II) intel(G0): Year: 2010 Week: 27
[ 880.739] (II) intel(G0): EDID Version: 1.3
[ 880.739] (II) intel(G0): Digital Display Input
[ 880.739] (II) intel(G0): Max Image Size [cm]: horiz.: 34 vert.: 19
[ 880.739] (II) intel(G0): Gamma: 2.20
[ 880.739] (II) intel(G0): No DPMS capabilities specified
[ 880.739] (II) intel(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 880.739] (II) intel(G0): First detailed timing is preferred mode
[ 880.739] (II) intel(G0): redX: 0.617 redY: 0.340 greenX: 0.320 greenY: 0.598
[ 880.739] (II) intel(G0): blueX: 0.160 blueY: 0.084 whiteX: 0.313 whiteY: 0.329
[ 880.739] (II) intel(G0): Manufacturer's mask: 0
[ 880.739] (II) intel(G0): Supported detailed timing:
[ 880.739] (II) intel(G0): clock: 76.8 MHz Image Size: 344 x 194 mm
[ 880.739] (II) intel(G0): h_active: 1366 h_sync: 1392 h_sync_end 1448 h_blank_end 1580 h_border: 0
[ 880.739] (II) intel(G0): v_active: 768 v_sync: 772 v_sync_end 785 v_blanking: 810 v_border: 0
[ 880.739] (II) intel(G0): Supported detailed timing:
[ 880.739] (II) intel(G0): clock: 76.8 MHz Image Size: 344 x 194 mm
[ 880.739] (II) intel(G0): h_active: 1366 h_sync: 1392 h_sync_end 1448 h_blank_end 1580 h_border: 0
[ 880.739] (II) intel(G0): v_active: 768 v_sync: 772 v_sync_end 785 v_blanking: 810 v_border: 0
[ 880.739] (II) intel(G0): XM5XGN156B6
[ 880.739] (II) intel(G0): Unknown vendor-specific block 0
[ 880.739] (II) intel(G0): EDID (in hex):
[ 880.739] (II) intel(G0): 00ffffffffffff000dafa41500000000
[ 880.739] (II) intel(G0): 1b140103902213780a00259e57529929
[ 880.739] (II) intel(G0): 15505400000001010101010101010101
[ 880.739] (II) intel(G0): 010101010101001e56d650002a301a38
[ 880.739] (II) intel(G0): 4d0058c21000001a001e56d650002a30
[ 880.739] (II) intel(G0): 1a384d0058c21000001a000000fe0058
[ 880.739] (II) intel(G0): 4d355847024e31353642360a00000000
[ 880.739] (II) intel(G0): 00000000000000000001010a20200041
[ 880.739] (II) intel(G0): Not using default mode "320x240" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "400x300" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "400x300" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "512x384" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "640x480" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "640x512" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "800x600" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "896x672" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "928x696" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "960x720" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "700x525" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Not using default mode "1024x768" (doublescan mode not supported)
[ 880.739] (II) intel(G0): Printing probed modes for output LVDS1
[ 880.739] (II) intel(G0): Modeline "1366x768"x60.0 76.80 1366 1392 1448 1580 768 772 785 810 +hsync -vsync (48.6 kHz eP)
[ 880.739] (II) intel(G0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 880.739] (II) intel(G0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 880.739] (II) intel(G0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 880.739] (II) intel(G0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 880.740] (II) intel(G0): EDID for output VGA1
[ 880.740] (II) intel(G0): Output LVDS1 connected
[ 880.740] (II) intel(G0): Output VGA1 disconnected
[ 880.740] (II) intel(G0): Using exact sizes for initial modes
[ 880.740] (II) intel(G0): Output LVDS1 using initial mode 1366x768
[ 880.740] (II) intel(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 880.740] (==) intel(G0): DPI set to (96, 96)
[ 880.740] (II) Loading sub module "dri2"
[ 880.740] (II) LoadModule: "dri2"
[ 880.740] (II) Module "dri2" already built-in
[ 880.740] (--) Depth 24 pixmap format is 32 bpp
[ 880.762] (II) intel(G0): SNA initialized with SandyBridge backend
[ 880.762] (==) intel(G0): Backing store disabled
[ 880.762] (==) intel(G0): Silken mouse enabled
[ 880.762] (II) intel(G0): HW Cursor enabled
[ 880.762] (II) intel(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 880.764] (==) intel(G0): DPMS enabled
[ 880.764] (II) intel(G0): [DRI2] Setup complete
[ 880.764] (II) intel(G0): [DRI2] DRI driver: i965
[ 880.764] (II) intel(G0): direct rendering: DRI2 Enabled
[ 880.764] (==) intel(G0): hotplug detection: "enabled"
[ 880.765] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 880.765] (II) NVIDIA: access.
[ 880.768] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 880.768] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 880.768] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 880.768] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 880.768] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 880.768] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 880.768] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 880.768] (II) NVIDIA(0): Config Options in the README.
[ 880.770] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select{}"
[ 880.808] Loading extension NV-GLX
[ 880.862] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 880.862] (==) NVIDIA(0): Backing store disabled
[ 880.862] (==) NVIDIA(0): Silken mouse enabled
[ 880.862] (==) NVIDIA(0): DPMS enabled
[ 880.862] Loading extension NV-CONTROL
[ 880.863] Loading extension XINERAMA
[ 880.863] (II) Loading sub module "dri2"
[ 880.863] (II) LoadModule: "dri2"
[ 880.863] (II) Module "dri2" already built-in
[ 880.863] (II) NVIDIA(0): [DRI2] Setup complete
[ 880.863] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 880.863] (--) RandR disabled
[ 880.868] (II) Initializing extension GLX
[ 881.136] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 881.136] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 881.136] (II) LoadModule: "evdev"
[ 881.136] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 881.159] (II) Module evdev: vendor="X.Org Foundation"
[ 881.159] compiled for 1.14.2, module version = 2.7.3
[ 881.159] Module class: X.Org XInput Driver
[ 881.159] ABI class: X.Org XInput driver, version 19.1
[ 881.159] (II) Using input driver 'evdev' for 'Power Button'
[ 881.159] (**) Power Button: always reports core events
[ 881.159] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 881.159] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 881.159] (--) evdev: Power Button: Found keys
[ 881.159] (II) evdev: Power Button: Configuring as keyboard
[ 881.159] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 881.159] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 881.159] (**) Option "xkb_rules" "evdev"
[ 881.159] (**) Option "xkb_model" "evdev"
[ 881.159] (**) Option "xkb_layout" "us"
[ 881.178] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[ 881.179] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 881.179] (II) Using input driver 'evdev' for 'Video Bus'
[ 881.179] (**) Video Bus: always reports core events
[ 881.179] (**) evdev: Video Bus: Device: "/dev/input/event5"
[ 881.179] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 881.179] (--) evdev: Video Bus: Found keys
[ 881.179] (II) evdev: Video Bus: Configuring as keyboard
[ 881.179] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input5/event5"
[ 881.179] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 881.179] (**) Option "xkb_rules" "evdev"
[ 881.179] (**) Option "xkb_model" "evdev"
[ 881.179] (**) Option "xkb_layout" "us"
[ 881.179] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 881.179] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 881.179] (II) Using input driver 'evdev' for 'Video Bus'
[ 881.179] (**) Video Bus: always reports core events
[ 881.179] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 881.179] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 881.179] (--) evdev: Video Bus: Found keys
[ 881.179] (II) evdev: Video Bus: Configuring as keyboard
[ 881.179] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1b/LNXVIDEO:00/input/input4/event4"
[ 881.179] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 881.179] (**) Option "xkb_rules" "evdev"
[ 881.179] (**) Option "xkb_model" "evdev"
[ 881.179] (**) Option "xkb_layout" "us"
[ 881.180] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 881.180] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 881.180] (II) Using input driver 'evdev' for 'Power Button'
[ 881.180] (**) Power Button: always reports core events
[ 881.180] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 881.180] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 881.180] (--) evdev: Power Button: Found keys
[ 881.180] (II) evdev: Power Button: Configuring as keyboard
[ 881.180] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[ 881.180] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[ 881.180] (**) Option "xkb_rules" "evdev"
[ 881.180] (**) Option "xkb_model" "evdev"
[ 881.180] (**) Option "xkb_layout" "us"
[ 881.180] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 881.180] (II) No input driver specified, ignoring this device.
[ 881.180] (II) This device may have been added with another device file.
[ 881.180] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[ 881.180] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 881.180] (II) Using input driver 'evdev' for 'Sleep Button'
[ 881.180] (**) Sleep Button: always reports core events
[ 881.180] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[ 881.180] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 881.180] (--) evdev: Sleep Button: Found keys
[ 881.180] (II) evdev: Sleep Button: Configuring as keyboard
[ 881.180] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[ 881.180] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[ 881.180] (**) Option "xkb_rules" "evdev"
[ 881.180] (**) Option "xkb_model" "evdev"
[ 881.180] (**) Option "xkb_layout" "us"
[ 881.181] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 881.181] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 881.181] (II) config/udev: Adding input device Laptop_Integrated_Webcam_HD (/dev/input/event8)
[ 881.181] (**) Laptop_Integrated_Webcam_HD: Applying InputClass "evdev keyboard catchall"
[ 881.181] (II) Using input driver 'evdev' for 'Laptop_Integrated_Webcam_HD'
[ 881.181] (**) Laptop_Integrated_Webcam_HD: always reports core events
[ 881.181] (**) evdev: Laptop_Integrated_Webcam_HD: Device: "/dev/input/event8"
[ 881.181] (--) evdev: Laptop_Integrated_Webcam_HD: Vendor 0x1bcf Product 0x2880
[ 881.181] (--) evdev: Laptop_Integrated_Webcam_HD: Found keys
[ 881.181] (II) evdev: Laptop_Integrated_Webcam_HD: Configuring as keyboard
[ 881.181] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input8/event8"
[ 881.181] (II) XINPUT: Adding extended input device "Laptop_Integrated_Webcam_HD" (type: KEYBOARD, id 11)
[ 881.181] (**) Option "xkb_rules" "evdev"
[ 881.181] (**) Option "xkb_model" "evdev"
[ 881.181] (**) Option "xkb_layout" "us"
[ 881.181] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event6)
[ 881.181] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 881.181] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 881.181] (**) AT Translated Set 2 keyboard: always reports core events
[ 881.181] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event6"
[ 881.182] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 881.182] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 881.182] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 881.182] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input6/event6"
[ 881.182] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[ 881.182] (**) Option "xkb_rules" "evdev"
[ 881.182] (**) Option "xkb_model" "evdev"
[ 881.182] (**) Option "xkb_layout" "us"
[ 881.182] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event7)
[ 881.182] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer catchall"
[ 881.182] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[ 881.182] (**) PS/2 Generic Mouse: always reports core events
[ 881.182] (**) evdev: PS/2 Generic Mouse: Device: "/dev/input/event7"
[ 881.182] (--) evdev: PS/2 Generic Mouse: Vendor 0x2 Product 0x1
[ 881.182] (--) evdev: PS/2 Generic Mouse: Found 3 mouse buttons
[ 881.182] (--) evdev: PS/2 Generic Mouse: Found relative axes
[ 881.182] (--) evdev: PS/2 Generic Mouse: Found x and y relative axes
[ 881.182] (II) evdev: PS/2 Generic Mouse: Configuring as mouse
[ 881.182] (**) evdev: PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[ 881.182] (**) evdev: PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 881.182] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
[ 881.182] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 13)
[ 881.182] (II) evdev: PS/2 Generic Mouse: initialized for relative axes.
[ 881.182] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[ 881.182] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[ 881.182] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[ 881.182] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[ 881.183] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse0)
[ 881.183] (II) No input driver specified, ignoring this device.
[ 881.183] (II) This device may have been added with another device file.
[ 881.223] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 881.223] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 881.223] (**) NVIDIA(0): device CRT-0 (Using EDID frequencies has been enabled on
[ 881.223] (**) NVIDIA(0): all display devices.)
[ 881.239] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 881.239] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 881.239] (**) NVIDIA(0): device CRT-0 (Using EDID frequencies has been enabled on
[ 881.239] (**) NVIDIA(0): all display devices.)
[ 881.256] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 881.256] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 881.256] (**) NVIDIA(0): device CRT-0 (Using EDID frequencies has been enabled on
[ 881.256] (**) NVIDIA(0): all display devices.)
[ 881.272] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 881.272] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 881.272] (**) NVIDIA(0): device CRT-0 (Using EDID frequencies has been enabled on
[ 881.272] (**) NVIDIA(0): all display devices.)
[ 881.274] (II) intel(G0): EDID vendor "CMO", prod id 5540
[ 881.274] (II) intel(G0): Printing DDC gathered Modelines:
[ 881.274] (II) intel(G0): Modeline "1366x768"x0.0 76.80 1366 1392 1448 1580 768 772 785 810 +hsync -vsync (48.6 kHz eP)
[ 881.275] reporting 4 4 13 94
[ 881.324] have a master to look out for
[ 881.324] adjust shatters 0 1366
[ 881.325] need to create shared pixmap 1(II) intel(G0): switch to mode 1366x768 on crtc 3 (pipe 0)
[ 881.439] (EE)
[ 881.439] (EE) Backtrace:
[ 881.448] (EE) 0: /usr/bin/X (xorg_backtrace+0x34) [0x596094]
[ 881.448] (EE) 1: /usr/bin/X (0x400000+0x199e49) [0x599e49]
[ 881.448] (EE) 2: /lib64/libpthread.so.0 (0x7f59ea827000+0x10bf0) [0x7f59ea837bf0]
[ 881.448] (EE) 3: /usr/bin/X (RRCrtcDetachScanoutPixmap+0x57) [0x4fa427]
[ 881.448] (EE) 4: /usr/bin/X (0x400000+0xfa590) [0x4fa590]
[ 881.448] (EE) 5: /usr/bin/X (0x400000+0x5db82) [0x45db82]
[ 881.448] (EE) 6: /usr/bin/X (FreeClientResources+0x6c) [0x45ec6c]
[ 881.448] (EE) 7: /usr/bin/X (FreeAllResources+0x47) [0x45ed17]
[ 881.448] (EE) 8: /usr/bin/X (0x400000+0x2999d) [0x42999d]
[ 881.448] (EE) 9: /lib64/libc.so.6 (__libc_start_main+0xed) [0x7f59e94d760d]
[ 881.448] (EE) 10: /usr/bin/X (0x400000+0x29cad) [0x429cad]
[ 881.448] (EE)
[ 881.448] (EE) Segmentation fault at address 0x418
[ 881.448] (EE)
Fatal server error:
[ 881.448] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 881.448] (EE)
[ 881.448] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 881.448] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 881.448] (EE)
[ 881.490] (EE) Server terminated with error (1). Closing log file.


This is my ~/xinitrc

Quote:

xrandr --setprovideroutputsource Intel NVIDIA-0
xrandr --auto


On the other hand, If I change Intel to modesetting on xorg.conf and .xinitrc, and run startx, my laptop freeze with a blank screen :/.

I hope you can helpe
Thanks for all.
_________________
--
alrojas
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31370
Location: 56N 3W

PostPosted: Sat Sep 07, 2013 3:58 pm    Post subject: Reply with quote

alrojas,

A little background to aid understanding and a pointer to a way forward.

Your laptop actually only has one and half video systems. The complete one is the Intel graphics system.
It can both draw new images in the pixel buffer and read them out to refresh the display.
The half a video system is the nvidia video system. It can only draw new images in the pixel buffer. It is not connect to the display at all, hence when you try to use the nvidia-drivers you get a blank screen and a log full of errors.

To use the nvidia graphics system, the Intel graphics must be used to redraw the screen - the graphics systems must cooperate.

You need the bumblebee project. Its in a Gentoo overlay.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 8

PostPosted: Sat Sep 07, 2013 5:50 pm    Post subject: Reply with quote

NeddySeagoon wrote:
alrojas,

A little background to aid understanding and a pointer to a way forward.

Your laptop actually only has one and half video systems. The complete one is the Intel graphics system.
It can both draw new images in the pixel buffer and read them out to refresh the display.
The half a video system is the nvidia video system. It can only draw new images in the pixel buffer. It is not connect to the display at all, hence when you try to use the nvidia-drivers you get a blank screen and a log full of errors.

To use the nvidia graphics system, the Intel graphics must be used to redraw the screen - the graphics systems must cooperate.

You need the bumblebee project. Its in a Gentoo overlay.


I understand that, and I tested bumblebee before, but the performance was not good. If I understand... a few moths ago, NVIDIA released a Driver(>=319.12) with optimus "native support" on Linux (Not more bumblebee). People that installed and configured it succesfully say that performance is better than NVIDIA + BUMBLEBEE. I don't know if that is true. I like to prove it myself, but i can't do it work. :(.

Anyway, I have a question... I still need bumblebee with the "new driver"?.
_________________
--
alrojas
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31370
Location: 56N 3W

PostPosted: Sat Sep 07, 2013 6:08 pm    Post subject: Reply with quote

alrojas,

I don't have an Optimus system to practice on.

However, if the nvidia-drivers package was all you needed (no bumblebee) it would need to be able to configure the Intel graphics card too.
Its perfectly possible to do that, as xf86-video-intel is open source but it would make the nvidia-drivers very messy.

I don't see any new USE flags.
Code:
[ebuild   R    ] x11-drivers/nvidia-drivers-325.15  USE="X acpi tools (-multilib) -pax_kernel" 0 kB
but /usr/share/doc/nvidia-drivers-325.15/README.bz2 Chapter 18. Using the NVIDIA Driver with Optimus Laptops, says

Quote:
... As an alternative to using only the integrated graphics device, support for
the display output source functionality provided by the X Resize and Rotate
extension version 1.4 is available. This functionality allows for graphics to
be rendered on the NVIDIA GPU and displayed on the integrated graphics device.
For information on how to use this functionality, see Chapter 33.


The interesting reading is in Chapter 33, so the nvidia-driver can work almost the way you would like ... but not quite and not without the Intel driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ayvango
n00b
n00b


Joined: 08 Feb 2012
Posts: 31

PostPosted: Wed Sep 11, 2013 7:46 am    Post subject: Reply with quote

NeddySeagoon wrote:
alrojas,
The interesting reading is in Chapter 33, so the nvidia-driver can work almost the way you would like ... but not quite and not without the Intel driver.

I've followed chapter 33 instructions and get working optimus system without bumblebee.

Some gentoo-specific obvious additions:


  • eselect opengl set nvidia
  • set VIDEO_CARDS flag to "nvidia modesetting" at least &&
emerge xorg-drivers
[/list]
Back to top
View user's profile Send private message
edgar_uriel84
Guru
Guru


Joined: 21 Dec 2008
Posts: 438
Location: Tultitlan, México

PostPosted: Mon Sep 30, 2013 4:18 am    Post subject: Reply with quote

Hi alrojas,

I have the same issue with nvidia-drivers, Did you solved it? Thanks in advance.
_________________
Algún día habrá una persona mejor que yo, pero esa persona no eres tú ni ese momento es ahora.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum