You are not logged in.

#1 2013-06-28 15:17:22

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

[Optimus] problem with official support

hi guys,
I'm trying to use natively support of optimus from closed source drivers here on a Clevo W150ERQ (NVIDIA 650M) , but I have some problems, i didn't find solutions.

glxspheres return :

--> glxspheres :
Polygons in scene: 62464
Visual ID of window: 0x63
Context is Direct
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 3.2, 256 bits)
8.358938 frames/sec - 8.665209 Mpixels/sec

It use nouveau drivers ?!

Slim doesn't start at boot, I have a black screen. Using startx, X run.

List of informations :

dmesg informations :

--> dmesg  | grep vgaarb && dmesg | grep NVRM :
[    0.166561] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.166566] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
[    0.166568] vgaarb: loaded
[    0.166569] vgaarb: bridge control possible 0000:01:00.0
[    0.166570] vgaarb: no bridge control possible 0000:00:02.0
[    3.023384] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem
[    3.023389] vgaarb: transferring owner from PCI:0000:00:02.0 to PCI:0000:01:00.0
[    5.044654] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[    5.044855] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  319.23  Thu May 16 19:36:02 PDT 2013

Nvidia module is loaded :

--> lsmod | grep nvidia :
nvidia               9380285  25 
drm                   230077  5 i915,drm_kms_helper,nvidia
i2c_core               22479  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev

Packages installed :

---> pacman -Qqs dri :
dri2proto
intel-dri
kcm_touchpad
lib32-intel-dri
lib32-nvidia-utils
libirman
libraw1394
libva-intel-driver
libva-vdpau-driver
nvidia
nvidia-utils
xf86-input-evdev
xf86-input-mouse
xf86-input-synaptics
xf86-video-intel
xf86-video-modesetting
xf86driproto

My xorg.conf :

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 "modesetting" 
    BusID "PCI:0:2:0"
EndSection 

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

My xinitrc :

--> cat .xinitrc :
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0 
xrandr --auto 
exec startkde

Hm, I can't understand this :

--> xrandr --listproviders :
Providers: number : 2
Provider 0: id: 0x2b0 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x45 cap: 0x2, Sink Output crtcs: 2 outputs: 4 associated providers: 1 name:modesetting

Any ideas ?

Offline

#2 2013-06-28 15:35:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Optimus] problem with official support

glxspheres output does hint it's using nouveau drivers, but i don't know that program.

please install mesa-demos and run glxinfo | grep renderer .

Your Xorg.log would also be helpful to diagnose this.

Last edited by Lone_Wolf (2013-06-28 15:36:32)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2013-06-28 20:45:05

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: [Optimus] problem with official support

Oops, I had forgotten the xorg log.

--> glxinfo | grep renderer :
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.2, 256 bits)

Here my Xorg.0.log

X.Org X Server 1.14.2
Release Date: 2013-06-25
[    28.546] X Protocol Version 11, Revision 0
[    28.546] Build Operating System: Linux 3.9.7-1-ARCH x86_64 
[    28.546] Current Operating System: Linux yimm64 3.9.7-1-ARCH #1 SMP PREEMPT Thu Jun 20 22:45:32 CEST 2013 x86_64
[    28.546] Kernel command line: root=/dev/sdb2 acpi_os_name=Linux acpi_osi= ro initrd=/boot/initramfs-linux.img BOOT_IMAGE=/boot/vmlinuz-linux 
[    28.546] Build Date: 25 June 2013  06:53:24PM
[    28.546]  
[    28.546] Current version of pixman: 0.30.0
[    28.547]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    28.547] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    28.547] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 28 22:38:43 2013
[    28.548] (==) Using config file: "/etc/X11/xorg.conf"
[    28.548] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    28.548] (==) ServerLayout "layout"
[    28.548] (**) |-->Screen "nvidia" (0)
[    28.548] (**) |   |-->Monitor "<default monitor>"
[    28.548] (**) |   |-->Device "nvidia"
[    28.548] (==) No monitor specified for screen "nvidia".
        Using a default monitor configuration.
[    28.548] (**) |-->Inactive Device "intel"
[    28.548] (==) Automatically adding devices
[    28.549] (==) Automatically enabling devices
[    28.549] (==) Automatically adding GPU devices
[    28.549] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    28.549]    Entry deleted from font path.
[    28.549] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    28.549]    Entry deleted from font path.
[    28.549]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    28.549] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    28.549]    Entry deleted from font path.
[    28.549]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    28.549] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/Type1/
[    28.549] (==) ModulePath set to "/usr/lib/xorg/modules"
[    28.549] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    28.549] (II) Loader magic: 0x7fdc20
[    28.549] (II) Module ABI versions:
[    28.549]    X.Org ANSI C Emulation: 0.4
[    28.549]    X.Org Video Driver: 14.1
[    28.549]    X.Org XInput driver : 19.1
[    28.549]    X.Org Server Extension : 7.0
[    28.549] (II) xfree86: Adding drm device (/dev/dri/card1)
[    28.550] (II) xfree86: Adding drm device (/dev/dri/card0)
[    28.553] (--) PCI:*(0:0:2:0) 8086:0116:1558:1550 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    28.553] (--) PCI: (0:1:0:0) 10de:0fd1:1558:1550 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    28.553] Initializing built-in extension Generic Event Extension
[    28.553] Initializing built-in extension SHAPE
[    28.553] Initializing built-in extension MIT-SHM
[    28.553] Initializing built-in extension XInputExtension
[    28.553] Initializing built-in extension XTEST
[    28.553] Initializing built-in extension BIG-REQUESTS
[    28.553] Initializing built-in extension SYNC
[    28.553] Initializing built-in extension XKEYBOARD
[    28.553] Initializing built-in extension XC-MISC
[    28.554] Initializing built-in extension SECURITY
[    28.554] Initializing built-in extension XINERAMA
[    28.554] Initializing built-in extension XFIXES
[    28.554] Initializing built-in extension RENDER
[    28.554] Initializing built-in extension RANDR
[    28.554] Initializing built-in extension COMPOSITE
[    28.554] Initializing built-in extension DAMAGE
[    28.554] Initializing built-in extension MIT-SCREEN-SAVER
[    28.554] Initializing built-in extension DOUBLE-BUFFER
[    28.554] Initializing built-in extension RECORD
[    28.554] Initializing built-in extension DPMS
[    28.554] Initializing built-in extension X-Resource
[    28.555] Initializing built-in extension XVideo
[    28.555] Initializing built-in extension XVideo-MotionCompensation
[    28.555] Initializing built-in extension XFree86-VidModeExtension
[    28.555] Initializing built-in extension XFree86-DGA
[    28.555] Initializing built-in extension XFree86-DRI
[    28.555] Initializing built-in extension DRI2
[    28.555] (II) LoadModule: "glx"
[    28.555] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    28.556] (II) Module glx: vendor="X.Org Foundation"
[    28.556]    compiled for 1.14.2, module version = 1.0.0
[    28.556]    ABI class: X.Org Server Extension, version 7.0
[    28.556] (==) AIGLX enabled
[    28.556] Loading extension GLX
[    28.556] (II) LoadModule: "nvidia"
[    28.556] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    28.557] (II) Module nvidia: vendor="NVIDIA Corporation"
[    28.557]    compiled for 4.0.2, module version = 1.0.0
[    28.557]    Module class: X.Org Video Driver
[    28.557] (II) LoadModule: "modesetting"
[    28.557] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    28.558] (II) Module modesetting: vendor="X.Org Foundation"
[    28.558]    compiled for 1.14.1, module version = 0.8.0
[    28.558]    Module class: X.Org Video Driver
[    28.558]    ABI class: X.Org Video Driver, version 14.1
[    28.558] (II) NVIDIA dlloader X Driver  319.23  Thu May 16 19:02:20 PDT 2013
[    28.558] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    28.558] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    28.558] (++) using VT number 1

[    28.558] (II) Loading sub module "fb"
[    28.558] (II) LoadModule: "fb"
[    28.558] (II) Loading /usr/lib/xorg/modules/libfb.so
[    28.559] (II) Module fb: vendor="X.Org Foundation"
[    28.559]    compiled for 1.14.2, module version = 1.0.0
[    28.559]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.559] (WW) Unresolved symbol: fbGetGCPrivateKey
[    28.559] (II) Loading sub module "wfb"
[    28.559] (II) LoadModule: "wfb"
[    28.559] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    28.559] (II) Module wfb: vendor="X.Org Foundation"
[    28.560]    compiled for 1.14.2, module version = 1.0.0
[    28.560]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.560] (II) Loading sub module "shadow"
[    28.560] (II) LoadModule: "shadow"
[    28.560] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    28.560] (II) Module shadow: vendor="X.Org Foundation"
[    28.560]    compiled for 1.14.2, module version = 1.1.0
[    28.560]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.560] (II) Loading sub module "ramdac"
[    28.560] (II) LoadModule: "ramdac"
[    28.560] (II) Module "ramdac" already built-in
[    28.560] (II) modesetting(1): using drv /dev/dri/card0
[    28.560] (II) modesetting(G0): using drv /dev/dri/card0
[    28.560] (EE) Screen 1 deleted because of no matching config section.
[    28.561] (II) UnloadModule: "modesetting"
[    28.561] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "nvidia" for depth/fbbpp 24/32
[    28.561] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    28.561] (==) NVIDIA(0): RGB weight 888
[    28.561] (==) NVIDIA(0): Default visual is TrueColor
[    28.561] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    28.561] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[    28.561] (**) NVIDIA(0): Enabling 2D acceleration
[    28.561] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[    28.561] (**) NVIDIA(0):     mode
[    28.561] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    28.561] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    28.561] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    28.561] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    28.561] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[    28.710] (WW) NVIDIA(0): Failed to enable display hotplug notification
[    28.717] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[    28.717] (--) NVIDIA(0): Memory: 1048576 kBytes
[    28.717] (--) NVIDIA(0): VideoBIOS: 80.07.1d.00.21
[    28.718] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    28.718] (--) NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0
[    28.718] (--) NVIDIA(0):     none
[    28.718] (II) NVIDIA(0): Validated MetaModes:
[    28.718] (II) NVIDIA(0):     "nvidia-auto-select"
[    28.718] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    28.718] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    28.718] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    28.718] (==) modesetting(G0): Depth 24, (==) framebuffer bpp 32
[    28.718] (==) modesetting(G0): RGB weight 888
[    28.718] (==) modesetting(G0): Default visual is TrueColor
[    28.718] (II) modesetting(G0): ShadowFB: preferred YES, enabled YES
[    28.718] (II) modesetting(G0): Output LVDS-0 has no monitor section
[    28.719] (II) modesetting(G0): Output VGA-0 has no monitor section
[    28.720] (II) modesetting(G0): Output HDMI-0 has no monitor section
[    28.720] (II) modesetting(G0): Output DisplayPort-0 has no monitor section
[    28.720] (II) modesetting(G0): EDID for output LVDS-0
[    28.720] (II) modesetting(G0): Manufacturer: CMO  Model: 1574  Serial#: 0
[    28.720] (II) modesetting(G0): Year: 2009  Week: 12
[    28.720] (II) modesetting(G0): EDID Version: 1.3
[    28.720] (II) modesetting(G0): Digital Display Input
[    28.720] (II) modesetting(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[    28.720] (II) modesetting(G0): Gamma: 2.20
[    28.720] (II) modesetting(G0): No DPMS capabilities specified
[    28.720] (II) modesetting(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    28.720] (II) modesetting(G0): First detailed timing is preferred mode
[    28.720] (II) modesetting(G0): redX: 0.610 redY: 0.343   greenX: 0.342 greenY: 0.581
[    28.720] (II) modesetting(G0): blueX: 0.162 blueY: 0.083   whiteX: 0.313 whiteY: 0.329
[    28.720] (II) modesetting(G0): Manufacturer's mask: 0
[    28.720] (II) modesetting(G0): Supported detailed timing:
[    28.720] (II) modesetting(G0): clock: 107.8 MHz   Image Size:  344 x 193 mm
[    28.720] (II) modesetting(G0): h_active: 1600  h_sync: 1626  h_sync_end 1686 h_blank_end 1892 h_border: 0
[    28.720] (II) modesetting(G0): v_active: 900  v_sync: 909  v_sync_end 919 v_blanking: 949 v_border: 0
[    28.720] (II) modesetting(G0):  N156O6-L01
[    28.720] (II) modesetting(G0):  CMO
[    28.720] (II) modesetting(G0):  N156O6-L01
[    28.720] (II) modesetting(G0): EDID (in hex):
[    28.720] (II) modesetting(G0):      00ffffffffffff000daf741500000000
[    28.720] (II) modesetting(G0):      0c130103802213780a7b959c57579429
[    28.720] (II) modesetting(G0):      15505400000001010101010101010101
[    28.720] (II) modesetting(G0):      0101010101011c2a4024618431301a3c
[    28.720] (II) modesetting(G0):      9a0058c110000018000000fe004e3135
[    28.720] (II) modesetting(G0):      364f362d4c30310a2020000000fe0043
[    28.721] (II) modesetting(G0):      4d4f0a202020202020202020000000fe
[    28.721] (II) modesetting(G0):      004e3135364f362d4c30310a2020003d
[    28.721] (II) modesetting(G0): Printing probed modes for output LVDS-0
[    28.721] (II) modesetting(G0): Modeline "1600x900"x60.0  107.80  1600 1626 1686 1892  900 909 919 949 -hsync -vsync (57.0 kHz eP)
[    28.721] (II) modesetting(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[    28.721] (II) modesetting(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[    28.721] (II) modesetting(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[    28.721] (II) modesetting(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[    28.721] (II) modesetting(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[    28.721] (II) modesetting(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[    28.721] (II) modesetting(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[    28.721] (II) modesetting(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    28.721] (II) modesetting(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[    28.721] (II) modesetting(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[    28.721] (II) modesetting(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[    28.721] (II) modesetting(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[    28.721] (II) modesetting(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[    28.721] (II) modesetting(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[    28.721] (II) modesetting(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[    28.721] (II) modesetting(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[    28.722] (II) modesetting(G0): EDID for output VGA-0
[    28.723] (II) modesetting(G0): EDID for output HDMI-0
[    28.723] (II) modesetting(G0): EDID for output DisplayPort-0
[    28.723] (II) modesetting(G0): Output LVDS-0 connected
[    28.723] (II) modesetting(G0): Output VGA-0 disconnected
[    28.723] (II) modesetting(G0): Output HDMI-0 disconnected
[    28.723] (II) modesetting(G0): Output DisplayPort-0 disconnected
[    28.723] (II) modesetting(G0): Using exact sizes for initial modes
[    28.723] (II) modesetting(G0): Output LVDS-0 using initial mode 1600x900
[    28.723] (II) modesetting(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    28.723] (==) modesetting(G0): DPI set to (96, 96)
[    28.723] (II) Loading sub module "fb"
[    28.723] (II) LoadModule: "fb"
[    28.723] (II) Loading /usr/lib/xorg/modules/libfb.so
[    28.723] (II) Module fb: vendor="X.Org Foundation"
[    28.723]    compiled for 1.14.2, module version = 1.0.0
[    28.723]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.724] (II) Loading sub module "shadow"
[    28.724] (II) LoadModule: "shadow"
[    28.724] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    28.724] (II) Module shadow: vendor="X.Org Foundation"
[    28.724]    compiled for 1.14.2, module version = 1.1.0
[    28.724]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.724] (--) Depth 24 pixmap format is 32 bpp
[    28.724] (==) modesetting(G0): Backing store disabled
[    28.724] (==) modesetting(G0): Silken mouse enabled
[    28.724] (II) modesetting(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    28.725] (==) modesetting(G0): DPMS enabled
[    28.725] (WW) modesetting(G0): Option "UseDisplayDevice" is not used
[    28.750] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    28.750] (II) NVIDIA:     access.
[    28.753] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[    28.759] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[    28.759] Loading extension NV-GLX
[    28.766] (==) NVIDIA(0): Disabling shared memory pixmaps
[    28.766] (==) NVIDIA(0): Backing store disabled
[    28.766] (==) NVIDIA(0): Silken mouse enabled
[    28.766] (==) NVIDIA(0): DPMS enabled
[    28.766] Loading extension NV-CONTROL
[    28.766] (II) Loading sub module "dri2"
[    28.766] (II) LoadModule: "dri2"
[    28.766] (II) Module "dri2" already built-in
[    28.766] (II) NVIDIA(0): [DRI2] Setup complete
[    28.766] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    28.766] (--) RandR disabled
[    28.773] (II) AIGLX: Screen 0 is not DRI2 capable
[    28.773] (II) AIGLX: Screen 0 is not DRI capable
[    28.791] (II) AIGLX: Loaded and initialized swrast
[    28.791] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    28.874] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[    28.875] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    28.875] (II) LoadModule: "evdev"
[    28.875] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    28.875] (II) Module evdev: vendor="X.Org Foundation"
[    28.875]    compiled for 1.14.0, module version = 2.8.0
[    28.875]    Module class: X.Org XInput Driver
[    28.875]    ABI class: X.Org XInput driver, version 19.1
[    28.875] (II) Using input driver 'evdev' for 'Power Button'
[    28.875] (**) Power Button: always reports core events
[    28.875] (**) evdev: Power Button: Device: "/dev/input/event4"
[    28.876] (--) evdev: Power Button: Vendor 0 Product 0x1
[    28.876] (--) evdev: Power Button: Found keys
[    28.876] (II) evdev: Power Button: Configuring as keyboard
[    28.876] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[    28.876] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    28.876] (**) Option "xkb_rules" "evdev"
[    28.876] (**) Option "xkb_model" "evdev"
[    28.876] (**) Option "xkb_layout" "us"
[    28.919] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[    28.919] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    28.919] (II) Using input driver 'evdev' for 'Video Bus'
[    28.919] (**) Video Bus: always reports core events
[    28.919] (**) evdev: Video Bus: Device: "/dev/input/event13"
[    28.919] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    28.919] (--) evdev: Video Bus: Found keys
[    28.919] (II) evdev: Video Bus: Configuring as keyboard
[    28.919] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input13/event13"
[    28.919] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    28.919] (**) Option "xkb_rules" "evdev"
[    28.919] (**) Option "xkb_model" "evdev"
[    28.919] (**) Option "xkb_layout" "us"
[    28.920] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[    28.920] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    28.920] (II) Using input driver 'evdev' for 'Video Bus'
[    28.920] (**) Video Bus: always reports core events
[    28.920] (**) evdev: Video Bus: Device: "/dev/input/event12"
[    28.920] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    28.920] (--) evdev: Video Bus: Found keys
[    28.920] (II) evdev: Video Bus: Configuring as keyboard
[    28.920] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1a/LNXVIDEO:00/input/input12/event12"
[    28.920] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    28.920] (**) Option "xkb_rules" "evdev"
[    28.920] (**) Option "xkb_model" "evdev"
[    28.920] (**) Option "xkb_layout" "us"
[    28.921] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    28.921] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    28.921] (II) Using input driver 'evdev' for 'Power Button'
[    28.921] (**) Power Button: always reports core events
[    28.921] (**) evdev: Power Button: Device: "/dev/input/event1"
[    28.922] (--) evdev: Power Button: Vendor 0 Product 0x1
[    28.922] (--) evdev: Power Button: Found keys
[    28.922] (II) evdev: Power Button: Configuring as keyboard
[    28.922] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    28.922] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[    28.922] (**) Option "xkb_rules" "evdev"
[    28.922] (**) Option "xkb_model" "evdev"
[    28.922] (**) Option "xkb_layout" "us"
[    28.923] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[    28.923] (II) No input driver specified, ignoring this device.
[    28.923] (II) This device may have been added with another device file.
[    28.923] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    28.923] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    28.923] (II) Using input driver 'evdev' for 'Sleep Button'
[    28.923] (**) Sleep Button: always reports core events
[    28.923] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    28.923] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    28.923] (--) evdev: Sleep Button: Found keys
[    28.923] (II) evdev: Sleep Button: Configuring as keyboard
[    28.924] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    28.924] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[    28.924] (**) Option "xkb_rules" "evdev"
[    28.924] (**) Option "xkb_model" "evdev"
[    28.924] (**) Option "xkb_layout" "us"
[    28.924] (II) config/udev: Adding drm device (/dev/dri/card1)
[    28.924] (II) config/udev: Adding drm device (/dev/dri/card0)
[    28.925] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event5)
[    28.925] (II) No input driver specified, ignoring this device.
[    28.925] (II) This device may have been added with another device file.
[    28.926] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event6)
[    28.926] (II) No input driver specified, ignoring this device.
[    28.926] (II) This device may have been added with another device file.
[    28.926] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event7)
[    28.926] (II) No input driver specified, ignoring this device.
[    28.926] (II) This device may have been added with another device file.
[    28.927] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[    28.927] (II) No input driver specified, ignoring this device.
[    28.927] (II) This device may have been added with another device file.
[    28.927] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event9)
[    28.927] (II) No input driver specified, ignoring this device.
[    28.927] (II) This device may have been added with another device file.
[    28.928] (II) config/udev: Adding input device Chicony USB 2.0 Camera (/dev/input/event11)
[    28.928] (**) Chicony USB 2.0 Camera: Applying InputClass "evdev keyboard catchall"
[    28.928] (II) Using input driver 'evdev' for 'Chicony USB 2.0 Camera'
[    28.928] (**) Chicony USB 2.0 Camera: always reports core events
[    28.928] (**) evdev: Chicony USB 2.0 Camera: Device: "/dev/input/event11"
[    28.928] (--) evdev: Chicony USB 2.0 Camera: Vendor 0x4f2 Product 0xb2b0
[    28.928] (--) evdev: Chicony USB 2.0 Camera: Found keys
[    28.928] (II) evdev: Chicony USB 2.0 Camera: Configuring as keyboard
[    28.928] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.0/input/input11/event11"
[    28.928] (II) XINPUT: Adding extended input device "Chicony USB 2.0 Camera" (type: KEYBOARD, id 11)
[    28.928] (**) Option "xkb_rules" "evdev"
[    28.928] (**) Option "xkb_model" "evdev"
[    28.928] (**) Option "xkb_layout" "us"
[    28.929] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    28.929] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    28.929] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    28.929] (**) AT Translated Set 2 keyboard: always reports core events
[    28.929] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    28.930] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    28.930] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    28.930] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    28.930] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    28.930] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    28.930] (**) Option "xkb_rules" "evdev"
[    28.930] (**) Option "xkb_model" "evdev"
[    28.930] (**) Option "xkb_layout" "us"
[    28.931] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event14)
[    28.931] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[    28.931] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[    28.931] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[    28.931] (II) LoadModule: "synaptics"
[    28.931] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    28.931] (II) Module synaptics: vendor="X.Org Foundation"
[    28.931]    compiled for 1.14.1, module version = 1.7.1
[    28.931]    Module class: X.Org XInput Driver
[    28.932]    ABI class: X.Org XInput driver, version 19.1
[    28.932] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[    28.932] (**) ETPS/2 Elantech Touchpad: always reports core events
[    28.932] (**) Option "Device" "/dev/input/event14"
[    28.933] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 2436 (res 0)
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 1044 (res 0)
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left right double triple
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[    28.934] (**) Option "TapButton1" "1"
[    28.934] (**) Option "TapButton2" "2"
[    28.934] (**) Option "TapButton3" "3"
[    28.934] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[    28.934] (**) ETPS/2 Elantech Touchpad: always reports core events
[    28.940] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input14/event14"
[    28.940] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 13)
[    28.940] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    28.940] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
[    28.940] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.075
[    28.941] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[    28.941] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[    28.941] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[    28.941] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[    28.941] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[    28.941] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[    28.941] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[    28.942] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[    28.942] (II) No input driver specified, ignoring this device.
[    28.942] (II) This device may have been added with another device file.
[    28.994] (II) modesetting(G0): EDID vendor "CMO", prod id 5492
[    28.994] (II) modesetting(G0): Printing DDC gathered Modelines:
[    28.994] (II) modesetting(G0): Modeline "1600x900"x0.0  107.80  1600 1626 1686 1892  900 909 919 949 -hsync -vsync (57.0 kHz eP)
[    28.995] reporting 2 4 17 122
[    29.010] have a master to look out for
[    29.010] adjust shatters 0 1600
[    29.014] need to create shared pixmap 1(II) modesetting(G0): EDID vendor "CMO", prod id 5492
[    32.152] (II) modesetting(G0): Printing DDC gathered Modelines:
[    32.152] (II) modesetting(G0): Modeline "1600x900"x0.0  107.80  1600 1626 1686 1892  900 909 919 949 -hsync -vsync (57.0 kHz eP)
[    32.153] reporting 2 4 17 122
[    41.456] (II) modesetting(G0): EDID vendor "CMO", prod id 5492
[    41.456] (II) modesetting(G0): Printing DDC gathered Modelines:
[    41.456] (II) modesetting(G0): Modeline "1600x900"x0.0  107.80  1600 1626 1686 1892  900 909 919 949 -hsync -vsync (57.0 kHz eP)
[    41.457] reporting 2 4 17 122

Offline

#4 2013-06-29 11:02:18

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Optimus] problem with official support

Ok, looking closer at the info, X is NOT using the nouveau drivers.
What happens is that X doesn't find what the necessary stuff for hardware acceleration, so falls back to software (llvm-pipe in this case)  .

[    28.558] (II) NVIDIA dlloader X Driver  319.23  Thu May 16 19:02:20 PDT 2013
[    28.558] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

X is trying to use the latest nvidia drivers.

[    28.561] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    28.561] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    28.561] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    28.561] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    28.561] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
28.717] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)

The nvidia 319.x drivers do support the Geforce GT 650M.

re-installing the nvidia driver seems worth a try.
Also check if nvidia-libgl is installed.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2013-06-29 13:15:01

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: [Optimus] problem with official support

Hm...
nvidia-libgl wasn't installed. If I want to install it, I had to uninstall bumblebee (that I don't want anymore), and mesa-libgl. But mesa-libgl is needed by intel module. So, I have installed nvidia-libgl with Sdd, and I have uninstalled bumblebee and mesa-libgl

When I want to start X with the same configuration, X has started, KDE is trying to load, but 2-3 seconds after, X crash (segmentation fault).  dmesg gives me nothing more.

I'm surprised that there is nothing on the Wiki about native optimus' support.

Last edited by yimm (2013-06-29 13:15:22)

Offline

#6 2013-06-30 13:29:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Optimus] problem with official support

Native optimus support was added to the nvidia driver only  a few months ago, http://www.phoronix.com/scan.php?page=n … px=MTM0NzE .
You might very well be one of the first to try it out.

Can you post the Xorg.Log with the segmentation fault ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2013-07-03 16:05:34

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: [Optimus] problem with official support

with latest updates, X didn't crash at all, and optimus work ! 
Yes, nvidia card is always power on, but performance is better.

Hm... slim doesn't start at all, I have a black screen. If I start X with startx, it works !
And I didn't have the option to activate vsync in nvidia-settings, this setting is not present

Last edited by yimm (2013-07-03 16:26:54)

Offline

#8 2013-07-09 18:16:23

evolved
Member
From: NJ
Registered: 2013-07-09
Posts: 4
Website

Re: [Optimus] problem with official support

Yimm,

I have had some success with the native optimus support in the nvidia driver, some details in a post in the laptop forum: https://bbs.archlinux.org/viewtopic.php?id=163883

Offline

#9 2013-07-19 00:05:49

iamjerico
Member
Registered: 2012-12-10
Posts: 21

Re: [Optimus] problem with official support

Yimm, Evolved,

I'm following similar procedures as you, mostly successfully.  Regarding Slim, I also get a black screen, but Slim seems to be running because I can log in blindly at that point, and then my desktop launches normally.  I'm guessing this has something to do with the "xrandr" commands being inside .xinitrc, but haven't figured out a solution yet.

Offline

#10 2013-09-21 18:23:25

physlord
Member
Registered: 2013-09-21
Posts: 1

Re: [Optimus] problem with official support

I installed it a couple of monts ago (on mint). It works great, some random crashes though. Not sure but may be the how to I just wrote might help wink

http://zeronteproject.tk/74/

Offline

Board footer

Powered by FluxBB