You are not logged in.

#1 2015-12-28 15:37:53

Nael
Member
Registered: 2015-10-18
Posts: 10

[Solved] NVIDIA driver on a laptop with two cards?

Hi Community.
How to properly install the NVIDIA Proprietary driver on a laptop with two graphics cards with working nvidia-settings ?
After nvidia-xconfig, startx always fails with the error (EE) no screens found(EE).
I have Lenovo G580 with...
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 635M] (rev ff)
I really do not need to switch cards. It would be best if Archlinux always work only on NVIDIA card.
Thanks for help...

Last edited by Nael (2015-12-28 18:10:56)

Offline

#2 2015-12-28 15:53:14

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: [Solved] NVIDIA driver on a laptop with two cards?

Offline

#3 2015-12-28 16:01:38

Nael
Member
Registered: 2015-10-18
Posts: 10

Re: [Solved] NVIDIA driver on a laptop with two cards?

I can run programs with optirun and primusrun, but I'd like to keep "everything" running on NVIDIA card without me to run it manually..

Last edited by Nael (2015-12-28 16:01:50)

Offline

#4 2015-12-28 16:05:04

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: [Solved] NVIDIA driver on a laptop with two cards?

Have you read the first part of that page, where it explains how Optimus works? No, you can not disable Intel IGP, video output is attached to it.
If the only problem is the hustle with having to run optirun manually, use the method with nvidia driver described on that page ("Using NVIDIA").

Offline

#5 2015-12-28 16:18:04

Nael
Member
Registered: 2015-10-18
Posts: 10

Re: [Solved] NVIDIA driver on a laptop with two cards?

Xabre wrote:

Have you read the first part of that page, where it explains how Optimus works? No, you can not disable Intel IGP, video output is attached to it.
If the only problem is the hustle with having to run optirun manually, use the method with nvidia driver described on that page ("Using NVIDIA").

X.Org X Server 1.18.0
Release Date: 2015-11-09
[   114.039] X Protocol Version 11, Revision 0
[   114.041] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[   114.042] Current Operating System: Linux arch 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[   114.042] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a44bf48f-426b-41c1-8ab4-418e1090816c rw quiet
[   114.045] Build Date: 18 November 2015  08:07:09AM
[   114.046]  
[   114.047] Current version of pixman: 0.32.8
[   114.050] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   114.050] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   114.054] (==) Log file: "/home/nael/.local/share/xorg/Xorg.0.log", Time: Mon Dec 28 17:13:06 2015
[   114.056] (==) Using config file: "/etc/X11/xorg.conf"
[   114.057] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   114.057] (==) ServerLayout "Layout0"
[   114.057] (**) |-->Screen "Screen0" (0)
[   114.057] (**) |   |-->Monitor "Monitor0"
[   114.057] (**) |   |-->Device "Device0"
[   114.057] (**) |-->Input Device "Keyboard0"
[   114.057] (**) |-->Input Device "Mouse0"
[   114.057] (==) Automatically adding devices
[   114.057] (==) Automatically enabling devices
[   114.057] (==) Automatically adding GPU devices
[   114.057] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   114.057] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   114.057] (==) ModulePath set to "/usr/lib/xorg/modules"
[   114.057] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   114.057] (WW) Disabling Keyboard0
[   114.057] (WW) Disabling Mouse0
[   114.057] (II) Loader magic: 0x819d40
[   114.057] (II) Module ABI versions:
[   114.057] 	X.Org ANSI C Emulation: 0.4
[   114.057] 	X.Org Video Driver: 20.0
[   114.057] 	X.Org XInput driver : 22.1
[   114.057] 	X.Org Server Extension : 9.0
[   114.058] (++) using VT number 1

[   114.058] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   114.061] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   114.062] (II) xfree86: Adding drm device (/dev/dri/card0)
[   114.062] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   114.064] (--) PCI:*(0:0:2:0) 8086:0166:17aa:3901 rev 9, Mem @ 0xd3400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[   114.064] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   114.064] (II) LoadModule: "glx"
[   114.064] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   114.066] (II) Module glx: vendor="X.Org Foundation"
[   114.066] 	compiled for 1.18.0, module version = 1.0.0
[   114.066] 	ABI class: X.Org Server Extension, version 9.0
[   114.066] (==) AIGLX enabled
[   114.066] (II) LoadModule: "nvidia"
[   114.066] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   114.066] (II) Module nvidia: vendor="NVIDIA Corporation"
[   114.066] 	compiled for 4.0.2, module version = 1.0.0
[   114.066] 	Module class: X.Org Video Driver
[   114.067] (WW) LoadKernelModule: Setting of real/effective user Id to 0/0 failed[   114.165] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[   114.165] (EE) NVIDIA:     system's kernel log for additional error messages.
[   114.165] (II) UnloadModule: "nvidia"
[   114.165] (II) Unloading nvidia
[   114.165] (EE) Failed to load module "nvidia" (module-specific error, 0)
[   114.165] (EE) No drivers available.
[   114.165] (EE) 
Fatal server error:
[   114.165] (EE) no screens found(EE) 
[   114.165] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   114.165] (EE) Please also check the log file at "/home/nael/.local/share/xorg/Xorg.0.log" for additional information.
[   114.165] (EE) 
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#6 2015-12-28 16:24:21

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: [Solved] NVIDIA driver on a laptop with two cards?

[   114.165] (EE) Failed to load module "nvidia" (module-specific error, 0)

You messed up something during installation.

Not to mention that your xorg.conf does not look like the one provided on the wiki page, which is probably what went wrong.

Offline

#7 2015-12-28 16:30:13

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [Solved] NVIDIA driver on a laptop with two cards?

Do not use nvidia-xconfig or the xorg conf generated by it. Usually you don't need an xorg conf anyway.

Offline

#8 2015-12-28 17:30:48

Nael
Member
Registered: 2015-10-18
Posts: 10

Re: [Solved] NVIDIA driver on a laptop with two cards?

I reinstalled archlinux and I followed according to the wiki and now everything works.
Thank you!
smile
http://i.imgur.com/pVLN4jA.png

Last edited by Nael (2015-12-28 18:09:22)

Offline

#9 2015-12-28 18:01:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,654

Re: [Solved] NVIDIA driver on a laptop with two cards?

Be sure to mark your thread as solved.   Also, that is a fairly large picture.  Please edit your post and change the img tags to url tags.   Those on slow and/or metered connections will appreciate it.

Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB