Tuesday, 15 December 2015

Acer V3-372 with LInux Kernel 4.4 - stable?

I upgraded to kernel 4.4-rc4 and so far things are working great. I even re-enabled pstate and everything has been stable so far.

Also contributing to stability is that I have stopped using the buggy Asus wifi dongle and started using my Nexus 5 with USB tethering.

I determined a lot of the Steam crashes were due to crashed wifi.

Everything has been running great for 3 days now. I hope this works out. Tomorrow the Intel wifi card arrives which should mean the laptop will be finally fully functional!

Friday, 20 November 2015

Acer V3-372 WiFi Backup Plan with RTL8192cu

My $2 USB wifi adapter arrived a few days ago. At first I was very disappointed as the speed was excruciatingly slow.


I learned that this was due to poor hardware crypto performance. A simple swenc=1 option in module load up fixed it.

While I believe it is possible to compile a driver for the QCA6174 wireless module, I think this is likely to be more hassle than it is worth and so I ordered an Intel 7265n wifi card until the Qualcomm card gets mainline support.

Acer V3-372 SATA failed command: READ FPDMA QUEUED


Just when you think you got the laptop fixed and running well, I noticed these errors in dmesg:

[    9.998225] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   10.001522] ata1.00: configured for UDMA/100
[   10.002694] ata1: EH complete
[   10.046132] ata1: limiting SATA link speed to 3.0 Gbps
[   10.047274] ata1.00: exception Emask 0x10 SAct 0x700 SErr 0x280100 action 0x6 frozen
[   10.048415] ata1.00: irq_stat 0x08000000, interface fatal error
[   10.049557] ata1: SError: { UnrecovData 10B8B BadCRC }
[   10.050707] ata1.00: failed command: READ FPDMA QUEUED
[   10.051842] ata1.00: cmd 60/80:40:80:f8:3a/01:00:1c:00:00/40 tag 8 ncq 196608 in
                        res 50/00:50:20:f8:3a/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
[   10.054118] ata1.00: status: { DRDY }
[   10.055250] ata1.00: failed command: READ FPDMA QUEUED
[   10.056376] ata1.00: cmd 60/38:48:40:f8:3a/00:00:1c:00:00/40 tag 9 ncq 28672 in
                        res 50/00:50:20:f8:3a/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
[   10.058647] ata1.00: status: { DRDY }
[   10.059759] ata1.00: failed command: READ FPDMA QUEUED
[   10.060883] ata1.00: cmd 60/18:50:20:f8:3a/00:00:1c:00:00/40 tag 10 ncq 12288 in
                        res 50/00:50:20:f8:3a/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
[   10.063158] ata1.00: status: { DRDY }
[   10.064277] ata1: hard resetting link
[   10.382466] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)

Read errors leading to a down-rating of the link to 3Gbps. OK, not the end of the world, but potentially worrying if it portends future data integrity issues.

Having tested this further, I'm able to reproduce the errors when I put the Logitech mouse usb receiver on the usb port on the right of the machine (near the SSD). Putting the receiver on the left side away from the SSD eliminates this problem.

I will check whether it can be fixed with shielding.

Wednesday, 18 November 2015

Acer V3-372 Touchpad settings with Syndaemon and Synclient

To get the touchpad to the sane settings that I like, I have the following synclient and syndaemons settings:

synclient PalmDetect=1 PalmMinWidth=6 PalmMinZ=1 \
AreaLeftEdge=900 AreaRightEdge=2400 \
FingerLow=1 FingerHigh=5 TapButton1=1 TapButton2=3 \
HorizTwoFingerScroll=1 RightButtonAreaTop=0 RightButtonAreaLeft=0

syndaemon -d -t -K -R -i 2


Note that I make a big left and right section of the pad 'dead' to avoid accidental touches while typing (which I hate) and disable right button tap.

With the more aggresive synclient settings, I'm now also experimenting with disabling syndaemon completely.

Acer V3-372 Battery Life

So having done the basic setup of the laptop, I used powertop to check the power consumption.

With my current setup and using an external USB stick for WiFi, I get the following result:


Powertop indicates over 8 hours of battery life which is in line with the official estimated battery life of 7.5 hours.

Of course, this is for light browsing and I expect that with heavier work, realistic battery life may be more in the 5-7 hour range.

Acer V3-372 Internals

For those interest, I post a photo of the inside of the Acer V3-372.

The machine was easy to take apart. All screws holding it together were exposed (none hidden underneath the rubber feet).

Of note:
  • There is a second RAM slot allowing 16GB of RAM in total (I haven't tried whether 32GB is supported). RAM is standard DDR3L
  • The SSD is M.2 SATA. I was disappointed that it was not a NVMe or PCI-E
  • WIFI uses M.2 slot also
  • Battery is ~48Wh
When I received the machine, I noticed the RAM was not seated in the slot properly and I re-seated it to avoid problems. Also I moved the antennas crossing the SSD ribbon cable so that they run on top of the cable (from this view) and taped the ribbon cable down to the metal. I did this to increase distance between the two in case interference caused any WiFI problems.




Sunday, 8 November 2015

Acer V3-372 Linux Crash

Just a post to record crashes.

So far, I had only two crashes and both were when plugged into AC power and using an ancient USB 802.11g wifi adapter.

The first crash happened when trying to receive a Google Hangouts call. The second when making a Google websearch.

Next time, I will watch more carefully and check the crash reports to try to figure out the cause.

EDIT: I think I've fixed the crash. I believe it is due to buggy i915 driver and so I disabled intel pstate by adding intel_pstate=disable in the kernel parameters and I've had fewer crashes since then.