You are not logged in.

#1 2014-07-06 15:37:58

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Extraordinary Wifi problems with Wifi card rtl8188ee

I am having the worst problems with my wifi.  Any problem that can happen with wifi networking is happening and has happened.  The networking goes in and out (sometimes randomly losing the connection), the hardware switch on my laptop can turn the wifi off but can't turn the wifi on again (the only solution I have found is to boot into Windows and then return to my Arch.  Weird....).  Also, the networking is quite slow compared to my wifi speed on Windows.  I've also noticed I can't really run more than one program that uses the network at once (can't use Dropbox and Firefox at the same time).  Sometimes when I boot up, there is no connection at all (takes several boots to get a connection).
The card is an rtl8188ee, which from my preliminary research seems to be notorious for having issues (it works flawlessly on Windows, though).  I remember my wifi working pretty much flawlessly on Ubuntu (Ubuntu 13.10) before I switched to Arch.
 
Any help would be appreciated.
For starters, here's the readout from my iwconfig:

wlp2s0    IEEE 802.11bgn  ESSID:"Wireless"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 94:44:52:24:1B:F8   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=30 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3473   Missed beacon:0

lo        no wireless extensions.

enp1s0    no wireless extensions.

And here's the readout from lsmod, if that's helpful:

Module                  Size  Used by
fuse                   84337  3 
ctr                     3927  1 
ccm                     8278  1 
nls_iso8859_1           4485  1 
nls_cp437               6017  1 
uvcvideo               74983  0 
videobuf2_vmalloc       3368  1 uvcvideo
rts5139               313272  0 
videobuf2_memops        2239  1 videobuf2_vmalloc
videobuf2_core         30407  1 uvcvideo
arc4                    2064  2 
videodev              123032  2 uvcvideo,videobuf2_core
media                  12611  2 uvcvideo,videodev
coretemp                6388  0 
hwmon                   3346  1 coretemp
rtl8188ee              81239  0 
rtl_pci                16611  1 rtl8188ee
rtlwifi                51846  2 rtl_pci,rtl8188ee
intel_rapl             12460  0 
x86_pkg_temp_thermal     7311  0 
mac80211              495361  3 rtl_pci,rtlwifi,rtl8188ee
vfat                   10631  1 
fat                    53688  1 vfat
cfg80211              437959  2 mac80211,rtlwifi
intel_powerclamp        9442  0 
kvm_intel             135528  0 
kvm                   408583  1 kvm_intel
joydev                 10367  0 
mousedev               10912  0 
iTCO_wdt                5663  0 
iTCO_vendor_support     1929  1 iTCO_wdt
crct10dif_pclmul        4714  0 
crc32_pclmul            2955  0 
evdev                  11784  12 
snd_hda_codec_hdmi     40396  1 
mac_hid                 3273  0 
snd_hda_codec_realtek    54803  1 
snd_hda_codec_generic    56366  1 snd_hda_codec_realtek
crc32c_intel           14217  0 
alx                    29691  0 
mdio                    3279  1 alx
snd_hda_intel          22270  4 
snd_hda_controller     22911  1 snd_hda_intel
ghash_clmulni_intel     4362  0 
aesni_intel           144871  2 
aes_x86_64              7463  1 aesni_intel
snd_hda_codec         104665  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
lrw                     3821  1 aesni_intel
snd_hwdep               6652  1 snd_hda_codec
snd_pcm                83207  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              19294  1 snd_pcm
snd                    61276  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
gf128mul                6018  1 lrw
soundcore               5551  2 snd,snd_hda_codec
shpchp                 25706  0 
glue_helper             4737  1 aesni_intel
ablk_helper             2100  1 aesni_intel
i915                  796061  2 
cryptd                  8537  3 ghash_clmulni_intel,aesni_intel,ablk_helper
microcode              17157  0 
drm_kms_helper         39643  1 i915
toshiba_acpi           21184  0 
psmouse                94790  0 
serio_raw               5073  0 
toshiba_bluetooth       2361  0 
sparse_keymap           3242  1 toshiba_acpi
pcspkr                  2059  0 
thermal                 9103  0 
drm                   244782  4 i915,drm_kms_helper
led_class               3611  1 toshiba_acpi
lpc_ich                14008  0 
mei_me                 10096  0 
rfkill                 15971  3 cfg80211,toshiba_acpi
fan                     2913  0 
mei                    66784  1 mei_me
intel_gtt              12856  1 i915
i2c_i801               11364  0 
i2c_algo_bit            5480  1 i915
i2c_core               41648  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
battery                 7885  0 
wmi                     8539  1 toshiba_acpi
ac                      3595  0 
button                  4765  1 i915
video                  12057  1 i915
processor              25153  0 
ext4                  494292  1 
crc16                   1359  1 ext4
mbcache                 9155  1 ext4
jbd2                   82948  1 ext4
hid_logitech_dj        10430  0 
usbhid                 41250  0 
hid                    93052  3 usbhid,hid_logitech_dj
sd_mod                 37426  4 
sr_mod                 15026  0 
crc_t10dif              1135  1 sd_mod
cdrom                  35191  1 sr_mod
crct10dif_common        1436  2 crct10dif_pclmul,crc_t10dif
atkbd                  17006  0 
libps2                  4571  2 atkbd,psmouse
ahci                   24299  3 
libahci                21772  1 ahci
ehci_pci                4152  0 
xhci_hcd              149286  0 
ehci_hcd               64619  1 ehci_pci
libata                174089  2 ahci,libahci
scsi_mod              138333  4 rts5139,libata,sd_mod,sr_mod
usbcore               188381  6 uvcvideo,rts5139,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common              1712  1 usbcore
i8042                  13666  2 toshiba_acpi,libps2
serio                  11018  6 serio_raw,atkbd,i8042,psmouse

From what I can tell, I think this is an issue with the kernel module, not NetworkManager (I've tried cleaning the config for this already).

Thanks in advance to anyone who can help me or point me in the right direction.

Last edited by physicsshark (2014-09-23 20:14:01)


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#2 2014-07-08 12:17:26

Frankuz90
Member
Registered: 2008-02-11
Posts: 3

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

What kernel are you using? I had a similar problem with the 3.14.6-1-ARCH kernel (the Wifi for me didn't work at all during or after the installation). I solved the problem using this guide but using the backports from the latest stable release (check here). Keep in mind the difference in packages name (in Arch you need to install linux-headers and base-devel).

Offline

#3 2014-07-08 22:11:06

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

According to uname, I'm using 3.15.3-1-ARCH.  Does this make a difference?  I'll go ahead and try the guide and see if it makes a difference.  Thank you for the response!


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#4 2014-07-08 23:01:54

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Thank you for your suggestion, but it looks like I'm already using the latest stable kernel.


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#5 2014-07-08 23:41:49

Frankuz90
Member
Registered: 2008-02-11
Posts: 3

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

According to the packages list, the latest stable version is 3.15.4. If I were you, I would try to update and see if the problem persist. If that's the case, if you can, try using the backports from 3.16 RC. By the way this is strange, I used the 3.15.1 backports and they worked flawlessly, so I can't explain why you're having problems using the kernel I picked the backports from. Also, I switched to Arch because with Ubuntu 14.04 the WiFi performance was terrible.

From what I can tell, I think this is an issue with the kernel module

Me too.
EDIT:
I forgot something: after you've followed the guide, check the interface name. I've just remembered that after following that guide, the interface name changed so I had to properly set the interface name in my netowrk manager (in my case Wicd).

Last edited by Frankuz90 (2014-07-08 23:49:23)

Offline

#6 2014-07-09 00:27:01

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Huh.  I updated, then went to speedtest.net, and I got the fastest speed reading I've ever seen on my network.  I've decided that speedtest.net isn't an accurate way to benchmark internet speed (it doesn't select servers for the test very well).  I also don't remember it ever going in and out with the 3.15 kernel (it hasn't happened recently), maybe that was just a 3.14 issue.  That leaves the problem of the hardware switch on my computer not handling my wifi card very well, but that might beyond the scope of the other issues.  If you don't have any suggestions for that, I might as well mark this as solved (I can avoid using the hardware switch).


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#7 2014-07-09 02:40:43

Yomi
Member
Registered: 2014-07-09
Posts: 4

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I tried the 3.16-rc-1 backports...
It seems better, but it still acts up...

I continually get this in dmesg (with the backport, while connected to a network):

[Tue Jul  8 21:55:16 2014] wlp5s0: deauthenticated from 00:26:62:bb:86:af (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
[Tue Jul  8 21:55:17 2014] cfg80211: Calling CRDA to update world regulatory domain
[Tue Jul  8 21:55:17 2014] wlp5s0: authenticate with 00:26:62:bb:86:af
[Tue Jul  8 21:55:17 2014] wlp5s0: send auth to 00:26:62:bb:86:af (try 1/3)
[Tue Jul  8 21:55:17 2014] wlp5s0: authenticated
[Tue Jul  8 21:55:17 2014] rtl8188ee 0000:05:00.0 wlp5s0: disabling HT/VHT due to WEP/TKIP use
[Tue Jul  8 21:55:17 2014] wlp5s0: associate with 00:26:62:bb:86:af (try 1/3)
[Tue Jul  8 21:55:17 2014] wlp5s0: RX AssocResp from 00:26:62:bb:86:af (capab=0x431 status=0 aid=1)
[Tue Jul  8 21:55:17 2014] rtl8188ee:rtl88ee_set_hw_reg():<0-0> switch case not process 5c
[Tue Jul  8 21:55:17 2014] wlp5s0: associated
[Tue Jul  8 21:55:17 2014] cfg80211: Calling CRDA to update world regulatory domain

...

[Tue Jul  8 22:12:35 2014] rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now
[Tue Jul  8 22:12:35 2014] wlp5s0: Connection to AP 00:26:62:bb:86:af lost
[Tue Jul  8 22:12:35 2014] cfg80211: Calling CRDA for country: US
[Tue Jul  8 22:12:35 2014] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[Tue Jul  8 22:12:36 2014] wlp5s0: authenticate with 00:26:62:bb:86:af
[Tue Jul  8 22:12:36 2014] wlp5s0: send auth to 00:26:62:bb:86:af (try 1/3)
[Tue Jul  8 22:12:36 2014] wlp5s0: authenticated
[Tue Jul  8 22:12:36 2014] rtl8188ee 0000:05:00.0 wlp5s0: disabling HT/VHT due to WEP/TKIP use
[Tue Jul  8 22:12:36 2014] wlp5s0: associate with 00:26:62:bb:86:af (try 1/3)
[Tue Jul  8 22:12:36 2014] wlp5s0: RX AssocResp from 00:26:62:bb:86:af (capab=0x431 status=0 aid=1)
[Tue Jul  8 22:12:36 2014] rtl8188ee:rtl88ee_set_hw_reg():<0-0> switch case not process 5c
[Tue Jul  8 22:12:36 2014] wlp5s0: associated
[Tue Jul  8 22:12:36 2014] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready
[Tue Jul  8 22:13:39 2014] rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now
[Tue Jul  8 22:13:39 2014] wlp5s0: Connection to AP 00:26:62:bb:86:af lost
[Tue Jul  8 22:13:39 2014] cfg80211: Calling CRDA to update world regulatory domain
[Tue Jul  8 22:13:39 2014] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[Tue Jul  8 22:13:40 2014] wlp5s0: authenticate with 00:26:62:bb:86:af
[Tue Jul  8 22:13:40 2014] wlp5s0: send auth to 00:26:62:bb:86:af (try 1/3)
[Tue Jul  8 22:13:40 2014] wlp5s0: authenticated

Before I compiled the module from the backports, I got this (which I think I need to put/report somewhere...)

Tue Jul  8 20:42:16 2014] ------------[ cut here ]------------
[Tue Jul  8 20:42:16 2014] WARNING: CPU: 0 PID: 47 at net/mac80211/agg-tx.c:694 ieee80211_start_tx_ba_cb+0x164/0x170 [mac80211]()
[Tue Jul  8 20:42:16 2014] Modules linked in: ctr ccm fuse xt_connmark iptable_nat nf_nat_ipv4 iptable_mangle uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev rts5139(C) media snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic joydev mousedev ip6t_REJECT snd_hda_intel amd_freq_sensitivity xt_hl snd_hda_controller snd_hda_codec snd_hwdep kvm_amd ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 arc4 ipt_REJECT xt_comment snd_pcm kvm rtl8188ee rtl_pci rtlwifi xt_LOG snd_timer mac80211 crct10dif_pclmul crc32_pclmul crc32c_intel snd ghash_clmulni_intel soundcore pcspkr evdev mac_hid aesni_intel radeon aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ttm drm_kms_helper microcode drm psmouse i2c_algo_bit toshiba_acpi sparse_keymap serio_raw i2c_piix4 led_class edac_core i2c_core k10temp fam15h_power
[Tue Jul  8 20:42:16 2014]  cfg80211 rfkill hwmon r8169 mii xt_limit shpchp edac_mce_amd xt_tcpudp toshiba_bluetooth battery thermal fan ac xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 wmi xt_conntrack video button ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables acpi_cpufreq processor ext4 crc16 mbcache jbd2 hid_logitech_dj usbhid hid sd_mod sr_mod crc_t10dif cdrom crct10dif_common atkbd libps2 ahci libahci ohci_pci libata ohci_hcd ehci_pci xhci_hcd ehci_hcd usbcore scsi_mod usb_common i8042 serio
[Tue Jul  8 20:42:16 2014] CPU: 0 PID: 47 Comm: kworker/u8:1 Tainted: G         C    3.15.3-1-ARCH #1
[Tue Jul  8 20:42:16 2014] Hardware name: TOSHIBA Satellite C55D-A/Portable PC, BIOS 1.80 01/27/2014
[Tue Jul  8 20:42:16 2014] Workqueue: phy0 ieee80211_iface_work [mac80211]
[Tue Jul  8 20:42:16 2014]  0000000000000000 000000002c06678e ffff880118d5bd40 ffffffff81508141
[Tue Jul  8 20:42:16 2014]  0000000000000000 ffff880118d5bd78 ffffffff81069afd ffff88007a220348
[Tue Jul  8 20:42:16 2014]  ffff88007a220000 ffff880118930840 0000000000000000 ffff880118eb6500
[Tue Jul  8 20:42:16 2014] Call Trace:
[Tue Jul  8 20:42:16 2014]  [<ffffffff81508141>] dump_stack+0x4d/0x6f
[Tue Jul  8 20:42:16 2014]  [<ffffffff81069afd>] warn_slowpath_common+0x7d/0xa0
[Tue Jul  8 20:42:16 2014]  [<ffffffff81069c2a>] warn_slowpath_null+0x1a/0x20
[Tue Jul  8 20:42:16 2014]  [<ffffffffa0a143a4>] ieee80211_start_tx_ba_cb+0x164/0x170 [mac80211]
[Tue Jul  8 20:42:16 2014]  [<ffffffffa0a1a76a>] ieee80211_iface_work+0x24a/0x370 [mac80211]
[Tue Jul  8 20:42:16 2014]  [<ffffffff8108325d>] ? pwq_activate_delayed_work+0x3d/0xa0
[Tue Jul  8 20:42:16 2014]  [<ffffffff810861a8>] process_one_work+0x168/0x450
[Tue Jul  8 20:42:16 2014]  [<ffffffff81086c02>] worker_thread+0x132/0x3e0
[Tue Jul  8 20:42:16 2014]  [<ffffffff81086ad0>] ? manage_workers.isra.23+0x2d0/0x2d0
[Tue Jul  8 20:42:16 2014]  [<ffffffff8108d40a>] kthread+0xea/0x100
[Tue Jul  8 20:42:16 2014]  [<ffffffff8108d320>] ? kthread_create_on_node+0x1b0/0x1b0
[Tue Jul  8 20:42:16 2014]  [<ffffffff81515e3c>] ret_from_fork+0x7c/0xb0
[Tue Jul  8 20:42:16 2014]  [<ffffffff8108d320>] ? kthread_create_on_node+0x1b0/0x1b0

Last edited by Yomi (2014-07-09 02:42:03)

Offline

#8 2014-07-09 20:13:12

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I'm getting these errors too.  I'm using the latest stable kernel (3.15.4-1 ARCH).  The funny thing is, I don't remember this being an issue when I used Ubuntu 13.10 (which used kernel 3.11).  Is this a clue to anything?  Should we file a bug report to the kernel developers regarding the current kernel?  It's really annoying.  Download speed doesn't seem to be affected greatly, but some websites take forever to load (Gmail is an example), and it doesn't really work to have more than one tab trying to load.  Actually, now that I think about it, I think I used the liquorix kernel with Ubuntu (I don't remember which version though).


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#9 2014-07-09 21:21:00

Yomi
Member
Registered: 2014-07-09
Posts: 4

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I definitely think we should file a bug report to the kernel developers.
I've only had this laptop for a little over a week but this eventually annoyed me so much that I swapped out the Realtek chip with a Qualcomm Atheros AR9287 Wireless Network Adapter.
I don't plan on keeping the Realtek chip out of the laptop forever, because I'm pretty sure that only having one wire (out of two) connected to the Atheros chip isn't helping signal strength.

Have you ever filed a bug report to the kernel developers? I haven't, so I'm unfamiliar with the process.
Guess there's always a time for me to learn though...

Last edited by Yomi (2014-07-10 04:17:34)

Offline

#10 2014-07-10 19:17:20

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I'm embarrassed to admit, I've never filed a bug report of any kind to anyone.  I suppose this guide could be a start: https://wiki.archlinux.org/index.php/Bug_report  And yeah, this is definitely a bug.  I've tinkered with NetworkManager and wicd and a zillion other things, leaving the kernel as the only possible cause for the problems.  Would the report need to go to the Arch kernel developers or to the kernel.org developers?  This thread should definitely be moved to Kernel/Hardware issues.


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#11 2014-07-11 01:42:23

slim satoshi
Member
Registered: 2014-07-11
Posts: 1

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Yeah so my experience around half a year ago moving from Ubuntu 12.04 with the 8188ee was that it actually worked great at first, in the older kernel I had to manually install the drivers to recognize the card but it was recognized and worked right off the bat. It worked superbly for a few months, then issues started happening. It would disconnect and reconnect, so no big deal. I am kind of a wifi deadzone of my house, but the connection would always rate pretty strong. About a month ago it got worse, I would get deauthentication messages in dmesg, it would normally be similar messages each time. As of recently I get just about every deauth message there is it seems. Its no longer just "reason 3" it will be like "deauthenticated from 00:26:62:7d:2e:68 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)". I'll have to toggle the wifi on off in NetworkManager to recover after the disconnects which occur more and more frequently.

This has been driving me bonkers. I've never done bug reports or anything either, most things I chalk up to user error and figure problems are on my end. I just remembered I have another wifi card so I'm just going to switch them and see what happens. Glad I'm not the only one experiencing this. I was considering a reinstall, but don't really want to dedicate that much time to it right now.

I also got a lot of "(Reason: 2=PREV_AUTH_NOT_VALID)"

Last edited by slim satoshi (2014-07-11 02:41:07)

Offline

#12 2014-07-11 16:59:27

Yomi
Member
Registered: 2014-07-09
Posts: 4

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

slim satoshi wrote:

Yeah so my experience around half a year ago moving from Ubuntu 12.04 with the 8188ee was that it actually worked great at first, in the older kernel I had to manually install the drivers to recognize the card but it was recognized and worked right off the bat. It worked superbly for a few months, then issues started happening. It would disconnect and reconnect, so no big deal. I am kind of a wifi deadzone of my house, but the connection would always rate pretty strong. About a month ago it got worse, I would get deauthentication messages in dmesg, it would normally be similar messages each time. As of recently I get just about every deauth message there is it seems. Its no longer just "reason 3" it will be like "deauthenticated from 00:26:62:7d:2e:68 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)". I'll have to toggle the wifi on off in NetworkManager to recover after the disconnects which occur more and more frequently.

This has been driving me bonkers. I've never done bug reports or anything either, most things I chalk up to user error and figure problems are on my end. I just remembered I have another wifi card so I'm just going to switch them and see what happens. Glad I'm not the only one experiencing this. I was considering a reinstall, but don't really want to dedicate that much time to it right now.

I also got a lot of "(Reason: 2=PREV_AUTH_NOT_VALID)"

Yeah, I get those errors too.

As soon as I can wrap my head around that wiki page, I'll file a bug report...

Edit : It may not actually be necessary. [1]
However, it describes a different issue entirely, at first (not being able to connect to a network with a RTL8188EE) instead of constantly disconnecting, slow speeds, etc. 

[1] : https://bugzilla.kernel.org/show_bug.cgi?id=78691

Last edited by Yomi (2014-07-11 19:44:20)

Offline

#13 2014-07-13 02:15:49

nachopro
Member
Registered: 2013-08-23
Posts: 29

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I'm having the same issue. Connection drops speed and I need to do a reconect via NetworkManager or wait for a 30seconds to revive data transfer.

Kernel:  3.15.5-1-ARCH

$ lsmod
Module                  Size  Used by
bluetooth             380942  0 
6lowpan_iphc           11556  1 bluetooth
msr                     2725  0 
cpufreq_stats           4215  0 
fuse                   84337  3 
ctr                     3927  3 
ccm                     8278  3 
joydev                 10367  0 
arc4                    2064  2 
uvcvideo               74983  0 
videobuf2_vmalloc       3368  1 uvcvideo
coretemp                6388  0 
videobuf2_memops        2239  1 videobuf2_vmalloc
hwmon                   3346  1 coretemp
rtl8188ee              81239  0 
videobuf2_core         30407  1 uvcvideo
rtl_pci                16611  1 rtl8188ee
rtlwifi                51846  2 rtl_pci,rtl8188ee
videodev              123032  2 uvcvideo,videobuf2_core
intel_rapl             12460  0 
r8169                  59191  0 
mousedev               10912  0 
mii                     4251  1 r8169
hid_generic             1217  0 
mac80211              495361  3 rtl_pci,rtlwifi,rtl8188ee
media                  12611  2 uvcvideo,videodev
cfg80211              437959  2 mac80211,rtlwifi
x86_pkg_temp_thermal     7311  0 
intel_powerclamp        9442  0 
rfkill                 15971  3 cfg80211,bluetooth
iTCO_wdt                5663  0 
iTCO_vendor_support     1929  1 iTCO_wdt
kvm_intel             135528  0 
rtsx_pci_ms             7578  0 
memstick                7664  1 rtsx_pci_ms
i915                  796361  2 
kvm                   408583  1 kvm_intel
crct10dif_pclmul        4714  0 
crc32_pclmul            2955  0 
crc32c_intel           14217  0 
ghash_clmulni_intel     4362  0 
cryptd                  8537  1 ghash_clmulni_intel
psmouse                94918  0 
microcode              17157  0 
drm_kms_helper         39643  1 i915
i2c_i801               11364  0 
tpm_infineon            7786  0 
snd_hda_codec_hdmi     40396  1 
drm                   244846  4 i915,drm_kms_helper
evdev                  11784  14 
mac_hid                 3273  0 
serio_raw               5073  0 
video                  12057  1 i915
thermal                 9103  0 
intel_gtt              12856  1 i915
i2c_algo_bit            5480  1 i915
i2c_core               41648  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
wmi                     8539  0 
ac                      3595  0 
snd_hda_codec_via      20518  1 
snd_hda_codec_generic    56366  1 snd_hda_codec_via
mei_me                 10096  0 
mei                    66784  1 mei_me
battery                 7885  0 
button                  4765  1 i915
shpchp                 25706  0 
lpc_ich                14008  0 
tpm_tis                 9310  0 
tpm                    23363  2 tpm_tis,tpm_infineon
processor              25153  0 
snd_hda_intel          22831  1 
snd_hda_controller     22911  1 snd_hda_intel
snd_hda_codec         104665  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep               6652  1 snd_hda_codec
snd_pcm                83207  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              19294  1 snd_pcm
snd                    61276  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore               5551  2 snd,snd_hda_codec
ext4                  494292  2 
crc16                   1359  2 ext4,bluetooth
mbcache                 9155  1 ext4
jbd2                   82948  1 ext4
usbhid                 41250  0 
hid                    93052  2 hid_generic,usbhid
sd_mod                 37554  4 
crc_t10dif              1135  1 sd_mod
crct10dif_common        1436  2 crct10dif_pclmul,crc_t10dif
atkbd                  17006  0 
rtsx_pci_sdmmc         13193  0 
libps2                  4571  2 atkbd,psmouse
mmc_core              100010  1 rtsx_pci_sdmmc
ahci                   24299  3 
libahci                21772  1 ahci
ehci_pci                4152  0 
libata                174089  2 ahci,libahci
scsi_mod              138333  2 libata,sd_mod
ehci_hcd               64619  1 ehci_pci
rtsx_pci               33919  2 rtsx_pci_ms,rtsx_pci_sdmmc
usbcore               188381  4 uvcvideo,ehci_hcd,ehci_pci,usbhid
usb_common              1712  1 usbcore
i8042                  13666  1 libps2
serio                  11018  9 serio_raw,atkbd,i8042,psmouse

another question, why bluetooth module is loaded?

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0156] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 7 Series Chipset Family LPC Controller [8086:1e5f] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5286] (rev 01)
03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 06)

Offline

#14 2014-07-22 17:49:17

Crow_the_Timekeeper
Member
Registered: 2014-07-20
Posts: 2

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

No progress with this? I have the same wifi and although it never really disconnects, its extremely slow. I never get more than 300kbps, and skype calls are pure lag.

Offline

#15 2014-07-28 14:15:36

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Yeah, there doesn't seem to be any good workarounds for these problems.  It's a kernel issue.  I recommend you send your complaints to the kernel developer (see Yomi's post).  I don't have extremely slow download speed, but I do have extremely slow upload speed (I haven't tried Skype yet).


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#16 2014-08-05 20:08:25

bieniekmat
Member
Registered: 2014-07-27
Posts: 11

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Hi, I am having exactly the same issue. I tinkered with NetworkManager and wicd without much success. A few minutes ago I updated to the newest 3.15.8-1-ARCH which according to the tests I've been running seems to have improved the results on speedtest.net.

The WIFI works fine on a live MINT.

I am considering installation of the proprietary driver as described in the following urls: http://ubuntuforums.org/showthread.php?t=2162026 and here http://askubuntu.com/questions/475489/w … 188ee-card
Has anyone tried that?

ps for disabling/enabling the wifi you might find rfkill useful

Last edited by bieniekmat (2014-08-05 20:10:10)

Offline

#17 2014-08-08 01:39:42

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Yep. Same story here.  I've tinkered with wicd and NetworkManager as well, leaving the kernel as the problem.  As for the wireless working fine on a live Linux Mint, that might make sense.  My laptop used to run Ubuntu 13.10, and I don't remember having any problems.  I personally haven't tried installing the driver from Realtek.  Installing that driver is explained in the second link you posted.  Speedtest.net doesn't give me consistent results (one run will be significantly faster or slower than another), but I haven't found anything better yet.

Hmm, I just noticed that on the second link mmstick commented that his wifi works with Arch (via being configured with netctl) but not on Ubuntu (he claims NetworkManager causes issues with a lot of chips).  I'm still holding to my hypothesis that this issue is from the kernel.
Give the proprietary Realtek driver a try, and let us know if it works for you (I'll give it a try once I get around to it).


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#18 2014-08-08 19:10:10

bieniekmat
Member
Registered: 2014-07-27
Posts: 11

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Run into multiple compilation errors and searched the web for help. After resolving some of the errors I found this:
https://github.com/FreedomBen/rtl8188ce-linux-driver

I put my trust to it and it did the entire job for me. Unfortunately, with the new driver my wifi card behaves the same way. It's fairly random, but in most cases very slow.

Last edited by bieniekmat (2014-08-10 12:15:11)

Offline

#19 2014-08-10 16:48:44

Jean3799
Member
Registered: 2013-06-21
Posts: 26

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I have the same wifi card, it works fine on windows, but on linux , I get a huge amount of packet loss and its almost unusable. This is keeping me from switching to linux. This bug is also not just an arch linux problem, I think all distros are having this problem.

Last edited by Jean3799 (2014-08-10 16:55:31)


Im a newb.. :x

Offline

#20 2014-08-11 02:29:58

Pse
Member
Registered: 2008-03-15
Posts: 383

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

If it works on Windows, it may be possible to use ndiswrapper to use Windows' drivers:

https://aur.archlinux.org/packages/ndiswrapper

Offline

#21 2014-08-11 19:27:57

bieniekmat
Member
Registered: 2014-07-27
Posts: 11

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Jean3799, as I mentioned before, I did not have the issue on Linux Mint. Neither the author had the issue on Ubuntu. It could be that this issue is specific to Arch unfortunately. You might try other distro, otherwise Linux will be hurt ....

Pse, I installed proprietary drivers from realtek and it did not repair the issue. Moreover, I believe that Mint uses exactly the same drivers for the wifi card and it did not have the issue. There's a chance then that using ndiswrapper would not help. However, if anyone tries it, please let us know.

Offline

#22 2014-08-17 21:25:32

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

My wifi seems to be working a lot better with kernel 3.16.1-1-ARCH.  Is it working for anyone else?


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

#23 2014-08-18 19:15:10

bieniekmat
Member
Registered: 2014-07-27
Posts: 11

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

Thanks for the heads up! I updated the system and it's working as it should! Cheers!

Offline

#24 2014-08-19 23:06:42

nachopro
Member
Registered: 2013-08-23
Posts: 29

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

bieniekmat wrote:

Thanks for the heads up! I updated the system and it's working as it should! Cheers!


YEAH!!! With kernel 3.16 works like a "charango". No more slow and packet lost for me wink

Thanks guys!

Offline

#25 2014-08-20 20:27:30

physicsshark
Member
Registered: 2014-04-19
Posts: 44

Re: Extraordinary Wifi problems with Wifi card rtl8188ee

I'm quite glad that this problem has been resolved.  Should we go ahead and mark it as solved?


"The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."  - Life, the Universe, and Everything

Offline

Board footer

Powered by FluxBB