#StackBounty: #16.04 #networking #drivers #wireless #intel-wireless intel centrino wireless n 1030 wireless drop after reboot Ubuntu 16…

Bounty: 100

my wifi drops after some time and requires reboot to work again ( Centrino Wireless-N 1030 [Rainbow Peak])

similar question was posted by me for 14.04

intel centrino wireless n 1030 wireless drop after reboot Ubuntu 14.04

sudo lshw -C network gives

 *-network    

       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 06
       serial: 24:b6:fd:27:e1:b8
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:30 ioport:e000(size=256) memory:f1104000-f1104fff memory:f1100000-f1103fff 
 *-network

       description: Wireless interface
       product: Centrino Wireless-N 1030 [Rainbow Peak]


       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlp9s0
       version: 34
       serial: 4c:eb:42:32:c2:2e
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.13.0-45-generic firmware=18.168.6.1 ip=192.168.1.31 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:34 memory:f7e00000-f7e01fff

have edited the /etc/modpobe.d/iwlwifi.conf to add the line

options iwlwifi 11n_disable=1 iwlwifi bt_coex_active=0

didnt work

have checked /lib/firmware for the file iwlwifi-6000g2b-6

it exists .( this was from https://www.intel.in/content/www/in/en/support/articles/000005511/network-and-i-o/wireless-networking.html)

dmesg | grep iwl gives

[   14.721093] iwlwifi: unknown parameter 'iwlwifi' ignored
[   14.974997] iwlwifi 0000:09:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   14.998377] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   14.998380] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   14.998382] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   14.998385] iwlwifi 0000:09:00.0: Detected Intel(R) Centrino(R) Wireless-N 1030 BGN, REV=0xB0
[   15.035360] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   16.149840] iwlwifi 0000:09:00.0 wlp9s0: renamed from wlan0
[   22.513003] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[   22.615238] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1

sudo iwconfig gives

lo        no wireless extensions.

wlp9s0    IEEE 802.11  ESSID:"HTC Portable Hotspot 4AEF"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 80:7A:BF:B9:8F:D5   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-38 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:120   Missed beacon:0

power management is disabled

sudo iwlist scan | egrep -i ‘ssid|cipher’ gives (refer)
Wifi keeps dropping on Dell XPS13 running Ubuntu 16.04, not sure how to use sudoedit on file

enp5s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

                    ESSID:"HTC Portable Hotspot 4AEF"
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                    ESSID:"Nokia 8"
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP

sudo service network-manager restart doesnt work

shows this after i try reconnecting

enter image description here

requires reboot required after drop

also tried the following

16.04 LTS wifi connection issues with Realtek adapter

have replaced the adapters name . since it is RTL8111/8168/8411 and adding “/” with conf file cretes problems i chose a name with out “/”

wifi drops after few hours again

i have posted the output while wifi was connected
have edited this question multiple times to add all the relevant things i did but issue still persists

my kernel version is 4.15.0-24-generic

please help

edit 2: update to kernel version 4.15.0-29-generic #31~16.04.1-Ubuntu SMP doesn’t solve the issue

edit 3 : have set the region to IN
issue persistent

edit 4 : installed wicd-client from help.ubuntu.com/community/WICD . disconnection continues and so switched back to network manager again
issue is persistent

edit 5 : took a backup and installed windows 7 for one day , wifi worked fine implying hardware is working fine

edit6 : contacted dell support in case to be sure to know if the card was ok .they ran diagnostic and assured hard ware is working fine

edit 7 : after all the efforts , i realized that there is something missing with respect to the linux kernel itself, and so i intalled r8168-dkms via synaptic packet manager and the wifi is up since 235 minutes
but again the next day drop after 30 minutes of use

edit 8 : of all the above things that i have tried edit : 7 is the most stable, how ever i am not sure of the solution as disconnection persists

edit 9 : blacklisted r8169 by following in /etc/modprobe.d/r8168-dkms.conf

# if the aliases above do not work, uncomment the following line
# to blacklist the whole r8169 module
#blacklist r8169

by uncommenting as advised to

# if the aliases above do not work, uncomment the following line
# to blacklist the whole r8169 module
blacklist r8169

disconnection persists

edit 10 r8168 in edit 9 is for ethernet and not for wifi ,
from the link https://ubuntuforums.org/showthread.php?t=2391119

i did as advised, though for 18.04 but since the kernel version was same , i gave a try , didnt work !


Get this bounty!!!

#StackBounty: #drivers #nvidia #graphics #18.04 Nvidia driver installed but not getting loaded

Bounty: 50

Followed many links to installs nvidia on dell XPS 9560.
nvidia-390.77 got installed successfully and am able to login as well.
The issues I face is that, nvidia driver is not being loaded.

journalctl -xb | grep nvidia

    anand@anand-XPS-15-9560:~$ journalctl -xb | grep nvidia
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/lib/modprobe.d/nvidia-graphics-drivers.conf: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.396.45: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-compute-utils-396.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-gl-396:amd64.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-decode-396:i386.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-ifr1-396:i386.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-fbc1-396:amd64.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-decode-396:amd64.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-gl-396:i386.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-ifr1-396:amd64.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-encode-396:i386.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-cfg1-396:amd64.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-kernel-common-396.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-kernel-source-396.list: No such file or directory
Aug 03 11:01:55 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-encode-396:amd64.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-dkms-396.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-fbc1-396:i386.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-driver-396.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/nvidia-utils-396.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/xserver-xorg-video-nvidia-396.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 ureadahead[297]: ureadahead:/var/lib/dpkg/info/libnvidia-common-396.list: No such file or directory
Aug 03 11:01:56 anand-XPS-15-9560 systemd[1]: Starting Fall back on nouveau if nvidia is not loaded...
-- Subject: Unit nvidia-fallback.service has begun start-up
-- Unit nvidia-fallback.service has begun starting up.
Aug 03 11:01:56 anand-XPS-15-9560 systemd[1]: Started Fall back on nouveau if nvidia is not loaded.
-- Subject: Unit nvidia-fallback.service has finished start-up
-- Unit nvidia-fallback.service has finished starting up.
Aug 03 11:02:08 anand-XPS-15-9560 nvidia-settings-autostart.desktop[2337]: ERROR: NVIDIA driver is not loaded
Aug 03 11:02:08 anand-XPS-15-9560 nvidia-settings-autostart.desktop[2337]: ERROR: Unable to load info from any available system


anand@anand-XPS-15-9560:~$ dpkg -s nvidia-390
Package: nvidia-390
Status: install ok installed
Priority: optional
Section: non-free/libs
Installed-Size: 20
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: nvidia-graphics-drivers-390
Version: 390.77-0ubuntu0~gpu18.04.1
Depends: nvidia-driver-390
Description: Transitional package for nvidia-driver-390
 This is a transitional package for nvidia-driver-390, and can be
 safely removed after the installation is complete.
Homepage: http://www.nvidia.com


Get this bounty!!!

#StackBounty: #16.04 #drivers #nvidia Appeared purple shade after Nvidia driver installation on Ubuntu 16.04

Bounty: 50

I am trying to install Nvidia driver on my laptop with installed Ubuntu 16.04. The graphic card is NVIDIA GeForce GTX 780M. I followed the instruction on the Nvidia website and downloaded the driver from here: http://www.nvidia.com/download/driverResults.aspx/136120/en-us. The installation process went well, the OS recognized the driver, but the colors in some programs have been changed: magenta shade is appeared. There is an example of same picture before and after installation the driver:

Before

After

Why did it happen and how can I fix it?


Get this bounty!!!

#StackBounty: #16.04 #drivers #graphics #radeon System Lockup: radeon ring stalled for more than 10280msec

Bounty: 50

My system is frequently, but intermittently locking up. I am unsure of what to do next to troubleshoot and/or whether I should report this as a bug. Advice would be appreciated. Note that my question is similar to one previously posted at radeon 0000:02:00.0: ring 0 stalled for more than 10492msec that has yet to be responded to.

My system intermittently locks up every few days. When that happens, the screen goes to black, then returns. At that point, the time on the clock indicates that the screen is frozen, but audio continues to play for 30 seconds to a minute. The keyboard and mouse do not affect what’s being displayed, but I can Alt – SysRq – REISUB to restart.

Every time (6 crashes and counting), /var/log/kern.log indicates that

kernel: [353692.378886] radeon 0000:03:00.0: ring 0 stalled for more than 10280msec
kernel: [353692.378896] radeon 0000:03:00.0: GPU lockup (current fence id 0x00000000006e96e5 last fence id 0x00000000006e96e9 on ring 0)

just before the system locks. Different ring numbers are reported as stalling at different times.

I’m running 16.04 LTS. I have a Radeon HD graphics card.

:~$ lspci | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

:~$ lspci -v -s 03:00.0
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Cedar [Radeon HD 5000/6000/7350/8350 Series]
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d3d20000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 7000 [size=256]
Expansion ROM at d3d00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon

In looking for solutions, I found an old bug report from 14.04 that is currently unassigned https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1409393.

[Edit:] Based on @MichaelBay ‘s suggestion, I ran the Checkbox graphics card tests and everything passed. I also I ran MemoryTest. No errors were found after 3 passes. Finally, I loaded Psensor to check the GPU temperatures, but there are no GPU readings.


Get this bounty!!!

#StackBounty: #windows #drivers #installation #device-manager #hid Install a driver with devcon.exe

Bounty: 100

I have developed a multi-device HID driver, which consists of two devices: a virtual mouse driver and a proxy for it.

The proxy is required for accepting output reports from clients, because mouses are opened exclusively by the Windows kernel.

This is my report descriptor:

HID_REPORT_DESCRIPTOR g_reportDescriptor[] = {
    0x05, 0x01,     // USAGE_PAGE (Generic Desktop)
    0x09, 0x02,     // USAGE (Mouse)
    0xA1, 0x01,     // COLLECTION (Application)
    0x85,               REPORT_ID_MOUSE_INPUT,
    0x09, 0x01,         // USAGE_PAGE (Pointer)
    0xA1, 0x00,         // COLLECTION (Physical)
    0x05, 0x09,             // USAGE_PAGE (Buttons)
    0x19, 0x01,             // USAGE_MINIMUM (1)
    0x29, 0x03,             // USAGE_MAXIMUM (3)
    0x15, 0x00,             // LOGICAL_MINIMUM (0)
    0x25, 0x01,             // LOGICAL_MAXIMUM (1)
    0x95, 0x03,             // REPORT_COUNT (3)
    0x75, 0x01,             // REPORT_SIZE (1)
    0x81, 0x02,             // INPUT (Data, Variable, Absolute)
    0x95, 0x01,             // REPORT_COUNT (1)
    0x75, 0x05,             // REPORT_SIZE (5)
    0x81, 0x01,             // INPUT (Constant)
    0x05, 0x01,             // USAGE_PAGE (Generic Desktop)
    0x09, 0x30,             // USAGE (X)
    0x09, 0x31,             // USAGE (Y)
    0x15, 0x81,             // LOGICAL_MINIMUM (-127)
    0x25, 0x7F,             // LOGICAL_MAXIMUM (127)
    0x75, 0x08,             // REPORT_SIZE (8)
    0x95, 0x02,             // REPORT_COUNT (2)
    0x81, 0x06,             // Input (Data, Variable, Relative)
    0xC0,               // END_COLLECTION
    0xC0,           // END_COLLECTION(8)

    0x05, 0x01,     // USAGE_PAGE (Generic Desktop)
    0x09, 0x00,     // USAGE (Undefined)
    0xa1, 0x01,     // COLLECTION (Application)
    0x85,               REPORT_ID_MOUSE_OUTPUT,
    0x15, 0x00,         // LOGICAL_MINIMUM (0)
    0x26, 0xff, 0x00,   // LOGICAL_MAXIMUM (255)
    0x95, 0x0b,         // REPORT_COUNT (11)
    0x75, 0x08,         // REPORT_SIZE (8)
    0x09, 0x00,         // USAGE (Undefined)
    0x91, 0x02,         // OUTPUT (Data, Variable, Absolute)
    0xc0            // END_COLLECTION
};

I have got a trouble with installing my driver with devcon.exe.

It always fails, no matter what I do. I have been playing with my *.inf file for eternity and I don’t know what to do next. That’s how I run devcon.exe:

.devcon.exe install .hidriver.inf "ROOTUNKNOWN000"

Output:

Device node created. Install is complete when drivers are installed...
Updating drivers for ROOTUNKNOWN000 from D:shareoptKMDFDriverhidriver.inf.
devcon.exe failed.

As a result of the operation, it creates a new device named Unknown device without children.

When I install my driver from Device Manager -> Add Legacy Hardware, everything is fine and a new SampleClass device with two children (a generic mouse and a HID compliant device) is created, so I don’t think it is because my *.inf file lacks something.

Here is my *.inf file:

[Version]
Signature="$WINDOWS NT$"
Class=%ClassName%
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider=%ProviderName%
CatalogFile=hidriver.cat
DriverVer=01/07/2018

[ClassInstall32]
Addreg=ClassReg
[ClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-24

[SourceDisksNames]
1=%DiskName%,,,
[SourceDisksFiles]
hidriver.sys=1
[DestinationDirs]
DefaultDestDir=12

[Manufacturer]
%ManufacturerName%=Microsoft,NT$ARCH$.6.1
[Microsoft.NT$ARCH$.6.1]
%DeviceName%=DefaultInstall,roothidriver

[DefaultInstall.NT]
CopyFiles=Files
[Files]
hidriver.sys

[DefaultInstall.NT.HW]
AddReg=HWAddReg
[HWAddReg]
HKR,,"LowerFilters",0x00010008,"hidriver"

[DefaultInstall.NT.Services]
AddService=hidriver,0x00000000,hidriverService
AddService=mshidkmdf,0x00000002,mshidkmdfService
[hidriverService]
DisplayName=%ServiceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%hidriver.sys
[mshidkmdfService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%mshidkmdf.sys

[DefaultInstall.NT.Wdf]
KmdfService=hidriver,KmdfLibrary
[KmdfLibrary]
KmdfLibraryVersion=$KMDFVERSION$

[Strings]
DeviceName="VARIABLE_1"
DiskName="VARIABLE_2"
ProviderName="VARIABLE_3"
ManufacturerName="VARIABLE_4"
ServiceName="VARIABLE_5"
ClassName="VARIABLE_6"

I have also tried to capture Device managers activity with Process Monitor, but it does some magic with DrvInst.exe and a dozen of temporary files, so I don’t think it’s the right way to go.

What should I do, guys?

[Update the next day]

I have also tried pnputil.exe:

pnputil.exe /add-driver D:shareoptKMDFDriverhidriver.inf /install

Microsoft PnP Utility

Adding driver package:  hidriver.inf
Driver package added successfully.
Published Name:         oem40.inf
Driver package installed on matching devices.

Total driver packages:  1
Added driver packages:  1

Despite of the sweet output, it has no effect.


Get this bounty!!!

#StackBounty: #drivers #mouse #touchpad #lenovo #hardware Lenovo x1 carbon 3rd generation touchpad issues

Bounty: 50

I am using Lenovo x1 carbon 3rd generation with ubuntu 18.04, The touch pad is behaving weird like, If you drag the pointer down to a specific point and removes the finger from the touchpad then the pointer jumps to a random position.

An example will be closing a browser tab, Drag the pointer x and remove the finger off the pad, The pointer jumps to a random position.

Is it normal, Or is there anything which can help around.

Thanks


Get this bounty!!!

#StackBounty: #windows-10 #drivers #mouse #touchpad #scrolling Lengthy struggle with two finger scrolling on ELAN drivers

Bounty: 50

After several hours of frustration, I’m giving up.

The default trackpad driver of the Asus UX303U is truly catastrophic. I downloaded ELAN driver 16.21.13.3 which is fantastic, but I am not able to turn on two finger scrolling. (On Windows 10 Home 64 bit.)

There’s a lot of online content about this, but nothing works for me.

  1. Going to Settings and then Touchpad, I get the Your PC has a precision touchpad. Scrolling down there are many options and among them is Drag two fingers to scroll under Scroll and zoom. Checking them has no effect.

enter image description here

Under Related settings, going to Additional settings and then to the ELAN tab, the options button is greyed out as depicted below. So I cannot access that either.

enter image description here

  1. When I run ETDAniConf, I get the blank window below. Running ETDSimpleUI gives an ETDSimpleUI has stopped working error.

enter image description here

How can I enable two finger scrolling? I am desperate.


Get this bounty!!!

#StackBounty: #drivers Drivers did not reinstall automatically after uninstalling them

Bounty: 50

I am sure you’ve heard of the old “uninstall a driver and it will reinstall” trick

well, i’ve uninstalled multiple drivers just now and none of them have reinstalled by themselves. fortunately, they were all under CD/DVD Drives in device manager, but, holy cow, i dont even know what some of those were. Any help with this one? Windows 10 here. MSI Gaming notebook (model: GL62 6QF). Obviously my disc drive doesn’t work now.

Edit: The most logical next step for me here was to turn on automatic driver updates in Advanced System Settings. It was already on. I’m completely stumped.


Get this bounty!!!

#StackBounty: #windows-10 #drivers #usb-3 #chipset How to make my onboard USB 3.0 ports non-removable?

Bounty: 50

Ever since Microsoft released Windows 8 and then Windows 10, Intel stopped releasing new drivers for their USB 3.0 ports integrated into their newer chipsets. They let Microsoft do the work. I have a Z270 motherboard and the Intel(R) USB 3.0 eXtensive Host Controller is currently removable.

USB 3.0 ports removable?

From the Device Manager, the problematic drivers:

Intel Host Controller

Windows Update does say I have the latest driver. With Intel not releasing any new driver, what are my options to make those ports non-removable in Windows 10, considering I obviously can’t remove them without going into my BIOS settings?


Get this bounty!!!

#StackBounty: #drivers #nvidia #graphics #xorg What configuration files in Ubuntu control the graphics drivers in a dual GPU system?

Bounty: 50

I’m trying to get an NVIDIA 970M GPU working after something went wrong with the drivers. I’ve tried purging and manually wiping the system of everything nvidia/cuda related and reinstalled both from the ppa:graphics-drivers/ppa and from the NVIDIA installer.

Both approaches fail to get the system to use the NVIDIA GPU (as evidenced by nvidia-prime which I use to switch to the NVIDIA GPU, but after reboot it always returns to the onboard intel GPU).

  • What I’m trying to understand now is exactly what configuration in
    ubuntu is used to configure which graphics drivers are actually
    loaded?

  • How do I actually query the kernel to understand what drivers it
    thinks are available, and which drivers it is using?

  • Are there logs other than dmesg (with show nothing special) that I
    should be looking at to debug this?


> sudo lshw -C display
  *-display UNCLAIMED     
       description: 3D controller
       product: GM204M [GeForce GTX 970M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:f5000000-f5ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f6000000-f607ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:29 memory:f6400000-f67fffff memory:d0000000-dfffffff ioport:f000(size=64)


Get this bounty!!!