> For the complete documentation index, see [llms.txt](https://basic.heavietnam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://basic.heavietnam.com/gerneral/fix-backlight.md).

# Fix Backlight

## **Fix bằng SSDT Prebuilt**

B1: Tải [SSDT-PNLF.aml](https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PNLF.aml)

B2: Snapshot Config&#x20;

> Chỉ cho Opencore

B3: Reboot và tận hưởng.&#x20;

## **Fix thủ công**

{% hint style="danger" %}
Bạn có thể dùng `SSDT-Time` để làm phần này có tiết kiệm thời gian.

> Hướng dẫn chi tiết [ở đây](https://install.heavietnam.com/bat-dau-voi-acpi/ssdt-time-built-ssdt)
>
> > Hoặc nếu bạn muốn hiểu rõ nguyên lý có thể tiếp tục đọc phần bên dưới
> > {% endhint %}

B1: Vào Windows `Device Manager -> Display Adapters -> Properties -> Details > BIOS Device Name` để tìm thông tin về màn của các bạn.&#x20;

{% hint style="warning" %}
Các bạn có thể  dùng `WinPE` để xem
{% endhint %}

![Sau khi làm xong](https://lh5.googleusercontent.com/Rs57hQBIeqWiEMr0aJ44wk-vcJH8Rfm8x8YTX34kS7ujbUalMZKsqjx1wcLIjTBS8a3evi-ulUvSQtHaXLSkwhXpPzf8WrS9YrGsRVMtgj7R4xNAagtcB07Zp3NcU5PPs--mllcR=s0)

B2: Tải `SSDT Prebuilt` ở trên.&#x20;

B3: Tải `MaciASL` để chỉnh sửa file `SSDT` vừa tải

{% hint style="warning" %}
Chú ý:

Chỉnh cho giống với `BIOS Device Name` của các bạn nếu là `GFX0` thì không cần sửa ở đây mình chỉ demo là `BIOS Device Name` của các bạn là `PCI.GPU0` thôi.
{% endhint %}

```
External (_SB_.PCI0.GFX0, DeviceObj) <- Rename this

Scope (_SB.PCI0.GFX0) <- Rename this

Device(_SB.PCI0.GFX0.PNLF) <- Rename this
```

B4: Mở file .`dsl` và chỉnh sửa như sau

{% hint style="info" %}
Đổi đường dẫn mặc định thành đường dẫn của bạn đổi `.GFX0 ⇒ .GPU0`
{% endhint %}

```
External (_SB_.PCI0.GPU0, DeviceObj) <- Renamed

Scope (_SB.PCI0.GPU0) <- Renamed

Device(_SB.PCI0.GPU0.PNLF) <- Renamed
```

B5: Bấm vào `complie`

> Nếu không có lỗi thì Save lại

{% hint style="info" %}
Sau đó các bạn bỏ file SSDT vừa Save và chuyển định dạng vào `EFI ⇒ ACPI`

> Hoặc `EFI ==> ACPI ==> Patched`
>
> > Cách chuyển định dạng file .dsl ⇒ .aml xem [ở đây](https://advance.heavietnam.com/acpi-advance/patch-dsdt-phan-1)
> > {% endhint %}

B6: Snapshot và Reboot

{% hint style="warning" %}
Chú ý:&#x20;

Việc snapshot chỉ cần thiết với OpenCore đối với Clover thì không cần
{% endhint %}

## Fix backlight cho UHD+

{% hint style="info" %}
Đối với một số dòng igpu uhd trở lên sẽ gặp hiện tượng đen màn do mất backlight và đây là cách fix
{% endhint %}

B1: Các bạn sẽ add arg  `-igfxblr` vào `boot-arg`

B2: Save và reboot

<details>

<summary>Đối với  CFL trên 13.4+ </summary>

B1: Các bạn sẽ add arg `-igfxblt`

B2: Save lại và reboot

</details>

<details>

<summary>Cách khác</summary>

B1: Các bạn có thể add&#x20;

`device properties ⇒ PciRoot(0x0)/Pci(0x2,0x0) properties ==>`

`enable-backlight-registers-fix | Data | 01000000`

B2: Save và reboot

Ngoài ra:

Nếu các bạn là CFL trên 13.4+ thì thay `enable-backlight-registers-fix` thành `enable-backlight-registers-alternative-fix`

</details>

{% hint style="warning" %}
Chú ý các bạn thử lần lượt cả 2 boot-arg trên nếu đang ở 13.4.1+ nhé
{% endhint %}

{% hint style="danger" %}
Lưu ý:&#x20;

Nếu làm như trên vẫn chưa nhận độ sáng các bạn bỏ kext SMC Light Sensor vào rồi snaps lại nha&#x20;
{% endhint %}

{% hint style="info" %}
Source tham khảo:&#x20;

* [Fixing Backlight: Manual | Getting Started With ACPI (dortania.github.io)](https://dortania.github.io/Getting-Started-With-ACPI/Laptops/backlight-methods/manual.html#edits-to-the-sample-ssdt)
* <https://github.com/acidanthera/WhateverGreen>
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://basic.heavietnam.com/gerneral/fix-backlight.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
