Optimus Nvidia problems [17.2]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
protondonor

Optimus Nvidia problems [17.2]

Post by protondonor »

I've been trying all morning to get Optimus to switch from Intel to Nvidia drivers. Currently, using NVIDIA X Server Settings to change gives a blank error message and there is no system tray icon (as mentioned in the update notes for 17.2) that would allow me to switch drivers. I tried a variety of suggestions that I found, ranging from editing bumblebee configurations (which caused a lot of problems), to reinstalling the drivers (which I've done multiple times, with no real success). I don't currently have bumblebee installed (had to uninstall it earlier; when I finally got it working and switched my graphics to Nvidia, OpenGL wasn't working at all and graphics wouldn't switch back to Intel), but I saw a comment on the forums stating you don't need it anymore in 17.2. Is that true? How can I get my computer to switch between Intel and Nvidia drivers, and get both of them to work properly?

inxi -Fxs doesn't currently show that I have an Nvidia graphics card (745) on my system, and modprobe nvidia reports "FATAL: Module nvidia not found":

Code: Select all

System:    Host: rowan-Q550LF Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: Xfce 4.12.2 (Gtk 2.24.23) Distro: Linux Mint 17.2 Rafaela
Machine:   Mobo: ASUSTeK model: Q550LF version: 1.0 Bios: American Megatrends version: Q550LF.214 date: 05/07/2014
CPU:       Dual core Intel Core i7-4500U CPU (-HT-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9578.24 
           Clock Speeds: 1: 768.00 MHz 2: 768.00 MHz 3: 768.00 MHz 4: 1300.00 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@60.0hz 
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card-1: Intel Lynx Point-LP HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Card-2: Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 
           Card-3: ASUSTek driver: USB Audio usb-ID: 001-002 
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network:   Card-1: Intel Wireless 7260 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0
           IF: wlan0 state: up mac: 80:86:f2:df:1f:1f
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: eth0 state: down mac: 78:24:af:0f:bf:95
Drives:    HDD Total Size: 1000.2GB (54.0% used) 1: id: /dev/sda model: ST1000LM024_HN size: 1000.2GB 
Partition: ID: / size: 717G used: 503G (74%) fs: ext4 ID: swap-1 size: 8.47GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 56.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 190 Uptime: 7 min Memory: 639.2/7868.7MB Runlevel: 2 Gcc sys: 4.8.4 
           Client: Shell (bash 4.3.11) inxi: 1.9.17 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Optimus Nvidia problems [17.2]

Post by Laurent85 »

Can you post back command results

Code: Select all

aptitude search "~i nvidia"
aptitude search "~ramd64 nvidia-[0-9]{3}$"
Image
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

For the first line:

Code: Select all

i   nvidia-346                      - NVIDIA binary driver - version 346.82     
i   nvidia-prime                    - Tools to enable NVIDIA's Prime            
i   nvidia-settings                 - Tool for configuring the NVIDIA graphics d
For the second:

Code: Select all

p   nvidia-173                      - NVIDIA legacy binary driver - version 173.
p   nvidia-304                      - NVIDIA legacy binary driver - version 304.
p   nvidia-310                      - Transitional package for nvidia-310       
p   nvidia-319                      - Transitional package for nvidia-319       
p   nvidia-331                      - Transitional package for nvidia-331       
p   nvidia-340                      - NVIDIA binary driver - version 340.76     
i   nvidia-346                      - NVIDIA binary driver - version 346.82
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Optimus Nvidia problems [17.2]

Post by Laurent85 »

modprobe nvidia reports "FATAL: Module nvidia not found"
i nvidia-346 - NVIDIA binary driver - version 346.82
i nvidia-prime - Tools to enable NVIDIA's Prime
i nvidia-settings - Tool for configuring the NVIDIA graphics d
Strange since nvidia driver is installed. Try to reinstall driver this way, plus LM nvidia applet

Code: Select all

sudo apt-get install --reinstall nvidia-346 nvidia-prime nvidia-settings nvidia-prime-applet
Installation should report no error message. Then reboot and try to select nvidia card through apllet or Nvidia X Server Settings.
Image
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

Installation reported an error:

Code: Select all

Setting up nvidia-346 (346.72-0ubuntu1) ...
INFO:Enable nvidia-346
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-346-346.72 DKMS files...
Building only for 3.13.0-24-generic
Building for architecture x86_64
Building initial module for 3.13.0-24-generic
/usr/sbin/dkms: line 81: patch: command not found
Error! Application of patch buildfix_kernel_3.18.patch failed.
Check /var/lib/dkms/nvidia-346/346.72/build/ for more information.
Setting up nvidia-prime (0.6.2linuxmint1) ...
nvidia-prime stop/waiting
Setting up nvidia-prime-applet (1.0.3) ...
Setting up nvidia-settings (346.72-0ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
On rebooting, I cannot select the NVIDIA graphics card, but the icon for selecting graphics card does appear in the system tray (as a small quote bubble with a red X inside and a red background; I would post a screenshot but print screen is not currently working). Once again the NVIDIA settings tool gives a blank error message when trying to switch to NVIDIA.
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Optimus Nvidia problems [17.2]

Post by Laurent85 »

/usr/sbin/dkms: line 81: patch: command not found
Installation failed. For some reasons patch command is missing, reinstall patch package

Code: Select all

sudo apt-get install --reinstall patch
Then start over nvidia packages reinstall

Code: Select all

sudo apt-get install --reinstall nvidia-346 nvidia-prime nvidia-settings nvidia-prime-applet
Any errors reported ?
Reboot.
Image
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

No errors reported, but on rebooting, the results are the same.

modprobe nvidia still reports "FATAL: Module nvidia not found."
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

It appears that your inability to switch GPUs problem is seen often on systems with Optimus technology. I'm wondering if it's related to the bug report on this web page:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1310023

Could you post some information. Use these commands in the Terminal:

Code: Select all

1. cat /var/log/gpu-manager.log
2. dmesg | egrep "bbswitch|nvidia"
3. ls /usr/share/nvidia-prime
4. cat /sys/class/dmi/id/sys_vendor
5. cat /sys/class/dmi/id/product_name
6. Open the Xorg.0.log file with this command and post the contents:

Code: Select all

gedit /var/log/Xorg.0.log
If you have problems posting that long file, then upload it to pastebin.com by using this command:

Code: Select all

pastebin /var/log/Xorg.0.log

Post the URL link that displays in the Terminal window.
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

For the first five commands:

Code: Select all

~ $ cat /var/log/gpu-manager.log
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
	eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
grep dmesg status 0
dmesg status 0 == 0? Yes
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? yes
Is fglrx loaded? no
Was fglrx unloaded? no
Is intel loaded? yes
Is radeon loaded? no
Is nouveau loaded? no
Vendor/Device Id: 8086:a16
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:fe3
BusID "PCI:4@0:0:0"
Is boot vga? no
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Is nvidia enabled? no
Is fglrx enabled? no
Is mesa enabled? yes
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
System configuration has changed
Intel IGP detected
Intel hybrid system
Neither Lightdm nor GDM is the default display manager. Nothing to do


~ $ dmesg | egrep "bbswitch|nvidia"
[   15.092273] nvidia: module license 'NVIDIA' taints kernel.
[   15.094589] nvidia: module verification failed: signature and/or  required key missing - tainting kernel
[   15.542990] NVRM: nouveau, rivafb, nvidiafb or rivatv 


~ $ ls /usr/share/nvidia-prime
prime-quirks


~ $ cat /sys/class/dmi/id/sys_vendor
ASUSTeK COMPUTER INC.


~ $ cat /sys/class/dmi/id/product_name
Q550LF
xorg log contents:

Code: Select all

[    35.309] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    35.309] X Protocol Version 11, Revision 0
[    35.309] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[    35.309] Current Operating System: Linux rowan-Q550LF 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
[    35.309] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=efb1f76c-2053-4b74-b0db-27b440d9462e ro quiet splash vt.handoff=7
[    35.309] Build Date: 12 February 2015  02:49:29PM
[    35.309] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
[    35.309] Current version of pixman: 0.30.2
[    35.309] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    35.309] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    35.309] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 28 08:12:58 2015
[    35.499] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    35.860] (==) No Layout section.  Using the first Screen section.
[    35.860] (==) No screen section available. Using defaults.
[    35.860] (**) |-->Screen "Default Screen Section" (0)
[    35.860] (**) |   |-->Monitor "<default monitor>"
[    35.908] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    35.909] (==) Automatically adding devices
[    35.909] (==) Automatically enabling devices
[    35.909] (==) Automatically adding GPU devices
[    36.110] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    36.110] 	Entry deleted from font path.
[    36.110] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    36.110] 	Entry deleted from font path.
[    36.110] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    36.110] 	Entry deleted from font path.
[    36.132] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    36.132] 	Entry deleted from font path.
[    36.132] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    36.132] 	Entry deleted from font path.
[    36.132] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    36.132] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    36.132] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    36.132] (II) Loader magic: 0x7f61806fdd40
[    36.132] (II) Module ABI versions:
[    36.132] 	X.Org ANSI C Emulation: 0.4
[    36.132] 	X.Org Video Driver: 15.0
[    36.132] 	X.Org XInput driver : 20.0
[    36.132] 	X.Org Server Extension : 8.0
[    36.133] (II) xfree86: Adding drm device (/dev/dri/card0)
[    36.133] (II) xfree86: Adding drm device (/dev/dri/card1)
[    36.134] (--) PCI:*(0:0:2:0) 8086:0a16:1043:12dd rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    36.134] (--) PCI: (0:4:0:0) 10de:0fe3:1043:12dd rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[    36.143] Initializing built-in extension Generic Event Extension
[    36.143] Initializing built-in extension SHAPE
[    36.143] Initializing built-in extension MIT-SHM
[    36.143] Initializing built-in extension XInputExtension
[    36.143] Initializing built-in extension XTEST
[    36.143] Initializing built-in extension BIG-REQUESTS
[    36.143] Initializing built-in extension SYNC
[    36.143] Initializing built-in extension XKEYBOARD
[    36.143] Initializing built-in extension XC-MISC
[    36.143] Initializing built-in extension SECURITY
[    36.143] Initializing built-in extension XINERAMA
[    36.143] Initializing built-in extension XFIXES
[    36.143] Initializing built-in extension RENDER
[    36.143] Initializing built-in extension RANDR
[    36.143] Initializing built-in extension COMPOSITE
[    36.143] Initializing built-in extension DAMAGE
[    36.143] Initializing built-in extension MIT-SCREEN-SAVER
[    36.143] Initializing built-in extension DOUBLE-BUFFER
[    36.143] Initializing built-in extension RECORD
[    36.143] Initializing built-in extension DPMS
[    36.143] Initializing built-in extension Present
[    36.143] Initializing built-in extension DRI3
[    36.143] Initializing built-in extension X-Resource
[    36.143] Initializing built-in extension XVideo
[    36.143] Initializing built-in extension XVideo-MotionCompensation
[    36.143] Initializing built-in extension SELinux
[    36.143] Initializing built-in extension XFree86-VidModeExtension
[    36.143] Initializing built-in extension XFree86-DGA
[    36.143] Initializing built-in extension XFree86-DRI
[    36.143] Initializing built-in extension DRI2
[    36.143] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[    36.143] (II) "glx" will be loaded by default.
[    36.143] (WW) "xmir" is not to be loaded by default. Skipping.
[    36.143] (II) LoadModule: "glx"
[    36.377] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    36.741] (II) Module glx: vendor="X.Org Foundation"
[    36.741] 	compiled for 1.15.1, module version = 1.0.0
[    36.741] 	ABI class: X.Org Server Extension, version 8.0
[    36.741] (==) AIGLX enabled
[    36.741] Loading extension GLX
[    36.741] (==) Matched intel as autoconfigured driver 0
[    36.741] (==) Matched nvidia as autoconfigured driver 1
[    36.741] (==) Matched nouveau as autoconfigured driver 2
[    36.741] (==) Matched intel as autoconfigured driver 3
[    36.741] (==) Matched modesetting as autoconfigured driver 4
[    36.741] (==) Matched fbdev as autoconfigured driver 5
[    36.741] (==) Matched vesa as autoconfigured driver 6
[    36.741] (==) Assigned the driver to the xf86ConfigLayout
[    36.741] (II) LoadModule: "intel"
[    36.741] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    36.895] (II) Module intel: vendor="X.Org Foundation"
[    36.895] 	compiled for 1.15.1, module version = 2.99.910
[    36.895] 	Module class: X.Org Video Driver
[    36.895] 	ABI class: X.Org Video Driver, version 15.0
[    36.895] (II) LoadModule: "nvidia"
[    36.915] (WW) Warning, couldn't open module nvidia
[    36.915] (II) UnloadModule: "nvidia"
[    36.915] (II) Unloading nvidia
[    36.915] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    36.915] (II) LoadModule: "nouveau"
[    36.915] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    37.065] (II) Module nouveau: vendor="X.Org Foundation"
[    37.065] 	compiled for 1.15.0, module version = 1.0.10
[    37.065] 	Module class: X.Org Video Driver
[    37.065] 	ABI class: X.Org Video Driver, version 15.0
[    37.065] (II) LoadModule: "modesetting"
[    37.065] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    37.082] (II) Module modesetting: vendor="X.Org Foundation"
[    37.082] 	compiled for 1.15.0, module version = 0.8.1
[    37.082] 	Module class: X.Org Video Driver
[    37.082] 	ABI class: X.Org Video Driver, version 15.0
[    37.082] (II) LoadModule: "fbdev"
[    37.082] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    37.132] (II) Module fbdev: vendor="X.Org Foundation"
[    37.132] 	compiled for 1.15.0, module version = 0.4.4
[    37.132] 	Module class: X.Org Video Driver
[    37.132] 	ABI class: X.Org Video Driver, version 15.0
[    37.132] (II) LoadModule: "vesa"
[    37.132] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    37.177] (II) Module vesa: vendor="X.Org Foundation"
[    37.177] 	compiled for 1.15.0, module version = 2.3.3
[    37.177] 	Module class: X.Org Video Driver
[    37.177] 	ABI class: X.Org Video Driver, version 15.0
[    37.177] (==) Matched intel as autoconfigured driver 0
[    37.177] (==) Matched nvidia as autoconfigured driver 1
[    37.177] (==) Matched nouveau as autoconfigured driver 2
[    37.177] (==) Matched intel as autoconfigured driver 3
[    37.177] (==) Matched modesetting as autoconfigured driver 4
[    37.177] (==) Matched fbdev as autoconfigured driver 5
[    37.177] (==) Matched vesa as autoconfigured driver 6
[    37.177] (==) Assigned the driver to the xf86ConfigLayout
[    37.177] (II) LoadModule: "intel"
[    37.177] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    37.177] (II) Module intel: vendor="X.Org Foundation"
[    37.177] 	compiled for 1.15.1, module version = 2.99.910
[    37.177] 	Module class: X.Org Video Driver
[    37.177] 	ABI class: X.Org Video Driver, version 15.0
[    37.177] (II) UnloadModule: "intel"
[    37.177] (II) Unloading intel
[    37.177] (II) Failed to load module "intel" (already loaded, 32609)
[    37.177] (II) LoadModule: "nvidia"
[    37.178] (WW) Warning, couldn't open module nvidia
[    37.178] (II) UnloadModule: "nvidia"
[    37.178] (II) Unloading nvidia
[    37.178] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    37.178] (II) LoadModule: "nouveau"
[    37.178] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    37.178] (II) Module nouveau: vendor="X.Org Foundation"
[    37.178] 	compiled for 1.15.0, module version = 1.0.10
[    37.178] 	Module class: X.Org Video Driver
[    37.178] 	ABI class: X.Org Video Driver, version 15.0
[    37.178] (II) UnloadModule: "nouveau"
[    37.178] (II) Unloading nouveau
[    37.178] (II) Failed to load module "nouveau" (already loaded, 0)
[    37.178] (II) LoadModule: "modesetting"
[    37.178] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    37.178] (II) Module modesetting: vendor="X.Org Foundation"
[    37.178] 	compiled for 1.15.0, module version = 0.8.1
[    37.178] 	Module class: X.Org Video Driver
[    37.178] 	ABI class: X.Org Video Driver, version 15.0
[    37.178] (II) UnloadModule: "modesetting"
[    37.178] (II) Unloading modesetting
[    37.178] (II) Failed to load module "modesetting" (already loaded, 0)
[    37.178] (II) LoadModule: "fbdev"
[    37.178] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    37.178] (II) Module fbdev: vendor="X.Org Foundation"
[    37.178] 	compiled for 1.15.0, module version = 0.4.4
[    37.178] 	Module class: X.Org Video Driver
[    37.178] 	ABI class: X.Org Video Driver, version 15.0
[    37.178] (II) UnloadModule: "fbdev"
[    37.178] (II) Unloading fbdev
[    37.178] (II) Failed to load module "fbdev" (already loaded, 0)
[    37.178] (II) LoadModule: "vesa"
[    37.178] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    37.178] (II) Module vesa: vendor="X.Org Foundation"
[    37.178] 	compiled for 1.15.0, module version = 2.3.3
[    37.178] 	Module class: X.Org Video Driver
[    37.178] 	ABI class: X.Org Video Driver, version 15.0
[    37.178] (II) UnloadModule: "vesa"
[    37.178] (II) Unloading vesa
[    37.178] (II) Failed to load module "vesa" (already loaded, 0)
[    37.178] (II) intel: Driver for Intel(R) 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
[    37.195] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    37.195] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    37.195] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    37.195] (II) NOUVEAU driver Date:   Thu Nov 7 14:56:48 2013 +1000
[    37.195] (II) NOUVEAU driver for NVIDIA chipset families :
[    37.195] 	RIVA TNT        (NV04)
[    37.195] 	RIVA TNT2       (NV05)
[    37.195] 	GeForce 256     (NV10)
[    37.195] 	GeForce 2       (NV11, NV15)
[    37.195] 	GeForce 4MX     (NV17, NV18)
[    37.195] 	GeForce 3       (NV20)
[    37.195] 	GeForce 4Ti     (NV25, NV28)
[    37.195] 	GeForce FX      (NV3x)
[    37.195] 	GeForce 6       (NV4x)
[    37.195] 	GeForce 7       (G7x)
[    37.195] 	GeForce 8       (G8x)
[    37.195] 	GeForce GTX 200 (NVA0)
[    37.195] 	GeForce GTX 400 (NVC0)
[    37.195] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    37.195] (II) FBDEV: driver for framebuffer: fbdev
[    37.195] (II) VESA: driver for VESA chipsets: vesa
[    37.195] (++) using VT number 8

[    37.211] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.6 (Timo Aaltonen <tjaalton@debian.org>)
[    37.978] (II) [drm] nouveau interface version: 1.1.1
[    37.978] (WW) Falling back to old probe method for modesetting
[    37.978] (WW) Falling back to old probe method for fbdev
[    37.978] (II) Loading sub module "fbdevhw"
[    37.978] (II) LoadModule: "fbdevhw"
[    37.978] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    38.032] (II) Module fbdevhw: vendor="X.Org Foundation"
[    38.032] 	compiled for 1.15.1, module version = 0.0.2
[    38.032] 	ABI class: X.Org Video Driver, version 15.0
[    38.032] (WW) Falling back to old probe method for vesa
[    38.106] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[    38.106] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[    38.106] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    38.106] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    38.106] (==) intel(0): RGB weight 888
[    38.106] (==) intel(0): Default visual is TrueColor
[    38.106] (**) intel(0): Framebuffer tiled
[    38.106] (**) intel(0): Pixmaps tiled
[    38.106] (**) intel(0): "Tear free" disabled
[    38.106] (**) intel(0): Forcing per-crtc-pixmaps? no
[    38.106] (II) intel(0): Output eDP1 has no monitor section
[    38.106] (--) intel(0): found backlight control interface acpi_video1 (type 'firmware')
[    38.106] (II) intel(0): Output DP1 has no monitor section
[    38.106] (II) intel(0): Output HDMI1 has no monitor section
[    38.106] (II) intel(0): Output HDMI2 has no monitor section
[    38.106] (II) intel(0): Output VIRTUAL1 has no monitor section
[    38.106] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    38.106] (==) intel(0): DPI set to (96, 96)
[    38.106] (II) Loading sub module "dri2"
[    38.106] (II) LoadModule: "dri2"
[    38.106] (II) Module "dri2" already built-in
[    38.107] (II) Loading sub module "dri2"
[    38.107] (II) LoadModule: "dri2"
[    38.107] (II) Module "dri2" already built-in
[    38.107] (--) NOUVEAU(G0): Chipset: "NVIDIA NVE7"
[    38.107] (==) NOUVEAU(G0): Depth 24, (--) framebuffer bpp 32
[    38.107] (==) NOUVEAU(G0): RGB weight 888
[    38.107] (==) NOUVEAU(G0): Default visual is TrueColor
[    38.107] (==) NOUVEAU(G0): Using HW cursor
[    38.107] (==) NOUVEAU(G0): GLX sync to VBlank enabled.
[    38.107] (==) NOUVEAU(G0): Page flipping enabled
[    38.107] (==) NOUVEAU(G0): Swap limit set to 2 [Max allowed 2]
[    38.107] (==) NOUVEAU(G0): Using gamma correction (1.0, 1.0, 1.0)
[    38.107] (--) NOUVEAU(G0): Virtual size is 1024x768 (pitch 0)
[    38.107] (**) NOUVEAU(G0):  Mode "1920x1080": 173.0 MHz (scaled from 0.0 MHz), 67.2 kHz, 60.0 Hz
[    38.107] (II) NOUVEAU(G0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz)
[    38.107] (==) NOUVEAU(G0): DPI set to (96, 96)
[    38.107] (II) Loading sub module "fb"
[    38.107] (II) LoadModule: "fb"
[    38.107] (II) Loading /usr/lib/xorg/modules/libfb.so
[    38.196] (II) Module fb: vendor="X.Org Foundation"
[    38.196] 	compiled for 1.15.1, module version = 1.0.0
[    38.196] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    38.196] (II) Loading sub module "exa"
[    38.196] (II) LoadModule: "exa"
[    38.196] (II) Loading /usr/lib/xorg/modules/libexa.so
[    38.291] (II) Module exa: vendor="X.Org Foundation"
[    38.291] 	compiled for 1.15.1, module version = 2.6.0
[    38.291] 	ABI class: X.Org Video Driver, version 15.0
[    38.291] (II) Loading sub module "shadowfb"
[    38.291] (II) LoadModule: "shadowfb"
[    38.291] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[    38.365] (II) Module shadowfb: vendor="X.Org Foundation"
[    38.365] 	compiled for 1.15.1, module version = 1.0.0
[    38.365] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    38.365] (II) UnloadModule: "modesetting"
[    38.365] (II) Unloading modesetting
[    38.366] (II) UnloadModule: "fbdev"
[    38.366] (II) Unloading fbdev
[    38.366] (II) UnloadSubModule: "fbdevhw"
[    38.366] (II) Unloading fbdevhw
[    38.366] (II) UnloadModule: "vesa"
[    38.366] (II) Unloading vesa
[    38.366] (==) Depth 24 pixmap format is 32 bpp
[    38.378] (II) NOUVEAU(G0): Opened GPU channel 0
[    40.378] (EE) NOUVEAU(G0): Failed to initialise context object: 2D_NVC0 (0)
[    40.378] (EE) NOUVEAU(G0): Error initialising acceleration.  Falling back to NoAccel
[    40.434] (==) NOUVEAU(G0): Backing store enabled
[    40.434] (==) NOUVEAU(G0): Silken mouse enabled
[    40.434] (==) NOUVEAU(G0): DPMS enabled
[    40.434] (II) NOUVEAU(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    40.576] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    40.576] (==) intel(0): Backing store enabled
[    40.576] (==) intel(0): Silken mouse enabled
[    40.576] (II) intel(0): HW Cursor enabled
[    40.576] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    40.576] (==) intel(0): DPMS enabled
[    40.576] (II) intel(0): [DRI2] Setup complete
[    40.576] (II) intel(0): [DRI2]   DRI driver: i965
[    40.576] (II) intel(0): [DRI2]   VDPAU driver: i965
[    40.576] (II) intel(0): direct rendering: DRI2 Enabled
[    40.576] (==) intel(0): hotplug detection: "enabled"
[    40.576] (--) RandR disabled
[    40.605] (II) SELinux: Disabled on system
[    41.417] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    41.429] (II) AIGLX: enabled GLX_ARB_create_context
[    41.429] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    41.429] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    41.429] (II) AIGLX: enabled GLX_INTEL_swap_event
[    41.429] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    41.429] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    41.429] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    41.429] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    41.429] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    41.429] (II) AIGLX: Loaded and initialized i965
[    41.429] (II) GLX: Initialized DRI2 GL provider for screen 0
[    41.434] (II) NOUVEAU(G0): NVEnterVT is called.
[    41.594] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    41.604] (II) intel(0): Setting screen physical size to 508 x 285
[    42.140] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    42.172] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    42.172] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    42.172] (II) LoadModule: "evdev"
[    42.172] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    42.303] (II) Module evdev: vendor="X.Org Foundation"
[    42.303] 	compiled for 1.15.0, module version = 2.8.2
[    42.303] 	Module class: X.Org XInput Driver
[    42.303] 	ABI class: X.Org XInput driver, version 20.0
[    42.303] (II) Using input driver 'evdev' for 'Power Button'
[    42.303] (**) Power Button: always reports core events
[    42.303] (**) evdev: Power Button: Device: "/dev/input/event2"
[    42.303] (--) evdev: Power Button: Vendor 0 Product 0x1
[    42.303] (--) evdev: Power Button: Found keys
[    42.303] (II) evdev: Power Button: Configuring as keyboard
[    42.303] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    42.303] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    42.303] (**) Option "xkb_rules" "evdev"
[    42.303] (**) Option "xkb_model" "pc105"
[    42.303] (**) Option "xkb_layout" "us"
[    42.304] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    42.304] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    42.304] (II) Using input driver 'evdev' for 'Video Bus'
[    42.304] (**) Video Bus: always reports core events
[    42.304] (**) evdev: Video Bus: Device: "/dev/input/event5"
[    42.304] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    42.304] (--) evdev: Video Bus: Found keys
[    42.304] (II) evdev: Video Bus: Configuring as keyboard
[    42.304] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input13/event5"
[    42.304] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    42.304] (**) Option "xkb_rules" "evdev"
[    42.304] (**) Option "xkb_model" "pc105"
[    42.304] (**) Option "xkb_layout" "us"
[    42.304] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    42.305] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    42.305] (II) Using input driver 'evdev' for 'Video Bus'
[    42.305] (**) Video Bus: always reports core events
[    42.305] (**) evdev: Video Bus: Device: "/dev/input/event4"
[    42.305] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    42.305] (--) evdev: Video Bus: Found keys
[    42.305] (II) evdev: Video Bus: Configuring as keyboard
[    42.305] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0b/LNXVIDEO:00/input/input12/event4"
[    42.305] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    42.305] (**) Option "xkb_rules" "evdev"
[    42.305] (**) Option "xkb_model" "pc105"
[    42.305] (**) Option "xkb_layout" "us"
[    42.305] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    42.305] (II) No input driver specified, ignoring this device.
[    42.305] (II) This device may have been added with another device file.
[    42.305] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    42.305] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    42.305] (II) Using input driver 'evdev' for 'Sleep Button'
[    42.305] (**) Sleep Button: always reports core events
[    42.305] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[    42.305] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    42.305] (--) evdev: Sleep Button: Found keys
[    42.305] (II) evdev: Sleep Button: Configuring as keyboard
[    42.305] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[    42.305] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    42.305] (**) Option "xkb_rules" "evdev"
[    42.305] (**) Option "xkb_model" "pc105"
[    42.305] (**) Option "xkb_layout" "us"
[    42.305] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    42.305] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[    42.305] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event9)
[    42.305] (II) No input driver specified, ignoring this device.
[    42.305] (II) This device may have been added with another device file.
[    42.306] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event8)
[    42.306] (II) No input driver specified, ignoring this device.
[    42.306] (II) This device may have been added with another device file.
[    42.306] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event7)
[    42.306] (II) No input driver specified, ignoring this device.
[    42.306] (II) This device may have been added with another device file.
[    42.306] (II) config/udev: Adding input device USB2.0 UVC HD Webcam (/dev/input/event13)
[    42.306] (**) USB2.0 UVC HD Webcam: Applying InputClass "evdev keyboard catchall"
[    42.306] (II) Using input driver 'evdev' for 'USB2.0 UVC HD Webcam'
[    42.306] (**) USB2.0 UVC HD Webcam: always reports core events
[    42.306] (**) evdev: USB2.0 UVC HD Webcam: Device: "/dev/input/event13"
[    42.306] (--) evdev: USB2.0 UVC HD Webcam: Vendor 0x13d3 Product 0x5188
[    42.306] (--) evdev: USB2.0 UVC HD Webcam: Found keys
[    42.306] (II) evdev: USB2.0 UVC HD Webcam: Configuring as keyboard
[    42.306] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input20/event13"
[    42.306] (II) XINPUT: Adding extended input device "USB2.0 UVC HD Webcam" (type: KEYBOARD, id 10)
[    42.306] (**) Option "xkb_rules" "evdev"
[    42.306] (**) Option "xkb_model" "pc105"
[    42.306] (**) Option "xkb_layout" "us"
[    42.306] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event11)
[    42.306] (II) No input driver specified, ignoring this device.
[    42.306] (II) This device may have been added with another device file.
[    42.306] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[    42.306] (II) No input driver specified, ignoring this device.
[    42.306] (II) This device may have been added with another device file.
[    42.307] (II) config/udev: Adding drm device (/dev/dri/card1) card1 /sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/drm/card1
[    42.307] (II) config/udev: Ignoring already known drm device (/dev/dri/card1)
[    42.307] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event12)
[    42.307] (**) Asus WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    42.307] (II) Using input driver 'evdev' for 'Asus WMI hotkeys'
[    42.307] (**) Asus WMI hotkeys: always reports core events
[    42.307] (**) evdev: Asus WMI hotkeys: Device: "/dev/input/event12"
[    42.307] (--) evdev: Asus WMI hotkeys: Vendor 0 Product 0
[    42.307] (--) evdev: Asus WMI hotkeys: Found keys
[    42.307] (II) evdev: Asus WMI hotkeys: Configuring as keyboard
[    42.307] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input19/event12"
[    42.307] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 11)
[    42.307] (**) Option "xkb_rules" "evdev"
[    42.307] (**) Option "xkb_model" "pc105"
[    42.307] (**) Option "xkb_layout" "us"
[    42.307] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    42.307] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    42.307] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    42.307] (**) AT Translated Set 2 keyboard: always reports core events
[    42.307] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event3"
[    42.307] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    42.307] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    42.307] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    42.307] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    42.307] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    42.307] (**) Option "xkb_rules" "evdev"
[    42.307] (**) Option "xkb_model" "pc105"
[    42.307] (**) Option "xkb_layout" "us"
[    42.307] (II) config/udev: Adding input device PS/2 Logitech Wheel Mouse (/dev/input/event6)
[    42.307] (**) PS/2 Logitech Wheel Mouse: Applying InputClass "evdev pointer catchall"
[    42.307] (II) Using input driver 'evdev' for 'PS/2 Logitech Wheel Mouse'
[    42.307] (**) PS/2 Logitech Wheel Mouse: always reports core events
[    42.307] (**) evdev: PS/2 Logitech Wheel Mouse: Device: "/dev/input/event6"
[    42.307] (--) evdev: PS/2 Logitech Wheel Mouse: Vendor 0x2 Product 0x1
[    42.307] (--) evdev: PS/2 Logitech Wheel Mouse: Found 3 mouse buttons
[    42.307] (--) evdev: PS/2 Logitech Wheel Mouse: Found relative axes
[    42.307] (--) evdev: PS/2 Logitech Wheel Mouse: Found x and y relative axes
[    42.307] (II) evdev: PS/2 Logitech Wheel Mouse: Configuring as mouse
[    42.308] (**) evdev: PS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
[    42.308] (**) evdev: PS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    42.308] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input11/event6"
[    42.308] (II) XINPUT: Adding extended input device "PS/2 Logitech Wheel Mouse" (type: MOUSE, id 13)
[    42.308] (II) evdev: PS/2 Logitech Wheel Mouse: initialized for relative axes.
[    42.308] (**) PS/2 Logitech Wheel Mouse: (accel) keeping acceleration scheme 1
[    42.308] (**) PS/2 Logitech Wheel Mouse: (accel) acceleration profile 0
[    42.308] (**) PS/2 Logitech Wheel Mouse: (accel) acceleration factor: 2.000
[    42.308] (**) PS/2 Logitech Wheel Mouse: (accel) acceleration threshold: 4
[    42.308] (II) config/udev: Adding input device PS/2 Logitech Wheel Mouse (/dev/input/mouse0)
[    42.308] (II) No input driver specified, ignoring this device.
[    42.308] (II) This device may have been added with another device file.
[    42.311] (II) config/udev: Adding input device (unnamed) (/dev/input/event14)
[    42.311] (**) (unnamed): Applying InputClass "evdev touchscreen catchall"
[    42.311] (II) Using input driver 'evdev' for '(unnamed)'
[    42.311] (**) (unnamed): always reports core events
[    42.311] (**) evdev: (unnamed): Device: "/dev/input/event14"
[    42.311] (EE) evdev: (unnamed): Unable to open evdev device "/dev/input/event14".
[    42.311] (EE) PreInit returned 2 for "(unnamed)"
[    42.311] (II) UnloadModule: "evdev"
[    42.311] (II) config/udev: Adding input device (unnamed) (/dev/input/mouse1)
[    42.311] (II) No input driver specified, ignoring this device.
[    42.311] (II) This device may have been added with another device file.
[    45.269] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/mouse1)
[    45.270] (II) No input driver specified, ignoring this device.
[    45.270] (II) This device may have been added with another device file.
[    45.271] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/event14)
[    45.271] (**) ELAN Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    45.271] (II) Using input driver 'evdev' for 'ELAN Touchscreen'
[    45.271] (**) ELAN Touchscreen: always reports core events
[    45.271] (**) evdev: ELAN Touchscreen: Device: "/dev/input/event14"
[    45.271] (II) evdev: ELAN Touchscreen: Using mtdev for this device
[    45.271] (--) evdev: ELAN Touchscreen: Vendor 0x4f3 Product 0x10c
[    45.271] (--) evdev: ELAN Touchscreen: Found absolute axes
[    45.271] (--) evdev: ELAN Touchscreen: Found absolute multitouch axes
[    45.271] (II) evdev: ELAN Touchscreen: No buttons found, faking one.
[    45.271] (--) evdev: ELAN Touchscreen: Found x and y absolute axes
[    45.271] (--) evdev: ELAN Touchscreen: Found absolute touchscreen
[    45.271] (II) evdev: ELAN Touchscreen: Configuring as touchscreen
[    45.271] (**) evdev: ELAN Touchscreen: YAxisMapping: buttons 4 and 5
[    45.271] (**) evdev: ELAN Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    45.271] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input25/event14"
[    45.271] (II) XINPUT: Adding extended input device "ELAN Touchscreen" (type: TOUCHSCREEN, id 14)
[    45.271] (II) evdev: ELAN Touchscreen: initialized for absolute axes.
[    45.271] (**) ELAN Touchscreen: (accel) keeping acceleration scheme 1
[    45.271] (**) ELAN Touchscreen: (accel) acceleration profile 0
[    45.271] (**) ELAN Touchscreen: (accel) acceleration factor: 2.000
[    45.271] (**) ELAN Touchscreen: (accel) acceleration threshold: 4
[    76.634] (II) intel(0): EDID vendor "LGD", prod id 1068
[    76.634] (II) intel(0): Printing DDC gathered Modelines:
[    76.634] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[    76.636] (II) XKB: reuse xkmfile /var/lib/xkb/server-8AA988DD479FAABEC4FC3CCCF4CC29B4948840B4.xkm
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

These lines from the Xorg.0.log file show the nouveau driver is enabled instead of nvidia:

Code: Select all

[    38.107] (==) NOUVEAU(G0): Depth 24, (--) framebuffer bpp 32
[    38.107] (==) NOUVEAU(G0): RGB weight 888
[    38.107] (==) NOUVEAU(G0): Default visual is TrueColor
[    38.107] (--) NOUVEAU(G0): Virtual size is 1024x768 (pitch 0)
[    38.107] (**) NOUVEAU(G0):  Mode "1920x1080": 173.0 MHz (scaled from 0.0 MHz), 67.2 kHz, 60.0 Hz
[    38.107] (==) NOUVEAU(G0): DPI set to (96, 96)
Check if the nvidia kernal module was built with this command:

Code: Select all

ls /lib/modules/3.13.0-37-generic/kernel/drivers/char/drm/
Also, use these commands:

Code: Select all

1. sudo cat /proc/acpi/bbswitch
2. sudo prime-select query
3. dpkg -l | grep nvidia-prime
EDITED: Your're using the 3.13.0-24-generic kernel, instead of 3.13.0-37-generic. The command should have been:

Code: Select all

ls /lib/modules/3.13.0-24-generic/kernel/drivers/char/drm/
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

Driver Manager claims I'm using nvidia-340-updates so not sure why xorg logs don't match that.

Code: Select all

~ $ ls /lib/modules/3.13.0-24-generic/kernel/drivers/char/drm/
nvidia_346.ko

Code: Select all

cat: /proc/acpi/bbswitch: No such file or directory
~ $ ls /proc/acpi
button  wakeup

Code: Select all

~ $ sudo prime-select query
unknown

Code: Select all

~ $ dpkg -l | grep nvidia-prime
ii  nvidia-prime                                0.6.2linuxmint1                                     amd64        Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                         1.0.3                                               all          An applet for NVIDIA Prime
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

protondonor wrote:Driver Manager claims I'm using nvidia-340-updates so not sure why xorg logs don't match that.
Driver Manager shows the nvidia-340 driver was installed but it is currently not the loaded driver. As these lines from the Xorg.0.log file show,
as the Xorg X Server is starting, it initially tries to load 6 different graphic driver modules, but then all but 2 of them are unloaded:

Code: Select all

[    36.741] (II) LoadModule: "intel"
[    36.895] (II) LoadModule: "nvidia"
[    36.915] (WW) Warning, couldn't open module nvidia
[    36.915] (II) UnloadModule: "nvidia"
[    36.915] (II) LoadModule: "nouveau"
[    37.082] (II) LoadModule: "fbdev"
[    37.132] (II) LoadModule: "vesa"
[    37.178] (II) LoadModule: "modesetting"
[    37.178] (II) UnloadModule: "modesetting"
[    37.178] (II) UnloadModule: "fbdev"
[    38.366] (II) UnloadModule: "vesa"
The results from using the commands shows that the nvidia kernel module (nvidia_346.ko) was built successfully but the bbswitch is not loaded, which
will prevent hybrid graphics switching from working. The bug report page says:

"On some systems bbswitch requires the "skip_optimus_dsm=1" option in order to load properly."

But it doesn't explain how to use it. Incredibly, I could only find one web page that gives an explanation. It said to place the option (also called a quirk), in
/usr/share/nvidia-prime/prime-quirks, using this format:

Code: Select all

"dmi product version" "bbswitch options"
And gives this example for a Lenovo Thinkpad, model T410:

Code: Select all

"ThinkPad T410" "skip_optimus_dsm=1"
Open the prime-quirks file with this command:

Code: Select all

gksudo gedit /usr/share/nvidia-prime/prime-quirks
So I guess in your case the line would read:

Code: Select all

"ASUSTeK Q550LF" "skip_optimus_dsm=1"
But usually the name ASUS is used, so the line may be this:

Code: Select all

"ASUS Q550LF" "skip_optimus_dsm=1"
Reboot.
The report says that the bug was fixed in the package nvidia-prime - 0.6.6 (read post #48), but you're using version 0.6.2. I don't know if the newer version is
available through the Update Manager.

From looking at the log files, your problem doesn't appear to be exactly the same as the other users in that bug report. If that method fails, then try the other method
suggested in post #51, by using these commands and rebooting:

Code: Select all

sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u
When using the first command, there may be displayed a list of choices, such as shown below:

Code: Select all

Selection Path Priority Status
------------------------------------------------------------
  0 /usr/lib/nvidia-331/ld.so.conf 8604 auto mode
  1 /usr/lib/nvidia-331-prime/ld.so.conf 8603 manual mode
  2 /usr/lib/nvidia-331/ld.so.conf 8604 manual mode
* 3 /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode

Press enter to keep the current choice[*], or type selection number:
Try selections 0, 1 and 2, which list nvidia, not 3, which lists mesa.
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

Tried selection 0, I can activate NVIDIA driver now but OpenGL does not seem to be working:

Code: Select all

~ $ glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

Did you Log out and back in after changing to the Nvidia GPU?

Did you try adding the "skip_optimus_dsm=1" option" to the prime-quirks file and is it still being used?

Use these commands:

Code: Select all

1. sudo cat /proc/acpi/bbswitch
2. sudo prime-select nvidia
3. cat /var/log/Xorg.0.log | egrep -i "nvidia|nouveau"
4. dmesg | egrep -i "bbswitch|nvidia"
5. gedit /var/log/gpu-manager.log
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

I did log out and back in after changing to NVIDIA. I also switched back to Intel (so I could use things that require OpenGL) then back to NVIDIA the same way, which didn't solve the problem. Both options with "ASUSTek" and "ASUS" are in prime-quirks.

Here are the results of those commands:

Code: Select all

rowan@rowan-Q550LF ~ $ sudo cat /proc/acpi/bbswitch
cat: /proc/acpi/bbswitch: No such file or directory
rowan@rowan-Q550LF ~ $ sudo prime-select nvidia
Info: the nvidia profile is already in use
rowan@rowan-Q550LF ~ $ cat /var/log/Xorg.0.log | egrep -i "nvidia|nouveau"
[ 19107.683] (II) Module glx: vendor="NVIDIA Corporation"
[ 19107.697] (II) NVIDIA GLX Module  346.72  Tue May  5 17:11:15 PDT 2015
[ 19107.697] (==) Matched nvidia as autoconfigured driver 1
[ 19107.697] (==) Matched nouveau as autoconfigured driver 2
[ 19107.731] (II) LoadModule: "nvidia"
[ 19107.731] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 19107.773] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 19107.773] (II) LoadModule: "nouveau"
[ 19107.773] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 19107.813] (II) Module nouveau: vendor="X.Org Foundation"
[ 19107.845] (II) NVIDIA dlloader X Driver  346.72  Tue May  5 16:47:26 PDT 2015
[ 19107.845] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 19107.845] (II) NOUVEAU driver Date:   Thu Nov 7 14:56:48 2013 +1000
[ 19107.845] (II) NOUVEAU driver for NVIDIA chipset families :
[ 19107.864] (II) UnloadModule: "nvidia"
[ 19107.864] (II) Unloading nvidia
[ 19107.890] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
rowan@rowan-Q550LF ~ $ dmesg | egrep -i "bbswitch|nvidia"
[   19.718139] nvidia: module license 'NVIDIA' taints kernel.
[   19.720743] nvidia: module verification failed: signature and/or  required key missing - tainting kernel
[   19.725684] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
[   19.725689] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.72  Tue May  5 22:03:13 PDT 2015
And the contents of gpu-manager.log:

Code: Select all

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
	eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
grep dmesg status 0
dmesg status 0 == 0? Yes
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? yes
Is fglrx loaded? no
Was fglrx unloaded? no
Is intel loaded? yes
Is radeon loaded? no
Is nouveau loaded? no
Vendor/Device Id: 8086:a16
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:fe3
BusID "PCI:4@0:0:0"
Is boot vga? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-346/ld.so.conf
Is nvidia enabled? yes
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
Intel IGP detected
Intel hybrid system
Neither Lightdm nor GDM is the default display manager. Nothing to do
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

The output of the gpu-manager log has changed. The first one had these lines:

last cards number = 1
Current alternative: /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Is nvidia enabled? no


The second log shows:

last cards number = 2
Current alternative: /usr/lib/nvidia-346/ld.so.conf
Is nvidia enabled? yes


The bbswitch is still not loading. Use this command to load it:

Code: Select all

sudo modprobe bbswitch
Then use this command:

Code: Select all

sudo cat /proc/acpi/bbswitch
Do you see an output similar to this:
0000:01:00.0 ON

If you don't see that, but see this again:
No such file or directory

Then reinstall the bbswitch:

Code: Select all

sudo apt-get install --reinstall bbswitch-dkms
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

Code: Select all

~ $ sudo cat /proc/acpi/bbswitch
0000:04:00.0 ON
glxgears still not working after login and logout; should I reboot?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

Before rebooting, use this command to reinstall the bbswitch, unless you already used it:

Code: Select all

sudo apt-get install --reinstall bbswitch-dkms
Also, use this command and post the output:

Code: Select all

lspci | grep controller
Then reboot. If there's no change, then remove the two lines that were added to the prime-quirks file and then use these commands again and reboot:

Code: Select all

sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u
EDITED 9-1-15: As I stated in a previous post, the first command may bring up a menu like this:

Code: Select all

0 /usr/lib/nvidia-331/ld.so.conf 8604 auto mode
1 /usr/lib/nvidia-331-prime/ld.so.conf 8603 manual mode
2 /usr/lib/nvidia-331/ld.so.conf 8604 manual mode
* 3 /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode
If selection "0" doesn't work, then try 1 and 2. Also post the output of this command:

Code: Select all

ls -l /usr/lib/x86_64-linux-gnu/mesa/
protondonor

Re: Optimus Nvidia problems [17.2]

Post by protondonor »

Code: Select all

~ $ lspci | grep controller
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.6 Signal processing controller: Intel Corporation Lynx Point-LP Thermal (rev 04)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
04:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)
No change after reinstalling bbswitch-dkms and rebooting.

Code: Select all

~ $ ls -l /usr/lib/x86_64-linux-gnu/mesa/
total 412
-rw-r--r-- 1 root root     31 Mar 11 17:47 ld.so.conf
lrwxrwxrwx 1 root root     14 Mar 11 17:47 libGL.so -> libGL.so.1.2.0
lrwxrwxrwx 1 root root     14 Mar 11 17:47 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 413968 Mar 11 17:47 libGL.so.1.2.0
None of the 3 options will run glxgears.

Diagnostic command outputs (using option 0):

Code: Select all

 ~ $ sudo cat /proc/acpi/bbswitch
0000:04:00.0 ON
 ~ $ cat /var/log/Xorg.0.log | egrep -i "nvidia|noveau"
[    32.991] (II) Module glx: vendor="NVIDIA Corporation"
[    33.000] (II) NVIDIA GLX Module  346.72  Tue May  5 17:11:15 PDT 2015
[    33.011] (==) Matched nvidia as autoconfigured driver 1
[    33.028] (II) LoadModule: "nvidia"
[    33.028] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[    33.115] (II) Module nvidia: vendor="NVIDIA Corporation"
[    33.144] (II) NVIDIA dlloader X Driver  346.72  Tue May  5 16:47:26 PDT 2015
[    33.144] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    33.157] (II) NOUVEAU driver for NVIDIA chipset families :
[    33.166] (II) UnloadModule: "nvidia"
[    33.166] (II) Unloading nvidia
[    33.175] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
 ~ $ dmesg | egrep -i "bbswitch|nvidia"
[   19.541835] nvidia: module license 'NVIDIA' taints kernel.
[   19.547063] nvidia: module verification failed: signature and/or  required key missing - tainting kernel
[   19.552286] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
[   19.552292] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.72  Tue May  5 22:03:13 PDT 2015
[  236.351492] bbswitch: version 0.8
[  236.351500] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[  236.351509] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP
[  236.351648] bbswitch: detected an Optimus _DSM function
[  236.351659] bbswitch: Succesfully loaded. Discrete card 0000:04:00.0 is on
gpu-manager.log:

Code: Select all

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
	eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
grep dmesg status 0
dmesg status 0 == 0? Yes
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? yes
Is fglrx loaded? no
Was fglrx unloaded? no
Is intel loaded? yes
Is radeon loaded? no
Is nouveau loaded? no
Vendor/Device Id: 8086:a16
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:fe3
BusID "PCI:4@0:0:0"
Is boot vga? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-346/ld.so.conf
Is nvidia enabled? yes
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
Intel IGP detected
Intel hybrid system
Neither Lightdm nor GDM is the default display manager. Nothing to do
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optimus Nvidia problems [17.2]

Post by roblm »

From looking at the output of using this command:
ls -l /usr/lib/x86_64-linux-gnu/mesa/

There appears to be a misconfiguration. Both libGL.so and libGL.so.1 are linked to libGL.so.1.2.0

-rw-r--r-- 1 root root 31 Mar 11 17:47 ld.so.conf
lrwxrwxrwx 1 root root 14 Mar 11 17:47 libGL.so -> libGL.so.1.2.0
lrwxrwxrwx 1 root root 14 Mar 11 17:47 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 413968 Mar 11 17:47 libGL.so.1.2.0

I think libGL.so should not be there, but before I have you remove that file, I want to check some other Nvidia driver files that should have been installed and if the
correct symbolic links to some of these files were created. This procedure is recommended by Nvidia for unresolved driver installation problems and discussed in the
NVIDIA Accelerated Linux Graphics Driver README and Installation Guide, Chapter 5 - Listing of Installed Components, on THIS WEB PAGE:

EDITED 9-5-15: I asked another forum user who had a system with Optimus technology to see if the libGL.so link was present on his system, and it was not. So I
told protondonor to remove that link, but it did not solve his problem. Also, all the output from using the commands below did not show any other misconfiguration.

Would you post the output of these commands:

Code: Select all

1. lsmod | egrep -i "nvidia|nouveau"
2. ls -l /usr/lib/xorg/modules/drivers/ | grep nvidia_drv.so
3. ls -l /usr/lib/xorg/modules/
4. ls -l /usr/lib/x86_64-linux-gnu/xorg/extra-modules/
5. ls -l /usr/lib/nvidia-346/xorg/
6. ls -l /usr/lib/nvidia-346/
7. ls -l /usr/lib/x86_64-linux-gnu/libcuda.so*
8. ldd /usr/bin/glxgears
Last edited by roblm on Sat Sep 05, 2015 11:48 am, edited 1 time in total.
Locked

Return to “Graphics Cards & Monitors”