LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-03-2016, 04:28 PM   #1
jago25_98
Member
 
Registered: Jun 2001
Posts: 301

Rep: Reputation: 30
2gb RAM, Google Chome & GDrive total freeze


I'm on a /slightly/ old tablet. Intel graphics drivers installed. Linux Mint. 4.4.0-45-generic #66-Ubuntu SMP but is has been like this for at least 4 kernel upgrades.

I'm getting random freezing. By that I mean I can't even switch to a terminal with ctrl+alt+f2. My keyboard doesn't seem to have a sysrq key either (pff!) so I can't use that... so I have to kill the power.

The freeze is most consistent when I visit Google Drive. It also happens on other complex / prefetching webpages. It sounds like hardware acceleration right? If so, how do I disable that in xorg? Having said this, it does also feel a bit like it's bogging down due to lack of memory - once the Google Drive page is opened a terminal is slower to open. Yet... memory usage isn't particularly maxed out.

Firefox has similar problems but is slightly more reliable...

Because the freeze is total I have a feeling that no particular error will be logged.. so how do I pull out the point in the logs which was were it froze?

Does it make sense to focus on the GPU modules? I thought they should be stable now.
Code:
$ lsmod
Module                  Size  Used by
rfcomm                 69632  2
bnep                   20480  2
binfmt_misc            20480  1
rtsx_usb_ms            20480  0
memstick               20480  1 rtsx_usb_ms
btusb                  45056  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             520192  29 bnep,btbcm,btrtl,btusb,rfcomm,btintel
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
hid_sensor_accel_3d    16384  0
hid_multitouch         20480  0
videobuf2_memops       16384  1 videobuf2_vmalloc
hid_sensor_als         16384  0
videobuf2_v4l2         28672  1 uvcvideo
hid_sensor_trigger     16384  4 hid_sensor_accel_3d,hid_sensor_als
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
v4l2_common            16384  1 videobuf2_v4l2
industrialio_triggered_buffer    16384  2 hid_sensor_accel_3d,hid_sensor_als
kfifo_buf              16384  1 industrialio_triggered_buffer
joydev                 20480  0
videodev              176128  4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
industrialio           57344  5 hid_sensor_trigger,industrialio_triggered_buffer,hid_sensor_accel_3d,hid_sensor_als,kfifo_buf
media                  24576  2 uvcvideo,videodev
arc4                   16384  2
hid_sensor_iio_common    16384  3 hid_sensor_trigger,hid_sensor_accel_3d,hid_sensor_als
snd_usb_audio         176128  1
snd_usbmidi_lib        36864  1 snd_usb_audio
iwlmvm                311296  0
intel_rapl             20480  0
intel_soc_dts_thermal    16384  0
intel_powerclamp       16384  0
mac80211              737280  1 iwlmvm
coretemp               16384  0
kvm_intel             172032  0
nls_iso8859_1          16384  1
kvm                   540672  1 kvm_intel
drbg                   32768  1
ansi_cprng             16384  0
irqbypass              16384  1 kvm
punit_atom_debug       16384  0
xts                    16384  2
crct10dif_pclmul       16384  0
gf128mul               16384  1 xts
crc32_pclmul           16384  0
dm_crypt               28672  2
cryptd                 20480  0
snd_hda_codec_hdmi     53248  1
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
iwlwifi               200704  1 iwlmvm
cfg80211              565248  3 iwlwifi,mac80211,iwlmvm
snd_intel_sst_acpi     16384  0
snd_intel_sst_core     73728  1 snd_intel_sst_acpi
snd_soc_sst_mfld_platform    90112  1 snd_intel_sst_core
snd_soc_rt5640        114688  0
input_leds             16384  0
snd_soc_rl6231         16384  1 snd_soc_rt5640
serio_raw              16384  0
snd_soc_core          212992  2 snd_soc_rt5640,snd_soc_sst_mfld_platform
snd_hda_intel          40960  3
snd_hda_codec         135168  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
mei_txe                20480  0
snd_pcm_dmaengine      16384  1 snd_soc_core
mei                    98304  1 mei_txe
snd_hda_core           73728  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
lpc_ich                24576  0
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
shpchp                 36864  0
snd_pcm               106496  9 snd_soc_rt5640,snd_usb_audio,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_sst_mfld_platform,snd_pcm_dmaengine,snd_hda_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  2 snd_usbmidi_lib,snd_seq_midi
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
8250_fintek            16384  0
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_pcm,snd_seq
snd                    81920  24 snd_hda_codec_realtek,snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_soc_sst_mfld_platform,snd_seq_device,snd_compress
dw_dmac                16384  0
dw_dmac_core           24576  1 dw_dmac
processor_thermal_device    16384  0
int3400_thermal        16384  0
int3403_thermal        16384  0
intel_smartconnect     16384  0
acpi_thermal_rel       16384  1 int3400_thermal
intel_soc_dts_iosf     16384  2 intel_soc_dts_thermal,processor_thermal_device
int340x_thermal_zone    16384  2 processor_thermal_device,int3403_thermal
soundcore              16384  1 snd
rfkill_gpio            16384  0
spi_pxa2xx_platform    24576  0
snd_soc_sst_acpi       16384  0
i2c_designware_platform    16384  0
i2c_designware_core    20480  1 i2c_designware_platform
mac_hid                16384  0
8250_dw                16384  0
pwm_lpss_platform      16384  0
pwm_lpss               16384  1 pwm_lpss_platform
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,ppdev,parport_pc
autofs4                40960  2
btrfs                 987136  0
xor                    24576  1 btrfs
raid6_pq              102400  1 btrfs
rtsx_usb_sdmmc         28672  0
rtsx_usb               24576  2 rtsx_usb_sdmmc,rtsx_usb_ms
dm_mirror              24576  0
dm_region_hash         24576  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
uas                    24576  0
usb_storage            69632  1 uas
hid_generic            16384  0
hid_sensor_custom      20480  0
hid_sensor_hub         20480  5 hid_sensor_trigger,hid_sensor_accel_3d,hid_sensor_custom,hid_sensor_als,hid_sensor_iio_common
usbhid                 49152  0
mmc_block              36864  8
i915                 1265664  3
i2c_algo_bit           16384  1 i915
drm_kms_helper        147456  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   364544  4 i915,drm_kms_helper
video                  40960  1 i915
sdhci_acpi             16384  0
sdhci                  45056  1 sdhci_acpi
fjes                   28672  0
i2c_hid                20480  0
hid                   118784  5 i2c_hid,hid_multitouch,hid_generic,hid_sensor_hub,usbhid
Doesn't even seem to be kernel related:
Code:
$ tail /var/log/kern.log.2 
Oct 24 16:03:05 j-3310-9756 kernel: [   50.529804] Bluetooth: RFCOMM socket layer initialized
Oct 24 16:03:05 j-3310-9756 kernel: [   50.529817] Bluetooth: RFCOMM ver 1.11
Oct 24 16:03:13 j-3310-9756 kernel: [   58.975508] wlp1s0: authenticate with 4c:5e:0c:72:05:4f
Oct 24 16:03:13 j-3310-9756 kernel: [   58.978322] wlp1s0: send auth to 4c:5e:0c:72:05:4f (try 1/3)
Oct 24 16:03:13 j-3310-9756 kernel: [   58.980307] wlp1s0: authenticated
Oct 24 16:03:13 j-3310-9756 kernel: [   58.983363] wlp1s0: associate with 4c:5e:0c:72:05:4f (try 1/3)
Oct 24 16:03:13 j-3310-9756 kernel: [   58.994129] wlp1s0: RX AssocResp from 4c:5e:0c:72:05:4f (capab=0x421 status=0 aid=4)
Oct 24 16:03:13 j-3310-9756 kernel: [   59.002657] wlp1s0: associated
Oct 24 16:03:13 j-3310-9756 kernel: [   59.002755] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Oct 24 16:30:24 j-3310-9756 kernel: [ 1693.334463] perf interrupt took too long (2530 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
 ~ $ tail /var/log/kern.log.1 
Nov  2 12:44:12 j-3310-9756 NetworkManager[986]: <info>  [1478043852.9990] manager: NetworkManager state is now CONNECTED_LOCAL
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.0201] manager: NetworkManager state is now CONNECTED_GLOBAL
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.0220] policy: set 'YHA Public Access' (wlp1s0) as default for IPv4 routing and DNS
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.0251] dns-plugin[0x15413a0]: starting dnsmasq...
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.0367] dns-mgr: Writing DNS information to /sbin/resolvconf
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.3385] device (wlp1s0): Activation: successful, device activated.
Nov  2 12:44:13 j-3310-9756 NetworkManager[986]: <info>  [1478043853.3495] dnsmasq[0x15413a0]: dnsmasq appeared as :1.20
Nov  2 12:44:19 j-3310-9756 kernel: [  321.018207] Bluetooth: RFCOMM TTY layer initialized
Nov  2 12:44:19 j-3310-9756 kernel: [  321.018224] Bluetooth: RFCOMM socket layer initialized
Nov  2 12:44:19 j-3310-9756 kernel: [  321.018238] Bluetooth: RFCOMM ver 1.11
Cups seems to be a coinsidence:
Code:
$ tail syslog.1
Nov  3 13:27:31 j-3310-9756 anacron[928]: Job `cron.daily' started
Nov  3 13:27:31 j-3310-9756 anacron[2908]: Updated timestamp for job `cron.daily' to 2016-11-03
Nov  3 13:27:32 j-3310-9756 cracklib: no dictionary update necessary.
Nov  3 13:27:33 j-3310-9756 systemd[1]: Stopping Make remote CUPS printers available locally...
Nov  3 13:27:33 j-3310-9756 systemd[1]: Stopped Make remote CUPS printers available locally.
Nov  3 13:27:33 j-3310-9756 systemd[1]: Stopping CUPS Scheduler...
Nov  3 13:27:33 j-3310-9756 systemd[1]: Stopped CUPS Scheduler.
Nov  3 13:27:34 j-3310-9756 systemd[1]: Started CUPS Scheduler.
Nov  3 13:27:34 j-3310-9756 systemd[1]: Started Make remote CUPS printers available locally.
Nov  3 13:27:34 j-3310-9756 rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="937" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
 $ tail syslog.2
Nov  2 12:44:23 j-3310-9756 org.gtk.vfs.AfcVolumeMonitor[1951]: Volume monitor alive
Nov  2 12:44:27 j-3310-9756 anacron[913]: Job `cron.daily' started
Nov  2 12:44:27 j-3310-9756 anacron[2425]: Updated timestamp for job `cron.daily' to 2016-11-02
Nov  2 12:44:28 j-3310-9756 cracklib: no dictionary update necessary.
Nov  2 12:44:29 j-3310-9756 systemd[1]: Stopping Make remote CUPS printers available locally...
Nov  2 12:44:29 j-3310-9756 systemd[1]: Stopped Make remote CUPS printers available locally.
Nov  2 12:44:29 j-3310-9756 systemd[1]: Stopping CUPS Scheduler...
Nov  2 12:44:29 j-3310-9756 systemd[1]: Stopped CUPS Scheduler.
Nov  2 12:44:29 j-3310-9756 systemd[1]: Started CUPS Scheduler.
Nov  2 12:44:29 j-3310-9756 systemd[1]: Started Make remote CUPS printers available locally.
xorg gives no error:
Code:
$ tail Xorg.0.log
[    38.263] (**) AT Translated Set 2 keyboard: always reports core events
[    38.263] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    38.263] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    38.263] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    38.263] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    38.264] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    38.264] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 19)
[    38.264] (**) Option "xkb_rules" "evdev"
[    38.264] (**) Option "xkb_model" "pc105"
[    38.264] (**) Option "xkb_layout" "us"

Last edited by jago25_98; 11-03-2016 at 04:43 PM.
 
Old 11-03-2016, 05:16 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,982

Rep: Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865Reputation: 2865
Just thoughts, someone else may have a solution.

"sounds like hardware acceleration right"

Not sure I see that just yet.

"it does also feel a bit like it's bogging down due to lack of memory"
top, command line may show that or some memory tools will report.

I agree there. Wonder if installing a fast SD card and putting swap in that would help??

When a system locks hard it can't report the failure.

Since you mention it has been 4 kernels then it could be kernel related. Guess you could fall back and double check that notion.
 
Old 11-03-2016, 06:10 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,761
Blog Entries: 20

Rep: Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802Reputation: 2802
Quote:
I'm on a /slightly/ old tablet.
You might want to elaborate a bit more on that. One of my older touchscreen netbooks is single core atom n270 with 2 gig of ram with a intel graphics chip
and handles google drive OK. Hard drive is a ide pata zif 60 gig. No speed demon
for sure.

I run AntiX on it with Icewm window manager with Firefox ESR 45.4 when I access my google drive using my browser.

Edit: Forgot to mention. Being a small 9 incher unit. I don't bother running CUPS on it.

Last edited by rokytnji; 11-03-2016 at 06:12 PM.
 
Old 11-05-2016, 11:47 PM   #4
jago25_98
Member
 
Registered: Jun 2001
Posts: 301

Original Poster
Rep: Reputation: 30
It's the hard freeze that is the main problem.

I've done some more testing and I find that while firefox is slow... it's actually Chromium-browser causing the lockups. Further, chromium doesn't actually quit when exited and generates new thread, sometimes quietly starting and stoppin the threads before I notice them in top. Eventually this can cause a crash. So far I haven't had a crash now using only firefox and killing chrome processes.

It's a latest version of chrome (53.0.2785.14 amd64).

But really.... linux should watchdog Chrome and prevent it from taking everything down. It will crash every time now in trying to open google drive with Chrome.

By kernels, my thought is that it's NOT the kernel since I have upgraded the kernel multiple time and the problem persists.

At least I've narrowed it down to Chrome a bit. Although if the system can't handle Chrome then the problem is open to affect other programs that misbehave this way.

I believe there is a way to limit such process spawning but I forget how...
 
Old 11-07-2016, 08:44 PM   #5
jago25_98
Member
 
Registered: Jun 2001
Posts: 301

Original Poster
Rep: Reputation: 30
hmm.... something else is slowing it down from time to time... appears firefox related... but firefox is at 20%CPT & 50mb RAM in top at max.... so what can be slowing the system down to the point of the mouse barely responding....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to access your Google Drive account from Linux command line using Gdrive LXer Syndicated Linux News 0 09-02-2016 08:11 PM
GDrive for Linux. And Google's track record. dugan General 1 04-29-2012 11:45 AM
[SOLVED] Partitioning 320gb HD & 2gb RAM for Web Development in Arch Linux dxtrpn Linux - Newbie 6 10-03-2011 09:43 PM
Google chome - can you create custom mime types? BrianK Linux - Software 1 05-14-2010 04:08 AM
LXer: Google GDrive and Its Relation to Net Neutrality LXer Syndicated Linux News 0 07-27-2006 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration