Category Archives: Computer

Windows 10 滑鼠會頓的問題 Thinkpad Docking

本來用 Microsoft Bluetooth mouse 滑一滑一直覺得滑鼠會頓,想說藍牙被干擾的問題吧,雖然小困擾但是也是不太在意

但是後來換了一隻有線的滑鼠,還是會這樣,這就有點奇怪了

找了一下可能是 Realtek FMAPP.exe 或是 Realtek audio service 的問題
改名 FMAPP.exe 和在 msconfig.exe -> Services 內 disable Realtek audio service 就可以

用了幾天看起來有改善,在這邊記錄一下

2015 年就有人發現了到現在 Realtek 還是沒改善啊

註:最後找半天發現都不是這些問題,而是我只要開啟雙螢幕就會,猜測可能是 Intel Graph 能力不夠或是驅動程式問題
Notebook 是 Thinkpad X1 ,螢幕是 Samsung 4K Monitor

2020/12/10 更新
看起來是 Thinkpad 配上 ThunderBolt docking 就有可能會發生

總結以下一些我覺得有用的方式
1) 接上 docking 時關掉內建螢幕
2) 發生時調整電源模式,例如 high -> balance ,然後再 balance -> high
3) reboot 會消失
4) Power mode 從 advance power saving 改回傳統的 s3 (較低可能性)
5) 關掉 SysMain (superfetch) (較低可能性)

Ref.
Windows 10 Mouse Lagging
解決Windows 10的滑鼠lag問題
How to Fix Mouse Lag on Windows 10

Winodws7 無法存取 Windows Installer 服務

這個問題 Google 出來這個 URL 的方法我不能用
當您嘗試安裝 Office 時,無法存取 [Windows Installer 服務]

找了好久繞了好大一圈,最後解決方法是
執行 services.msc 之後,將 Windows Installer 啟動就可以了
Managing Services in Windows 7

Read more »

Gentoo ARM64 UEFI Install Guide

This is not a detail guide to describe how to full install system, just figure out some important point. Even not for Gentoo newbie.

Most important handbook is Gentoo AMD64 installation guide.
There is some different between ARM64 and AMD64

Read more »

自架 DNS 防成人內容

果然還是到了這一天,雖然總是有一天他們會看到,但是多多少少還是要設一道簡單的關卡
最簡單的是在路由器上設定 DNS ,畢竟誰都不喜歡在自己的手機電腦裝軟體吧

Read more »

CentOS8 ARM64/AARCH64 Install Docker

It’s not complex to install docker on ARM64 platform and make it work, but it needs a trick

Read more »

ARM64 Centos8 Ubuntu PXE Boot Install

This document will introduce how to setup a centos PXE boot environment on ubuntu 18.04 for install centos8 to your ARM64 machine.

In this document, it uses CentOS 8 version is 8.1.1911, it might also work on later version if you change file name accordingly . 

all command in this document we assume you already run with root permission. 

Read more »

ARM64 mfpu=neon-fp-armv8 and unrecognized command line option

又學到一個小知識

原因是因為 -mfpu=neon-fp-armv8 是 arm32 compiler option ARM64 使用 Linux ABI 那邊就規範要支援 Floatpoint 和 ASIMD(也就是 neon 的 64bit 版 )

不要用 -mfpu 指令就可以了

ref.
-mfpu=neon-fp-armv8 and unrecognized command line option

Kubernetes install nginx-ingress on ARM64

It’s easy. it needs to install helm first and just run following command

helm install \
    --name nginx-ingress stable/nginx-ingress \
    --namespace ingress-nginx \
    --set rbac.create=true \
    --set controller.image.repository="quay.io/kubernetes-ingress-controller/nginx-ingress-controller-arm64" \
    --set defaultBackend.image.repository="k8s.gcr.io/defaultbackend-arm64"

ref.
https://github.com/kubernetes/ingress-nginx/issues/4876
https://github.com/kubernetes/ingress-nginx/pull/3852

Netplan Bridge Setup

Backup for mysalves

network:
  version: 2
  renderer: networkd
  ethernets:
    enP6p1s0:
      dhcp4: no
  bridges:
    br0:
      dhcp4: no
      interfaces:
         - enP6p1s0
      addresses: [192.168.110.254/16]
      gateway4: 192.168.1.1
      nameservers:
              addresses: [8.8.8.8,8.8.8.4]
      dhcp4: no

ref
https://netplan.io/examples

Linkerd2 for ARM64

There is no regular ARM64 support for Linkerd2 now.

So, I built one for test.
All necessary packages will be downloaded from my private docker.io account. not from regular linkerd2 repository.

Linkerd2 version is master version between v2.6.0 and next version
emojivoto version is v9 (master version)

Read more »