#StackBounty: #12.04 #wireless #networking #drivers #atheros Can't control connection bit rate using iwconfig with Atheros TL-WN821…

Bounty: 50

I’m trying to reduce the connection bit rate on my Atheros TP-Link TL-WN821N v3 usb wifi adapter due to frequent instability issues (reported connection speed goes down to 1Mb/s and I have to physically reconnect the adapter to regain a connection). I know this is a common problem with this device, and I have tried everything I can think of to fix it, including using drivers from linux-backports; compiling and installing a custom firmware (following instructions on https://wiki.debian.org/ath9k_htc#fw-free) and (as a last resort) using ndiswrapper.

When using ndiswrapper, the wifi adapter is stable and operates in g mode at 54Mb/s (whilst when using the default ath9k_htc module, the adapter connects in n mode and the bit rate fluctuates constantly). Unfortunately, with this setup I have to run my processor using only one core, since using SMP with ndiswrapper causes a kernel oops on my system.

So I want to lock my bit rate to 54Mb/s (or less, if need be) for connection stability, using the ath9k_htc module.

I’ve tried ‘sudo iwconfig wlan0 rate 54M’; the command runs with no error but when I check the bit rate with ‘sudo iwlist wlan0 bitrate’ the command returns:

wlan0 unknown bit-rate information. 
          Current Bit Rate:78 Mb/s

Any ideas? Here’s some info (hopefully relevant) on my setup:

Xubuntu (12.04.3) 64bit (kernel 3.2.0-55.85-generic) using Network Manager. My Router is from Virgin Media, the VMDG480.

lshw -C network :

  *-network               
       description: Wireless interface 
       physical id: 1 
       bus info: usb@1:4 
       logical name: wlan0 
       serial: 74:ea:3a:8f:16:b6 
       capabilities: ethernet physical wireless 
       configuration: broadcast=yes driver=ath9k_htc driverversion=3.2.0-55 firmware=1.3 ip=192.168.0.9 link=yes multicast=yes wireless=IEEE 802.11bgn
lsusb -v:

Bus 001 Device 003: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287] 
Device Descriptor: 
  bLength                18 
  bDescriptorType         1 
  bcdUSB               2.00 
  bDeviceClass          255 Vendor Specific Class 
  bDeviceSubClass       255 Vendor Specific Subclass 
  bDeviceProtocol       255 Vendor Specific Protocol 
  bMaxPacketSize0        64 
  idVendor           0x0cf3 Atheros Communications, Inc. 
  idProduct          0x7015 TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287] 
  bcdDevice            2.02 
  iManufacturer          16 ATHEROS 
  iProduct               32 UB95 
  iSerial                48 12345 
  bNumConfigurations      1 
  Configuration Descriptor: 
    bLength                 9 
    bDescriptorType         2 
    wTotalLength           60 
    bNumInterfaces          1 
    bConfigurationValue     1 
    iConfiguration          0 
    bmAttributes         0x80 
      (Bus Powered) 
    MaxPower              500mA 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        0 
      bAlternateSetting       0 
      bNumEndpoints           6 
      bInterfaceClass       255 Vendor Specific Class 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x01  EP 1 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0200  1x 512 bytes 
        bInterval               0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x82  EP 2 IN 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0200  1x 512 bytes 
        bInterval               0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            3 
          Transfer Type            Interrupt 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x04  EP 4 OUT 
        bmAttributes            3 
          Transfer Type            Interrupt 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x05  EP 5 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0200  1x 512 bytes 
        bInterval               0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x06  EP 6 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0200  1x 512 bytes 
        bInterval               0 
Device Qualifier (for other device speed): 
  bLength                10 
  bDescriptorType         6 
  bcdUSB               2.00 
  bDeviceClass          255 Vendor Specific Class 
  bDeviceSubClass       255 Vendor Specific Subclass 
  bDeviceProtocol       255 Vendor Specific Protocol 
  bMaxPacketSize0        64 
  bNumConfigurations      1 
Device Status:     0x0000 
  (Bus Powered)
iwlist wlan0 scanning:

wlan0     Scan completed : 
          Cell 01 - Address: C4:3D:C7:3A:1F:5D 
                    Channel:1 
                    Frequency:2.412 GHz (Channel 1) 
                    Quality=37/70  Signal level=-73 dBm  
                    Encryption key:on 
                    ESSID:"my essid" 
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 
                              24 Mb/s; 36 Mb/s; 54 Mb/s 
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s 
                    Mode:Master 
                    Extra:tsf=00000070cca77186 
                    Extra: Last beacon: 5588ms ago 
                    IE: Unknown: 0007756E69636F726E 
                    IE: Unknown: 010882848B962430486C 
                    IE: Unknown: 030101 
                    IE: Unknown: 2A0100 
                    IE: Unknown: 2F0100 
                    IE: IEEE 802.11i/WPA2 Version 1 
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK 
                    IE: Unknown: 32040C121860 
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000 
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000 
                    IE: Unknown: DD7E0050F204104A0001101044000102103B00010310470010F99C335D7BAC57FB00137DFA79600220102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F20400011011000743473331303144100800022008103C0001011049000600372A000120 
                    IE: Unknown: DD090010180203F02C0000 
                    IE: WPA Version 1 
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK 
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
iwconfig:

lo        no wireless extensions. 

wlan0     IEEE 802.11bgn  ESSID:"my essid"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: C4:3D:C7:3A:1F:5D   
          Bit Rate=78 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off 
          Power Management:off 
          Link Quality=36/70  Signal level=-74 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0,


Get this bounty!!!

#StackBounty: #drivers #dual-monitor #monitors #intel-graphics External screen recognized, but black

Bounty: 100

I have a brand new computer (i5-7200U, so Kabylake with a Intel HD Grpahics 620) running Ubuntu 16.10.

And I use an external HDMI screen.

For some reasons, this one is detected (I see it in the Display parameters menu) but it stays black (with a signal because if not, the monitor would turn off).

At work I have another HDMI screen, and I have no problems with this one. I also tried various cables, but the screen stays black.

This screen is working, since I use it with other computers (Ubuntu 16.10, Hackintosh, Windows).

I’m a bit lost about what can I do to solve this issue. Any ideas ?

Here are some details of my configuration:

~ % sudo lshw -c display        
[sudo] Mot de passe de bigx : 
  *-display                 
       description: VGA compatible controller
       produit: Intel Corporation
       fabriquant: Intel Corporation
       identifiant matériel: 2
       information bus: pci@0000:00:02.0
       version: 02
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       ressources: irq:126 mémoire:ee000000-eeffffff mémoire:d0000000-dfffffff portE/S:f000(taille=64) mémoire:c0000-dffff

So the driver is i915 (from https://01.org/linuxgraphics/ and up to date).

~ % modinfo i915         
filename:       /lib/modules/4.8.0-41-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/skl_guc_ver6_1.bin
...

other outputs:

~ % lspci -nnk | grep -i vga -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02)
    Subsystem: ASUSTeK Computer Inc. Device [1043:15a0]
    Kernel driver in use: i915
    Kernel modules: i915

and

~ % xrandr --props              
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
    EDID: 
        00ffffffffffff000dae721300000000
        0e1a0104951d1178028785a457509b27
        0d505400000001010101010101010101
        010101010101b43b804a71383440503c
        680025a510000018000000fe004e3133
        334843452d454e310a20000000fe0043
        4d4e0a202020202020202020000000fe
        004e3133334843452d454e310a200024
    scaling mode: Full aspect 
        supported: None, Full, Center, Full aspect
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-1 disconnected (normal left inverted right x axis y axis)
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
HDMI-1 disconnected (normal left inverted right x axis y axis)
    aspect ratio: Automatic 
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
HDMI-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
    EDID: 
        00ffffffffffff004c2d3f0b48385a5a
        081a010380301b782a9561a55552a028
        0f5054bfef80714f81c0810081809500
        a9c0b3000101023a801871382d40582c
        4500dd0c1100001e011d007251d01e20
        6e285500dd0c1100001e000000fd0032
        4b1e5111000a202020202020000000fc
        00533232443330300a202020202001a5
        020311b14690041f13120365030c0010
        00011d00bc52d01e20b8285540dd0c11
        00001e8c0ad090204031200c405500dd
        0c110000188c0ad08a20e02d10103e96
        00dd0c11000018000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000050
    aspect ratio: Automatic 
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  

and

~ % sudo get-edid | parse-edid                                        
[sudo] Mot de passe de bigx : 
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
2 potential busses found: 0 3
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
256-byte EDID successfully retrieved from i2c bus 0
If this isn't the EDID you were looking for, consider the other potential busses.
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
    Identifier "S22D300"
    ModelName "S22D300"
    VendorName "SAM"
    # Monitor Manufactured week 8 of 2016
    # EDID version 1.3
    # Digital Display
    DisplaySize 480 270
    Gamma 2.20
    Option "DPMS" "true"
    Horizsync 30-81
    VertRefresh 50-75
    # Maximum pixel clock is 170MHz
    #Not giving standard mode: 1152x864, 75Hz
    #Not giving standard mode: 1280x720, 60Hz
    #Not giving standard mode: 1280x800, 60Hz
    #Not giving standard mode: 1280x1024, 60Hz
    #Not giving standard mode: 1440x900, 60Hz
    #Not giving standard mode: 1600x900, 60Hz
    #Not giving standard mode: 1680x1050, 60Hz

    #Extension block found. Parsing...
    Modeline    "Mode 8" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync 
    Modeline    "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
    Modeline    "Mode 1" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
    Modeline    "Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
    Modeline    "Mode 4" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 5" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline    "Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline    "Mode 7" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline    "Mode 9" 27.00 720 732 796 864 576 581 586 625 -hsync -vsync 
    Modeline    "Mode 10" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
    Option "PreferredMode" "Mode 8"
EndSection

What else could I give to help you find my problem ?


Get this bounty!!!

#StackBounty: #drivers #multiple-monitors #intel-graphics #16.10 External screen recognized, but black

Bounty: 100

I have a brand new computer (i5-7200U, so Kabylake with a Intel HD Grpahics 620) running Ubuntu 16.10.

And I use an external HDMI screen.

For some reasons, this one is detected (I see it in the Display parameters menu) but it stays black (with a signal because if not, the monitor would turn off).

At work I have another HDMI screen, and I have no problems with this one. I also tried various cables, but the screen stays black.

This screen is working, since I use it with other computers (Ubuntu 16.10, Hackintosh, Windows).

I’m a bit lost about what can I do to solve this issue. Any ideas ?

Here are some details of my configuration:

~ % sudo lshw -c display        
[sudo] Mot de passe de bigx : 
  *-display                 
       description: VGA compatible controller
       produit: Intel Corporation
       fabriquant: Intel Corporation
       identifiant matériel: 2
       information bus: pci@0000:00:02.0
       version: 02
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       ressources: irq:126 mémoire:ee000000-eeffffff mémoire:d0000000-dfffffff portE/S:f000(taille=64) mémoire:c0000-dffff

So the driver is i915 (from https://01.org/linuxgraphics/ and up to date).

~ % modinfo i915         
filename:       /lib/modules/4.8.0-41-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/skl_guc_ver6_1.bin
...

other outputs:

~ % lspci -nnk | grep -i vga -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02)
    Subsystem: ASUSTeK Computer Inc. Device [1043:15a0]
    Kernel driver in use: i915
    Kernel modules: i915

and

~ % xrandr --props              
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
    EDID: 
        00ffffffffffff000dae721300000000
        0e1a0104951d1178028785a457509b27
        0d505400000001010101010101010101
        010101010101b43b804a71383440503c
        680025a510000018000000fe004e3133
        334843452d454e310a20000000fe0043
        4d4e0a202020202020202020000000fe
        004e3133334843452d454e310a200024
    scaling mode: Full aspect 
        supported: None, Full, Center, Full aspect
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-1 disconnected (normal left inverted right x axis y axis)
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
HDMI-1 disconnected (normal left inverted right x axis y axis)
    aspect ratio: Automatic 
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
HDMI-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
    EDID: 
        00ffffffffffff004c2d3f0b48385a5a
        081a010380301b782a9561a55552a028
        0f5054bfef80714f81c0810081809500
        a9c0b3000101023a801871382d40582c
        4500dd0c1100001e011d007251d01e20
        6e285500dd0c1100001e000000fd0032
        4b1e5111000a202020202020000000fc
        00533232443330300a202020202001a5
        020311b14690041f13120365030c0010
        00011d00bc52d01e20b8285540dd0c11
        00001e8c0ad090204031200c405500dd
        0c110000188c0ad08a20e02d10103e96
        00dd0c11000018000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000050
    aspect ratio: Automatic 
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  

and

~ % sudo get-edid | parse-edid                                        
[sudo] Mot de passe de bigx : 
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
2 potential busses found: 0 3
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
256-byte EDID successfully retrieved from i2c bus 0
If this isn't the EDID you were looking for, consider the other potential busses.
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
    Identifier "S22D300"
    ModelName "S22D300"
    VendorName "SAM"
    # Monitor Manufactured week 8 of 2016
    # EDID version 1.3
    # Digital Display
    DisplaySize 480 270
    Gamma 2.20
    Option "DPMS" "true"
    Horizsync 30-81
    VertRefresh 50-75
    # Maximum pixel clock is 170MHz
    #Not giving standard mode: 1152x864, 75Hz
    #Not giving standard mode: 1280x720, 60Hz
    #Not giving standard mode: 1280x800, 60Hz
    #Not giving standard mode: 1280x1024, 60Hz
    #Not giving standard mode: 1440x900, 60Hz
    #Not giving standard mode: 1600x900, 60Hz
    #Not giving standard mode: 1680x1050, 60Hz

    #Extension block found. Parsing...
    Modeline    "Mode 8" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync 
    Modeline    "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
    Modeline    "Mode 1" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
    Modeline    "Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
    Modeline    "Mode 4" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 5" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline    "Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline    "Mode 7" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline    "Mode 9" 27.00 720 732 796 864 576 581 586 625 -hsync -vsync 
    Modeline    "Mode 10" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
    Option "PreferredMode" "Mode 8"
EndSection

What else could I give to help you find my problem ?


Get this bounty!!!

#StackBounty: #16.04 #drivers #nvidia #intel-graphics #nvidia-prime Switching to Intel HD graphics 530 from NVIDIA GTX 950M

Bounty: 50

Let me state this first, I know that questions related to this have already been asked; but I’m still posting this question because none of the available information could solve the problem.

My laptop is msi gl 62 6qd, i7 6700HQ with intel HD graphics 530 and nvidia GTX 950M. I’m using ubuntu 16.04.2. I had to do the nouveau.modeset=0 stuff to get the display working after first boot and install the proprietary nvidia drivers. The power consumption of the nvidia card is quite high though, compared to the intel card. Also there is screen tearing when scrolling fast or watching videos (like vsync problem). So what I want to do is switch to the intel card.

What I have tried so far:
1. Use the nvidia xserver settings application to switch to intel prime profile. Result: It asks to log out and in for the profile switch. If I do that, I can use the intel card. But if I reboot pc, as soon as I login, everything freezes. And I mean absolutely everything, can’t even toggle caps lock or num lock. I have to hard reboot, go to tty session, login there and switch back to nvidia prime profile (using prime-select), do another hard reboot before I can use the laptop properly again.
2. I originally asked this for 16.10 where nvidia drivers weren’t updated to nvidia-375 and I added a graphics ppa to try to solve it then. In 16.04.2 they are updated, but same problems remain.
3. I have tried looking to see if there is any way to remove the proprietary drivers and then switch to intel graphics. But it appears that the switching technology (something like prime) is only provided by the proprietary drivers.

And no, there is no way of switching between the cards in my BIOS. Any help with regards to this is appreciated.

Edit: If there is a way to remove any drivers related to nvidia and use intel graphics instead, that is fine too. In Windows, the nvidia settings say that the display is connected to the intel card. I don’t understand why then ubuntu chooses the nvidia card by default.

Edit2: As suggested by eyoung100, I have installed bumblebee and configured as follows. I set the correct values for driver, kernal-driver, library paths and PMMethod (I tried both auto and bbswitch) in /etc/bumblebee/bumblebee.conf. The conf file says that changes to this file need a server restart (I’m not sure what they mean by server), so I restarted laptop. Then started sudo bumblebeed --daemon. The state of the card is supposed to be changeable after that using sudo tee /proc/acpi/bbswitch <<<OFF. But its producing error saying device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF. The wiki says that the driver needs to be unloaded if this happens. Now I’m not sure how to do that and whether I actually need to do that OR I have done something wrong before this thats leading to the error.


Get this bounty!!!

#StackBounty: #dual-boot #drivers #dell #xps Ubuntu on Dell XPS 15 9560 (2017)

Bounty: 100

There are other questions about the XPS 15 (such as this one) but they all seem to be several years old and relate to an older XPS model. This question is specifically about the XPS 15 9560 released in 2017.

I am considering buying this laptop and I am, as always, concerned about dual boot support and lack of driver functionality in Linux. I would appreciate if someone who has this laptop and runs both Windows and Linux (or has run both at some point) comment on the following:

  • Driver support, both audio/video, in terms of things like multiple monitors, GPU performance etc.
  • Battery life — is Ubuntu a drain compared to Windows, or maybe vice versa?
  • Any additional comments? Was anything “functional” but very annoying to set up?

I’ve seen plenty of reviews about the laptop itself, but I’d like to get some comments purely from an Ubuntu dual boot perspective.


Get this bounty!!!

#StackBounty: #windows-10 #boot #drivers #services #revo-uninstaller Uninstalling AOMEI Backupper causes Stop code: INACCESSIBLE BOOT D…

Bounty: 100

I’m trying to remove AOMEI Backupper 4.0.2 from my PC. I installed a trial and found it can’t do what I need it to do. Now I can’t remove it without killing my PC. After removal the PC will bootloop 3 times, the 3rd time it will go into “Automatic Repair” and fail. Luckily I can use advanced options > System Restore to recover the machine.

I’ve narrowed it down to these 3 drivers: ambakdrv.sys, ammntdrv.sys, amwrtdrv.sys. Even unchecking these drivers in Autoruns will cause the system to fail.

Autoruns and Everything showing these drivers are from AOMEI Backupper

Revo Uninstaller can’t uninstall it successfully. I even had Revo Uninstaller monitor the installation of this product and I have all the logs for this install. The included un-installer fails because it can’t find the uninst000.dat.

How do I remove this crap software from my machine? How do I completely remove: ambakdrv.sys, ammntdrv.sys, amwrtdrv.sys without breaking the current Windows Install?


Get this bounty!!!

#StackBounty: #drivers #nvidia #graphics #kde System Panel flickering

Bounty: 50

My panel flickers randomly sometimes, I have tried everything. Can someone please help on how to fix it.
I am using nvidia graphics card
My PRIME profile is set to intel.

Hardware Info:

$ inxi -Fxz
System:    Host: neon Kernel: 4.8.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: KDE Plasma 5.9.2 (Qt 5.7.1) Distro: neon 16.04 xenial
Machine:   System: HP (portable) product: HP Pavilion Notebook v: Type1ProductConfigId
           Mobo: HP model: 80A4 v: 91.1D Bios: Insyde v: F.79 date: 04/14/2016
CPU:       Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10368
           clock speeds: max: 3100 MHz 1: 500 MHz 2: 499 MHz 3: 500 MHz 4: 499 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM108M [GeForce 940M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@59.93hz
           GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.8.0-36-generic
Network:   Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 4000 bus-ID: 03:00.0
           IF: wlo1 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 04:00.0
           IF: eno1 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (92.9% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 500.1GB temp: 0C
Partition: ID-1: / size: 443G used: 418G (100%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 17.01GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 269 Uptime: 31 min Memory: 4297.3/15885.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (fish) inxi: 2.2.35 

Graphic Settings:
enter image description here
Nvidia Settings:
enter image description here
Drivers Installed:

$ dpkg -l | grep nvidia
ii  nvidia-367                                      367.57-0ubuntu0.16.04.1+gpu16.04.1         amd64        NVIDIA binary driver - version 367.57
ii  nvidia-opencl-icd-367                           367.57-0ubuntu0.16.04.1+gpu16.04.1         amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                                    0.8.2                                      amd64        Tools to enable NVIDIA's Prime
ii  nvidia-settings                                 378.09-0ubuntu0~gpu16.04.1                 amd64        Tool for configuring the NVIDIA graphics driver


Get this bounty!!!

#StackBounty: Screen flickering with Webstorm autocomplete popup

Bounty: 100

I have Ubuntu 16.04.1 fully updated.

Sometimes when in Webstorm the autocomplete popup is shown the monitor that has WebStorm flickers for a couple of seconds every time I press a key on the keyboard, making impossible to digit something. I have to change application and wait some minutes before I can use Webstorm again.

I haven’t seen the problem with other programs

uname -a   
Linux *** 4.8.0-040800-generic #201610022031 SMP Mon Oct 3 00:32:57 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Graphic card: Intel® Iris Pro Graphics 580 (Skylake GT4e)


Get this bounty!!!