30 July, 2020

Strange solution (but works) to install LM 20 on new laptop Asus Tuf Gaming FA706IH








Warning: I am not a Linux expert, but the following ways did work (after endless trial and error). It may not apply to other laptops.

This laptop starts to sale on March, 2020. Generally, Linux with newer kernel can support many hardware driver. But this time, it is an exception. You might take risks if you follow my steps.

Conclusion:

1. Turn off secure boot in the BIOS
2. Booting and installing from LM 19.3---kernel 5.0 (unetbootin, USB), with default mode [low support in laptop monitor, cannot find external monitor-HDMI][touch pad  OK, USB mouse OK, wireless OK]
3. Manually install kernel 5.3.18, and reboot. Installing nvidia 440 driver did not support monitor]

https://kernel.ubuntu.com/~kernel-ppa/mainline/
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3.18/

Why I selected kernel 5.3?  I tried some distro with kernel 5.4 or 5.6, they did not work.

4. updating packages by using update manager (but un-checked the  kernel 5.4,  that was toxic to this labtop)

5. Manually installed kernel 5.7.9

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.9/

When I write this article, the kernel of 5.7.10 and 5.7.11 are available
(I heard about that kernel 5.7 could supper nvidia 1650)

to prevent the update manager  doing stupid things (changing kernel to 5.4),

I hold current kernel:
sudo apt-mark hold linux-image-generic linux-headers-generic

6. reboot-------OK (I cried and cried!). Now It can fully support taptop monitor and external monitor.


Next article,  I will destribe all trial and errors.


================================================
Asus Tuf Gaming FA706IH

System:    Kernel: 5.7.9-050709-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
           Desktop: MATE 1.24.0 wm: marco dm: LightDM Distro: Linux Mint 20 Ulyana
           base: Ubuntu 20.04 focal
Machine:   Type: Laptop System: ASUSTeK product: TUF Gaming FA706IH_FA706IH v: 1.0
           serial: <filter>
           Mobo: ASUSTeK model: FA706IH v: 1.0 serial: <filter> UEFI: American Megatrends
           v: FA706IH.304 date: 03/24/2020
Battery:   ID-1: BAT1 charge: 46.4 Wh condition: 46.9/48.1 Wh (98%) volts: 4.0/11.7
           model: ASUS A32-K55 serial: <filter> status: Unknown
 CPU:   Topology: 6-Core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
                   Speed: 1397 MHz min/max: 1400/3000 MHz Core speeds (MHz): 1: 1395 2: 1396 3: 1773
           4: 1772 5: 1397 6: 1396 7: 1397 8: 1397 9: 1774 10: 1774 11: 3982 12: 3949
Graphics:  Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 440.100 bus ID: 01:00.0
           chip ID: 10de:1f99
           Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0
           chip ID: 1002:1636
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati
           unloaded: fbdev,modesetting,nouveau,nvidia,vesa compositor: marco
           resolution: 1920x1080~120Hz, 1920x1080~60Hz
           OpenGL: renderer: AMD RENOIR (DRM 3.37.0 5.7.9-050709-generic LLVM 10.0.0)
           v: 4.6 Mesa 20.0.8 direct render: Yes
Audio:     Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1
           chip ID: 10de:10fa
           Device-2: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 05:00.1
           chip ID: 1002:1637
           Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
           vendor: DekTec Digital Video B.V. driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2
           Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 05:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.7.9-050709-generic
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK
           driver: r8169 v: kernel port: e000 bus ID: 02:00.0 chip ID: 10ec:8168
           IF: enp2s0 state: down mac: <filter>
           Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave
           driver: rtw_pci v: N/A port: d000 bus ID: 03:00.0 chip ID: 10ec:c822
           IF: wlp3s0 state: up mac: <filter>
Drives:    Local Storage: total: 1.14 TiB used: 368.36 GiB (31.5%)
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-256G-1202
           size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter>
           ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
           speed: 6.0 Gb/s serial: <filter>
Partition: ID-1: / size: 141.57 GiB used: 12.73 GiB (9.0%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /home size: 906.72 GiB used: 355.62 GiB (39.2%) fs: ext4 dev: /dev/sda1
           ID-3: swap-1 size: 9.31 GiB used: 524 KiB (0.0%) fs: swap dev: /dev/sda2
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002
           Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse
           driver: logitech-djreceiver,usbhid rev: 2.0 chip ID: 046d:c534
           Device-2: 1-4:3 info: IMC Networks USB2.0 HD UVC WebCam type: Video driver: uvcvideo
           rev: 2.0 chip ID: 13d3:56a2
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002
           Device-3: 3-1:2 info: IMC Networks Bluetooth Radio type: Bluetooth driver: btusb
           rev: 1.0 chip ID: 13d3:3548
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003
Sensors:   System Temperatures: cpu: 59.9 C mobo: N/A gpu: amdgpu temp: 48 C
           Fan Speeds (RPM): cpu: 0