You are not logged in.

#1 2015-10-08 16:11:25

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Nvidia/Intel Drivers Not Working

Edit: I just had to install bumblebee, but after doing so something seems wrong with the Intel drivers.

I'm running LXDE on X11 on a laptop with an nvidia GTX 950M gpu, I can start X just fine but when I try to run Nvidia Settings I get a "You do not appear to be using the NVIDIA X Driver..." error, and it tells me to configure X to do so.

I run X with these setings:

Section "Device"
    Identifier      "GTX 950m"
    Driver     "nvidia"
EndSection

And fail to run X with the following error:

[    52.241] (II) LoadModule: "glx"
[    52.241] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    52.377] (II) Module glx: vendor="X.Org Foundation"
[    52.377] 	compiled for 1.17.2, module version = 1.0.0
[    52.377] 	ABI class: X.Org Server Extension, version 9.0
[    52.377] (==) AIGLX enabled
[    52.377] (II) LoadModule: "nvidia"
[    52.394] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    52.469] (II) Module nvidia: vendor="NVIDIA Corporation"
[    52.469] 	compiled for 4.0.2, module version = 1.0.0
[    52.469] 	Module class: X.Org Video Driver
[    52.477] (II) NVIDIA dlloader X Driver  355.11  Wed Aug 26 15:38:55 PDT 2015
[    52.477] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    52.478] (++) using VT number 1

[    52.478] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    52.478] (EE) No devices detected.
[    52.478] (EE) 
Fatal server error:
[    52.478] (EE) no screens found(EE) 
[    52.478] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    52.478] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    52.478] (EE) 

here is my complete lspci -v output

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: ie31200_edac

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: f6000000-f70fffff
	Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, fast devsel, latency 0, IRQ 35
	Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: Intel Corporation Device 2010
	Flags: bus master, fast devsel, latency 0, IRQ 37
	Memory at f7a14000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. Device 201f
	Flags: bus master, medium devsel, latency 0, IRQ 31
	Memory at f7a00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Memory at f7a1c000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 143f
	Flags: bus master, fast devsel, latency 0, IRQ 36
	Memory at f7a10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: cfe00000-cfffffff
	Prefetchable memory behind bridge: 00000000f2000000-00000000f21fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	Memory behind bridge: f7900000-f79fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: f7800000-f78fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 32
	I/O ports at f0b0 [size=8]
	I/O ports at f0a0 [size=4]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at f7a1a000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: medium devsel, IRQ 18
	Memory at f7a19000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
	Subsystem: ASUSTeK Computer Inc. Device 178d
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia

03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
	Subsystem: AzureWave Device 2130
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at f7900000 (64-bit, non-prefetchable) [size=512K]
	Expansion ROM at f7980000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ath9k
	Kernel modules: ath9k

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 202f
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at f7815000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f7800000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

04:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
	Subsystem: ASUSTeK Computer Inc. Device 200f
	Flags: bus master, fast devsel, latency 0, IRQ 34
	I/O ports at d000 [size=256]
	Memory at f7814000 (64-bit, non-prefetchable) [size=4K]
	Memory at f7810000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

What is going on here, and how do I fix it?

Last edited by rabcor (2015-10-09 16:04:26)

Offline

#2 2015-10-08 16:23:42

sapphirus
Member
From: Ontario, Canada
Registered: 2015-10-08
Posts: 4

Re: Nvidia/Intel Drivers Not Working

I'm pretty certain this is because your laptop has Nvidia Optimus graphics. Check out this article on the wiki here.

Offline

#3 2015-10-09 13:38:13

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: Nvidia/Intel Drivers Not Working

You were correct. I just had to set up mesa and use bumblebee for nvidia graphics... Damn, I would have thought Nvidia would support switchable graphics in their drivers by now, wonder why the hell they don't, I'm not a huge fan of bumblebee.

Anyhow thanks for pointing it out, I should have known this one. smile (only reason I didn't is because I've only installed arch once on an nvidia switchable graphics laptop before, and that was years ago)

Edit: However I don't seem to be in the clear yet, there seems to be something up with the intel drivers this time around, or google chrome.

Google chrome is not working properly unless I run it with the nvidia card, on some pages (namely google.com) I just get artifacts and the page doesn't show unless I use optirun/primusrun. This is surely a precursor to many other problems so I'd like to fix it.

Update: I can make this work by running chrome with the ignore-gpu-blacklist setting google-chrome-stable --ignore-gpu-blacklist and it will work properly on the intel drivers. I'd mark it as solved seeing as it seems to be more of a chrome problem (firefox worked fine) than intel driver problem, but I want to know what's happening first all I know is that it has to do with WebGL (e.g. chrome fails to load webgl unless I run it with that specific setting)

My intel GPU is 4th gen (haswell) that's about all lspci will tell me, my cpu is i7-4720HQ

Last edited by rabcor (2015-10-09 17:52:15)

Offline

Board footer

Powered by FluxBB