Code Monkey home page Code Monkey logo

linux-on-gk5cp6v-s's Introduction

Linux on GK5CP6V-S

Quirks to make Linux work flawlessly on GK5CP6V-S based laptops.

There are chances for these quirks to work on other similar models, such as GK5CN5Z, GK5CN6Z, GK5CQ7Z, GK5CP0Z.

Hardware

Quick specs

Component Description
CPU Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
dGPU NVIDIA Geforce GTX 1660 Ti
Screen 1080p60
Ethernet Realtek RTL8111/8168/8411
USB Ports 3 type A, 1 type C
Display Ports 1 HDMI 2.0, 2 miniDP, all wired to dGPU

Known laptops based on this platform

  • Hasee Z7-CT7VH
  • Shinelon T3 Ti (Tongfang model, not Clevo)
  • Some Mechrevo laptops
  • Some Walmart laptops

They're much cheaper than the Kubuntu Focus Linux laptop. ;-)

What works

  • Suspend to RAM & resume
  • Wifi + BT
  • LCD backlight control
  • Switch between iGPU / dGPU
  • HDMI audio
  • USB Type-C host mode
  • Touchpad
  • Other things that should work on all PCs

What doesn't work

  • USB Type-C in some mode other than host mode (idk if it supports charging)
  • Card reader + suspend to S3

Problems & Workarounds

All related files are in the files directory.

As of kernel 5.3.7 + NVIDIA proprietary driver 440.26:

Freeze when resuming from S3

This is caused by multiple crappy components or their proprietary specs :

  • Touchpad
  • Card reader
  • USB Type-C power control(?) driver (you don't need it to use it as host)
  • Faulty ACPI & IOMMU & MMCONFIG implementation and/or PCIe device drivers

Workarounds:

  • Blacklist kmods for TypeC & Card reader (since they're not used by most people)
  • Unload touchpad driver before suspend, and reload it after resume
  • Kernel cmdline: pci=nommconf acpi_osi=Linux intel_iommu=off

dGPU burning battery even when using only iGPU

It burns battery at 1 amps @ 12.5 volts. That's insane, please blame Tongfang HK.

Workaround:

  • Use acpi_call to turn off its power after X11 startup ASAP.
  • Don't use bbswitch, it will crash the system.

Warning for TLP users: Please blacklist all pci ids of the dGPU, otherwise the system will freeze when turning it off.

linux-on-gk5cp6v-s's People

Contributors

reimunotmoe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

codelalala

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.